/* wl-storefront — single stylesheet, mobile-first, no build step */
:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --ink: #17222e;
  --muted: #5f7183;
  --line: #e3e9f0;
  --brand: #0b5fd7;
  --brand-dark: #084aa8;
  --ok: #0d8a4f;
  --warn: #b36b00;
  --err: #b3261e;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.container { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 16px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #eef2f7; padding: 1px 6px; border-radius: 6px; font-size: 0.9em; }
.mt { margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.85em; }
.strong { font-weight: 600; }
.uppercase { text-transform: uppercase; }

/* top bar */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { font-weight: 700; font-size: 1.1em; color: var(--ink); }
.brand-mark { color: var(--brand); }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; }
.inline-form { display: inline; }
.linklike { background: none; border: none; color: var(--brand); cursor: pointer; font: inherit; padding: 0; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.center-card { text-align: center; padding: 48px 20px; }
.warn-card { border-color: #f0d8a8; background: #fffaf0; }

/* hero + search */
.hero { padding: 32px 0 8px; }
.hero h1 { margin: 0 0 4px; font-size: 1.7em; }
.grid { display: grid; gap: 12px; }
.grid-search { grid-template-columns: 1fr 1fr; }
.grid-pax { grid-template-columns: repeat(4, 1fr); }
label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9em; color: var(--muted); font-weight: 500; }
input, select {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus { outline: 2px solid #bcd6ff; border-color: var(--brand); }
.field-row { display: flex; gap: 20px; margin-bottom: 10px; }
.radio { flex-direction: row; align-items: center; gap: 6px; color: var(--ink); font-weight: 400; }
.radio input { width: auto; }
.label-submit { justify-content: flex-end; }

/* buttons */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-align: center;
}
.btn:hover { text-decoration: none; filter: brightness(0.98); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-sm { padding: 7px 14px; font-size: 0.9em; }
.btn-block { width: 100%; }

/* results */
.page-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; margin: 20px 0 8px; }
.page-head h1 { margin: 0; font-size: 1.3em; }
.sort a { margin-left: 8px; color: var(--muted); font-weight: 500; }
.sort a.on { color: var(--brand); font-weight: 700; }
.offer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.offer-main { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; flex: 1; min-width: 280px; }
.offer-carrier { display: flex; gap: 10px; align-items: center; min-width: 150px; }
.carrier-badge {
  width: 40px; height: 40px; border-radius: 8px; background: #0e2a47; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85em;
}
.offer-times { text-align: center; min-width: 60px; }
.offer-dur { text-align: center; min-width: 110px; }
.dur-line { height: 1px; background: var(--line); margin-bottom: 4px; position: relative; }
.dur-line::after { content: "▸"; position: absolute; right: -2px; top: -9px; color: var(--muted); font-size: 11px; }
.offer-side { text-align: right; display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.price { font-size: 1.25em; font-weight: 800; color: var(--ink); }
.flags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.flag { font-size: 0.72em; padding: 2px 8px; border-radius: 20px; background: #eef2f7; color: var(--muted); font-weight: 600; }
.flag-ok { background: #e2f5ea; color: var(--ok); }
.flag-warn { background: #fdf0dc; color: var(--warn); }

/* features */
.features { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 28px 0; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 1em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92em; }

/* auth */
.auth-wrap { display: flex; justify-content: center; padding: 40px 0; }
.auth-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; }
.auth-card h1 { margin: 0; font-size: 1.3em; }
.auth-card label { gap: 2px; }

/* alerts + tables */
.alert { padding: 10px 14px; border-radius: 8px; font-size: 0.92em; }
.alert-err { background: #fdecea; color: var(--err); border: 1px solid #f5c6c2; }
.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.92em; }
.table th { background: #f0f4f8; color: var(--muted); font-weight: 600; }
.table tr:last-child td { border-bottom: none; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--card); margin-top: 32px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding: 18px 16px; color: var(--muted); font-size: 0.88em; }
.footer-links { display: flex; gap: 14px; }

/* page content */
.page-content { white-space: normal; }
.page-content br + br { display: block; }

@media (min-width: 720px) {
  .grid-search { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2.1em; }
}
@media (max-width: 719px) {
  .grid-pax { grid-template-columns: 1fr 1fr; }
  .label-submit { grid-column: 1 / -1; }
  .offer-side { text-align: left; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

/* S3: booking flow */
.grid-pax-form { grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .grid-pax-form { grid-template-columns: repeat(4, 1fr); } }
.pax-title { margin: 0 0 10px; font-size: 1em; }
.pax-block h2 { color: var(--brand); }
.field-err { color: var(--err); font-size: 0.8em; margin-top: 2px; }
.flash-card { padding: 12px 16px; font-size: 0.95em; }
.flash-ok { border-color: #bfe6cf; background: #e2f5ea; color: var(--ok); }
.flash-err { border-color: #f5c6c2; background: #fdecea; color: var(--err); }
.offer-summary { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.offer-summary-row { flex: 1; min-width: 260px; }
.offer-price-box { text-align: right; }
.review-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .review-grid { grid-template-columns: 2fr 2fr 1fr; } }
.review-price { text-align: right; }
.booking-form .btn-block { margin-top: 4px; }

/* mock-mode warning (fixture driver) */
.mock-banner {
  background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2;
  padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 0.9em; margin: 16px 0;
}

/* S4: admin dashboard stats */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
.stat { padding: 14px 16px; margin: 0; }
.stat .stat-n { font-size: 1.35em; font-weight: 800; }
.stat-warn { border-color: #f0d8a8; background: #fffaf0; }
@media (min-width: 780px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }

/* P1/P2: search layout, filters, drawer, directions */
.search-layout { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .search-layout { grid-template-columns: 240px 1fr; align-items: start; } }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fgroup { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: none; }
.flabel { font-size: 0.8em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.filters .radio { margin: 4px 0; }
.dir-row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.dir-tag { font-size: 0.68em; font-weight: 800; background: #0e2a47; color: #fff; border-radius: 4px; padding: 1px 6px; letter-spacing: .08em; }
.dir-ret { background: #7a1fd0; }
.drawer { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; width: 100%; }
.drawer summary { cursor: pointer; color: var(--brand); font-size: 0.85em; font-weight: 600; }
.drawer-body { padding: 10px 4px 4px; display: grid; gap: 12px; }
.seg-row { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 0; font-size: 0.9em; align-items: baseline; }
.layover { font-size: 0.8em; color: var(--warn); padding-left: 8px; }

/* multicity + alternates + pagination */
.altstrip { padding: 14px 18px; }
.alt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.alt-chip { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; min-width: 110px; }
.alt-chip:hover { border-color: var(--brand); text-decoration: none; }
.alt-chip.alt-cur { border-color: var(--brand); background: #eef4ff; }
.alt-date { font-weight: 700; font-size: 0.85em; }
.alt-price { color: var(--brand); font-weight: 600; font-size: 0.85em; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.pager-n { padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 0.9em; }
.pager-n.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager-gap { color: var(--muted); }
.leg-row { margin-bottom: 6px; }

/* =====================================================================
   Prantik-Sky frontpage design system (maroon + gold, warm neutrals)
   ===================================================================== */
:root {
  --gold: #c9a227;
  --ink2: #241018;
  --warm: #faf7f5;
}
body { background: var(--warm); }
main { background: var(--warm); }

/* utility strip */
.utility-strip { background: var(--brand, #7a1230); color: #fff; font-size: 0.78em; }
.utility-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 16px; flex-wrap: wrap; }
.utility-tag { opacity: .95; }
.utility-right { display: flex; gap: 8px; align-items: center; }
.utility-right a { color: #ffd9a0; font-weight: 600; }
.utility-sep { opacity: .5; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; border-radius: 9px; background: var(--brand, #7a1230); color: #fff; align-items: center; justify-content: center; font-size: 17px; }
.brand-word { font-weight: 800; font-size: 1.15em; color: var(--ink); letter-spacing: -0.01em; }
.brand-suffix { color: var(--brand, #7a1230); }
.btn-outline { border-color: var(--brand, #7a1230); color: var(--brand, #7a1230); font-weight: 700; }

/* hero */
.hero2 {
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(201,162,39,.18), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(150deg, var(--ink2) 0%, var(--brand, #7a1230) 55%, #9a2145 100%);
  color: #fff;
  padding: 46px 0 150px;
  position: relative;
}
.hero2::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: var(--warm); clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
  opacity: .35;
}
.hero2 .container { position: relative; }
.hero2-copy { max-width: 620px; margin-bottom: 22px; }
.hero2-eyebrow { margin-bottom: 12px; }
.hero2 h1 { font-size: clamp(1.9em, 4.5vw, 3.1em); line-height: 1.08; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.02em; }
.hero2-sub { margin: 0; opacity: .92; font-size: 1.04em; max-width: 520px; }
.flag-gold { background: rgba(201,162,39,.22); color: #ffe9b0; border: 1px solid rgba(201,162,39,.5); font-weight: 700; }

/* search card */
.searchcard {
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(23,20,30,.28);
  padding: 18px 20px 20px; color: var(--ink);
  margin-top: -96px; position: relative; z-index: 3;
  max-width: 980px;
}
@media (min-width: 1000px) { .hero2 .container .searchcard { margin-left: 0; } }
.svc-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.svc-tab {
  font: inherit; font-weight: 600; border: none; background: #f3f4f6; color: var(--muted);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.svc-tab.on { background: var(--brand, #7a1230); color: #fff; }
.svc-tab[disabled] { opacity: .55; cursor: not-allowed; }
.svc-tab .soon { font-size: 0.7em; background: var(--gold); color: #4a3803; border-radius: 999px; padding: 1px 7px; margin-left: 4px; font-weight: 800; }
.trip-tabs { display: flex; gap: 4px; background: #f3f4f6; border-radius: 10px; padding: 4px; width: max-content; margin-bottom: 14px; flex-wrap: wrap; }
.trip-tabs .radio { flex-direction: row; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; margin: 0; color: var(--muted); font-weight: 600; font-size: 0.9em; }
.trip-tabs input { width: auto; }
.trip-tabs label:has(input:checked) { background: #fff; color: var(--brand, #7a1230); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.sc-row { display: grid; gap: 10px; margin-bottom: 12px; grid-template-columns: 1fr 1fr; }
.sc-row.sc-route { grid-template-columns: 1fr 44px 1fr; align-items: end; }
@media (min-width: 860px) { .sc-row { grid-template-columns: repeat(4, 1fr); } .sc-row.sc-route { grid-template-columns: 1fr 44px 1fr; } }
.sc-field { position: relative; }
.sc-label { display: block; font-size: 0.72em; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.sc-label .sc-hint { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ok); }
.sc-field input, .sc-field select { width: 100%; }
.sc-route .sc-field input { font-size: 1.06em; font-weight: 700; padding: 12px; }
.sc-swap {
  height: 42px; width: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  font-size: 1.1em; cursor: pointer; color: var(--brand, #7a1230); align-self: end; margin-bottom: 4px;
}
.sc-swap:hover { background: var(--brand, #7a1230); color: #fff; }
.sc-pax { display: flex; gap: 6px; }
.sc-pax select { min-width: 0; flex: 1; }
.sc-grow { grid-column: span 2; }
.sc-removewrap { max-width: 110px; }
.btn-cta {
  background: linear-gradient(120deg, var(--gold), #e0b53c); color: #3d2f04;
  border: none; font-size: 1.05em; padding: 14px; font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(201,162,39,.4);
}
.btn-cta:hover { filter: brightness(1.05); }
.sc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.sc-stream { margin: 0; flex-direction: row; align-items: center; gap: 6px; color: var(--muted); font-size: 0.85em; }
.sc-stream input { width: auto; }

/* trust strip */
.truststrip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 16px; }
@media (min-width: 860px) { .trust-in { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 10px; align-items: center; }
.t-ico { font-size: 1.5em; }

/* sections */
.section { padding: 34px 16px 10px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 1.35em; }
.sec-more { font-weight: 600; font-size: 0.9em; }

/* popular routes */
.route-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .route-grid { grid-template-columns: repeat(3, 1fr); } }
.route-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px; transition: box-shadow .15s, transform .15s;
}
.route-card:hover { box-shadow: 0 10px 26px rgba(23,20,30,.10); transform: translateY(-2px); text-decoration: none; }
.route-dest { font-weight: 800; font-size: 1.08em; }
.route-price { margin-top: 6px; font-size: 0.9em; color: var(--muted); }
.route-price strong { color: var(--brand, #7a1230); font-size: 1.15em; }

/* destinations */
.dest-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
.dest-card {
  border-radius: 14px; padding: 18px; min-height: 130px; color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  transition: transform .15s;
}
.dest-card:hover { transform: translateY(-2px); text-decoration: none; }
.dest-card::before { content: "✈"; position: absolute; top: 10px; right: 14px; font-size: 1.6em; opacity: .35; }
.dest-city { font-weight: 800; font-size: 1.2em; }
.dest-country { opacity: .85; font-size: 0.85em; }
.dest-go { margin-top: 8px; font-size: 0.82em; font-weight: 700; opacity: .9; }

/* airline strip */
.airline-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.airline-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 0.88em; }
.airline-chip b { color: var(--brand, #7a1230); margin-right: 2px; }

/* family band */
.family-band { background: linear-gradient(140deg, var(--ink2), var(--brand, #7a1230)); color: #fff; margin: 40px 0 8px; padding: 40px 0; }
.family-in { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .family-in { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.family-band h2 { margin: 8px 0 12px; font-size: 1.5em; }
.family-band p { opacity: .92; line-height: 1.65; }
.family-cards { display: grid; gap: 10px; }
.family-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.family-card strong { font-size: 0.95em; }
.family-card span { font-size: 0.85em; opacity: .85; }

/* footer */
.footer { background: #1c1420; color: #cfc3d4; margin-top: 40px; }
.footer a { color: #e8dfe0; }
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr; padding: 30px 16px 18px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.f-brand { font-weight: 800; font-size: 1.1em; color: #fff; margin-bottom: 8px; }
.f-brand .brand-mark { width: 28px; height: 28px; font-size: 14px; }
.f-head { font-weight: 700; color: #fff; margin-bottom: 8px; font-size: 0.9em; text-transform: uppercase; letter-spacing: .06em; }
.f-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.f-pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pay-chip { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 4px 10px; font-size: 0.75em; font-weight: 700; color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding: 12px 16px 18px; font-size: 0.8em; }

/* frontpage polish (design review pass) */
.hero2 { padding-bottom: 175px; }
.hero2-copy { margin-bottom: 40px; }
@media (min-width: 860px) { .sc-row { grid-template-columns: 1fr 1fr 1.1fr 1.4fr; } }
.sc-pax select { font-size: 0.9em; padding: 10px 6px; }
