/* Generated by tools/derive-polo-css.py from themes/theme1/css/flight-search.css - edit theme1 and re-run, not this file. */

:root {
  --hero-card-overlap: 340px;
}


.flight-hero,
.hotel-hero,
.tour-hero,
.sightseeing-hero,
.visa-hero,
.cruise-hero,
.destinations-hero {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  color: var(--brand-navy);
  text-align: center;
  
  --hero-tail: calc(var(--hero-card-overlap, 220px) + 200px);
  
  --hero-scrim: 255, 255, 255;
  --hero-sky: linear-gradient(rgba(8,96,168,0.04), rgba(8,96,168,0.04));
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.1'/></svg>"), var(--hero-sky), var(--hero-photo, none);
  background-position: 0 0, 0 0, 0 0, 0 0, left 0 bottom 0, 0 0, var(--hero-photo-pos, center 50%);
  background-size: 160px 160px, auto, auto, auto, 100% var(--hero-tail), auto, cover;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}


.flight-hero {
  --hero-photo: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?fm=jpg&q=72&w=1800&auto=format&fit=crop&ixlib=rb-4.1.0");
  --hero-photo-pos: center 50%;
  --hero-scrim: 223, 238, 253;
  --hero-sky: linear-gradient(rgba(52,130,206,0.13), rgba(52,130,206,0.13));
  padding: calc(3.5rem + var(--nav-h)) 0 calc(var(--hero-card-overlap) + 2.5rem);
  
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.1'/></svg>"), var(--hero-sky), var(--hero-photo, none);
  background-position: 0 0, 0 0, 0 0, 0 0, left 0 bottom 0, 0 0, var(--hero-photo-pos, center 50%);
  background-size: 160px 160px, auto, auto, auto, 100% var(--hero-tail), auto, cover;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}


.flight-hero::before,
.flight-hero::after {
  content: "";
  position: absolute;
  left: 0;
  width: 200%;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: 50% 100%;
}


.flight-hero::before {
  top: 2rem;
  height: 300px;
  background-image: none;
  animation: hero-cloud-drift 150s linear infinite;
}


.flight-hero::after {
  top: 5.5rem;
  height: 210px;
  background-image: none;
  animation: hero-cloud-drift 260s linear infinite;
}

@keyframes hero-cloud-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.flight-hero-title {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif ;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 0.8rem;
  color: var(--brand-navy);
  text-shadow: 0 1px 26px rgba(255, 255, 255, 0.85);
}


.flight-hero-title em {
  font-style: italic;
  color: var(--brand-gold);
  font-weight: 500;
}

.flight-hero-subtitle {
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.62;
  color: #33415a;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.9);
}


.flight-search-wrapper {
  margin-top: calc(-1 * var(--hero-card-overlap));
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 5;
}

.flight-search-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(8, 96, 168, 0.05);
  border-radius: 1.4rem;
  
  box-shadow:
    0 1px 2px rgba(8, 96, 168, 0.05),
    0 8px 18px rgba(8, 96, 168, 0.06),
    0 30px 60px rgba(8, 96, 168, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 1.6rem 1.85rem 1.85rem;
}


.flight-search-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(rgba(169,121,26,0.12), rgba(169,121,26,0.12));
  pointer-events: none;
}


.product-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  color: #6b7789;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-tab .icon {
  width: 17px;
  height: 17px;
}

.product-tab:hover {
  color: var(--brand-navy);
  text-decoration: none;
}

.product-tab.active {
  background: var(--brand-navy);
  color: #fff;
}


.trip-type-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.trip-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--brand-navy-soft);
  border-radius: 2.5rem;
  padding: 0.3rem;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.trip-type-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.15rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-navy);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.new-badge {
  background: #ffe3d9;
  color: #d1531f;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 1rem;
  letter-spacing: 0.02em;
}

#tripRoundTrip:checked ~ .trip-type-tabs label[for="tripRoundTrip"],
#tripOneWay:checked ~ .trip-type-tabs label[for="tripOneWay"],
#tripMultiCity:checked ~ .trip-type-tabs label[for="tripMultiCity"] {
  background: #fff;
  color: var(--brand-navy);
  box-shadow: 0 3px 10px rgba(8, 96, 168, 0.15);
}

#tripRoundTrip:focus-visible ~ .trip-type-tabs label[for="tripRoundTrip"],
#tripOneWay:focus-visible ~ .trip-type-tabs label[for="tripOneWay"],
#tripMultiCity:focus-visible ~ .trip-type-tabs label[for="tripMultiCity"] {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}


.fare-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #eaf2f9;
}

.fare-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.fare-type-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #dde3ec;
  border-radius: 0.6rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fare-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fare-type-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c3cbd6;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}

.fare-type-radio::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--brand-gold);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.fare-type-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.fare-type-text strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.fare-type-text span {
  font-size: 0.72rem;
  color: #8b95a5;
}

.fare-type-card:hover {
  border-color: var(--brand-gold);
}

.fare-type-card:has(input:checked) {
  border-color: var(--brand-gold);
  background: var(--brand-gold-soft);
}

.fare-type-card:has(input:checked) .fare-type-radio {
  border-color: var(--brand-gold);
}

.fare-type-card:has(input:checked) .fare-type-radio::after {
  transform: scale(1);
}

.fare-type-card:has(input:focus-visible) {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

.nonstop-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-navy);
  cursor: pointer;
}

.nonstop-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nonstop-box {
  width: 20px;
  height: 20px;
  border-radius: 0.3rem;
  border: 2px solid #c3cbd6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nonstop-box .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nonstop-check:has(input:checked) .nonstop-box {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.nonstop-check:has(input:checked) .nonstop-box .icon {
  opacity: 1;
  transform: scale(1);
}

.nonstop-check:has(input:focus-visible) .nonstop-box {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}


.trip-fields-simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

#tripMultiCity:checked ~ .trip-fields-simple {
  display: none;
}

#tripOneWay:checked ~ .trip-fields-multi,
#tripRoundTrip:checked ~ .trip-fields-multi {
  display: none;
}

#tripOneWay:checked ~ .trip-fields-simple .field-return {
  display: none;
}

.trip-fields-multi {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field-box {
  position: relative;
  flex: 1 1 170px;
  min-width: 150px;
  border: 1px solid #dde3ec;
  border-radius: 0.85rem;
  padding: 0.55rem 0.75rem 0.6rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-box:hover {
  border-color: var(--brand-gold);
}

.field-box.is-active {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(169, 121, 26, 0.14);
}

.field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b95a5;
  margin-bottom: 0.15rem;
}

.field-value-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.field-value-btn .icon {
  width: 17px;
  height: 17px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.field-value-btn .icon-chevron-down {
  width: 14px;
  height: 14px;
  color: #a7b0bd;
  margin-left: auto;
}

.field-value-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}

.field-box.field-origin .field-value-text.is-placeholder,
.field-box.field-destination .field-value-text.is-placeholder,
.field-box.field-depart .field-value-text.is-placeholder,
.field-box.field-return .field-value-text.is-placeholder {
  color: #a7b0bd;
  font-weight: 500;
}


.swap-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dde3ec;
  background: #fff;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 0.35s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.swap-btn:hover {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
  transform: rotate(180deg);
}

.swap-btn .icon {
  width: 16px;
  height: 16px;
}


.multi-city-rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.multi-city-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-navy-soft);
  padding: 1.1rem 0.85rem 0.85rem;
  border-radius: 0.85rem;
}

.multi-city-row .field-box {
  background: #fff;
}

.multi-city-row .flight-index {
  position: absolute;
  top: -0.6rem;
  left: 0.85rem;
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}

.remove-row-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dde3ec;
  background: #fff;
  color: #b3261e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.remove-row-btn .icon {
  width: 14px;
  height: 14px;
}

.remove-row-btn:hover:not(:disabled) {
  background: #b3261e;
  color: #fff;
  border-color: #b3261e;
}

.remove-row-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.add-city-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px dashed var(--brand-gold);
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.add-city-btn .icon {
  width: 15px;
  height: 15px;
}

.add-city-btn:hover:not(:disabled) {
  background: var(--brand-gold);
  color: #fff;
}

.add-city-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: solid;
}

.field-travelers-multi {
  flex: 0 0 auto;
  max-width: 280px;
}


.search-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.promo-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-gold-soft);
  color: #8a6a13;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.75rem;
  flex: 1 1 320px;
}

.promo-banner .icon {
  width: 17px;
  height: 17px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--brand-navy);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(8, 96, 168, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  flex: 0 0 auto;
}

.search-btn .icon {
  width: 17px;
  height: 17px;
}

.search-btn:hover {
  background: var(--brand-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 96, 168, 0.38);
}


.popover-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #eaf2f9;
  box-shadow: 0 20px 45px rgba(8, 96, 168, 0.22);
  animation: popoverIn 0.15s ease;
  
  min-height: 120px;
}

@keyframes popoverIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.autocomplete-panel {
  width: 340px;
  padding: 0.9rem;
}

.autocomplete-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #dde3ec;
  border-radius: 0.6rem;
  padding: 0.5rem 0.7rem;
  margin-bottom: 0.75rem;
}

.autocomplete-search .icon {
  width: 16px;
  height: 16px;
  color: #a7b0bd;
  flex-shrink: 0;
}

.autocomplete-search input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.autocomplete-heading {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b95a5;
  padding: 0 0.2rem 0.5rem;
}

.autocomplete-list {
  max-height: 280px;
  overflow-y: auto;
}

.autocomplete-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: none;
  background: none;
  padding: 0.55rem 0.4rem;
  border-radius: 0.6rem;
  text-align: left;
  transition: background-color 0.15s ease;
}

.autocomplete-row:hover,
.autocomplete-row.is-highlighted {
  background: var(--brand-navy-soft);
}

.autocomplete-code {
  flex-shrink: 0;
  width: 42px;
  height: 30px;
  border-radius: 0.4rem;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.autocomplete-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.autocomplete-city {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.autocomplete-meta {
  font-size: 0.75rem;
  color: #8b95a5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.autocomplete-empty {
  padding: 1.5rem 0.5rem;
  text-align: center;
  color: #8b95a5;
  font-size: 0.85rem;
}


.calendar-panel {
  width: 620px;
  padding: 1.1rem 1.25rem 1.25rem;
  transition: width 0.15s ease;
}


.calendar-panel.is-single-month {
  width: 320px;
}


.calendar-panel.is-single-month .calendar-month-title {
  display: none;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.calendar-range-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dde3ec;
  background: #fff;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-nav:hover {
  background: var(--brand-navy);
  color: #fff;
}

.calendar-nav .icon {
  width: 16px;
  height: 16px;
}

.calendar-months {
  display: flex;
  gap: 1.75rem;
}

.calendar-month {
  flex: 1 1 0;
  min-width: 0;
}

.calendar-month-title {
  text-align: center;
  font-weight: 600;
  color: var(--brand-navy);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #a7b0bd;
  padding-bottom: 0.4rem;
}

.calendar-day {
  position: relative;
  border: none;
  background: none;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--brand-navy);
  font-weight: 600;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.calendar-day:hover:not(:disabled):not(.is-empty) {
  background: var(--brand-navy-soft);
}

.calendar-day:disabled,
.calendar-day.is-empty {
  color: #d3d8e0;
  cursor: not-allowed;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--brand-gold);
}

.calendar-day.is-selected {
  background: var(--brand-navy);
  color: #fff;
  border-radius: 50%;
}

.calendar-day.is-in-range {
  background: var(--brand-navy-soft);
  border-radius: 0;
}

.calendar-day.is-range-start {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.calendar-day.is-range-end {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eaf2f9;
}

.calendar-helper {
  font-size: 0.85rem;
  color: #6b7789;
}

.calendar-done {
  background: var(--brand-navy);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  transition: background-color 0.2s ease;
}

.calendar-done:hover {
  background: var(--brand-navy-dark);
}


.pax-panel {
  width: 460px;
  padding: 1rem 1.1rem 1.1rem;
}

.pax-inner-tabs {
  display: flex;
  gap: 0.4rem;
  background: var(--brand-navy-soft);
  border-radius: 2.5rem;
  padding: 0.25rem;
  margin-bottom: 1.1rem;
  width: fit-content;
}

.pax-inner-tab {
  border: none;
  background: none;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--brand-navy);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.pax-inner-tab.active {
  background: #fff;
  box-shadow: 0 3px 10px rgba(8, 96, 168, 0.15);
}

.pax-count-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.6rem 0;
}

.pax-count-row + .pax-count-row {
  border-top: 1px solid #f1f3f7;
}

.pax-count-row-pair {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  border-top: 1px solid #f1f3f7;
}

.pax-count-row-pair .pax-count-row {
  flex: 1 1 180px;
  border-top: none;
}

.pax-count-label strong {
  display: block;
  font-size: 0.85rem;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pax-count-label span {
  font-size: 0.72rem;
  color: #8b95a5;
}

.pax-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pax-pill {
  min-width: 32px;
  height: 32px;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #dde3ec;
  background: #fff;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pax-pill:hover:not(.selected):not(:disabled) {
  border-color: var(--brand-gold);
}

.pax-pill.selected {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}

.pax-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cabin-class-heading {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b95a5;
  margin-bottom: 0.6rem;
}

.cabin-class-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 320px;
  overflow-y: auto;
}

.cabin-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid #dde3ec;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cabin-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cabin-card > .icon {
  width: 34px;
  height: 34px;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.cabin-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cabin-card-body strong {
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.cabin-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.cabin-card-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #6b7789;
}

.cabin-card-features .icon {
  width: 13px;
  height: 13px;
  color: var(--brand-gold);
}

.cabin-card:hover {
  border-color: var(--brand-gold);
}

.cabin-card.selected {
  border-color: var(--brand-navy);
  background: var(--brand-navy-soft);
}

.pax-panel-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eaf2f9;
}

.pax-apply {
  background: var(--brand-navy);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.55rem 1.7rem;
  border-radius: 2rem;
  transition: background-color 0.2s ease;
}

.pax-apply:hover {
  background: var(--brand-navy-dark);
}


@media (max-width: 991.98px) {
  .calendar-panel {
    width: 340px;
  }

  .calendar-months {
    flex-direction: column;
    gap: 0.5rem;
  }

  .calendar-month + .calendar-month {
    display: none;
  }

  .pax-panel {
    width: 400px;
  }
}

@media (max-width: 767.98px) {
  .flight-hero {
    padding-top: calc(3rem + var(--nav-h));
  }

  .flight-hero-title {
    font-size: 2.1rem;
  }

  .flight-hero-subtitle {
    font-size: 0.98rem;
  }

  .flight-search-card {
    padding: 1.25rem 1rem 1.5rem;
  }

  .trip-fields-simple {
    flex-direction: column;
    align-items: stretch;
  }

  .trip-fields-simple .field-box,
  .multi-city-row .field-box {
    flex: 0 0 auto;
    width: 100%;
  }

  .swap-btn {
    align-self: center;
    transform: rotate(90deg);
  }

  .swap-btn:hover {
    transform: rotate(270deg);
  }

  .multi-city-row {
    flex-direction: column;
    align-items: stretch;
  }

  .multi-city-row .swap-btn {
    align-self: center;
    transform: rotate(90deg);
  }

  .multi-city-row .swap-btn:hover {
    transform: rotate(270deg);
  }

  .remove-row-btn {
    align-self: flex-end;
  }

  .field-travelers-multi {
    max-width: none;
  }

  .search-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-banner {
    flex: 0 0 auto;
  }

  .search-btn {
    justify-content: center;
  }

  .popover-panel {
    position: fixed;
    left: 0.75rem !important;
    right: 0.75rem !important;
    top: auto !important;
    bottom: 0.75rem;
    width: auto !important;
    max-height: 75vh;
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flight-search-card *,
  .flight-search-card *::after,
  .flight-search-card *::before {
    transition: none !important;
    animation: none !important;
  }

  
  .flight-hero::before,
  .flight-hero::after {
    animation: none !important;
  }
}


@media (max-width: 767.98px) {
  .flight-hero {
    --hero-photo: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?fm=jpg&q=68&w=760&auto=format&fit=crop&ixlib=rb-4.1.0");
  }
}
