/* =========================================================================
   TRAVEL & TOURS MARKETPLACE DESIGN SYSTEM (KIZMIO TRAVEL)
   ========================================================================= */

/* --- Base Scoped Container & Reset --- */
.travel-tours-page {
  box-sizing: border-box;
  width: 100%;
}

.travel-tours-page *,
.travel-tours-page *::before,
.travel-tours-page *::after {
  box-sizing: border-box;
}

/* =========================================================================
   1. HERO BANNER & PRIMARY SEARCH WIDGET (FULL CONTAINER WIDTH)
   ========================================================================= */

.travel-tours-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #073b4c 0%, #0b688f 45%, #0284c7 85%, #0ea5e9 100%);
  color: #ffffff;
  padding: 38px 34px 30px;
  margin-bottom: 24px;
  box-shadow: 0 12px 35px -8px rgba(7, 59, 76, 0.35);
  width: 100%;
}

.travel-tours-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(7, 59, 76, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.travel-tours-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, rgba(7, 59, 76, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.travel-tours-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.travel-tours-hero__title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 8px;
  line-height: 1.25;
}

.travel-tours-hero__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 0 22px;
  max-width: 680px;
  line-height: 1.45;
}

/* Compact Primary Search Bar inside Hero */
.travel-tours-hero__search {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  width: 100%;
}

.travel-tours-hero__search-fields {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.travel-tours-hero__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.travel-tours-hero__field label {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.travel-tours-hero__field label i {
  color: #087ca7;
  font-size: 11px;
}

.travel-tours-hero__loc-inputs {
  display: flex;
  gap: 5px;
  min-width: 0;
}

.travel-tours-hero__field .form-select,
.travel-tours-hero__field .form-control {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 12.5px;
  padding: 7px 10px;
  color: #0f172a;
  height: 38px;
  background-color: #f8fafc;
  width: 100%;
  min-width: 0;
}

.travel-tours-hero__field .form-select:focus,
.travel-tours-hero__field .form-control:focus {
  border-color: #087ca7;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 124, 167, 0.15);
}

.travel-tours-hero__btn {
  height: 38px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 13px;
  background: linear-gradient(135deg, #087ca7 0%, #066285 100%);
  color: #ffffff !important;
  border: none;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(8, 124, 167, 0.35);
  cursor: pointer;
  transition: all 0.18s ease;
}

.travel-tours-hero__btn:hover {
  background: linear-gradient(135deg, #066285 0%, #044b67 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 124, 167, 0.45);
}

/* =========================================================================
   2. CATEGORY DISCOVERY STRIP (SWIPEABLE/SCROLLABLE)
   ========================================================================= */

.travel-tours-categories-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.travel-tours-categories-strip::-webkit-scrollbar {
  height: 4px;
}

.travel-tours-categories-strip::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.travel-tours-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.travel-tours-cat-chip:hover {
  border-color: #087ca7;
  color: #087ca7;
  background: #f0f9ff;
  transform: translateY(-1px);
}

.travel-tours-cat-chip.is-active {
  background: #087ca7;
  border-color: #087ca7;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(8, 124, 167, 0.25);
}

.travel-tours-cat-chip.is-active .travel-tours-cat-chip__icon {
  color: #ffffff;
}

.travel-tours-cat-chip.is-active .travel-tours-cat-chip__count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.travel-tours-cat-chip__icon {
  color: #087ca7;
  font-size: 12px;
}

.travel-tours-cat-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 10px;
  background: #e2e8f0;
  font-size: 10.5px;
  font-weight: 750;
  color: #475569;
}

/* =========================================================================
   3. RESULTS TOOLBAR & SORTING
   ========================================================================= */

.travel-tours-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

.travel-tours-results-info {
  display: flex;
  flex-direction: column;
}

.travel-tours-results-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.travel-tours-results-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.travel-tours-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.travel-tours-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
}

.travel-tours-sort-select {
  min-width: 170px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #1e293b;
  height: 34px;
}

.travel-tours-sort-select:focus {
  border-color: #087ca7;
  box-shadow: 0 0 0 3px rgba(8, 124, 167, 0.12);
}

/* Active Filter Chips */
.travel-tours-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 12px;
  width: 100%;
}

.travel-tours-chips-label {
  font-size: 11.5px;
  font-weight: 750;
  color: #475569;
}

.travel-tours-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #087ca7;
  font-size: 11.5px;
  font-weight: 650;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.travel-tours-chip:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.travel-tours-chip b {
  font-size: 13px;
  line-height: 1;
}

.travel-tours-chip-clear {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none !important;
}

.travel-tours-chip-clear:hover {
  color: #dc2626;
}

/* =========================================================================
   4. CONTROLLED TOUR CARDS GRID (.travel-tour-card)
   ========================================================================= */

.travel-tours-cards-grid {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.travel-tour-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  width: 100%;
}

.travel-tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(8, 124, 167, 0.18);
  border-color: #087ca7;
}

.travel-tour-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
  display: block;
}

.travel-tour-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.travel-tour-card:hover .travel-tour-card__img {
  transform: scale(1.04);
}

.travel-tour-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: #f1f5f9;
}

.travel-tour-card__cat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.travel-tour-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px;
}

.travel-tour-card__loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.travel-tour-card__loc i {
  color: #ef4444;
  font-size: 11px;
}

.travel-tour-card__title-link {
  color: #0f172a;
  text-decoration: none !important;
  font-weight: 750;
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.travel-tour-card__title-link:hover {
  color: #087ca7;
}

.travel-tour-card__specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 12px;
}

.travel-tour-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.travel-tour-card__spec i {
  color: #087ca7;
  font-size: 11px;
}

.travel-tour-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.travel-tour-card__price-box {
  display: flex;
  flex-direction: column;
}

.travel-tour-card__price-amt {
  font-size: 16px;
  font-weight: 800;
  color: #087ca7;
  line-height: 1.1;
}

.travel-tour-card__price-unit {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
}

.travel-tour-card__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 750;
  background: #087ca7;
  color: #ffffff !important;
  border: none;
  text-decoration: none !important;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.travel-tour-card__cta-btn:hover,
.travel-tour-card__cta-btn:focus,
.travel-tour-card__cta-btn:active {
  background: #066285 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.travel-tour-card__author {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-size: 11.5px;
  color: #475569;
  text-decoration: none !important;
}

.travel-tour-card__author:hover {
  color: #087ca7;
}

.travel-tour-card__author img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.travel-tour-card__author-name {
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================================
   5. MOBILE TOOLS & RESPONSIVE BREAKPOINTS
   ========================================================================= */

.travel-tours-mobile-tools {
  display: none;
  margin-bottom: 14px;
  width: 100%;
}

.travel-tours-mobile-filter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
  .travel-tours-hero__search-fields {
    grid-template-columns: 1fr 1fr;
  }
  .travel-tours-hero__search-fields .travel-tours-hero__btn {
    grid-column: span 2;
  }
}

@media (max-width: 767.98px) {
  .travel-tours-mobile-tools {
    display: block;
  }
  .travel-tours-hero {
    padding: 24px 20px 20px;
    border-radius: 16px;
  }
  .travel-tours-hero__title {
    font-size: 22px;
  }
  .travel-tours-hero__desc {
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  .travel-tours-hero__search-fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .travel-tours-hero__search-fields .travel-tours-hero__btn {
    grid-column: span 1;
    width: 100%;
  }
}
