:root {
  --yellow: #fff200;
  --ink: #202020;
  --muted: #666;
  --line: #e8e8e8;
  --footer: #efefef;
  --container: 1006px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 242, 0, .18), transparent 28vw),
    radial-gradient(circle at 88% 32%, rgba(41, 74, 112, .08), transparent 24vw);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.announcement {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 48px;
  color: #fff;
  background: rgba(72, 87, 108, .82);
  backdrop-filter: blur(2px);
}

.announcement__inner {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 58px;
  font-size: 12px;
  font-weight: 700;
}

.announcement__bell {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #2b3440;
  background: #fff;
  font-size: 12px;
}

.announcement__spacer {
  flex: 1;
}

.announcement__all {
  font-size: 12px;
}

.announcement__close {
  width: 26px;
  height: 26px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.site-header {
  position: fixed;
  inset: 48px 0 auto;
  z-index: 25;
  height: 74px;
  color: #fff;
  background: rgba(86, 97, 116, .28);
}

.announcement-closed .site-header {
  top: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 58px;
  font-size: 13px;
  font-weight: 700;
}

.nav__logo img {
  display: block;
  width: 42px;
  height: 42px;
}

.nav__links,
.nav__actions {
  display: flex;
  align-items: center;
  gap: 37px;
}

.nav__links {
  margin-right: auto;
  margin-left: 42px;
}

.nav__actions {
  gap: 25px;
}

.nav__login {
  min-width: 110px;
  padding: 13px 21px;
  color: #222;
  background: var(--yellow);
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}

.nav__bell {
  font-size: 20px;
  line-height: 1;
}

.hero {
  position: relative;
  height: 490px;
  overflow: hidden;
  background: #cfd7d8;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 50, 61, .35), rgba(44, 50, 61, .08) 42%, rgba(0, 0, 0, .05));
}

.hero h1 {
  position: absolute;
  top: 206px;
  left: calc(50% - 420px);
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: -.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}

.booking-card {
  position: relative;
  z-index: 10;
  max-width: var(--container);
  min-height: 213px;
  margin: -124px auto 0;
  padding: 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.booking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .16);
}

.booking-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.booking-card__left,
.booking-card__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.plain-select,
.ai-button,
.currency {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.plain-select {
  color: #333;
  font-size: 12px;
  font-weight: 500;
}

.plain-select span {
  padding-left: 8px;
  color: #777;
}

.divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #333;
  font-size: 12px;
  font-weight: 500;
}

.toggle input {
  position: absolute;
  opacity: 0;
}

.toggle span {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #d3d7da;
}

.toggle span::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.ai-button {
  padding: 8px 14px;
  color: #7f56b3;
  background: #f5efff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.currency {
  padding: 11px 14px;
  border: 1px solid #d8d2a9;
  border-radius: 8px;
  color: #333;
  font-size: 12px;
  font-weight: 700;
}

.flight-form {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 1fr 1fr 1fr 1fr;
  gap: 10px 0;
  align-items: center;
}

.field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 47px;
  padding: 0 14px;
  color: #333;
  background: #fff;
  border: 1px solid #dedede;
  font-size: 12px;
}

.field:first-child {
  border-radius: 12px 0 0 12px;
}

.field--to {
  border-radius: 0 12px 12px 0;
}

.field:nth-of-type(3) {
  grid-column: 1 / span 2;
  border-radius: 12px 0 0 12px;
}

.field:nth-of-type(4),
.field:nth-of-type(5),
.field:nth-of-type(6) {
  border-left: 0;
}

.field:nth-of-type(6) {
  border-radius: 0 12px 12px 0;
}

.field strong {
  padding: 5px 8px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  color: #333;
  font-size: 11px;
  font-weight: 700;
}

.field i {
  color: #949494;
  font-style: normal;
}

.swap {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin: 0 -14px;
  border: 1px solid #eee;
  border-radius: 50%;
  color: #c4c4c4;
  background: #fff;
}

.search-button {
  grid-column: 7;
  justify-self: end;
  width: 96px;
  height: 48px;
  margin-top: 18px;
  border: 1px solid #b0aa00;
  border-radius: 999px;
  color: #202020;
  background: var(--yellow);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.search-button:hover,
.destination-card a:hover,
.nav__login:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.recent-searches-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.recent-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #eee28b;
  border-radius: 999px;
  color: #242424;
  background: #fffde7;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.recent-search-chip span {
  color: #6a6500;
}
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 44px;
  max-width: 820px;
  margin: 84px auto 72px;
  text-align: center;
}

.quick-links a {
  display: grid;
  gap: 14px;
  justify-items: center;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 8px;
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.quick-links a:hover {
  transform: translateY(-3px);
  background: #fffef0;
  box-shadow: 0 12px 28px rgba(32, 32, 32, .08);
}

.quick-links img {
  width: 64px;
  height: 64px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--container);
  margin: -34px auto 72px;
}

.trust-strip div {
  padding: 18px 20px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  box-shadow: 0 10px 26px rgba(32, 32, 32, .06);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 15px;
  font-weight: 900;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.section {
  max-width: var(--container);
  margin: 0 auto 78px;
}

.section h2,
.section__header h2 {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.filters {
  display: flex;
  gap: 10px;
  margin: -12px 0 24px;
}

.filters button {
  height: 31px;
  padding: 0 14px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  color: #555;
  background: #fff;
  font-size: 12px;
}

.filters .clear {
  border: 0;
  color: #222;
  font-weight: 700;
}

.destination-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.destination-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 355px;
  overflow: hidden;
  padding: 108px 15px 14px;
  color: #fff;
  border-radius: 11px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .74)), var(--image);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(32, 32, 32, .18), inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.destination-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.12;
  font-weight: 800;
}

.destination-card p {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
}

.destination-card strong {
  align-self: flex-end;
  margin-bottom: 4px;
  text-align: right;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.destination-card small {
  display: block;
  margin-bottom: 13px;
  text-align: right;
  font-size: 11px;
  line-height: 1.35;
}

.destination-card a {
  display: grid;
  place-items: center;
  height: 39px;
  border-radius: 999px;
  background: #272727;
  font-size: 13px;
  font-weight: 800;
}

.badge {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 31, 31, .72);
  font-size: 10px;
  font-weight: 800;
}

.carousel-next {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 30px;
  height: 40px;
  border: 0;
  color: #222;
  background: transparent;
  font-size: 40px;
  line-height: 1;
}

.fare-note {
  max-width: 960px;
  margin: 38px 8px 0;
  color: #4a4a4a;
  font-size: 11px;
  line-height: 1.5;
}

.promo {
  margin-bottom: 78px;
}

.promo h2 {
  margin-bottom: 24px;
}

.promo-main,
.promo-main img {
  display: block;
  width: 100%;
}

.promo-main img {
  height: 246px;
  object-fit: cover;
  border-radius: 18px;
}

.promo-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.tile {
  position: relative;
  display: block;
  min-height: 225px;
  overflow: hidden;
  color: #fff;
  border-radius: 17px;
  background: #111;
}

.tile img {
  width: 100%;
  height: 100%;
  min-height: 225px;
  object-fit: cover;
  opacity: .92;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6));
}

.tile__title,
.tile__caption,
.tile__arrow {
  position: absolute;
  z-index: 1;
}

.tile__title {
  left: 22px;
  bottom: 80px;
  color: var(--yellow);
  font-size: 24px;
  font-weight: 800;
}

.tile__caption {
  left: 22px;
  right: 50px;
  bottom: 51px;
  font-size: 14px;
  font-weight: 800;
}

.tile__arrow {
  right: 22px;
  bottom: 47px;
  font-size: 32px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.dot {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #bbb;
}

.dot.active {
  background: #000;
}

.carousel-controls button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: 14px;
  border: 1px solid #eee;
  border-radius: 50%;
  color: #ddd;
  background: #fff;
  font-size: 28px;
}

.carousel-controls button:last-child {
  color: #9b9b9b;
}

.before-fly {
  margin-bottom: 60px;
}

.highlight img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 13px;
}

.highlight h3 {
  margin: 20px 12px 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.highlight p {
  margin: 0 12px;
  color: #525252;
  font-size: 13px;
}

.highlight a {
  float: right;
  margin: -18px 12px 0 0;
  color: #00667e;
  font-size: 13px;
  font-weight: 600;
}

.carousel-controls--right {
  justify-content: flex-end;
  margin-top: 22px;
}

.carousel-controls--right .dot:first-child {
  margin-right: auto;
}

.also-interest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 37px;
  padding: 8px 16px;
  color: #202020;
  background: var(--yellow);
  font-size: 13px;
}

.also-interest strong {
  font-weight: 800;
  letter-spacing: .02em;
}

.footer {
  background: var(--footer);
  color: #666;
}

.footer__inner {
  max-width: 930px;
  margin: 0 auto;
  padding: 40px 0 34px;
}

.footer__inner a {
  display: block;
  margin-bottom: 14px;
  color: #777;
  font-size: 12px;
}

.footer__brand {
  float: left;
  width: 170px;
}

.footer__scoot {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 0 22px;
}

.footer__sia {
  width: 94px;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 52px;
  margin-left: 250px;
  min-height: 390px;
}

.footer h3 {
  margin: 0 0 18px;
  color: #767676;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
}

.footer h3:not(:first-child) {
  margin-top: 30px;
}

.store {
  width: 110px;
  height: auto;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  clear: both;
  padding-top: 16px;
  border-top: 1px solid #777;
  color: #666;
  font-size: 11px;
  line-height: 1.45;
}

.footer__bottom a {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom img {
  width: 40px;
  height: 40px;
}

@media (max-width: 1050px) {
  :root {
    --container: calc(100% - 44px);
  }

  .announcement__inner,
  .nav {
    padding-inline: 28px;
  }

  .nav__links {
    gap: 22px;
    margin-left: 25px;
  }

  .nav__actions {
    gap: 16px;
  }

  .hero h1 {
    left: 17%;
  }

  .flight-form {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .field,
  .field:first-child,
  .field--to,
  .field:nth-of-type(3),
  .field:nth-of-type(6) {
    grid-column: auto;
    border: 1px solid #dedede;
    border-radius: 12px;
  }

  .swap {
    display: none;
  }

  .search-button {
    grid-column: 2;
  }

  .destination-row {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .trust-strip {
    grid-template-columns: 1fr;
    width: var(--container);
    margin: -24px auto 54px;
  }

  .announcement {
    height: 42px;
  }

  .announcement__inner {
    padding-inline: 16px;
  }

  .announcement__all {
    display: none;
  }

  .site-header {
    top: 42px;
  }

  .nav {
    padding-inline: 18px;
  }

  .nav__links,
  .nav__actions a:not(.nav__login):not(.nav__bell) {
    display: none;
  }

  .nav__login {
    padding: 10px 14px;
  }

  .hero {
    height: 400px;
  }

  .hero h1 {
    top: 165px;
    left: 22px;
    right: 22px;
    font-size: 28px;
  }

  .booking-card {
    margin-top: -76px;
    padding: 18px;
  }

  .booking-card__top,
  .booking-card__left,
  .booking-card__right {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-card__top {
    gap: 14px;
  }

  .flight-form {
    grid-template-columns: 1fr;
  }

  .search-button {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 56px auto;
  }

  .destination-row,
  .promo-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 320px;
  }

  .carousel-next {
    display: none;
  }

  .promo-main img {
    height: 180px;
  }

  .also-interest {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .footer__inner {
    padding: 32px 22px;
  }

  .footer__brand {
    float: none;
    width: auto;
    margin-bottom: 28px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    margin-left: 0;
  }
}

/* Final flight-search detail pass: exact dropdown/list/calendar/passenger styling. */
#trip-panel {
  top: 74px;
  left: 28px;
  width: 176px;
  padding: 10px;
  border-radius: 16px;
}

#trip-panel button {
  min-height: 40px;
  padding: 0 16px;
  color: #666;
  font-size: 15px;
  font-weight: 700;
}

#trip-panel button.is-selected::after {
  content: "\\2713";
  color: #333;
  font-size: 16px;
}

#origin-panel,
#destination-panel {
  top: 126px;
  width: calc(50% + 10px);
  max-height: 474px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

#origin-panel {
  left: 0;
}

#destination-panel {
  left: calc(50% - 14px);
}

.airport-list {
  max-height: 474px;
  padding: 20px 0;
  overflow-y: auto;
  scrollbar-color: #888 transparent;
  scrollbar-width: auto;
}

.airport-list button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  width: 100%;
  min-height: 76px;
  padding: 12px 54px 12px 38px;
  background: #fff;
  border-radius: 0;
}

.airport-list button:hover {
  background: #fafafa;
}

.airport-list button.is-selected {
  margin: 0 22px;
  width: calc(100% - 44px);
  background: #fffde8;
  border-radius: 20px;
}

.airport-list button span {
  display: grid;
  gap: 4px;
}

.airport-list button span strong {
  color: #444;
  font-size: 20px;
  line-height: 1.1;
}

.airport-list button span em {
  color: #777;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
}

.airport-list button b {
  align-self: center;
  min-width: 58px;
  padding: 8px 13px;
  color: #777;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}

.airport-empty {
  padding: 38px;
  color: #777;
  font-size: 17px;
}

#date-panel {
  top: 128px;
  left: 0;
}

.booking-popover--calendar {
  width: min(880px, calc(100vw - 80px));
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 24px 22px 0;
  border-radius: 16px;
}

.calendar-month h3 {
  margin: 0 0 28px;
  color: #242424;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.calendar-grid {
  gap: 14px 16px;
}

.calendar-grid span {
  color: #222;
  font-size: 11px;
  font-weight: 700;
}

.calendar-grid button {
  min-height: 42px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.calendar-grid button:disabled {
  color: #d4d4d4;
}

.calendar-grid .in-range {
  background: #fff9c9;
  border-radius: 0;
}

.calendar-grid .is-selected {
  border-radius: 50%;
}

.calendar-actions {
  min-height: 88px;
  margin-top: 18px;
  padding: 18px 0;
  font-size: 16px;
}

.calendar-actions div {
  margin-right: auto;
}

.calendar-actions i {
  display: inline-block;
  width: 1px;
  height: 28px;
  margin: 0 18px;
  background: #ddd;
  vertical-align: middle;
}

#passenger-panel {
  top: 128px;
  right: 170px;
  width: 336px;
  padding: 26px 36px 22px;
}

.counter-row {
  padding: 10px 0;
}

.counter-row span {
  display: grid;
  gap: 7px;
}

.counter-row span strong {
  color: #000;
  font-size: 16px;
}

.counter-row span em {
  color: #888;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

.counter-row button {
  color: #222;
  font-size: 28px;
  line-height: 1;
}

.counter-row button:first-child {
  color: #8a8a8a;
  background: #f1f1f1;
}

.group-booking {
  margin: 14px 0 18px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.group-booking a {
  color: #222;
  font-weight: 800;
  text-decoration: underline;
}

#passenger-panel .popover-confirm {
  width: 118px;
  height: 44px;
  margin-left: auto;
  border-radius: 999px;
  font-weight: 800;
}

.section__header {
  position: relative;
}

.filter-popover {
  position: absolute;
  top: 86px;
  left: 8px;
  z-index: 15;
  display: none;
  color: #333;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  overflow: hidden;
}

.filter-popover.is-open {
  display: block;
}

.filter-popover--route {
  width: 590px;
}

.filter-popover--date {
  width: 704px;
}

.filter-popover--budget {
  width: 290px;
  left: 248px;
}

.filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px 36px 28px;
}

.filter-popover label {
  display: grid;
  gap: 8px;
  color: #333;
  font-size: 16px;
}

.filter-popover input,
.filter-popover select {
  height: 58px;
  padding: 0 14px;
  border: 3px solid #999;
  border-radius: 28px;
  color: #666;
  outline: none;
  font-size: 19px;
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  min-height: 78px;
  padding: 0 28px;
  border-top: 1px solid #ddd;
  font-size: 18px;
  font-weight: 800;
}

.filter-actions button {
  border: 0;
  background: transparent;
  color: #222;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.filter-actions button:first-of-type {
  color: #666;
}

.filter-date-input {
  padding: 28px 40px 20px;
}

.filter-calendar {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 64px;
  gap: 24px;
  align-items: start;
  padding: 24px 36px;
  border-top: 1px solid #eee;
}

.filter-calendar h3 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 22px;
}

.filter-calendar p {
  word-spacing: 12px;
  color: #666;
  font-size: 18px;
  line-height: 1.9;
}

.filter-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #e4e4e4;
  color: #333;
  font-size: 42px;
}

.filter-popover--budget {
  padding-top: 24px;
}

.filter-popover--budget label {
  padding: 0 24px 22px;
}

@media (max-width: 820px) {
  .filter-popover,
  .filter-popover--route,
  .filter-popover--date,
  .filter-popover--budget {
    left: 0;
    right: 0;
    width: auto;
  }

  .filter-fields,
  .filter-calendar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 13px;
  }

  .nav__login {
    display: none;
  }

  .hero {
    height: 360px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .section h2,
  .section__header h2 {
    font-size: 18px;
  }

  .filters {
    flex-wrap: wrap;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}

/* Capture-based refinements from the live FlyScoot page. */
:root {
  --yellow: #fff700;
  --ink: #1f201e;
  --container: min(1200px, calc(100vw - min(96px, max(26px, 8vw))));
}

.announcement {
  z-index: 1070;
  color: #fff;
  background-color: rgba(51, 51, 51, .1);
  backdrop-filter: none;
  transition: transform .25s ease, background-color .2s ease, backdrop-filter .2s ease;
}

.announcement__inner {
  max-width: none;
  padding: 12px 60px;
  font-size: 12px;
  font-weight: 700;
}

.announcement__bell {
  color: #fff;
  background: transparent;
}

.is-scrolled .announcement {
  color: #333;
  background-color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(24px);
  transform: translateY(-100%);
}

.is-scrolled .announcement__bell,
.is-scrolled .announcement__close {
  color: #333;
}

.site-header {
  inset: 48px 0 auto;
  z-index: 1001;
  height: 74px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  transition: top .25s ease, background-color .2s ease, backdrop-filter .2s ease, box-shadow .2s ease;
}

.is-scrolled .site-header {
  top: 0;
  background-color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.announcement-closed .site-header,
.announcement-closed.is-scrolled .site-header {
  top: 0;
}

.nav {
  max-width: none;
  padding: 15px 60px;
  font-size: .8125rem;
  line-height: 1.5;
}

.nav__logo img {
  width: 44px;
  height: 44px;
}

.nav__links,
.nav__actions {
  gap: 8px;
}

.nav__links {
  margin-left: 44px;
}

.nav__actions {
  gap: 8px;
}

.nav__links > a,
.nav__item > a,
.nav__actions > a:not(.nav__login) {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  height: 100%;
  padding: 8px 16px;
  border-radius: 24px;
  color: #fff;
  font-weight: 700;
  outline: none;
  transition: background-color .2s ease, color .2s ease;
}

.nav__links > a:hover,
.nav__item:hover > a,
.nav__item > a:focus,
.nav__actions > a:not(.nav__login):hover {
  background-color: rgba(255, 255, 255, .3);
}

.is-scrolled .nav__links > a,
.is-scrolled .nav__item > a,
.is-scrolled .nav__actions > a:not(.nav__login) {
  color: #333;
}

.is-scrolled .nav__links > a:hover,
.is-scrolled .nav__item:hover > a,
.is-scrolled .nav__actions > a:not(.nav__login):hover {
  background-color: rgba(0, 0, 0, .07);
}

.nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 26px;
  width: 760px;
  padding: 28px;
  color: #333;
  background: rgba(255, 255, 255, .96);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 18px;
}

.nav__item:hover .nav-menu,
.nav__item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu--small {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  width: 540px;
}

.nav-menu h3 {
  margin: 0 0 14px;
  color: #333;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .03rem;
}

.nav-menu a {
  display: block;
  padding: 7px 0;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease, transform .2s ease;
}

.nav-menu a:hover {
  color: #000;
  transform: translateX(3px);
}

.nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 125px;
  height: 42px;
  padding: 12px 16px;
  color: #333;
  background-color: var(--yellow);
  border-radius: 24px;
  box-shadow: none;
  font-weight: 700;
  transition: transform .2s ease, filter .2s ease;
}

.nav__login:hover {
  filter: brightness(.98);
  transform: translateY(-1px);
}

.nav__bell {
  width: 40px;
  height: 40px;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 0;
}

.mobile-menu-toggle::before {
  content: "menu";
  font-size: 13px;
  font-weight: 700;
}

.is-scrolled .mobile-menu-toggle,
body:has(.nav__item--mega:hover) .mobile-menu-toggle {
  color: #333;
}

.hero {
  height: 545px;
}

.hero img {
  object-position: center;
  transition: opacity .22s ease;
}

.hero img.is-changing {
  opacity: .2;
}

.hero__shade {
  background: linear-gradient(180deg, rgba(32, 37, 47, .38), rgba(32, 37, 47, .08) 44%, rgba(0, 0, 0, .03));
}

.hero h1 {
  top: 194px;
  left: max(96px, calc((100vw - 1200px) / 2 + 96px));
  width: 600px;
  max-width: 600px;
  font-size: 36px;
  line-height: 54px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: none;
}

.booking-card {
  width: 1200px;
  max-width: var(--container);
  min-height: 315px;
  margin-top: -161px;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  font-weight: 600;
}

.booking-card__top {
  margin-bottom: 24px;
}

.plain-select,
.toggle,
.field,
.search-button,
.ai-button,
.currency {
  font-size: 12px;
}

.ai-button {
  color: #6a3fa0;
  background: #f7f0ff;
  border: 1px solid #eadcff;
  transition: background-color .2s ease, transform .2s ease;
}

.ai-button:hover {
  background: #efe3ff;
  transform: translateY(-1px);
}

.currency {
  height: 38px;
  border-color: #dfd8aa;
  background-color: #fffef2;
}

.field {
  height: 48px;
  border-color: #e5e5e5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field:hover,
.field:focus-within {
  border-color: #c9c9c9;
  box-shadow: 0 0 0 2px rgba(255, 247, 0, .18);
}

.search-button {
  height: 48px;
  color: #333;
  background: var(--yellow);
  border-color: #c8be00;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
  filter: brightness(.99);
}

.quick-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 1030px;
  min-height: 112px;
  margin: 40px auto 92px;
}

.quick-links a {
  display: flex;
  min-width: 5rem;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  color: #333;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.quick-links a:focus {
  outline: none;
}

.quick-links img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.quick-links span {
  color: #666;
  font-size: 13px;
  font-weight: 600;
  line-height: 240%;
  transition: color .2s ease;
}

.quick-links a:hover img,
.quick-links a:focus img {
  transform: scale(1.1143);
}

.quick-links a:hover span,
.quick-links a:focus span {
  color: #000;
}

.section {
  max-width: 1200px;
  margin-bottom: 92px;
}

.section h2,
.section__header h2 {
  padding: 0 32px;
  font-size: 19px;
  line-height: 28.5px;
  font-weight: 700;
}

.filters {
  padding: 0 32px;
}

.destination-row {
  max-width: 860px;
}

.destination-card {
  transition: transform .22s ease, box-shadow .22s ease;
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

.destination-card a {
  transition: background-color .2s ease, transform .2s ease;
}

.destination-card a:hover {
  background-color: #000;
  transform: translateY(-1px);
}

.promo h2,
.before-fly h2 {
  margin-bottom: 24px;
}

.promo-main {
  padding: 0 32px;
}

.promo-main img {
  height: 300px;
  border-radius: 24px;
}

.promo-grid,
.highlight-grid {
  display: flex;
  gap: 24px;
  padding: 0 32px;
  margin-top: 24px;
  overflow: hidden;
}

.tile,
.highlight {
  flex: 0 0 calc((100% - 24px) / 2);
}

.tile {
  height: 270px;
  min-height: 270px;
  border-radius: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.tile img {
  min-height: 270px;
  opacity: 1;
  transition: transform .35s ease;
}

.tile:hover img {
  transform: scale(1.035);
}

.tile::after {
  top: auto;
  height: 120px;
  background: rgba(0, 0, 0, .4);
  border-radius: 0 0 24px 24px;
}

.tile__title {
  bottom: 86px;
  left: 24px;
  width: 412px;
  color: var(--yellow);
  font-size: 28px;
  font-weight: 700;
}

.tile__caption {
  left: 24px;
  right: 80px;
  bottom: 52px;
  font-size: 14px;
  font-weight: 700;
}

.tile__arrow {
  right: 24px;
  bottom: 45px;
  color: #fff;
}

.carousel-controls {
  padding: 0 32px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: #ccc;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.dot:hover {
  transform: scale(1.2);
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  margin-left: 27px;
  border: 0;
  color: transparent;
  background-color: transparent;
  background-size: 48px 48px;
  background-repeat: no-repeat;
  border-radius: 50%;
  transition: transform .2s ease;
}

.carousel-controls button:hover {
  transform: scale(1.06);
}

.carousel-controls button:first-of-type {
  background-image: url("https://cdn.flyscoot.com/prod-src/images/default-source/cms-assets/left-arrow-carousel-disabled.svg");
}

.carousel-controls button:last-of-type {
  background-image: url("https://cdn.flyscoot.com/prod-src/images/default-source/cms-assets/right-arrow-carousel.svg");
}

.highlight {
  position: relative;
}

.highlight img {
  height: 300px;
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .22s ease;
}

.highlight:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
}

.highlight h3 {
  margin: 18px 12px 8px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight p {
  color: #555;
  font-size: 16px;
  font-weight: 500;
}

.highlight a {
  color: #006778;
  font-size: 16px;
  font-weight: 600;
  transition: color .2s ease;
}

.highlight a:hover {
  color: #003f4a;
}

.also-interest {
  min-height: 37px;
  background: var(--yellow);
}

.footer {
  background-color: #f2f2f2;
}

.footer__inner {
  max-width: 1000px;
  padding-top: 48px;
}

.footer__inner a:hover {
  color: #bfbfbf;
}

@media (max-width: 1200px) {
  .nav {
    padding-inline: 32px;
  }

  .hero h1 {
    left: 96px;
  }
}

@media (max-width: 991px) {
  .nav__links {
    display: none;
  }

  .nav__actions {
    margin-left: auto;
  }

  .hero h1 {
    width: 400px;
    max-width: calc(100vw - 44px);
    font-size: 28px;
    line-height: 42px;
  }

  .booking-card {
    width: calc(100vw - 40px);
    min-height: 0;
  }

  .quick-links {
    flex-wrap: wrap;
    margin-bottom: 70px;
  }

  .promo-grid,
  .highlight-grid {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .promo-grid::-webkit-scrollbar,
  .highlight-grid::-webkit-scrollbar {
    display: none;
  }

  .tile,
  .highlight {
    flex-basis: min(488px, 82vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .announcement__inner,
  .nav {
    padding-inline: 20px;
  }

  .hero {
    height: 420px;
  }

  .hero h1 {
    top: 160px;
    left: 24px;
    width: 280px;
    font-size: 19px;
    line-height: 28px;
  }

  .promo-main,
  .promo-grid,
  .highlight-grid,
  .section h2,
  .section__header h2,
  .filters,
  .carousel-controls {
    padding-inline: 20px;
  }

  .promo-main img {
    height: 250px;
  }

  .tile {
    height: 200px;
    min-height: 200px;
  }

  .tile img {
    min-height: 200px;
  }

  .tile::after {
    height: 78px;
  }

  .tile__title {
    bottom: 62px;
    width: 326px;
    max-width: calc(100% - 48px);
    font-size: 23px;
  }

  .tile__caption {
    bottom: 31px;
    font-size: 12px;
  }

  .highlight h3,
  .highlight a,
  .highlight p {
    font-size: 13px;
  }
}

/* Mega navigation: Discover and Plan. */
body:has(.nav__item--mega:hover)::after,
body:has(.nav__item--mega:focus-within)::after {
  content: "";
  position: fixed;
  inset: 48px 0 0;
  z-index: 990;
  background: rgba(0, 0, 0, .6);
  pointer-events: none;
}

body:has(.nav__item--mega:hover) .site-header,
body:has(.nav__item--mega:focus-within) .site-header {
  color: #333;
  background: transparent;
  box-shadow: none;
}

body:has(.nav__item--mega:hover) .nav__links > a,
body:has(.nav__item--mega:hover) .nav__item > a,
body:has(.nav__item--mega:hover) .nav__actions > a:not(.nav__login),
body:has(.nav__item--mega:focus-within) .nav__links > a,
body:has(.nav__item--mega:focus-within) .nav__item > a,
body:has(.nav__item--mega:focus-within) .nav__actions > a:not(.nav__login) {
  color: #111;
}

body:has(.nav__item--mega:hover) .nav__item:hover > a,
body:has(.nav__item--mega:focus-within) .nav__item:focus-within > a {
  background: #f2f2f2;
}

.nav__item--mega {
  position: static;
}

.nav__item--mega .nav-menu {
  position: fixed;
  top: 34px;
  left: 28px;
  right: 28px;
  z-index: 1000;
  display: grid;
  grid-template-columns: 260px minmax(300px, 1fr) 390px;
  gap: 0;
  width: auto;
  min-height: 322px;
  padding: 72px 24px 28px;
  color: #111;
  background: #fff;
  border-radius: 18px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav__item--mega .nav-menu::before {
  top: 0;
  height: 84px;
}

.nav__item--mega:hover .nav-menu,
.nav__item--mega:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-categories {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 228px;
}

.mega-category {
  display: contents;
}

.mega-category__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
  min-height: 36px;
  padding: 0 18px;
  color: #111;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 36px;
  transition: background-color .16s ease, color .16s ease;
}

.mega-category__label span {
  font-size: 18px;
  line-height: 1;
}

.mega-category.is-active .mega-category__label,
.mega-category:focus-within .mega-category__label {
  background: #f3f3f3;
}

.mega-category__label:hover {
  background: #f3f3f3;
}

.mega-categories:hover .mega-category.is-default:not(.is-active) .mega-category__label {
  background: transparent;
}

.mega-links {
  position: absolute;
  top: 0;
  left: 300px;
  display: none;
  width: 420px;
  flex-direction: column;
  gap: 0;
}

.mega-category.is-active .mega-links {
  display: flex;
}

.mega-categories:hover .mega-category.is-default:not(.is-active) .mega-links,
.mega-categories:focus-within .mega-category.is-default:not(.is-active) .mega-links {
  display: none;
}

.mega-category:focus-within .mega-links {
  display: flex;
}

.mega-links a {
  display: block;
  width: max-content;
  max-width: 420px;
  padding: 0 0 25px;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: color .15s ease, transform .15s ease;
}

.mega-links a:hover,
.mega-links a:focus {
  color: #555;
  transform: translateX(2px);
}

.mega-promos {
  grid-column: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 124px 124px;
  gap: 16px;
  align-self: start;
}

.mega-promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.mega-promo img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mega-promo:hover img,
.mega-promo:focus img {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.mega-promo--large {
  grid-row: span 2;
}

.mega-promo--large img {
  height: 220px;
}

.mega-promo:nth-child(3) img {
  padding: 18px;
  object-fit: contain;
  background: #fff9c8;
}

.nav-menu--plan .mega-promos .mega-promo:nth-child(3) img {
  background: #fff9c8;
}

.nav-menu--plan {
  min-height: 302px;
}

.nav-menu--plan .mega-links {
  left: 300px;
}

.nav__item--mega .nav-menu {
  min-height: 374px;
}

.mega-category.is-active .mega-category__label {
  background: #f3f3f3;
}

.mega-categories:hover .mega-category.is-default:not(.is-active) .mega-category__label {
  background: transparent;
}

.mega-category .mega-links {
  display: none;
}

.mega-category.is-active .mega-links {
  display: flex;
}

.mega-categories:hover .mega-category.is-default:not(.is-active) .mega-links,
.mega-categories:focus-within .mega-category.is-default:not(.is-active) .mega-links {
  display: none;
}

.mega-links a {
  padding-bottom: 21px;
}

@media (max-width: 991px) {
  body:has(.nav__item--mega:hover)::after,
  body:has(.nav__item--mega:focus-within)::after {
    display: none;
  }

  .nav__item--mega .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Header side panels and booking widget popovers. */
.site-panel {
  position: fixed;
  top: 102px;
  right: 72px;
  z-index: 1105;
  display: none;
  width: 360px;
  padding: 22px;
  color: #333;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.site-panel.is-open {
  display: block;
}

.site-panel h3 {
  margin: 0 0 16px;
  color: #333;
  font-size: 18px;
}

.site-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #666;
  font-size: 12px;
}

.site-panel input,
.booking-popover input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

.site-panel input:focus,
.booking-popover input:focus {
  border-color: #bcb200;
  box-shadow: 0 0 0 3px rgba(255, 247, 0, .22);
}

.site-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: #333;
  font-weight: 600;
}

.site-panel--language {
  width: 310px;
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1200;
  display: none;
  width: min(420px, 100vw);
  padding: 20px;
  overflow-y: auto;
  color: #333;
  background: #fff;
  box-shadow: -18px 0 44px rgba(0, 0, 0, .2);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mobile-panel__header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  cursor: pointer;
  font-weight: 800;
}

.mobile-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
}

.mobile-panel h3 {
  margin: 22px 0 4px;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03rem;
}

.booking-card {
  isolation: isolate;
}

.flight-search-new-container {
  color: #1f201e;
  box-sizing: border-box;
}

.flight-search-new-container .flight-form {
  display: block;
}

.desktop-header {
  display: block;
}

.mobile-header {
  display: none;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  margin-bottom: 18px;
}

.left-section,
.right-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trip-type-dropdown,
.mobile-trip-type-dropdown,
.currency-section,
.mobile-currency-section,
.ai-trip-section {
  cursor: pointer;
}

.trip-type-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 0;
  color: #333;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  outline: none;
}

.trip-type-trigger:hover,
.trip-type-trigger:focus {
  color: #000;
}

.dropdown-arrow {
  color: #777;
  font-size: 11px;
}

.vertical-divider {
  width: 1px;
  height: 20px;
  background: #e5e5e5;
}

.redeem-section,
.mobile-redeem-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 12px;
  font-weight: 500;
}

.switch-slider {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch-slider input {
  position: absolute;
  opacity: 0;
}

.switch-slider .slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d3d7da;
  transition: background-color .2s ease;
}

.switch-slider .slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}

.switch-slider input:checked + .slider {
  background: #fff700;
}

.switch-slider input:checked + .slider::before {
  transform: translateX(12px);
}

.ai-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 7px 11px;
  color: #6a3fa0;
  background: #f7f0ff;
  border: 1px solid #eadcff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  transition: background-color .2s ease, transform .2s ease;
}

.ai-trip-section:hover .ai-badge,
.ai-trip-section:focus .ai-badge {
  background: #efe3ff;
  transform: translateY(-1px);
}

.ai-group {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ai-description {
  display: none;
}

.ai-arrow-icon {
  color: #6a3fa0;
  font-size: 16px;
  line-height: 1;
}

.currency-section,
.mobile-currency-section {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 9px 13px;
  color: #333;
  background: #fffef2;
  border: 1px solid #dfd8aa;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  outline: none;
}

.search-form {
  position: relative;
}

.search-row-1,
.search-row-2 {
  width: 100%;
}

.station-section {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.origin-field,
.destination-field,
.date-field,
.passenger-section,
.promo-input-wrapper {
  min-width: 0;
}

.station-input-wrapper,
.date-field,
.passenger-section,
.promo-input-wrapper {
  display: flex;
  align-items: center;
  height: 48px;
  color: #333;
  background: #fff;
  border: 1px solid #e5e5e5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.station-input-wrapper--origin {
  border-radius: 12px 0 0 12px;
}

.station-input-wrapper--destination {
  border-radius: 0 12px 12px 0;
}

.station-flex {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 14px;
  gap: 10px;
  outline: none;
  cursor: pointer;
}

.station-flex:hover,
.station-flex:focus,
.date-field:hover,
.date-field:focus,
.passenger-section:hover,
.passenger-section:focus,
.promo-input-wrapper:hover,
.promo-input-wrapper:focus,
.station-flex.is-active,
.date-field.is-active,
.passenger-section.is-active,
.promo-input-wrapper.is-active,
.trip-type-trigger.is-active,
.ai-trip-section.is-active .ai-badge,
.currency-section.is-active {
  border-color: #c8be00;
  box-shadow: 0 0 0 3px rgba(255, 247, 0, .2);
}

.station-input,
.date-input,
.passenger-input,
.promo-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  color: #333;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
  font-weight: 500;
}

.station-input::placeholder,
.date-input::placeholder,
.promo-input::placeholder {
  color: #8e8e8e;
}

.airport-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  color: #333;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.flight-sent-icon,
.location-icon,
.calendar-icon,
.passenger-icon,
.promo-icon {
  color: #8f8f8f;
  font-size: 14px;
  line-height: 1;
}

.swap-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 -14px;
  border: 1px solid #eee;
  border-radius: 50%;
  color: #c4c4c4;
  background: #fff;
}

.search-row-2 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  align-items: center;
}

.date-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.date-field:first-child {
  border-radius: 12px 0 0 12px;
}

.date-field + .date-field,
.passenger-section,
.promo-input-wrapper {
  border-left: 0;
}

.passenger-section,
.promo-input-wrapper,
.date-field {
  padding: 0 14px;
  outline: none;
  cursor: pointer;
}

.promo-input-wrapper {
  border-radius: 0 12px 12px 0;
}

.search-button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.recent-searches-container {
  min-height: 1px;
}

.flight-search-new-container .search-button {
  width: 96px;
  height: 48px;
  margin: 0;
  border: 1px solid #b0aa00;
  border-radius: 999px;
  color: #202020;
  background: #fff700;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .flight-search-new-container {
    padding: 20px !important;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .mobile-redeem-row {
    justify-content: flex-start;
    margin-bottom: 14px;
  }

  .mobile-divider {
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 0 0 14px;
  }

  .mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .station-section,
  .search-row-2,
  .date-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .station-input-wrapper,
  .station-input-wrapper--origin,
  .station-input-wrapper--destination,
  .date-field,
  .date-field:first-child,
  .passenger-section,
  .promo-input-wrapper {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
  }

  .swap-button {
    display: none;
  }

  .search-button-row {
    display: block;
  }

  .flight-search-new-container .search-button {
    width: 100%;
  }
}

/* Airport autocomplete visual correction. */
.station-selected-code[hidden] {
  display: none !important;
}

.station-flex.has-airport-code .station-input {
  flex: 0 1 auto;
}

.airport-list button.is-selected,
.airport-list button.is-selected:hover {
  margin: 0 22px !important;
  width: calc(100% - 44px) !important;
  background: #fffde8 !important;
  border-radius: 20px !important;
}

.airport-list button span strong {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #444 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  text-align: left !important;
}

.airport-list button span em {
  display: block;
  margin-top: 5px;
}

.airport-list button b {
  margin-left: 24px;
}

.booking-popover {
  position: absolute;
  top: 68px;
  left: 24px;
  z-index: 20;
  display: none;
  width: 280px;
  padding: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.booking-popover.is-open {
  display: grid;
  gap: 10px;
}

.booking-popover h3 {
  margin: 0 0 8px;
  color: #333;
  font-size: 16px;
}

.booking-popover p {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}

.booking-popover button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #333;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.booking-popover button:hover,
.booking-popover button.is-selected {
  background: #f4f4f4;
}

.booking-popover button strong {
  margin-left: 20px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 11px;
}

.booking-popover--wide {
  width: 380px;
}

#destination-panel {
  left: 365px;
}

#date-panel {
  top: 128px;
  left: 24px;
}

#passenger-panel {
  top: 128px;
  left: auto;
  right: 180px;
}

#promo-panel,
#currency-panel,
#ai-panel {
  left: auto;
  right: 24px;
}

.booking-popover--calendar {
  width: min(760px, calc(100vw - 80px));
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.calendar-month h3 {
  margin-bottom: 12px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-grid span {
  color: #777;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid button {
  justify-content: center;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
}

.calendar-grid button:disabled {
  color: #c7c7c7;
  cursor: default;
}

.calendar-grid .in-range {
  background: #fffdd8;
}

.calendar-grid .is-selected {
  color: #111;
  background: #fff700;
}

.calendar-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 12px;
}

.calendar-actions button,
.popover-confirm {
  display: inline-flex !important;
  justify-content: center !important;
  min-width: 92px;
  color: #111 !important;
  background: #fff700 !important;
  border: 1px solid #c8be00 !important;
}

.lowest-fare {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #a1f67f;
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  font-weight: 600;
}

.counter-row div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.counter-row button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
}

.field.is-active,
.plain-select.is-active,
.ai-button.is-active,
.currency.is-active {
  border-color: #c8be00;
  box-shadow: 0 0 0 3px rgba(255, 247, 0, .2);
}

@media (max-width: 820px) {
  .site-panel {
    top: 86px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .booking-popover,
  .booking-popover--wide,
  .booking-popover--calendar,
  #destination-panel,
  #date-panel,
  #passenger-panel,
  #promo-panel,
  #currency-panel,
  #ai-panel {
    top: 86px;
    left: 16px;
    right: 16px;
    width: auto;
    grid-template-columns: 1fr;
  }
}

/* Absolute final pass - keep these after all earlier compatibility rules. */
.flight-search-new-container {
  width: 1200px;
  max-width: min(1200px, calc(100vw - min(96px, max(26px, 8vw))));
  min-height: 315px;
  margin-top: -161px;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.flight-search-new-container .header-row {
  min-height: 35px;
  margin-bottom: 18px;
}

.flight-search-new-container .station-section {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  margin-bottom: 10px;
}

.flight-search-new-container .search-row-2 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.flight-search-new-container .date-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.station-input-wrapper,
.date-field,
.passenger-section,
.promo-input-wrapper {
  height: 48px;
  border-color: #e5e5e5;
}

.station-input-wrapper:has(.station-flex.is-active),
.station-input-wrapper:has(.station-flex:focus),
.date-field.is-active,
.passenger-section.is-active,
.promo-input-wrapper.is-active {
  border-color: #333;
  box-shadow: none;
}

.station-input::selection {
  color: #fff;
  background: #3367d6;
}

.station-input,
.date-input,
.passenger-input,
.promo-input {
  color: #333;
  font-size: 12px;
  font-weight: 500;
}

.station-input::placeholder,
.date-input::placeholder,
.promo-input::placeholder {
  color: #aab0b7;
  font-weight: 600;
}

#trip-panel {
  top: 74px;
  left: 28px;
  width: 176px;
  padding: 10px;
  border-radius: 16px;
}

#trip-panel button {
  min-height: 40px;
  padding: 0 16px;
  color: #666;
  font-size: 15px;
  font-weight: 700;
}

#trip-panel button.is-selected::after {
  content: "\2713";
  color: #333;
  font-size: 16px;
}

#origin-panel,
#destination-panel {
  top: 126px;
  max-height: 474px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

#origin-panel {
  left: 0;
  width: calc(50% + 10px);
}

#destination-panel {
  left: calc(50% - 14px);
  width: calc(50% + 14px);
}

.airport-list {
  max-height: 474px;
  padding: 20px 0;
  overflow-y: auto;
  scrollbar-color: #888 transparent;
  scrollbar-width: auto;
}

.airport-list button {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  min-height: 76px;
  padding: 12px 54px 12px 38px;
  background: #fff;
  border-radius: 0;
}

.airport-list button:hover {
  background: #fafafa;
}

.airport-list button span {
  display: grid;
  gap: 4px;
}

.airport-list button span strong {
  color: #444;
  font-size: 20px;
  line-height: 1.1;
}

.airport-list button span em {
  color: #777;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
}

.airport-list button b {
  align-self: center;
  min-width: 58px;
  padding: 8px 13px;
  color: #777;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}

.airport-empty {
  padding: 38px;
  color: #777;
  font-size: 17px;
}

#date-panel {
  top: 128px;
  left: 0;
}

.booking-popover--calendar {
  width: min(880px, calc(100vw - 80px));
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 24px 22px 0;
  border-radius: 16px;
}

.calendar-month h3 {
  margin: 0 0 28px;
  color: #242424;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px 16px;
}

.calendar-grid span {
  color: #222;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.calendar-grid button {
  min-height: 42px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.calendar-grid button:disabled {
  color: #d4d4d4;
}

.calendar-grid .in-range {
  background: #fff9c9;
  border-radius: 0;
}

.calendar-grid .is-selected {
  color: #111;
  background: #fff700;
  border-radius: 50%;
}

.calendar-actions {
  min-height: 88px;
  margin-top: 18px;
  padding: 18px 0;
  font-size: 16px;
}

.calendar-actions div {
  margin-right: auto;
}

.calendar-actions i {
  display: inline-block;
  width: 1px;
  height: 28px;
  margin: 0 18px;
  background: #ddd;
  vertical-align: middle;
}

#passenger-panel {
  top: 128px;
  right: 170px;
  width: 336px;
  padding: 26px 36px 22px;
}

.counter-row {
  padding: 10px 0;
}

.counter-row span {
  display: grid;
  gap: 7px;
}

.counter-row span strong {
  color: #000;
  font-size: 16px;
}

.counter-row span em {
  color: #888;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

.counter-row button {
  color: #222;
  font-size: 28px;
  line-height: 1;
}

.counter-row button:first-child {
  color: #8a8a8a;
  background: #f1f1f1;
}

.group-booking {
  margin: 14px 0 18px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.group-booking a {
  color: #222;
  font-weight: 800;
  text-decoration: underline;
}

#passenger-panel .popover-confirm {
  width: 118px;
  height: 44px;
  margin-left: auto;
  border-radius: 999px;
  font-weight: 800;
}

.filter-popover {
  z-index: 40;
}

.filter-popover input:not([type="checkbox"]),
.filter-popover select {
  height: 58px;
  border: 3px solid #999;
  border-radius: 28px;
  font-size: 19px;
}

.filter-popover input:not([type="checkbox"]),
.filter-popover select {
  box-sizing: border-box;
  width: 100%;
}

.filter-popover input[type="checkbox"] {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  min-width: 54px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: #fff;
  border: 1px solid #999;
  border-radius: 2px;
}

.filter-popover input[type="checkbox"]:checked {
  background: linear-gradient(#fff700, #fff700) center / 28px 28px no-repeat #fff;
}

.filter-popover .filter-actions {
  box-sizing: border-box;
}

.filter-popover--date .filter-actions {
  gap: 28px;
  justify-content: flex-end;
  padding: 0 32px 0 44px;
}

.filter-popover--date .filter-actions label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  color: #222;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.filter-popover--date .filter-actions select {
  flex: 0 0 118px;
  width: 118px;
  height: 54px;
  padding: 0 38px 0 16px;
  color: #555;
  background-color: #fff;
  font-size: 18px;
}

.filter-popover--date .filter-actions button,
.filter-popover--budget .filter-actions button {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 0;
  text-align: center;
}

.filter-popover--budget {
  width: 292px;
}

.filter-popover--budget label {
  box-sizing: border-box;
}

.filter-popover--budget input {
  display: block;
  width: 100%;
}

@media (max-width: 820px) {
  .flight-search-new-container {
    width: calc(100vw - 40px);
    min-height: 0;
    padding: 20px;
  }

  .flight-search-new-container .station-section,
  .flight-search-new-container .search-row-2,
  .flight-search-new-container .date-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #origin-panel,
  #destination-panel,
  #date-panel,
  #passenger-panel,
  #promo-panel,
  #currency-panel,
  #ai-panel {
    top: 86px;
    left: 16px;
    right: 16px;
    width: auto;
  }
}

/* Mobile final pass */
@media (max-width: 767px) {
  :root {
    --container: calc(100vw - 28px);
  }

  body {
    overflow-x: hidden;
    background: #f6f6f3;
  }

  .announcement {
    height: auto;
    min-height: 42px;
  }

  .announcement__inner {
    gap: 10px;
    padding: 9px 14px;
    font-size: 11px;
  }

  .announcement__all,
  .nav__actions > a:not(.nav__login),
  .nav__bell {
    display: none;
  }

  .site-header {
    top: 42px;
    height: 62px;
    background: rgba(37, 43, 52, .72);
    backdrop-filter: blur(12px);
  }

  .announcement-closed .site-header {
    top: 0;
  }

  .nav {
    padding-inline: 14px;
  }

  .nav__logo img {
    width: 38px;
    height: 38px;
  }

  .nav__actions {
    gap: 10px;
  }

  .nav__login {
    min-width: auto;
    padding: 10px 13px;
    font-size: 11px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
  }

  .hero {
    height: 380px;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(22, 27, 35, .58), rgba(22, 27, 35, .16) 52%, rgba(0, 0, 0, .18));
  }

  .hero h1 {
    top: 132px;
    left: 18px;
    width: min(320px, calc(100vw - 36px));
    font-size: 24px;
    line-height: 1.25;
  }

  .flight-search-new-container,
  .booking-card {
    width: var(--container) !important;
    margin-top: -96px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .desktop-header {
    display: none !important;
  }

  .mobile-header {
    display: block !important;
  }

  .search-row-1,
  .search-row-2,
  .station-section,
  .date-section {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .origin-field,
  .destination-field,
  .station-input-wrapper,
  .station-flex,
  .date-field,
  .passenger,
  .passenger-section,
  .promo-section,
  .promo-input-wrapper {
    width: 100% !important;
  }

  .station-flex,
  .date-field,
  .passenger-section,
  .promo-input-wrapper {
    min-height: 54px;
    border: 1px solid #d8d8d8;
    border-radius: 14px !important;
    background: #fff;
  }

  .station-input,
  .date-input,
  .passenger-input,
  .promo-input {
    min-height: 52px;
    font-size: 15px;
    font-weight: 800;
  }

  .swap-button {
    justify-self: center;
    width: 40px;
    height: 40px;
    margin: -2px 0;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: rotate(90deg);
  }

  .search-button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .search-button {
    width: 100% !important;
    height: 54px !important;
    margin: 0 !important;
    font-size: 16px;
  }

  .recent-searches-container {
    justify-content: center;
  }

  .recent-search-chip {
    width: 100%;
    justify-content: center;
  }

  .booking-popover,
  .booking-popover--wide,
  .booking-popover--calendar,
  .filter-popover,
  .site-panel {
    position: fixed !important;
    inset: auto 14px 16px !important;
    top: auto !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-height: min(72vh, 620px);
    overflow: auto;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  }

  .airport-list {
    max-height: 52vh;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: var(--container);
    margin: 34px auto 48px;
  }

  .quick-links a {
    min-height: 118px;
    padding: 18px 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(32, 32, 32, .07);
    font-size: 13px;
  }

  .quick-links img {
    width: 52px;
    height: 52px;
  }

  .trust-strip {
    width: var(--container);
    margin: -20px auto 48px;
  }

  .section {
    width: var(--container);
    max-width: none;
    margin-bottom: 56px;
  }

  .section__header {
    display: grid;
    gap: 12px;
  }

  .filters {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex: 0 0 auto;
    height: 38px;
    white-space: nowrap;
  }

  .destination-row {
    display: flex;
    gap: 14px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .destination-row::-webkit-scrollbar {
    display: none;
  }

  .destination-card {
    flex: 0 0 min(292px, 82vw);
    min-height: 350px;
    scroll-snap-align: start;
  }

  .promo-main,
  .promo-grid,
  .highlight-grid,
  .section h2,
  .section__header h2,
  .carousel-controls {
    padding-inline: 0;
  }

  .promo-main img {
    height: 190px;
    border-radius: 16px;
  }

  .promo-grid,
  .highlight-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .tile,
  .highlight {
    flex: 0 0 min(310px, 84vw);
    scroll-snap-align: start;
  }

  .footer__top,
  .footer__links,
  .footer__legal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .quick-links {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 22px;
  }

  .destination-card {
    flex-basis: 86vw;
  }
}

/* Flight search transition overlay */
body.search-transition-active {
  overflow: hidden;
}

.search-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 32, 32, .42);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.search-transition.is-visible {
  opacity: 1;
  visibility: visible;
}

.search-transition__dialog {
  width: min(100%, 320px);
  padding: 28px 24px 22px;
  border-radius: 18px;
  text-align: center;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
  animation: searchTransitionPop .35s cubic-bezier(.2, .8, .2, 1);
}

@keyframes searchTransitionPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-transition__icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.search-transition__plane,
.search-transition__check,
.search-transition__spinner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
}

.search-transition__plane {
  color: #202020;
  background: #fff700;
  font-size: 24px;
  animation: searchTransitionPlane 1.1s ease-in-out infinite;
}

.search-transition__check {
  color: #fff;
  background: #2f9b57;
  font-size: 28px;
  font-weight: 800;
}

.search-transition__spinner {
  border: 3px solid #ececec;
  border-top-color: #202020;
  animation: searchTransitionSpin .8s linear infinite;
}

.search-transition[data-stage="searching"] .search-transition__plane {
  opacity: 1;
  transform: scale(1);
}

.search-transition[data-stage="found"] .search-transition__check {
  opacity: 1;
  transform: scale(1);
}

.search-transition[data-stage="loading"] .search-transition__spinner {
  opacity: 1;
  transform: scale(1);
}

@keyframes searchTransitionPlane {
  0%, 100% {
    transform: translateX(-6px) rotate(-8deg);
  }

  50% {
    transform: translateX(6px) rotate(8deg);
  }
}

@keyframes searchTransitionSpin {
  to {
    transform: rotate(360deg);
  }
}

.search-transition__message {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}

.search-transition__progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #efefef;
}

.search-transition__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff700, #ffe600);
  animation: searchTransitionProgress 2.4s ease forwards;
}

@keyframes searchTransitionProgress {
  0% {
    width: 8%;
  }

  40% {
    width: 46%;
  }

  72% {
    width: 78%;
  }

  100% {
    width: 100%;
  }
}
