:root{color-scheme:light;--bg:#f7f8f4;--paper:#fff;--ink:#142b25;--muted:#50645c;--line:#dce5dd;--soft:#eaf2eb;--navy:#075547;--deep:#073b32;--gold:#cef477;--gold-ink:#42654d;--max:1240px;--section-band:linear-gradient(120deg,#0a392e,#185e50);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg);line-height:1.55}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:0}
h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select{font:inherit;color:inherit}
:where(a[href], button, summary, select, input:is([type="button"], [type="submit"], [type="reset"], [type="date"], [type="checkbox"], [type="radio"]),
  label:has(input:is([type="checkbox"], [type="radio"]):enabled), [role="option"]) { cursor: pointer; }
:disabled, [aria-disabled="true"] { cursor: default; }
button:disabled { opacity: .65; }
[hidden]{display:none!important}
:focus-visible{outline:3px solid #28735e;outline-offset:3px}
.wrap{width:min(calc(100% - 72px),var(--max));margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;top:10px;left:12px;z-index:10;padding:10px 15px;background:white;border-radius:8px}
.site-header{background:#fff;border-bottom:1px solid #e2e9e2}
/* Two-level navigation */
.utility-bar { background: var(--deep); color: #e0f2e9; }
.utility-row, .utility-row nav, .utility-row span, .utility-row a {
  display: flex;
  align-items: center;
}
.utility-row { min-height: 36px; justify-content: space-between; font-size: 12px; }
.utility-row span, .utility-row a { gap: 7px; }
.utility-row nav { gap: 22px; }
.utility-row a { min-height: 36px; }
.utility-row a:hover, .utility-row a[aria-current] { color: var(--gold); }
.utility-row a:focus-visible { outline-color: var(--gold); outline-offset: -2px; }
.topbar {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; }
.brand b, .brand small { display: block; line-height: 1.14; }
.brand b { font-size: 18px; font-weight: 830; letter-spacing: .035em; }
.brand small { color: var(--navy); font-size: 10px; font-weight: 720; margin-top: 4px; letter-spacing: .075em; }
.main-nav { display: flex; align-items: center; gap: clamp(3px, 1.3vw, 20px); }
.main-nav a, .login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 690;
  white-space: nowrap;
}
.main-nav a { color: var(--muted); }
.main-nav a svg { color: var(--navy); flex-shrink: 0; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--soft); color: var(--deep); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px #348873; }
.login-link { justify-self: end; background: var(--deep); color: white; }
.login-link:hover, .login-link[aria-current] { background: var(--navy); }
.hero {
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #0a352f;
  color: white;
}
.hero-art, .hero-copy { grid-area: 1 / 1; min-width: 0; }
.hero-art {
  display: block;
  align-self: center;
  height: clamp(200px, 24vw, 405px);
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-copy { z-index: 1; padding-block: 12px 35px; }
.hero-label,.eyebrow{display:inline-flex;align-items:center;gap:8px;letter-spacing:.15em;font-size:11px;font-weight:800}
.hero-label { color: #d4ebe2; }
.hero h1 {
  margin-top: 10px;
  font-size: clamp(33px, 4.5vw, 65px);
  line-height: 1.09;
  letter-spacing: .02em;
}
.hero p { margin-top: 12px; color: #e7f2ed; font-size: clamp(14px, 1.4vw, 19px); }
.hero-copy > :is(h1, p) { max-width: 47%; }
.home-search { position: relative; z-index: 2; margin-top: -26px; }
.home-search .search-card { padding-top: 15px; }
.home-order-shortcuts { display: none; }
@media (max-width: 640px) {
  .home-order-shortcuts { display: block; margin-top: 12px; }
  .home-order-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 8px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  }
  .home-order-grid a {
    display: grid; justify-items: center; align-content: center; gap: 5px;
    min-height: 70px; padding: 3px 0; border-radius: 10px; color: var(--ink); font-size: 13px;
  }
  .home-order-icon {
    display: grid; place-items: center; width: 38px; height: 38px;
    border-radius: 11px; color: #156789; background: #e3f2fa;
  }
  .home-order-grid a:nth-child(2) .home-order-icon { color: #995117; background: #ffeedb; }
  .home-order-grid a:nth-child(3) .home-order-icon { color: var(--navy); background: #e1f1e9; }
  .home-order-grid a:nth-child(4) .home-order-icon { color: #8d3a34; background: #f9e8e6; }
}
.search-card,.login-card{background:white;border:1px solid #dce8df;border-radius:18px;padding:20px 25px;box-shadow:0 12px 40px #173e3018}
.search-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px;padding-bottom:12px}
.mode-switch{display:inline-flex;gap:5px}
.mode-switch a{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-width:96px;min-height:43px;border-radius:8px;font-weight:720;font-size:15px;color:var(--muted)}
.mode-switch a:hover,.mode-switch a[aria-current="true"]{background:var(--soft);color:var(--navy)}
.search-mode-note {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f2f6f2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.search-grid{display:grid;gap:10px;align-items:stretch;margin-top:14px}
.flight-grid{grid-template-columns:minmax(225px,2.2fr) minmax(260px,2.05fr) minmax(95px,.85fr) minmax(112px,1fr)}
.hotel-grid{grid-template-columns:minmax(140px,1.8fr) minmax(255px,2.5fr) minmax(112px,1.05fr)}
.route-fields,.dates{display:flex;position:relative;gap:8px;min-width:0}
.route-fields .city-field,.dates .date-field{flex:1;min-width:0}
.route-fields .city-field:first-child > .field { padding-inline-end: 20px; }
.route-fields .city-field:nth-child(2) > .field { padding-inline-start: 20px; }
.city-field { position: relative; min-width: 0; }
.city-field > .field { height: 100%; }
.city-picker {
  position: absolute;
  z-index: 3;
  inset-inline-start: 0;
  top: calc(100% + 5px);
  width: max(100%, 130px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 12px 28px #173e3024;
}
.city-picker-caption { padding: 9px 11px 3px; font-size: 12px; color: var(--muted); }
.city-picker ul { list-style: none; margin: 0; padding: 3px 5px 5px; max-height: 210px; overflow-y: auto; overscroll-behavior: contain; }
.city-picker [role="option"] { padding: 10px 8px; min-height: 42px; border-radius: 7px; font-size: 14px; }
.city-picker [role="option"]:hover, .city-picker [aria-selected="true"] { background: var(--soft); color: var(--deep); }
.field{display:flex;flex-direction:column;justify-content:center;gap:3px;border:1px solid var(--line);border-radius:9px;min-height:61px;min-width:0;background:#f6faf6;padding:7px 10px}
.field:hover { border-color: #87a897; }
.field:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px #29755f33;
  background: var(--paper);
}
.field:has([aria-invalid="true"]) { border-color: #a83b26; }
.field :is(input, select):focus, .date-trigger:focus { outline: none; }
.field-label{font-size:12px;color:var(--muted);font-weight:620}
.field input,.field select{border:0;background:transparent;width:100%;min-width:0;min-height:26px;padding:0;font-size:16px;font-weight:660}
.field input::placeholder{color:#587062;font-size:14px;font-weight:500}
.swap{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);background:white;color:var(--navy);border:1px solid var(--line);border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.swap:hover,.secondary:hover{background:var(--soft)}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;min-height:48px;padding:8px 11px;background:var(--navy);color:white;white-space:nowrap;font-size:15px;font-weight:740}
.primary:hover:not(:disabled){background:var(--deep)}
.form-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:12px;color:var(--muted)}
.chip{border:1px solid transparent;background:#eaf2eb;border-radius:99px;padding:4px 10px;color:var(--navy);font-size:12px;min-height:32px}
.chip:hover{border-color:#759a85}
.ui-notice {
  --notice-bg: #edf4f0;
  --notice-ink: var(--navy);
  background: var(--notice-bg);
  color: var(--notice-ink);
  border-inline-start: 3px solid var(--notice-ink);
  border-radius: 9px;
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.ui-notice[data-tone="success"] { --notice-bg: #e9f5e4; --notice-ink: #275725; }
.ui-notice[data-tone="error"] { --notice-bg: #fff1ec; --notice-ink: #952d1b; }
.destinations{padding-top:42px}
.eyebrow{color:var(--gold-ink)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}
.section-head h2,.info-section h2,.help h2{font-size:clamp(26px,3vw,36px);letter-spacing:.015em;line-height:1.22;margin:5px 0 7px}
.section-head p,.city-copy p,.info-section p,.guide p{color:var(--muted);font-size:14px}
.text-link{display:inline-flex;gap:7px;align-items:center;color:var(--navy);font-weight:730;font-size:14px;min-height:38px;width:max-content}
.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.city-grid,.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.city-card{border:1px solid #dde8de;border-radius:13px;background:white;overflow:hidden}
.city-card:hover{box-shadow:0 8px 24px #142b2512}
.city-card a{display:block}
.city-card a:focus-visible{outline-offset:-4px;position:relative;z-index:1}
.city-image{position:relative;aspect-ratio:1.95;overflow:hidden;background:#dce8df}
.city-image img{width:100%;height:100%;object-fit:cover}
.city-image span{position:absolute;bottom:10px;left:12px;display:flex;align-items:center;gap:4px;background:#102f24dc;color:white;border-radius:99px;padding:4px 9px;font-size:10px;letter-spacing:.08em;font-weight:700}
.city-copy{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 15px 15px}
.city-copy h3{font-size:19px;margin-bottom:2px}
.round-arrow{display:grid;place-items:center;flex:none;border-radius:50%;width:34px;height:34px;background:var(--soft);color:var(--navy)}
.footer{background:#e8eee8;border-top:1px solid #d9e4db;color:var(--muted)}
.footer-top,.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px}
.footer-top{padding-block:24px}
.footer .brand{color:var(--ink)}
.footer-top p,.footer-bottom{font-size:12px}
.footer-top p{margin-top:7px}
.footer nav{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px}
.footer nav a:hover{text-decoration:underline}
.footer-bottom{border-top:1px solid #d7e3d9;padding-block:13px}
.inner-banner{background:var(--section-band);color:#fff;padding-block:30px 34px}
.inner-banner .eyebrow{color:var(--gold)}
.inner-banner h1{font-size:clamp(30px,4vw,47px);line-height:1.16;margin:5px 0 8px}
.inner-banner p{color:#edf3f8;font-size:15px}
.info-section{padding-block:37px 48px}
.info-grid{margin-block:17px 13px}
.info-grid article{background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px}
.guide{padding-block:22px 52px}
.guide > h2{margin-bottom:14px}
.guide-links{display:flex;flex-wrap:wrap;gap:0 16px;margin-top:8px}
.help details{background:white;border:1px solid var(--line);border-radius:8px;padding:12px 15px;margin-top:9px}
.help summary{font-weight:700}
.help details p{padding-top:7px}
.login-layout{max-width:490px;margin-inline:auto;padding-block:24px 45px}
.login-visual { display: none; }
.login-card { padding: 24px; }
.login-card h2 { margin: 0; font-size: 23px; }
.login-card p { font-size: 14px; color: var(--muted); }
.login-card .ui-notice { margin: 0 0 14px; }
.login-card form { display: grid; gap: 18px; }
.login-intro p { margin-top: 5px; }
.login-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.login-modes button { min-height: 40px; padding: 5px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--navy); font-size: 14px; font-weight: 700; }
.login-modes button[aria-pressed="true"] { border-color: var(--line); background: white; }
.login-mode-link { justify-self: center; min-height: 40px; padding: 4px 8px; border: 0; background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.password-rule { color: var(--muted); font-size: 13px; }
.account-security-content { display: grid; gap: 12px; max-width: 460px; }
.account-password-reminder { margin: 0 0 14px; }
.login-fields { display: grid; gap: 15px; }
.login-fields .field {
  justify-content: start;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.login-fields .field-label { font-size: 13px; color: var(--ink); }
.login-fields .field input {
  min-height: 49px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f6faf6;
}
.login-fields .field input:focus { border-color: var(--navy); background: white; box-shadow: 0 0 0 2px #29735b26; }
.login-fields .field input[aria-invalid="true"] { border-color: #a83b26; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(112px, auto); align-items: end; gap: 9px; }
.secondary{background:white;border:1px solid var(--line);border-radius:8px;padding:8px 11px;font-weight:700;font-size:13px}
.code-row .secondary { min-height: 49px; border-color: #a6bfb1; color: var(--navy); white-space: nowrap; }
.login-submit { width: 100%; min-height: 49px; }
@media (max-width: 360px) {
  .code-row { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}

@media (min-width: 760px) {
  .login-layout { max-width: 1040px; padding-block: 32px 48px; }
  .login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 16px 42px #173e3018;
  }
  .login-visual {
    display: flex;
    align-items: flex-end;
    min-height: 400px;
    padding: clamp(20px, 3.1vw, 39px);
    background: linear-gradient(0deg, #0b3029ed, #0b30294a 42%, transparent 72%),
      #16463c url('/assets/account-lounge.webp') center center / cover no-repeat;
    color: white;
  }
  .login-visual span {
    color: #d4ebe2;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
  }
  .login-visual strong {
    display: block;
    margin-top: 7px;
    font-size: clamp(21px, 2.3vw, 33px);
    line-height: 1.16;
  }
  .login-shell .login-card {
    align-self: center;
    padding: clamp(24px, 3vw, 42px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .login-card h2 { margin-top: 0; font-size: 27px; }
  .login-card form { gap: 21px; }
}

@media(max-width:960px){
  .wrap{width:calc(100% - 48px)}
  .flight-grid{grid-template-columns:1fr 1fr}
  .hotel-grid{grid-template-columns:1fr 1fr}
  .hotel-grid .primary{grid-column:1 / -1}
}
@media (min-width: 641px) and (max-width: 840px) {
  .topbar { gap: 12px; }
  .main-nav { gap: 1px; }
  .main-nav a, .login-link { gap: 4px; padding-inline: 7px; font-size: 12px; }
  .main-nav svg { width: 15px; }
}
@media(max-width:640px){
  .wrap{width:calc(100% - 32px)}
  .site-header .utility-bar, .main-nav, .login-link { display: none; }
  .topbar { display: flex; justify-content: space-between; min-height: 64px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: 16px; }
  .search-card{border-radius:13px;padding:12px}
  .search-head{padding-bottom:8px}
  .mode-switch a{min-width:73px;min-height:42px;gap:5px}
  .flight-grid,.hotel-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .field{min-height:57px}
  .search-grid .primary{min-height:46px}
  .form-note{gap:5px}
  .chip{min-height:38px;padding-inline:7px}
  .destinations{padding-top:30px}
  .section-head{flex-wrap:wrap;gap:4px;margin-bottom:10px}
  .city-grid,.info-grid{grid-template-columns:1fr;gap:10px}
    .footer-top{align-items:flex-start;flex-direction:column;gap:12px}
  .footer-bottom{flex-wrap:wrap;gap:3px 14px}
  .inner-banner{padding-block:17px 20px}
  .inner-banner h1{font-size:27px;margin-block:3px 6px}
  .inner-banner p{font-size:13px}
  .inner-banner .eyebrow{font-size:10px}
  .info-section{padding-block:26px 32px}
  .guide{padding-bottom:30px}
  .login-layout{padding-block:14px 28px}
  .login-card{padding:19px}
}
.result-list { list-style: none; padding: 0; margin: 10px 0 0; }
.result-list li span { color: var(--muted); }

/* Travel storefront */
.search-card{border-radius:22px}
.mode-switch a[aria-current="true"]{background:#e4f1e8;color:var(--deep)}
.destinations,.routes-section{padding-top:54px}
.section-head h2{font-size:clamp(26px,2.9vw,38px);letter-spacing:-.015em}
.section-head .text-link{background:white;border:1px solid var(--line);border-radius:99px;padding-inline:14px}
.city-card{border-radius:17px}
.city-image{aspect-ratio:1.58}
.city-copy{padding:15px 17px 18px}
.city-copy h3{font-size:23px}
.city-card img,.stay-card img{transition:transform .3s ease}
.city-card:hover img,.stay-card:hover img{transform:scale(1.04)}
.routes-section{padding-bottom:55px}
.routes-grid,.stay-grid{display:grid;gap:14px}
.routes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.route-card{display:flex;align-items:center;gap:12px;min-height:84px;padding:13px 15px;background:white;border:1px solid var(--line);border-radius:14px}
.route-card:hover{border-color:#8bb39f;box-shadow:0 6px 18px #142b2510}
.route-card h3{font-size:18px}
.route-card h3 span{color:#508170}
.route-card p{color:var(--muted);font-size:13px}
.route-icon,.route-go{display:grid;place-items:center;flex:none;color:var(--navy)}
.route-icon{width:43px;height:43px;border-radius:12px;background:#edf4e8}
.route-go{margin-left:auto}
.stay-section{padding-block:45px 52px;background:#eaf1e9;border-block:1px solid #e1eae1}
.stay-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.stay-card{min-height:350px;display:flex;align-items:end;position:relative;isolation:isolate;overflow:hidden;background:#153c32;color:white;border-radius:17px}
.stay-card img,.stay-card::after{width:100%;height:100%;position:absolute;inset:0}
.stay-card img{object-fit:cover;z-index:-2}
.stay-card::after{content:"";z-index:-1;background:linear-gradient(0deg,#081e1bed,#112c27ab 36%,transparent 78%)}
.stay-card div{padding:23px}
.stay-card div>span{color:#e1ff9c;font-size:11px;letter-spacing:.14em;font-weight:800}
.stay-card h3{font-size:clamp(24px,2.8vw,36px);margin-block:3px}
.stay-card p{font-size:14px}
.stay-card b{display:inline-flex;align-items:center;gap:7px;margin-top:12px;border:1px solid #ffffff80;border-radius:30px;padding:6px 11px;font-size:13px}
.plan-section{padding-block:43px 54px}
.plan-banner{display:flex;align-items:center;gap:19px;padding:25px 28px;border-radius:18px;background:linear-gradient(115deg,#063e34,#0c6151);color:white}
.plan-icon{width:63px;height:63px;flex:none;display:grid;place-items:center;border:1px solid #dbffa659;border-radius:18px;color:var(--gold)}
.plan-banner .eyebrow{color:var(--gold)}
.plan-banner h2{font-size:clamp(22px,3vw,31px);margin-block:3px}
.plan-banner p{font-size:14px;color:#edf8ee}
.plan-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;background:#d4f681;color:#103d2c;border-radius:30px;min-height:43px;padding:6px 13px;font-weight:760;font-size:14px;white-space:nowrap}
.plan-link:hover{background:#e8ffad}
@media(max-width:960px){.routes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stay-card{min-height:285px}}
@media(max-width:640px){
  .hero-label { font-size: 8px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(21px, 6vw, 34px); margin-top: 7px; }
  .hero p { font-size: 11px; margin-top: 7px; text-wrap: balance; }
  .hero-art { height: clamp(150px, 40vw, 205px); }
  .hero-art img { object-position: center 56%; }
  .hero-copy { padding-block: 8px 22px; }
  .home-search { margin-top: -14px; }
  .flight-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .flight-grid .route-fields, .flight-grid .primary,
  .hotel-grid .city-field, .hotel-grid .stay-dates { grid-column: 1 / -1; }
  .search-grid { margin-top: 10px; }
  .city-picker ul { max-height: 172px; }
  .search-card{border-radius:15px}
  .destinations,.routes-section{padding-top:32px}
  .city-image{aspect-ratio:1.86}
  .section-head{align-items:flex-start}
  .section-head .text-link{font-size:13px;min-height:33px;margin-top:3px}
  .routes-grid{gap:7px}
  .route-card{gap:6px;min-height:71px;padding:8px 6px}
  .route-card h3{font-size:clamp(12px,3.5vw,15px)}
  .route-card p{font-size:11px}
  .route-icon{width:29px;height:33px;border-radius:8px}
  .route-icon svg{width:17px}
  .route-go svg{width:14px}
  .routes-section{padding-bottom:34px}
  .stay-section{padding-block:29px 35px}
  .stay-grid{grid-template-columns:1fr;gap:10px}
  .stay-card{min-height:245px;border-radius:13px}
  .stay-card div{padding:15px}
  .plan-section{padding-block:28px 34px}
  .plan-banner{align-items:flex-start;flex-direction:column;gap:10px;padding:17px}
  .plan-icon{display:none}
  .plan-link{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.city-card img,.stay-card img{transition:none}}

/* Shared date fields and modal surface */
.date-field > .field { width: 100%; height: 100%; }
.date-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 3px 5px;
  text-align: left;
}
.date-value {
  grid-row: 2;
  font-size: 16px;
  font-weight: 660;
}
.date-trigger svg { grid-column: 2; grid-row: 1 / 3; color: var(--navy); }
.ui-dialog {
  width: min(calc(100% - 24px), 392px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 65px #102e2940;
}
.ui-dialog::backdrop { background: #0d27216b; }
.ui-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
}
.ui-dialog-header h2 { font-size: 19px; }
.ui-dialog-body { padding: 11px 15px 16px; }
.ui-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
}
.ui-icon-button:hover:not(:disabled) { background: var(--soft); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.calendar-week { color: var(--muted); font-size: 13px; padding-block: 4px; }
.calendar-grid button {
  min-height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--paper);
  font-weight: 650;
}
.calendar-grid button:hover:not(:disabled) { background: var(--soft); }
.calendar-grid button[aria-current="date"] { border-color: var(--navy); }
.calendar-grid button[aria-pressed="true"],
.calendar-grid button[aria-pressed="true"]:hover { background: var(--navy); color: white; }
.calendar-grid button:disabled { color: var(--muted); opacity: .55; }
.calendar-grid button:focus-visible { outline-offset: -2px; }
.calendar-grid button[aria-pressed="true"]:focus-visible { outline-color: var(--gold); }
@media (max-width: 360px) {
  .date-trigger svg { width: 16px; height: 16px; }
  .date-value { font-size: 14px; }
}

.stay-dates > .field { flex: 1; }
.stay-dates > .range-trigger {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  grid-template-rows: auto;
  gap: 8px;
}
.range-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.range-field + .range-field {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 8px;
}
.range-trigger .date-value { white-space: nowrap; font-size: clamp(13px, 2.2vw, 16px); }
.range-trigger svg { grid-column: 3; grid-row: 1; }
.calendar-range-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 8px;
  padding-inline: 9px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-size: 13px;
}
.calendar-reset {
  border: 0;
  min-height: 40px;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}
.calendar-grid button[data-in-range] { background: var(--soft); }

/* Product pages */
.mobile-nav, .mobile-help { display: none; }
.product-search { position: relative; z-index: 1; padding-top: 18px; }
.dedicated-search-head span { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 750; }
.product-section { padding-block: 34px 22px; }
.product-section .section-head { align-items: center; }
.product-section .stay-card { min-height: clamp(225px, 24vw, 320px); }
.stay-nights { grid-column: 3; grid-row: 2; color: var(--navy); font-size: 11px; font-weight: 700; white-space: nowrap; }
.range-trigger > .range-field { grid-row: 1 / 3; }
.range-trigger:has(.stay-nights:not([hidden])) { grid-template-rows: auto auto; row-gap: 1px; }
.destination-detail { padding-top: 18px; }
.destination-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.destination-overview > img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
}
.destination-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 6px 15px; }
.destination-actions > a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 132px; min-height: 46px; font-size: 15px; }
.destination-advice { align-self: center; padding: 20px; }
.destination-advice h2 { margin-bottom: 8px; font-size: 21px; }
.destination-advice p { max-width: 66ch; color: var(--muted); }
@media (max-width: 640px) {
  html { scroll-padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px)); }
  .mobile-help {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
  }
  .mobile-nav {
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 4px max(8px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 -4px 20px #12362a12;
  }
  .mobile-nav a {
    min-height: 53px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-inline: 2px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
  }
  .mobile-nav a[aria-current] { background: var(--soft); color: var(--deep); font-weight: 800; }
  .mobile-nav a:focus-visible { outline-offset: -3px; }
  .product-search { padding-top: 12px; }
  .product-section { padding-block: 26px 15px; }
  .product-section .section-head { gap: 6px 12px; }
  .product-section .section-head h2 { font-size: 24px; }
  .product-section .section-head p { font-size: 13px; }
  .destination-detail { padding-top: 8px; }
  .destination-overview { grid-template-columns: minmax(0, 1fr); }
  .destination-overview > img { height: auto; max-height: 190px; aspect-ratio: 2; }
  .destination-actions > a { flex: 1; }
  .destination-advice { padding: 14px; }
  .destination-advice p { font-size: 14px; }
}

/* Read-only search results */
.search-results .result-list, #query-detail .result-list { display: grid; gap: 8px; }
.result-list li { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.result-actions .secondary, #query-detail .secondary { width: auto; min-height: 36px; padding: 6px 10px; }
.result-pagination { justify-content: center; margin-top: 12px; }
#search-status small, #query-detail small { display: block; margin-top: 6px; }
#query-detail p { margin: 0 0 10px; overflow-wrap: anywhere; }

.results-page { max-width: 1100px; padding-block: 26px 52px; }
.results-header { margin-bottom: 16px; }
.results-header h1 { margin: 8px 0 4px; font-size: clamp(26px, 5vw, 42px); }
.results-header p, .results-summary { margin: 0; color: var(--muted); }
.results-content { margin-top: 24px; }
.results-summary { font-weight: 700; }
.results-content .ui-notice { margin-top: 8px; }
.results-content .result-list li { background: #fff; padding: 14px 18px; gap: 10px 18px; }
.results-content .flight-result { grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr) auto; align-items: center; }
.hotel-result-info, .result-price { display: grid; gap: 4px; }
.hotel-result-info h3 { margin: 0; font-size: 17px; }
.result-price strong { font-size: 20px; }
.result-price { text-align: right; justify-items: end; }
.result-price strong { color: var(--deep); }
.hotel-rating { font-weight: 700; }
.flight-fares { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 8px; }
.flight-fares .result-actions { margin-top: 8px; justify-content: space-between; }
@media (max-width: 640px) {
  .results-page { padding-top: 16px; }
  .results-content .result-list li { padding: 12px; gap: 8px; }
  .results-content .flight-result { grid-template-columns: minmax(0, 1fr) auto; }
  .result-price strong { font-size: 17px; }
  .result-price .secondary { max-width: 100px; }
}

.result-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding: 12px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.result-toolbar .field { flex: 1 1 125px; min-width: 0; }
.result-toolbar > button { min-height: 43px; padding-inline: 14px; }
.result-filter { display: grid; gap: 3px; min-width: 0; font-size: 13px; color: var(--muted); }
.result-filter select { max-width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding-inline: 8px; background: white; color: var(--ink); }
.result-check { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.filter-count { margin: 0 0 8px auto; font-size: 13px; color: var(--muted); }
.results-content .hotel-result { grid-template-columns: minmax(130px, 1.1fr) minmax(0, 3fr) auto; align-items: center; }
.hotel-list-photo, .hotel-detail-photo { min-width: 0; overflow: hidden; border-radius: 9px; background: var(--soft); }
.hotel-list-photo { aspect-ratio: 4 / 3; }
.hotel-detail-photo { min-height: 170px; max-height: 320px; }
.hotel-list-photo img, .hotel-detail-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.result-link { min-height: 39px; padding-inline: 12px; }
.hotel-overview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hotel-overview-info p { overflow-wrap: anywhere; color: var(--muted); }
.hotel-description-toggle { display: none; }
.hotel-rooms { margin-top: 25px; }
.room-card { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.room-intro h3 { margin: 0; }
.room-intro p { margin: 4px 0 0; color: var(--muted); }
.room-card .room-plan { grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 6px; }
@media (max-width: 640px) {
  .results-content .hotel-result { grid-template-columns: minmax(75px, 1fr) minmax(0, 2fr); }
  .hotel-result .result-price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .hotel-overview { grid-template-columns: 1fr; }
  .hotel-description:not(.is-expanded) {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .hotel-description-toggle:not([hidden]) {
    display: inline-block; min-height: 44px; padding: 0; border: 0; background: transparent;
    color: var(--navy); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer;
  }
  .hotel-detail-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .filter-count { margin-left: 0; flex-basis: 100%; }
}

/* Shared category headers and flight shopping */
.results-header {
  padding: 18px 24px;
  border-radius: 14px;
  color: white;
  background: var(--section-band);
}
.results-header .text-link { color: #e1f5e9; }
.results-header h1 { line-height: 1.2; }
.results-header p { color: #edf3f8; }
.flight-results-page .search-card { padding-block: 12px; box-shadow: none; }
.flight-results-page .search-head, .flight-results-page .form-note { display: none; }
.flight-results-page .search-grid { margin-top: 0; }
.flight-date-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(62px, 1fr); gap: 4px; padding: 5px; margin: 12px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.flight-date-strip a { display: grid; gap: 2px; padding: 8px 5px; text-align: center; border-radius: 8px; font-size: 13px; }
.flight-date-strip a:hover { background: var(--soft); }
.flight-date-strip a[aria-current] { background: var(--deep); color: white; }
.flight-workspace { display: grid; grid-template-columns: minmax(165px, .9fr) minmax(0, 3.6fr); gap: 14px; align-items: start; }
.flight-filters, .flight-sortbar, .booking-panel { background: white; border: 1px solid var(--line); border-radius: 12px; }
.flight-filters { display: grid; gap: 12px; padding: 14px; }
.flight-filter-heading, .flight-sortbar { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.flight-filter-heading { flex-wrap: wrap; }
.flight-filter-heading h2 { font-size: 16px; }
.flight-filter-heading button { padding: 3px 7px; }
.flight-sortbar { flex-wrap: wrap; padding: 8px 12px; }
.flight-sortbar .filter-count { margin: 0; }
.flight-sort-options { display: flex; flex-wrap: wrap; gap: 4px; }
.flight-sort-options button { min-height: 36px; padding: 4px 8px; border-color: transparent; }
.flight-sort-options button[aria-pressed="true"] { background: var(--soft); border-color: var(--line); color: var(--deep); }
.flight-workspace .flight-result { grid-template-columns: minmax(126px, 1fr) minmax(0, 2.4fr) auto; border-radius: 12px; }
.flight-carrier { display: flex; align-items: center; gap: 9px; min-width: 0; }
.flight-carrier img { flex: none; object-fit: contain; }
.flight-carrier-info { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.flight-carrier-info h3 { font-size: 15px; line-height: 1.3; }
.flight-carrier-info span, .flight-stop > span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.flight-itinerary {
  --clock-size: clamp(26px, 3vw, 34px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(42px, .68fr) minmax(0, 1fr);
  align-items: start; gap: clamp(8px, 1.3vw, 16px);
}
.flight-stop { display: grid; gap: 4px; overflow-wrap: anywhere; }
.flight-stop:first-child { text-align: right; }
.flight-clock { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; }
.flight-stop:first-child .flight-clock { justify-content: flex-end; }
.flight-clock strong { font-size: var(--clock-size); line-height: 1.12; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.flight-clock small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.flight-direction { display: grid; justify-items: center; text-align: center; }
.flight-direction small { color: var(--muted); font-size: 11px; line-height: 1.3; }
.flight-direction-arrow { position: relative; width: 100%; height: calc(var(--clock-size) * 1.12); }
.flight-direction-arrow::before { content: ""; position: absolute; inset: calc(50% - 1px) 3px auto 0; border-top: 2px solid #a8b9b0; }
.flight-direction-arrow::after {
  content: ""; position: absolute; right: 1px; top: calc(50% - 4px); width: 8px; height: 8px;
  border-top: 2px solid #a8b9b0; border-right: 2px solid #a8b9b0; transform: rotate(45deg);
}
@media (max-width: 980px) {
  .flight-workspace .flight-result { grid-template-columns: minmax(0, 1fr) auto; }
  .flight-itinerary { grid-column: 1 / -1; grid-row: 2; }
}
.booking-cta {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 34px;
  padding: 5px 10px; border: 1px solid transparent; border-radius: 4px;
  background: linear-gradient(110deg, #ff9b0a, #ff7600); color: #fff;
  font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap;
}
.booking-cta:hover:not(:disabled) { background: linear-gradient(110deg, #ff8e00, #ef6900); }
.booking-cta[aria-expanded]::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.booking-cta[aria-expanded="true"], .booking-cta[aria-expanded="true"]:hover { background: #fff; border-color: #ff8200; color: #ba5200; }
.booking-cta[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.booking-cta:focus-visible { outline: 2px solid #a93d00; outline-offset: 3px; }
.booking-cta:disabled { background: #edf2ed; border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.flight-fares .fare-option { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px; margin-top: 6px; background: #f5f8f4; border-radius: 8px; }
.fare-identity, .fare-cost { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.fare-identity .secondary { padding: 4px 7px; }
.flight-result .result-price strong, .fare-cost strong { color: #bf4d00; }
@media (max-width: 790px) {
  .flight-workspace { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .flight-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; }
  .flight-filter-heading { grid-column: 1 / -1; }
  .flight-filters .result-check { grid-column: 1 / -1; min-height: 26px; }
  .flight-filters select { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .results-header { padding: 12px 14px; }
  .flight-fares .fare-option { gap: 5px; padding: 6px; }
  .fare-cost { display: grid; gap: 0; text-align: right; }
  .fare-option .booking-cta { padding-inline: 8px; }
}
.flight-more { display: flex; justify-content: center; padding: 14px 0; }
.flight-more button { min-height: 42px; padding-inline: 22px; }

.search-loading { margin-top: 12px; }
.search-loading-panel {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.search-loading-panel p { margin-bottom: 9px; font-weight: 700; color: var(--deep); }
.search-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 9px;
  background: #d0e0d5;
}
.search-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
  animation: search-progress-slide 1.5s ease-in-out infinite;
}
@keyframes search-progress-slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(265%); }
}
.search-skeleton { display: grid; gap: 8px; margin-top: 10px; }
.search-skeleton > div {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr .65fr;
  gap: 12px;
  align-items: center;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.search-skeleton span {
  height: 15px;
  border-radius: 6px;
  background: #e5eee7;
  animation: search-skeleton-pulse 1.5s ease-in-out infinite alternate;
}
@keyframes search-skeleton-pulse {
  to { opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .search-progress span, .search-skeleton span { animation: none; }
}

/* Booking and account */
.commerce-page { max-width: 1100px; }
.commerce-header {
  padding: 20px clamp(18px, 4vw, 34px) 26px;
  border-radius: 20px;
  color: white;
  background: radial-gradient(ellipse at top right, #3a8066 0, transparent 58%), var(--section-band);
  margin-bottom: 20px;
}
.commerce-back { display: inline-flex; align-items: center; min-height: 32px; color: #e6f5eb; font-size: 13px; }
.commerce-back:hover { text-decoration: underline; }
.commerce-heading, .commerce-panel-heading { display: flex; gap: 13px; align-items: center; min-width: 0; }
.commerce-heading { margin-top: 8px; }
.commerce-heading h1 { font-size: clamp(25px, 4vw, 37px); line-height: 1.2; }
.commerce-heading p { margin-top: 6px; color: #e6f5eb; font-size: 14px; }
.commerce-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px; background: var(--soft); color: var(--navy);
}
.commerce-heading .commerce-icon { width: 52px; height: 52px; color: #e9ffd1; background: #ffffff1a; border: 1px solid #ffffff42; }
.checkout-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  list-style: none; padding: 7px; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.checkout-steps li {
  display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px;
  color: var(--muted); border-radius: 8px; font-weight: 650; font-size: 14px;
}
.checkout-steps li > span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #eef2ec; font-size: 12px; }
.checkout-steps li[aria-current] { background: #e6f2e7; color: var(--deep); }
.checkout-steps li[aria-current] > span { color: #fff; background: var(--navy); }
.checkout-steps li[data-done] > span { color: var(--deep); background: #e4efde; }
.booking-columns { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.checkout-main { grid-column: 1; grid-row: 1; min-width: 0; }
.checkout-summary { grid-column: 2; grid-row: 1; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.commerce-page .booking-panel { min-width: 0; padding: clamp(16px, 2.5vw, 24px); border-radius: 16px; box-shadow: 0 6px 22px #173e3008; }
.commerce-panel-heading { margin-bottom: 16px; }
.commerce-panel-heading h2 { font-size: 20px; line-height: 1.25; }
.commerce-panel-heading p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.checkout-main > .ui-notice, .commerce-page > .ui-notice { margin: 0 0 12px; }
.checkout-gate .primary, .commerce-link { min-height: 40px; }
.commerce-link { display: inline-flex; align-items: center; justify-content: center; }
.checkout-form, .checkout-lock { display: grid; gap: 14px; }
.checkout-lock { margin: 0; padding: 0; border: 0; min-width: 0; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-form .field {
  min-height: 0; justify-content: flex-start; gap: 5px; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
.checkout-form .field-label { color: var(--ink); font-size: 13px; line-height: 1.3; }
.checkout-form .field :is(input:not([type="hidden"]), select) {
  min-height: 42px; padding: 8px 11px; border: 1px solid #d3e0d7; border-radius: 8px;
  background: #fcfdfb; color: var(--ink); font-weight: 500;
}
.checkout-form .field :is(input:not([type="hidden"]), select):hover { border-color: #87a897; }
.checkout-form .field :is(input:not([type="hidden"]), select):focus { border-color: var(--navy); box-shadow: 0 0 0 2px #29755f33; }
.checkout-form .field [aria-invalid="true"] { border-color: #a83b26; }
.checkout-form .booking-panel { padding: clamp(14px, 2vw, 20px); }
.checkout-form .commerce-panel-heading { margin-bottom: 12px; }
#hotel-booking-form .saved-contact-choice { gap: 8px; padding: 8px 10px; margin-bottom: 10px; }
.hotel-guest-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hotel-guest-toolbar .field { flex: 0 1 132px; }
.hotel-guest-toolbar .text-link { padding-block: 8px; font-size: 13px; }
#hotel-travelers-status { margin-bottom: 8px; }
#hotel-guests { display: grid; gap: 10px; }
#hotel-guests .hotel-guest-row { align-items: start; }
.hotel-guest-picker { min-width: 0; display: grid; gap: 4px; }
.traveler-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.traveler-chip {
  min-height: 36px; max-width: 100%; padding: 4px 12px; border: 1px solid #cbded1;
  border-radius: 999px; background: #f0f7f2; color: var(--deep); font-size: 14px;
  font-weight: 650; overflow-wrap: anywhere; cursor: pointer;
}
.traveler-chip:hover { border-color: var(--navy); }
.traveler-chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.booking-passenger {
  min-width: 0; margin: 0 0 12px; padding: 12px;
  border: 1px solid #e0e9e1; border-radius: 12px; background: #f7faf6;
}
.booking-passenger legend { padding: 0 5px; font-size: 14px; font-weight: 700; color: var(--navy); }
.flight-passenger-list { display: none; }
@media (max-width: 720px) {
  #flight-passengers > .booking-passenger { display: none; }
  #flight-saved-travelers :is(.traveler-choices, [data-traveler-fill-hint]) { display: none; }
  .flight-passenger-list { display: grid; list-style: none; margin: 0; padding: 0; }
  .flight-passenger-record {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
  }
  .flight-passenger-record label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; }
  .flight-passenger-record label > span { min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
  .flight-passenger-record input { flex: none; width: 19px; height: 19px; margin: 0; accent-color: var(--navy); }
  .flight-passenger-record small { color: var(--muted); }
  .flight-passenger-record button { min-height: 40px; flex: none; }
  .flight-passenger-list:not(:empty) { margin-bottom: 10px; }
  #add-passenger { width: 100%; }
}
.flight-passenger-editor {
  position: fixed; inset: 0; margin: 0; width: 100%; height: 100dvh;
  max-width: none; max-height: none; border: 0; border-radius: 0; background: var(--bg);
}
.flight-passenger-editor .ui-dialog-header {
  position: sticky; top: 0; z-index: 1; justify-content: flex-start; gap: 12px;
  padding-top: max(11px, env(safe-area-inset-top)); background: var(--paper);
}
.passenger-editor-form { min-height: calc(100% - 62px); align-content: start; padding: 16px; }
.passenger-editor-form .booking-passenger { margin: 0; }
.passenger-editor-actions {
  position: sticky; bottom: 0; display: flex; gap: 10px; margin: 0 -16px; padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper);
}
.passenger-editor-actions .primary { flex: 1; min-height: 44px; }
.passenger-ticket-type:not(:empty) {
  margin-inline-start: 6px; padding: 1px 6px; border-radius: 5px; background: var(--soft); font-size: 12px;
}
.booking-passenger .booking-fields { gap: 12px; }
.booking-passenger .remove-passenger { margin-top: 10px; min-height: 36px; }
.passenger-choice-options { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.passenger-choice-sex .passenger-choice-options { padding: 3px; border: 1px solid #d3e0d7; border-radius: 8px; background: #edf4ee; }
.passenger-choice-option, .passenger-choice-toggle {
  min-width: 0; min-height: 34px; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px;
  background: transparent; color: var(--deep); font-size: 14px; font-weight: 600; overflow-wrap: anywhere;
}
.passenger-choice-option:hover { background: #e2efe5; }
.passenger-choice-option[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #9dbdab; }
.passenger-choice-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: start;
  min-height: 42px; padding: 8px 11px; border-color: #d3e0d7; border-radius: 8px; background: #fcfdfb;
}
.passenger-choice-toggle::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-inline-end: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.passenger-choice-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.passenger-choice-cardType .passenger-choice-options {
  grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px; border: 1px solid #d3e0d7; border-radius: 8px; background: #edf4ee;
}
.passenger-choice :is(.passenger-choice-toggle, .passenger-choice-option):focus-visible {
  outline: 2px solid var(--navy); outline-offset: 1px;
}
#add-passenger { min-height: 40px; border-style: dashed; background: #f6faf6; color: var(--navy); }
.checkout-action { display: grid; justify-items: stretch; gap: 12px; }
.booking-policy { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--muted); }
.booking-policy input { accent-color: var(--navy); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.checkout-action .ui-notice { margin: 0; }
.checkout-action > .primary { justify-self: end; padding-inline: 22px; min-width: 164px; }
.commerce-muted { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.checkout-summary h3, .order-stay h3 { font-size: 18px; overflow-wrap: anywhere; }
.checkout-summary details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.checkout-summary details summary, .account-order-details summary { color: var(--navy); font-weight: 700; min-height: 28px; }
.checkout-summary details p { font-size: 13px; color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.checkout-itinerary { list-style: none; padding: 0; margin: 13px 0; }
.checkout-itinerary li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; padding: 7px 0; }
.checkout-itinerary strong { overflow-wrap: anywhere; }
.checkout-itinerary time { grid-column: 2; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.checkout-stop-label { color: var(--navy); font-weight: 700; font-size: 12px; padding: 2px 6px; background: var(--soft); border-radius: 5px; align-self: start; }
.commerce-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 12px; font-size: 14px; margin: 12px 0; }
.commerce-facts:empty { display: none; }
.commerce-facts dt { color: var(--muted); }
.commerce-facts dd { margin: 0; overflow-wrap: anywhere; }
.commerce-total {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 14px;
}
.commerce-total strong { font-size: 25px; color: var(--deep); overflow-wrap: anywhere; }
.stay-dates-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; border-radius: 9px; background: #f1f6ef; }
.stay-dates-summary > div { display: grid; gap: 3px; padding: 9px 11px; }
.stay-dates-summary > div + div { border-inline-start: 1px solid var(--line); }
.stay-dates-summary span { font-size: 12px; color: var(--muted); }
.stay-dates-summary strong { font-size: 14px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.account-grid { display: grid; grid-template-columns: minmax(185px, .85fr) minmax(0, 2.5fr); align-items: start; gap: 18px; }
.account-profile p { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.account-shortcuts { display: grid; gap: 3px; border-block: 1px solid var(--line); margin: 15px 0; padding: 8px 0; }
.account-shortcuts a { display: flex; gap: 9px; align-items: center; min-height: 40px; border-radius: 8px; padding: 6px 8px; font-size: 14px; color: var(--navy); }
.account-shortcuts a:hover { background: var(--soft); }
.order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.account-order { padding: 14px; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.account-order-head, .order-detail-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.order-date, .order-id { font-size: 12px; color: var(--muted); }
.order-type { font-size: 13px; font-weight: 750; color: var(--navy); }
.order-badge { margin-inline-start: auto; white-space: nowrap; border-radius: 999px; background: #eef1ed; color: var(--muted); padding: 3px 10px; font-weight: 700; font-size: 12px; }
.order-badge[data-tone="pending"] { background: #fbf0d5; color: #744815; }
.order-badge[data-tone="success"] { background: #dff1e2; color: #1c573a; }
.order-badge[data-tone="processing"] { background: #e3effb; color: #244e76; }
.order-badge[data-tone="cancelled"] { background: #f9e8e6; color: #8d3a34; }
.order-badge[data-tone="expired"] { background: #eef1ed; color: #4d5c54; }
.order-badge[data-tone="refunded"] { background: #eee7fa; color: #5b3980; }
.order-badge[data-tone="failed"] { background: #f8dadd; color: #892c38; }
.order-payment-countdown { margin: 10px 0; color: #744815; font-size: .875rem; font-variant-numeric: tabular-nums; }
.order-search { margin-bottom: 14px; }
.order-quick-filters { display: none; }
@media (max-width: 640px) {
  .order-search { display: none; }
  .order-quick-filters {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px; border-bottom: 1px solid var(--line);
  }
  .order-quick-filters button {
    min-height: 44px; padding: 6px 2px; border: 0; border-bottom: 3px solid transparent;
    background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer;
  }
  .order-quick-filters button[aria-pressed="true"] {
    border-bottom-color: var(--navy); color: var(--navy); font-weight: 700;
  }
}
.order-search-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.order-search-controls button { min-height: 40px; white-space: nowrap; }
.order-search-clear { margin-top: 8px; }
.order-search-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.order-search-field, .order-search-fields label { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.order-search-field input, .order-search-fields :is(input, select) {
  width: 100%; min-width: 0; min-height: 40px; padding: 6px 9px; border: 1px solid var(--line);
  border-radius: 8px; background: #fcfdfb; color: var(--ink); font-size: 16px;
}
.order-search-more { margin-top: 8px; }
.order-search-more summary { width: fit-content; min-height: 40px; padding: 8px 4px; color: var(--navy); font-weight: 650; cursor: pointer; }
.order-search-more .order-search-fields { margin-top: 4px; }
.account-order-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 10px 0; }
.account-order-body h3 { font-size: 17px; }
.account-order-body p:not(.order-id) { font-size: 13px; color: var(--muted); }
.account-order-amount { display: grid; align-content: start; text-align: end; }
.account-order-amount strong { color: var(--deep); font-size: 20px; }
.account-order-amount span { color: var(--muted); font-size: 12px; }
.account-order-details { padding-top: 8px; border-top: 1px solid var(--line); }
.order-empty { text-align: center; border: 1px dashed #c9dacd; border-radius: 12px; padding: 24px 12px; color: var(--muted); }
.order-empty svg { color: var(--navy); }
.order-empty h3 { margin-top: 6px; color: var(--ink); }
.order-empty a, .order-detail > .commerce-link { margin-top: 12px; }
.order-detail-heading { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.order-detail-heading h2 { font-size: 21px; }
.order-detail-heading p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.order-detail-heading > div { min-width: 0; }
.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.order-next { padding: 14px; background: #f4f8f3; border-radius: 10px; }
.order-next p { margin-block: 5px; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) {
  .booking-columns, .account-grid, .order-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .checkout-main, .checkout-summary { grid-column: auto; grid-row: auto; }
  .checkout-summary { position: static; max-height: none; overflow: visible; }
  .account-shortcuts { display: flex; flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .commerce-header { border-radius: 14px; padding: 12px 14px 17px; margin-bottom: 12px; }
  .commerce-heading .commerce-icon { width: 40px; height: 40px; }
  .commerce-heading p { font-size: 13px; }
  .checkout-steps { gap: 2px; padding: 4px; margin-bottom: 12px; }
  .checkout-steps li { gap: 4px; font-size: 12px; }
  .checkout-steps li > span { width: 17px; height: 17px; }
  .booking-fields { grid-template-columns: minmax(0, 1fr); }
  .booking-passenger { padding: 10px; }
  .booking-passenger .booking-fields { gap: 10px; }
  .passenger-choice-option { min-height: 38px; }
  .checkout-action > .primary { justify-self: stretch; }
  .account-order-body { grid-template-columns: minmax(0, 1fr); }
  .account-order-amount { text-align: start; }
}
@media (min-width: 360px) and (max-width: 460px) {
  .booking-passenger .booking-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-passenger .field { grid-column: 1 / -1; }
  .booking-passenger .field:has(> input:is([name="birthday"], [name="cardValidEndDate"])) { grid-column: auto; }
}
.login-card .login-context {
  justify-self: start; padding: 5px 10px; border-radius: 7px; background: var(--soft);
  color: var(--navy); font-weight: 650; font-size: 13px;
}

.city-picker [role="option"] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 8px; }
.city-picker [role="option"] small { color: var(--navy); font-size: 12px; font-weight: 700; }
@media (max-width: 640px) {
  .route-fields .city-field { position: static; }
  .route-fields .city-picker { width: 100%; }
}

.date-popover {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(660px, calc(100vw - 24px));
  padding: 14px 18px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 44px #173e3036;
  overflow: auto;
  overscroll-behavior: contain;
}
.date-popover-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.date-popover-header h2 { font-size: 16px; }
.calendar-body { position: relative; margin-top: 8px; }
.calendar-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.calendar-month h3 { text-align: center; font-size: 16px; line-height: 36px; padding-inline: 38px; }
.calendar-previous, .calendar-next { position: absolute; top: 0; }
.calendar-previous { left: 0; }
.calendar-next { right: 0; }
.calendar-month .calendar-week { margin-block: 4px 6px; border-radius: 5px; background: #f3f6f2; }
.calendar-month button { position: relative; min-height: 38px; }
.calendar-month button[data-range-label] { padding-top: 11px; }
.calendar-month button[data-range-label]::before { content: attr(data-range-label); position: absolute; inset: 2px 0 auto; font-size: 9px; line-height: 1; }
.date-trigger[aria-expanded="true"] { border-color: var(--navy); box-shadow: 0 0 0 2px #07554720; }
@media (max-width: 640px) {
  .date-popover { width: min(368px, calc(100vw - 24px)); padding-inline: 12px; }
  .calendar-months { grid-template-columns: minmax(0, 1fr); }
}

.mobile-region-header, .mobile-region-input { display: none; }
@media (max-width: 640px) {
  body.mobile-region-open, body.mobile-calendar-open { overflow: hidden; }
  .city-picker.city-picker-fullscreen, .date-popover {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: max(14px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  }
  .city-picker.city-picker-fullscreen {
    z-index: 100;
    display: flex;
    flex-direction: column;
  }
  .mobile-region-header { display: flex; align-items: center; gap: 10px; }
  .mobile-region-header h2 { font-size: 19px; }
  .mobile-region-input {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 12px 0 2px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #f4f8f4;
  }
  .city-picker-fullscreen .city-picker-caption { padding-inline: 4px; }
  .city-picker-fullscreen ul { max-height: none; padding-inline: 0; }
  .city-picker-fullscreen [role="option"] { border-bottom: 1px solid var(--line); border-radius: 0; min-height: 48px; }
  .city-field input[readonly] { cursor: pointer; }
  .date-popover-header h2 { font-size: 19px; }
}

.flight-city-index {
  display: flex;
  gap: 4px 14px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.flight-city-index button {
  flex: none;
  min-height: 44px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.flight-city-index button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.flight-city-picker .flight-city-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px 6px;
  max-height: min(328px, 48vh);
  padding: 8px 12px 12px;
}
.flight-city-grid [role="option"] {
  display: grid;
  align-content: center;
  justify-content: start;
  min-height: 48px;
  overflow-wrap: anywhere;
}
@media (min-width: 641px) {
  .route-fields .city-field { position: static; }
  .route-fields .flight-city-picker { width: min(680px, calc(100vw - 84px)); }
}
@media (max-width: 640px) {
  .flight-city-index { padding-inline: 0; gap: 12px; }
  .flight-city-picker .flight-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    padding-inline: 0;
  }
}

.account-content { display: grid; gap: 18px; min-width: 0; }
.account-layout:is([data-account-view="travelers"], [data-account-view="contact"], [data-account-view="security"]) .account-grid {
  grid-template-columns: minmax(0, 1fr);
}
.account-layout:is([data-account-view="travelers"], [data-account-view="contact"], [data-account-view="security"])
:is(.account-profile, .account-order-shortcuts, .account-orders) { display: none; }
@media (max-width: 640px) {
  .account-layout[data-account-view="profile"] .account-orders,
  .account-layout[data-account-view="orders"] :is(.account-profile, .account-order-shortcuts, #account-travelers, #account-contact) {
    display: none;
  }
  .account-order-shortcuts { margin-top: 0; }
}
#account-contact { scroll-margin-top: 20px; }
.account-contact-form { display: grid; gap: 12px; margin-top: 12px; }
.saved-contact-record, .saved-contact-choice { padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f3f8f3; }
.saved-contact-record { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.saved-contact-record span, .saved-contact-choice [data-saved-contact] { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.saved-contact-choice { display: flex; align-items: center; gap: 10px; }
.saved-contact-choice input { width: 18px; height: 18px; accent-color: var(--navy); }
.saved-contact-choice strong, .saved-contact-choice [data-saved-contact] { display: block; }
.checkout-contact-fields { min-width: 0; padding: 0; border: 0; margin: 0; }
.contact-manage-link { display: inline-flex; min-height: 38px; align-items: center; margin-top: 6px; font-size: 13px; }

#account-travelers { scroll-margin-top: 20px; }
.traveler-profiles { display: grid; gap: 8px; list-style: none; padding: 0; }
.saved-traveler-record { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; }
.saved-traveler-record strong, .saved-traveler-record span { display: block; overflow-wrap: anywhere; }
.saved-traveler-record span { color: var(--muted); font-size: 13px; }
.flight-saved-travelers { margin-bottom: 10px; }
.traveler-chip:disabled { opacity: .55; cursor: not-allowed; }

.order-travelers { margin-top: 14px; }
.order-travelers h2, .order-next h3 { font-size: 17px; }
.order-controls, [data-order-retry] { margin-top: 14px; }
.order-payment-note { margin-top: 14px; }
#order-payment-dialog { width: min(390px, calc(100% - 32px)); }
#order-payment-dialog .ui-dialog-body { display: grid; justify-items: center; gap: 12px; padding: 18px 20px 22px; text-align: center; }
.payment-amount { font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.payment-qr { display: block; width: 216px; max-width: 100%; height: auto; image-rendering: pixelated; }
.payment-expiry { font-size: 13px; color: var(--muted); }
#order-payment-dialog [data-payment-check] { min-height: 44px; width: 100%; }
.order-controls button, #order-cancel-dialog form button { min-height: 44px; }
[data-order-cancel] { color: #8f3b2e; border-color: #e4c7bf; }
#order-cancel-dialog .result-actions { margin-top: 14px; justify-content: flex-end; }

#booking-login-dialog { width: min(460px, calc(100vw - 28px)); }
#password-reminder-dialog { width: min(390px, calc(100vw - 28px)); }
#password-reminder-dialog .ui-dialog-body > p { color: var(--muted); font-size: 14px; }
.password-reminder-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.password-reminder-actions :is(button, a) { min-height: 44px; }
.booking-login-body form { display: grid; gap: 14px; }
.booking-login-body .login-intro { color: var(--muted); font-size: 14px; }
.booking-login-body .login-context {
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--navy);
  font-size: 13px;
}
.booking-login-body .ui-notice { margin-top: 0; }

.guide-booking { padding-bottom: 42px; }
.help-topics { display: flex; gap: 8px; flex-wrap: wrap; }
.help-topic { margin-top: 26px; scroll-margin-top: 18px; }
.help-topic h2 { margin-bottom: 10px; font-size: 22px; }
.help-topic details p { color: var(--muted); }

#flight-refresh-dialog { width: min(500px, calc(100vw - 28px)); }
#flight-refresh-dialog .ui-dialog-body > p + p { margin-top: 6px; }
#flight-refresh-dialog .ui-dialog-body form { margin-top: 14px; }
#flight-refresh-dialog .ui-dialog-body .primary { width: 100%; }
.destinations-more { padding-block: 16px 42px; }
.destination-overview-text { grid-template-columns: minmax(0, 1fr); }

.hotel-detail-header { margin-bottom: 12px; }
.hotel-gallery { position: relative; min-width: 0; }
.hotel-gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: 9px;
}
.hotel-gallery-track::-webkit-scrollbar { display: none; }
.hotel-gallery .hotel-detail-photo { flex: 0 0 100%; aspect-ratio: 16 / 9; scroll-snap-align: start; scroll-snap-stop: always; }
.hotel-gallery-caption {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px;
  background: #102b27e8; color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; pointer-events: none;
}
.hotel-overview-info { min-width: 0; align-self: center; }
.hotel-overview-info h1 { font-size: clamp(23px, 4vw, 34px); line-height: 1.25; overflow-wrap: anywhere; }
.hotel-overview-info > p { margin-top: 6px; }
.hotel-detail-rating { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 700; }
.hotel-overview-address { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.hotel-overview-address a, .hotel-stay-dates a { white-space: nowrap; }
.hotel-detail-sections { display: flex; gap: 18px; margin-top: 14px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.hotel-detail-sections a { display: inline-flex; align-items: center; min-height: 34px; color: var(--navy); font-weight: 700; }
.hotel-stay-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.hotel-stay-dates div { display: grid; }
.hotel-stay-dates span { color: var(--muted); font-size: 13px; }
.hotel-stay-dates a { margin-left: auto; font-size: 13px; }
.hotel-room-intro { display: flex; gap: 12px; align-items: center; }
.hotel-room-photo { width: 88px; flex: none; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--soft); }
.hotel-room-photo img { width: 100%; height: 100%; object-fit: cover; }
.hotel-information { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hotel-information h3 { margin: 14px 0 5px; }
.hotel-information p, .hotel-amenities { color: var(--muted); overflow-wrap: anywhere; }
.hotel-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding-left: 18px; }
.hotel-room-dock, .hotel-gallery-thumbnails, .hotel-overview-amenities, .hotel-overview-rate { display: none; }
@media (min-width: 641px) {
  #hotel-detail-page .hotel-overview { grid-template-columns: 1fr; gap: 16px; }
  #hotel-detail-page .hotel-overview:has(.hotel-gallery) {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start;
  }
  .hotel-gallery:has(.hotel-gallery-thumbnails) {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(76px, 1fr); gap: 8px;
  }
  .hotel-gallery-track { position: relative; min-width: 0; }
  .hotel-gallery .hotel-detail-photo { height: 226px; min-height: 0; aspect-ratio: auto; }
  .hotel-gallery-caption { left: 10px; right: auto; }
  .hotel-gallery-thumbnails {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
    grid-auto-rows: 66px; align-content: start; gap: 6px; max-height: 226px; overflow-y: auto; padding: 3px;
  }
  .hotel-gallery-thumbnail {
    min-width: 0; padding: 0; overflow: hidden; border: 2px solid transparent;
    border-radius: 7px; background: var(--soft); cursor: pointer;
  }
  .hotel-gallery-thumbnail[aria-pressed="true"] { border-color: var(--navy); }
  .hotel-gallery-preview, .hotel-gallery-preview img { width: 100%; height: 100%; }
  .hotel-gallery-preview img { display: block; object-fit: cover; }
  .hotel-overview-info { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
  .hotel-overview-info h1 { font-size: clamp(21px, 2.4vw, 30px); }
  .hotel-overview-address { width: 100%; }
  .hotel-overview-amenities { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0; padding: 0; list-style: none; }
  .hotel-overview-amenities li { padding: 3px 7px; border-radius: 6px; background: var(--soft); color: var(--deep); font-size: 13px; }
  .hotel-overview-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; width: 100%; margin-top: auto; padding-top: 8px; color: var(--muted); }
  .hotel-overview-rate strong { color: var(--deep); font-size: 24px; }
  .hotel-overview-rate a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-left: auto; }
}
@media (max-width: 640px) {
  #hotel-detail-page { padding-bottom: 68px; }
  #hotel-detail-page .hotel-overview { padding: 0; border: 0; background: transparent; gap: 10px; }
  #hotel-detail-page :is(.hotel-gallery-track, .hotel-detail-photo) { border-radius: 14px; }
  .hotel-overview-info { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .hotel-detail-sections { border-radius: 12px 12px 0 0; }
  #hotel-detail-page .hotel-rooms { margin-top: 12px; }
  .hotel-room-dock:not([hidden]) {
    position: fixed; z-index: 9; inset: auto 0 calc(63px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 61px; padding: 8px 16px; border-top: 1px solid var(--line); background: #fff;
  }
  .hotel-room-dock strong { color: var(--navy); font-size: 21px; }
  .hotel-room-dock a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 126px; margin-left: auto; }
}

/* Order detail: shared desktop and mobile visual hierarchy. */
.order-icon { width: 18px; height: 18px; flex: none; }
.order-icon-label { display: inline-flex; align-items: center; gap: 8px; }
.order-icon-label > span { min-width: 0; overflow-wrap: anywhere; }
.order-badge .order-icon { width: 14px; height: 14px; }
.order-detail-heading { padding: 20px; border: 1px solid #dce8df; border-radius: 14px; background: linear-gradient(120deg, #edf5ed, #fafcf8); gap: 12px; }
.order-detail-heading h2 { display: flex; gap: 12px; }
.order-detail-heading h2 > .order-icon { box-sizing: content-box; width: 23px; height: 23px; padding: 11px; border-radius: 13px; color: var(--navy); background: #dcebdc; }
.order-detail-heading p { margin-top: 10px; font-variant-numeric: tabular-nums; }
.order-stay { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.order-stay > h3 { color: var(--navy); }
.order-stay .commerce-facts { row-gap: 14px; padding-block: 6px; }
.commerce-facts dt .order-icon { color: #678373; width: 16px; height: 16px; }
.order-stay .commerce-total { padding: 16px; margin-top: 18px; border: 0; background: #f3f7ef; border-radius: 10px; }
.order-next { padding: 20px; border: 1px solid #e2eade; border-radius: 14px; align-self: start; }
.order-next h3 { color: var(--navy); font-size: 16px; margin-bottom: 12px; }
.order-next .commerce-link { margin-top: 12px; width: 100%; }
.account-order { padding: 18px; background: #fff; box-shadow: 0 3px 12px #163e2510; }
.account-order-head { padding-bottom: 12px; border-bottom: 1px solid #edf0e9; }
.account-order .order-type > .order-icon { box-sizing: content-box; padding: 7px; border-radius: 9px; background: var(--soft); }
.account-order-body { margin-block: 16px; }
.account-order-details { padding-top: 12px; }
.account-order-details summary { min-height: 36px; }
.account-order-details .checkout-itinerary { background: #f5f8f2; padding: 10px 14px; border-radius: 10px; }
.account-order-details .checkout-itinerary li + li { border-top: 1px dashed #d5e1d2; margin-top: 5px; padding-top: 12px; }
@media (max-width: 460px) {
  .order-detail-heading, .order-stay, .order-next, .account-order { padding: 14px; }
  .order-detail-heading h2 { font-size: 19px; }
  .order-detail-heading > .order-badge { margin-inline-start: 0; }
  .commerce-facts { gap: 10px; grid-template-columns: minmax(0, 105px) minmax(0, 1fr); }
  .commerce-facts dt { align-items: flex-start; gap: 6px; }
  .commerce-facts dt .order-icon { margin-top: 2px; }
  .account-order-amount { display: flex; align-items: baseline; gap: 8px; }
  .account-order-head .order-date { order: 3; width: 100%; }
}

.itinerary-form {
  max-width: 880px; margin-top: 12px; padding: clamp(14px, 2.2vw, 24px); gap: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #f7faf7;
}
.itinerary-types, .itinerary-company {
  min-width: 0; margin: 0; padding: 0; border: 0;
}
.itinerary-types legend { margin-bottom: 7px; padding: 0; font-size: 13px; font-weight: 700; }
.itinerary-type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 320px; }
.itinerary-type {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-weight: 650; cursor: pointer;
}
.itinerary-type input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.itinerary-type:hover { border-color: #87a897; }
.itinerary-type:has(:checked) { border-color: var(--navy); background: var(--soft); color: var(--deep); }
.itinerary-company { display: grid; gap: 14px; }
.itinerary-company-fields { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 12px; }
.itinerary-form .field :is(input, select) { min-height: 44px; background: var(--paper); }
.itinerary-history { max-width: 420px; }
.itinerary-history .field-label { color: var(--navy); }
.itinerary-form [hidden], .itinerary-feedback:empty { display: none; }
.itinerary-feedback { font-size: 14px; }
.itinerary-actions {
  display: flex; justify-content: flex-end; gap: 8px; align-items: stretch; padding-top: 14px; border-top: 1px solid var(--line);
}
.itinerary-actions button { min-height: 44px; padding-inline: 15px; }
@media (max-width: 700px) {
  .itinerary-company-fields { grid-template-columns: minmax(0, 1fr); }
  .itinerary-type-options, .itinerary-history { max-width: none; }
  .itinerary-actions .primary { flex: 1; }
}
