/* ===== offlinebooking — shared styles ===== */
:root {
  --brand: #0a66ff;
  --brand-dark: #0747b3;
  --accent: #ff6b35;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --text: #1a2233;
  --muted: #6b7689;
  --border: #e3e8f0;
  --success: #15a36a;
  --danger: #e23b54;
  --warning: #e9a200;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 38, 70, 0.08);
  --shadow-lg: 0 12px 40px rgba(18, 38, 70, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Header / nav ---- */
.topbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(16,24,40,.04);
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.4px;
}
.logo span { color: var(--accent); }
/* SVG lockup logo (brand image) — sizes inside the .logo/.brand-logo container on light headers/footers */
.brand-logo-img, .logo img, .brand-logo img { height: 34px; width: auto; display: inline-block; vertical-align: middle; }
@media (max-width: 760px) { .brand-logo-img, .logo img, .brand-logo img { height: 28px; } }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 8px 12px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav-links a:hover { color: var(--brand); background: rgba(37,99,235,.07); text-decoration: none; }
.nav-links a.active { color: var(--brand); background: rgba(37,99,235,.10); }
.nav-spacer { flex: 1; }

.user-menu { display: flex; align-items: center; gap: 12px; }
/* Prominent "Dashboard" switch button in the public header (logged-in customer/agent/etc.) */
.dash-switch { white-space: nowrap; flex-shrink: 0; font-weight: 700; }
@media (max-width: 600px) {
  .dash-switch { order: -1; }                              /* show the Dashboard button first on phones */
  .user-menu .user-name, .user-menu .user-role { display: none; } /* free space — keep avatar + Dashboard */
}

/* Login dropdown (logged-out header) */
.login-dd { position: relative; }
.login-dd-btn { display: inline-flex; align-items: center; gap: 6px; }
.login-dd-caret { font-size: 11px; transition: transform .18s; }
.login-dd.open .login-dd-caret { transform: rotate(180deg); }
.login-dd-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 268px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 16px 40px rgba(16,24,40,.16);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60;
}
.login-dd.open .login-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.login-dd-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--text, #111827); }
.login-dd-item:hover { background: rgba(37,99,235,.08); text-decoration: none; }
.login-dd-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; font-size: 18px; background: rgba(37,99,235,.10); border-radius: 10px; }
.login-dd-item b { display: block; font-size: 14.5px; font-weight: 700; color: var(--brand); }
.login-dd-item small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
@media (max-width: 640px) { .login-dd-partner { display: none; } }

/* Website enquiry band */
.enquiry-band { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; padding: 32px 20px; }
.enquiry-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.enquiry-copy { flex: 1; min-width: 240px; }
.enquiry-copy h2 { margin: 0 0 6px; font-size: 24px; }
.enquiry-copy p { margin: 0; color: #c7d6f5; font-size: 14.5px; }
.enquiry-form { flex: 2; min-width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { padding: 11px 12px; border-radius: 9px; border: none; font-size: 14px; }
.enquiry-form textarea { grid-column: 1 / -1; resize: vertical; }
.enquiry-form .btn { grid-column: 1 / -1; }
.enquiry-out { grid-column: 1 / -1; font-size: 13px; min-height: 16px; }
.enquiry-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.enquiry-fields label { display: block; font-size: 11px; color: #c7d6f5; margin-bottom: 2px; }
.enquiry-fields .enq-field { width: 100%; padding: 9px 10px; border-radius: 8px; border: none; font-size: 13px; }
@media (max-width: 640px) { .enquiry-form { grid-template-columns: 1fr; } }

/* Header notification bell (logged-in) */
.notif-wrap { position: relative; }
.notif-bell { position: relative; background: transparent; border: none; cursor: pointer; font-size: 19px; line-height: 1; padding: 7px 8px; border-radius: 9px; }
.notif-bell:hover { background: rgba(37,99,235,.08); }
.notif-dot { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; display: grid; place-items: center; }
.notif-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; max-height: 420px; overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(16,24,40,.18); z-index: 60; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.notif-head button { background: none; border: none; color: var(--brand); font-size: 12px; font-weight: 600; cursor: pointer; }
.notif-item { display: block; padding: 11px 14px; border-bottom: 1px solid #f1f3f7; color: var(--text, #111827); }
.notif-item:hover { background: rgba(37,99,235,.06); text-decoration: none; cursor: pointer; }
.notif-item.unread { background: #eff6ff; }
.notif-title { font-size: 13.5px; font-weight: 700; }
.notif-body { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.notif-time { font-size: 10.5px; color: #9aa3b2; margin-top: 3px; }
.notif-empty { padding: 28px 14px; text-align: center; color: var(--muted); font-size: 13px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.user-name { font-weight: 600; font-size: 14px; }
.user-role {
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; padding: 11px 18px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform .05s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.95); }
.btn-hold { background: #f59e0b; color: #fff; border: none; cursor: pointer; border-radius: 6px; font-weight: 700; font-size: 12px; padding: 6px 10px; white-space: nowrap; transition: background .15s; }
.btn-hold:hover { background: #d97706; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--border); }
.btn-ghost:hover { background: #eef3ff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---- Layout helpers ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 28px 20px; }
.grid { display: grid; gap: 18px; }
.muted { color: var(--muted); }
.right { text-align: right; }
.row { display: flex; gap: 12px; align-items: center; }
.wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 20px; }

/* ---- Hero / search ---- */
.hero {
  background:
    linear-gradient(135deg, rgba(10,102,255,0.92) 0%, rgba(7,71,179,0.89) 55%, rgba(91,43,212,0.92) 100%),
    url('/img/photos/aircraft-boeing-747.jpg') center 60% / cover no-repeat;
  color: #fff;
  padding: 60px 20px 96px;
}
.hero h1 { font-size: 40px; margin: 0 0 10px; font-weight: 800; line-height: 1.18; letter-spacing: -.5px; }
.hero p { font-size: 18px; opacity: .92; margin: 0 0 22px; max-width: 640px; }
.hero-inner { max-width: 1180px; margin: 0 auto; }
.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-top: 4px;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center; padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.10);
  border-radius: 0;
}
.hero-stats .hero-stat:first-child { border-radius: 10px 0 0 10px; }
.hero-stats .hero-stat:last-child { border-right: none; border-radius: 0 10px 10px 0; }
.hero-stat .hs-num { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stat .hs-lab { font-size: 11px; color: rgba(255,255,255,0.78); margin-top: 1px; white-space: nowrap; }
@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; margin-bottom: 16px; }
  .hero-stats { gap: 6px; }
  .hero-stat { border-radius: 8px !important; border-right: 1px solid rgba(255,255,255,0.25) !important; padding: 7px 12px; }
}

/* ---- Whitelabel B2C homepage design themes ---- */
/* Modern: dark gradient hero, rounded glassy search card */
body.wl-design-modern .hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%); padding: 64px 20px 100px; }
body.wl-design-modern .search-card { border-radius: 22px; box-shadow: 0 20px 50px rgba(2, 6, 23, .18); }
body.wl-design-modern .best-card, body.wl-design-modern .card { border-radius: 16px; }
/* Minimal: light, flat, airy */
body.wl-design-minimal .hero { background: #eef2f7; color: #0f172a; padding: 48px 20px 90px; }
body.wl-design-minimal .hero p { opacity: .7; }
body.wl-design-minimal .search-card { box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(15, 23, 42, .06); border: 1px solid var(--border); }
body.wl-design-minimal .trust-strip, body.wl-design-minimal .best-card { box-shadow: none; border: 1px solid var(--border); }
/* Bold: vibrant gradient, oversized headline */
body.wl-design-bold .hero { background: linear-gradient(120deg, var(--brand), var(--accent)); padding: 70px 20px 110px; }
body.wl-design-bold .hero h1 { font-size: 52px; letter-spacing: -1px; }
body.wl-design-bold .hero p { font-size: 20px; }
body.wl-design-bold .btn-accent { border-radius: 999px; }
body.wl-design-bold .sec-title { font-size: 28px; }

.search-card {
  max-width: 1100px;
  margin: -60px auto 0;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(37,99,235,.13), 0 2px 12px rgba(0,0,0,.08);
  padding: 26px 28px 22px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(99,102,241,.10);
}
.trip-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.trip-tab {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; cursor: pointer; font-weight: 700; color: var(--muted);
  font-size: 14px; transition: all .15s; letter-spacing: .01em;
}
.trip-tab:hover { border-color: var(--brand); color: var(--brand); background: #f5f7ff; }
.trip-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 3px 10px rgba(37,99,235,.25); }

.search-fields { display: flex; flex-direction: column; gap: 12px; }

/* Row 1: From / Swap / To / Dates */
.sf-row-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px;
}
.sf-row-top .field { flex: 1 1 140px; min-width: 120px; }
.sf-row-top .field-ap { flex: 1.6 1 180px; min-width: 160px; }
.sf-row-top .field-date { flex: 0.85 1 130px; min-width: 120px; }

/* Row 2: Travellers + Cabin + Search — always one horizontal line */
.sf-row-bottom {
  display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 10px;
}
.sf-pax  { flex: 1 1 160px; min-width: 0; }
.sf-cabin { flex: 1 1 140px; min-width: 0; }
.sf-submit {
  flex: 0 0 auto; height: 50px; font-size: 16px; font-weight: 800;
  letter-spacing: .02em; border-radius: 12px; padding: 0 28px; white-space: nowrap;
}
.field label {
  display: block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px; color: var(--brand);
  margin-bottom: 5px; padding-left: 2px;
}
.field input, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 12px; font-size: 15px; background: #fff; color: var(--text);
  height: 50px; transition: border-color .15s, box-shadow .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.field input:hover, .field select:hover { border-color: #a5b4fc; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.field input[type="date"] { cursor: pointer; }
/* Swap From/To button + travellers popup trigger */
.swap-btn {
  flex: 0 0 auto; align-self: flex-end; width: 44px; height: 50px;
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  cursor: pointer; font-size: 20px; color: var(--muted); transition: all .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.swap-btn:hover { border-color: var(--brand); color: var(--brand); background: #eef3ff; transform: rotate(180deg); }
.pax-trigger {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fff; color: var(--text); font-size: 15px;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  transition: border-color .15s, box-shadow .15s; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.pax-trigger:hover { border-color: #a5b4fc; }
.pax-trigger:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
/* Group booking CTA banner (shown when SITE_FOCUS=group) */
.group-cta { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(100deg, #eef3ff, #fff7ed); border: 1px solid var(--border); border-radius: 16px; padding: 16px 22px; box-shadow: var(--shadow); }
.group-cta .gc-title { font-size: 18px; font-weight: 800; color: var(--text); }
.group-cta .gc-sub { font-size: 13px; color: var(--muted); margin-top: 2px; max-width: 640px; }
.group-cta .gc-btn { white-space: nowrap; font-weight: 800; padding: 12px 22px; }

/* ---- Flight results ---- */
.results-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.filters .card-pad h3 { margin-top: 0; }
.filter-group { margin-bottom: 18px; }
.filter-group h4 { margin: 0 0 8px; font-size: 14px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0; cursor: pointer; }
.fg-ctrl { font-weight: 400; font-size: 11px; white-space: nowrap; }
.fg-ctrl a { color: var(--accent); text-decoration: none; cursor: pointer; }
.fg-ctrl a:hover { text-decoration: underline; }

.flight-card {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.airline { display: flex; align-items: center; gap: 12px; }
.airline-badge {
  width: 44px; height: 44px; border-radius: 10px; background: #eef3ff;
  color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: 14px;
}
.airline .name { font-weight: 700; }
.airline .fno { font-size: 12px; color: var(--muted); }

.timeline { display: flex; align-items: center; gap: 14px; }
.timeline .time { font-size: 20px; font-weight: 800; }
.timeline .code { font-size: 13px; color: var(--muted); font-weight: 600; }
.timeline .leg { text-align: center; flex: 1; }
.timeline .bar {
  flex: 1; height: 2px; background: var(--border); position: relative;
}
.timeline .bar::after {
  content: '\2708'; position: absolute; right: -4px; top: -10px; color: var(--brand);
}
.stops { font-size: 12px; color: var(--muted); text-align: center; }
.stops.nonstop { color: var(--success); font-weight: 700; }

.price-col { text-align: right; }
.price { font-size: 24px; font-weight: 800; color: var(--text); }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; text-transform: uppercase; letter-spacing: .3px;
}
.badge-green { background: #e3f7ee; color: var(--success); }
.badge-red { background: #fde7eb; color: var(--danger); }
.badge-amber { background: #fcf3da; color: #9a6c00; }
.badge-blue { background: #e8f0ff; color: var(--brand); }
.badge-grey { background: #eef1f6; color: var(--muted); }

/* ---- Country / language control ---- */
.geo-ctl { display: flex; gap: 6px; align-items: center; margin-right: 10px; }
.geo-ctl select { border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font-size: 13px; background: #fff; color: var(--text); cursor: pointer; }
html[dir="rtl"] .topbar-inner, html[dir="rtl"] .hero-inner { direction: rtl; }

/* ---- Recent searches ---- */
.recent-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.recent-title { font-weight: 700; color: var(--muted); font-size: 13px; }
.recent-chip {
  border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text);
}
.recent-chip:hover { border-color: var(--brand); color: var(--brand); }
.recent-clear { background: none; border: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }

/* ---- Multi-leg results (round trip = 2 cols, multi-city = N cols) ---- */
#legColumns.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
#mcColumns { display: grid; gap: 16px; align-items: start; }
.leg-head {
  font-weight: 800; color: var(--brand); margin: 2px 0 10px;
  background: #eef3ff; border: 1px solid #d9e4ff; border-radius: 10px; padding: 10px 14px;
}
.leg-head .lh-sub { font-weight: 500; color: var(--muted); font-size: 13px; }
.mc-leg { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.mc-leg .rm { background: #fde7eb; color: var(--danger); border: none; border-radius: 8px; width: 40px; height: 40px; cursor: pointer; font-size: 18px; }

/* ---- Frozen bottom selection bar (round trip / multi-city) ---- */
#selBar:empty { display: none; }
#selBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #0f172a; color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.selbar-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 18px;
  padding: 12px 20px; flex-wrap: wrap;
}
.selbar-legs { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; min-width: 0; }
.selbar-leg { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.selbar-leg .sl-logo { width: 30px; height: 30px; border-radius: 6px; background: #1e293b; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.selbar-leg .sl-r { color: #93a4bf; font-size: 12px; }
.selbar-leg.empty { color: #93a4bf; font-style: italic; }
.selbar-total { font-size: 22px; font-weight: 800; }
#selBar .btn-accent { height: 46px; padding: 0 28px; }
body.has-selbar { padding-bottom: 86px; }

/* ---- Tables ---- */
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px;
}
table.data th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
table.data tr:hover td { background: #f9fbff; }

/* ---- Stats ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { padding: 20px; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--brand); }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ---- Forms / auth ---- */
.auth-wrap { max-width: 420px; margin: 60px auto; }
.auth-wrap .card-pad { padding: 32px; }
.auth-wrap h2 { margin: 0 0 4px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px;
}
.tabswitch { display: flex; margin-bottom: 22px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.tabswitch button {
  flex: 1; padding: 11px 6px; border: none; background: #fff; font-weight: 700; cursor: pointer; color: var(--muted); font-size: 14px; white-space: nowrap;
}
.tabswitch button.active { background: var(--brand); color: #fff; }
@media (max-width: 400px) {
  .tabswitch button { padding: 10px 4px; font-size: 12px; }
}

/* ---- Sidebar layout for dashboards ---- */
.dash { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 64px); }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 22px 14px; }
.sidebar a {
  display: block; padding: 11px 14px; border-radius: 10px; color: var(--muted);
  font-weight: 600; margin-bottom: 4px; cursor: pointer;
}
.sidebar a:hover { background: #f1f5ff; text-decoration: none; }
.sidebar a.active { background: #eef3ff; color: var(--brand); }
.dash-main { padding: 28px; overflow: auto; }

/* ---- Toast / alert ---- */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.alert-error { background: #fde7eb; color: var(--danger); }
.alert-success { background: #e3f7ee; color: var(--success); }
.alert-info { background: #e8f0ff; color: var(--brand); }

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 25, 45, .55);
  display: grid; place-items: center; z-index: 100; padding: 20px;
}
.modal { background: #fff; border-radius: 16px; max-width: 560px; width: 100%; box-shadow: var(--shadow-lg); }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; }
.modal-body { padding: 24px; max-height: 70vh; overflow: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.close-x { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); }

/* ---- Footer ---- */
.footer { text-align: center; padding: 30px; color: var(--muted); font-size: 14px; }

.spinner {
  width: 22px; height: 22px; border: 3px solid #cdd7ea; border-top-color: var(--brand);
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.center-load { display: grid; place-items: center; padding: 50px; gap: 12px; color: var(--muted); }

/* ===== Autosuggest ===== */
.ac-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); margin-top: 4px; min-width: 240px; overflow: visible;
}
.ac-item { display: grid; grid-template-columns: 48px 1fr; gap: 4px 10px; padding: 9px 12px; cursor: pointer; align-items: baseline; }
.ac-item:hover, .ac-item.active { background: #eef3ff; }
.ac-code { grid-row: span 2; font-weight: 800; color: var(--brand); align-self: center; }
.ac-city { font-weight: 600; font-size: 14px; }
.ac-name { grid-column: 2; font-size: 12px; color: var(--muted); }

/* ===== Modify-search bar ===== */
.modbar { background: #1c2433; color: #fff; }
.modbar-inner { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.modbar .route { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.modbar .meta { font-size: 12px; }
.modbar .meta b { display: block; font-size: 14px; }
.modbar .meta .lbl { color: #9fb0c9; text-transform: uppercase; letter-spacing: .4px; font-size: 10px; }

/* ===== Date strip ===== */
.datestrip { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.datestrip .d { flex: 1; text-align: center; padding: 10px 6px; cursor: pointer; border-right: 1px solid var(--border); }
.datestrip .d:last-child { border-right: none; }
.datestrip .d:hover { background: #f1f5ff; }
.datestrip .d.active { background: #fff4ec; border-bottom: 3px solid var(--accent); }
.datestrip .d .dow { font-size: 12px; color: var(--muted); }
.datestrip .d .pr { font-weight: 700; font-size: 14px; }

/* ===== Result rows ===== */
.fl-row { padding: 0; margin-bottom: 12px; overflow: hidden; }
/* Flex row that wraps instead of overlapping when space is tight */
.fl-main { display: flex; align-items: center; gap: 18px; padding: 16px 18px; flex-wrap: wrap; }
.fl-check { flex: none; align-self: flex-start; margin-top: 4px; }
.fl-check { display: none; }
.sharing .fl-check { display: block; }
.fl-air { display: flex; align-items: center; gap: 10px; flex: 1 1 180px; min-width: 0; }
.fl-air > div { min-width: 0; }
.fl-air .logo { width: 40px; height: 40px; border-radius: 9px; background: #eef3ff; color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: 13px; flex: none; }
.fl-air .nm { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-air .fn { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fl-time { display: flex; align-items: center; gap: 12px; flex: 2 1 220px; min-width: 0; }
.fl-time .t { font-size: 19px; font-weight: 800; }
.fl-time .c { font-size: 12px; color: var(--muted); }
.fl-time .mid { flex: 1; text-align: center; }
.fl-time .bar { height: 2px; background: var(--border); position: relative; margin: 6px 0; }
.fl-time .bar::after { content: '\2708'; position: absolute; right: -2px; top: -9px; font-size: 12px; color: var(--brand); }
.fl-price { text-align: right; }
.fl-price .p { font-size: 22px; font-weight: 800; }
.fl-price .sup { font-size: 12px; color: var(--muted); }
.fl-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.fl-foot { display: flex; gap: 16px; padding: 8px 18px; border-top: 1px dashed var(--border); background: #fafbfe; font-size: 13px; }

/* Airline logo image (falls back to a lettered .logo badge) */
.logo-img { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; background: #fff; border: 1px solid #eef1f6; padding: 3px; flex: none; }
.fl-air .seats { font-size: 11px; color: var(--success); font-weight: 700; margin-top: 1px; }
.hold-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.hold-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; letter-spacing: .01em; }
.hold-tag-nr { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.hold-tag-std { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }

/* OTA price-comparison strip (B2C multi-supplier widget) */
.ota-compare { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 10px; }
.ota-compare-hd { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px; }
.ota-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; margin-bottom: 3px; font-size: 13px; transition: background .12s; }
.ota-row:hover { background: #f8faff; }
.ota-us { background: #eef3ff; border: 1px solid #c7d7ff; }
.ota-us:hover { background: #e8efff; }
.ota-name { font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 12px; color: #374151; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ota-us .ota-name { color: var(--brand); }
.ota-badge { font-size: 10px; font-weight: 800; background: #16a34a; color: #fff; padding: 1px 7px; border-radius: 99px; white-space: nowrap; flex-shrink: 0; }
.ota-diff { font-size: 11px; color: #dc2626; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.ota-price { font-weight: 800; font-size: 13px; color: var(--text); white-space: nowrap; flex-shrink: 0; min-width: 68px; text-align: right; }
.ota-us .ota-price { color: var(--brand); }
.ota-book-btn, .ota-ext-btn, .ota-cmp-btn { flex-shrink: 0; font-size: 11px; padding: 3px 10px; height: auto; border-radius: 6px; font-weight: 700; }
.ota-ext-btn, .btn-ghost.ota-cmp-btn { color: var(--muted); }
.ota-live { font-size: 10px; background: #dbeafe; color: #1d4ed8; padding: 1px 6px; border-radius: 99px; font-weight: 700; white-space: nowrap; }
/* Brief "Redirecting via …" toast */
.ota-redir-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1e293b; color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 600; z-index: 9999; pointer-events: none; animation: fadeInUp .2s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* Stacked fare options (top 3 + view more) */
.fl-fares { display: flex; flex-direction: column; gap: 8px; flex: 1 1 330px; min-width: 280px; }
/* Fixed two-column grid so the price column and BOOK button line up across every fare row */
.fare-line { display: grid; grid-template-columns: 1fr 92px; align-items: center; column-gap: 12px; border: 1px solid #e8edf3; border-radius: 10px; padding: 9px 12px; cursor: pointer; transition: border-color .12s, background .12s; }
.fare-line:hover { border-color: #c7d6ea; background: #fafcff; }
.fare-line.active { border-color: var(--brand); background: #f4f8ff; box-shadow: inset 0 0 0 1px var(--brand); }
.fare-line-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fare-amt { font-size: 16px; font-weight: 800; color: var(--text); }
.fare-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; }
.fare-meta .muted { font-size: 11px; }
.fare-line .btn { width: 92px; justify-self: end; }
.offer-note { font-size: 11px; color: #8a6100; background: #fff8e6; border: 1px solid #f3e2b3; border-radius: 8px; padding: 7px 9px; line-height: 1.55; }
/* Offer note shown left-aligned under the flight info (not in the fare column) */
.fl-offer { padding: 0 18px 12px 18px; }
.fl-offer .offer-note { max-width: 560px; }
/* View Details — selected-fare summary bar + price breakup */
.detail-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 11px 14px; background: #f8fafc; border-bottom: 1px solid var(--border); font-size: 13px; }
.detail-price { margin-left: auto; font-size: 18px; font-weight: 800; color: var(--text); }
.fare-breakup td { padding: 8px 12px; }
.fare-breakup tr:nth-child(odd) { background: #fafbfe; }
.more-fares { display: flex; flex-direction: column; gap: 6px; }
.viewmore { align-self: flex-start; font-size: 12px; }
/* Supplier tag — only shown to admins for identification */
.sup-tag { font-size: 10px; font-weight: 700; color: #7c3aed; background: #f3e8ff; padding: 1px 6px; border-radius: 6px; }
/* Non-blocking "still fetching more fares" banner above results */
.searching-banner { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sb-plane { display: inline-block; animation: sbFly 1.1s ease-in-out infinite; }
@keyframes sbFly { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.link-btn { background: none; border: none; color: var(--accent); font-weight: 700; cursor: pointer; padding: 4px 0; font-size: 13px; }
.link-btn:hover { text-decoration: underline; }

/* fare options + details panel */
.fl-expand { border-top: 1px solid var(--border); background: #fff; }
.tabs { display: flex; gap: 4px; padding: 10px 18px 0; border-bottom: 1px solid var(--border); }
.tab { padding: 8px 14px; cursor: pointer; font-weight: 700; font-size: 13px; color: var(--muted); border-bottom: 3px solid transparent; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tabpane { padding: 16px 18px; }
.fare-opt { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; }
.fare-opt:hover { border-color: var(--brand); }
.fare-opt .ft { font-weight: 700; }
.seg { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 10px 0; }
.seg + .seg { border-top: 1px dashed var(--border); }
.layover { text-align: center; font-size: 12px; color: #9a6c00; background: #fcf3da; border-radius: 8px; padding: 4px; margin: 6px 0; }

/* ===== Share bar + modal ===== */
.sharebar { position: sticky; top: 64px; z-index: 40; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.sharebar .btn { background: #fff; color: var(--brand); }
.share-text { white-space: pre-wrap; font-family: 'Consolas', monospace; font-size: 13px; background: #f7f9fc; border: 1px solid var(--border); border-radius: 10px; padding: 16px; line-height: 1.6; }

/* ===== Hotels & Holidays ===== */
.hotel-card { display: grid; grid-template-columns: 200px 1fr auto; gap: 18px; padding: 16px; margin-bottom: 14px; align-items: stretch; }
.hotel-thumb { border-radius: 10px; min-height: 150px; display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 800; }
.stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; }
.amenity { display: inline-block; font-size: 12px; background: #eef3ff; color: var(--brand); border-radius: 6px; padding: 2px 8px; margin: 2px 4px 2px 0; }
.rating-pill { background: var(--success); color: #fff; font-weight: 700; border-radius: 8px; padding: 3px 8px; font-size: 13px; display: inline-block; }
.hotel-price { text-align: right; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
.room-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-top: 10px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pkg-card { overflow: hidden; cursor: pointer; transition: transform .1s ease, box-shadow .15s ease; }
.pkg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pkg-banner { height: 150px; display: grid; place-items: center; color: #fff; font-size: 40px; }
.pill { display:inline-block; font-size:12px; font-weight:700; background:#fff4ec; color:var(--accent); border-radius:999px; padding:3px 10px; }
.seg-tabs { display:flex; gap:6px; }
.seg-tabs a { padding:8px 16px; border-radius:999px; font-weight:700; color:var(--muted); }
.seg-tabs a.active { background:var(--brand); color:#fff; }

/* ===== B2C homepage marketing sections ===== */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 8px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.trust-item .ti-ic { font-size: 24px; }
.trust-item b { display: block; color: var(--brand); }
.trust-item span { font-size: 13px; color: var(--muted); }

.sec-title { text-align: center; color: var(--brand); font-weight: 800; font-size: 22px; margin: 36px 0 6px; }
.sec-title::after { content: ''; display: block; width: 54px; height: 3px; background: var(--accent); margin: 8px auto 0; border-radius: 2px; }

.best-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.best-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .1s, box-shadow .15s; }
.best-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.best-thumb { height: 110px; display: grid; place-items: center; color: #fff; font-size: 34px; }
.best-card .bc-body { padding: 12px; }
.best-card .bc-route { font-weight: 700; font-size: 15px; }
.best-card .bc-price { color: var(--accent, #0a66ff); font-weight: 800; font-size: 14px; margin: 3px 0 2px; }
.best-card .bc-btn { display: block; text-align: center; margin-top: 8px; background: #eef3ff; color: var(--brand); font-weight: 700; padding: 7px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.best-card .bc-btn:hover { background: var(--brand); color: #fff; }

.routes-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.routes-2col h3 { color: var(--accent); font-weight: 800; border-bottom: 2px solid var(--border); padding-bottom: 8px; }
.route-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-top: 10px; }
.route-row .rr-path { flex: 1; }
.route-row .rr-path b { color: var(--text); }
.rr-thumb { width: 40px; height: 40px; border-radius: 8px; flex: 0 0 auto; background: #e5edf7 center/cover no-repeat; }
.route-row .rr-btn { background: var(--accent); color: #fff; font-weight: 700; border: none; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.route-row .rr-btn:hover { filter: brightness(.95); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.why-item {
  text-align: center; padding: 28px 18px; background: #fff;
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-item .wi-ic {
  font-size: 30px; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin: 0 auto 14px;
}
.why-item:nth-child(1) .wi-ic { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.why-item:nth-child(2) .wi-ic { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.why-item:nth-child(3) .wi-ic { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.why-item:nth-child(4) .wi-ic { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.why-item h4 { color: var(--text); margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.why-item p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.55; }

/* === Popular Destinations grid === */
.dest-section { padding: 0 20px; max-width: 1180px; margin: 28px auto 0; }
.dest-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dest-section-head h2 { margin: 0; font-size: 21px; font-weight: 800; color: var(--text); }
.dest-section-head a { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.dest-section-head a:hover { text-decoration: underline; }
.dest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.dest-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3/4; display: block; text-decoration: none;
  background: #c7d2e5;
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.dest-card:hover img { transform: scale(1.07); }
.dest-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,18,40,.78) 0%, rgba(10,18,40,.18) 55%, transparent 100%);
  transition: background .2s;
}
.dest-card:hover .dest-card-overlay { background: linear-gradient(to top, rgba(10,18,40,.86) 0%, rgba(10,18,40,.28) 55%, transparent 100%); }
.dest-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 13px; color: #fff; }
.dest-card-info .dc-city { font-weight: 800; font-size: 15px; line-height: 1.2; }
.dest-card-info .dc-from { font-size: 12px; opacity: .88; margin-top: 3px; }
.dest-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.22); backdrop-filter: blur(8px);
  color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: .04em;
}
@media (max-width: 900px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dest-card-info .dc-city { font-size: 13px; }
  .dest-card-info .dc-from { font-size: 11px; }
}

/* === Airlines strip === */
.airlines-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; }
.airlines-strip-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.airlines-strip-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.airlines-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.airline-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text); padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: #f9fbff; white-space: nowrap; }
.airline-chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none !important; }

/* === Newsletter improved === */
.newsletter {
  position: relative; overflow: hidden; border-radius: 18px; margin: 40px 0;
  background: linear-gradient(120deg, #0747b3 0%, #0a66ff 50%, #5b2bd4 100%);
  color: #fff; padding: 40px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.newsletter::before {
  content: '\2708';
  position: absolute; right: -20px; top: -20px; font-size: 140px; opacity: .07; line-height: 1;
  pointer-events: none; transform: rotate(-20deg);
}
.newsletter h3 { margin: 0 0 6px; color: #fff; font-size: 24px; font-weight: 800; }
.newsletter p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }
.newsletter .nl-form { display: flex; gap: 8px; flex: 1; min-width: 280px; max-width: 440px; }
.newsletter .nl-form input { flex: 1; padding: 13px 16px; border: none; border-radius: 10px; font-size: 15px; background: rgba(255,255,255,0.95); color: var(--text); }
.newsletter .nl-form input::placeholder { color: var(--muted); }
.newsletter .nl-form .btn { background: var(--accent); color: #fff; border-radius: 10px; padding: 13px 22px; font-weight: 800; flex-shrink: 0; }

.site-footer { background: #142033; color: #cdd7ea; margin-top: 40px; }
.site-footer .sf-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; padding: 22px 20px; border-bottom: 1px solid #243049; }
.site-footer .sf-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 28px 20px; }
.site-footer h5 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer a { display: block; color: #aebbd2; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .sf-bottom { text-align: center; padding: 14px; border-top: 1px solid #243049; color: #8090ab; font-size: 13px; }
.sf-trust { display: flex; align-items: center; gap: 10px; font-size: 13px; }

@media (max-width: 900px) {
  .trust-strip, .best-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item { padding: 20px 14px; }
  .routes-2col, .site-footer .sf-cols, .site-footer .sf-top { grid-template-columns: 1fr; }
}

/* ===== Responsive ===== */
/* ---- Responsive ---- */
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; }
  .results-layout .filters { display: none; }   /* replaced by the landscape #mFilterBar on mobile */
  .flight-card { grid-template-columns: 1fr; text-align: left; }
  .price-col { text-align: left; }
  .dash { grid-template-columns: 1fr; }
  .sidebar { display: flex; gap: 6px; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
  /* Header wraps; the menu becomes a horizontal swipeable strip so every item stays reachable */
  .topbar-inner { flex-wrap: wrap; height: auto; padding: 8px 14px; gap: 8px 12px; }
  .nav-spacer { display: none; }
  .nav-links { order: 5; width: 100%; margin-left: 0; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .nav-links a { white-space: nowrap; padding: 6px 10px; }
}

/* Compact "modify search" summary bar — only rendered/visible on phones once a search has run. */
.search-summary { display: none; }

/* ---- Phones: stack the flight search so From / To / dates align full-width ---- */
@media (max-width: 720px) {
  .hero { padding: 30px 18px 64px; }
  .hero h1 { font-size: 26px; line-height: 1.18; }
  .hero p { font-size: 15px; }
  .search-card { margin: -44px 12px 0; padding: 16px; border-radius: 14px; }
  /* On the results page (after a search) drop the big purple hero and pull the card to the top. */
  body.searched .hero { display: none; }
  body.searched .search-card { margin: 0; }
  /* Collapsed search card = a slim header bar with route summary + Modify (full form hidden). */
  .search-card.collapsed { margin: 0; padding: 10px 12px; border-radius: 0;
    position: sticky; top: var(--ss-top, 0px); z-index: 45; box-shadow: 0 2px 10px rgba(2,6,23,.10); }
  .search-card.collapsed .trip-tabs,
  .search-card.collapsed .search-fields,
  .search-card.collapsed #mcFields { display: none !important; }
  .search-card.collapsed .search-summary { display: flex; align-items: center; gap: 10px; }
  .search-summary .ss-edit { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid var(--border);
    border-radius: 10px; background: #fff; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
  .search-summary .ss-route { flex: 1 1 auto; min-width: 0; line-height: 1.22; }
  .search-summary .ss-cities { display: block; font-weight: 800; font-size: 16px; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search-summary .ss-meta { display: block; font-size: 12px; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search-summary .ss-modify { flex: 0 0 auto; padding: 9px 16px; border: 0; border-radius: 10px;
    background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
  .trip-tabs { flex-wrap: wrap; }
  .search-fields { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-fields .field,
  .search-fields .field-ap,
  .search-fields .field-date { flex: 1 1 auto; min-width: 0; width: 100%; }
  .search-fields > button[type="submit"] { width: 100%; min-width: 0; }
  /* Swap becomes a small circular control centered between From and To (arrows turn vertical) */
  .swap-btn { align-self: center; width: 40px; height: 40px; border-radius: 999px; transform: rotate(90deg); margin: -2px 0; box-shadow: 0 2px 8px rgba(16,24,40,.12); }
}

/* ---- Mobile airport picker (tap From/To -> full-screen list: Nearest, Recent, Popular, search) ---- */
.ac-mobile { position: fixed; inset: 0; z-index: 9999; background: #fff; display: flex; flex-direction: column; }
.acm-top { padding: 14px 12px 12px; display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 10px rgba(16,24,40,.06); }
.acm-back { border: 0; background: none; font-size: 32px; line-height: 1; color: #0f172a; width: 32px; cursor: pointer; }
.acm-field { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid #cdd4df; border-radius: 12px; padding: 7px 12px; }
.acm-ic { color: #94a3b8; font-size: 18px; }
.acm-fw { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.acm-fw label { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #64748b; }
.acm-fw .ac-msearch { border: 0; padding: 0; height: auto; font-size: 17px; outline: none; background: none; width: 100%; }
.acm-clear { border: 0; background: #111827; color: #fff; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; cursor: pointer; flex: none; }
.acm-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.acm-near { display: flex; align-items: center; gap: 12px; margin: 14px 12px; padding: 18px 16px; background: #f4f6fb; border-radius: 12px; font-size: 16px; font-weight: 600; color: #0f172a; cursor: pointer; }
.acm-near-ic { color: #ef4444; font-size: 20px; }

/* ============================================================
   HOTELS — search bar, calendar, rooms/guests, results (grid/list), detail hero, review
   ============================================================ */
:root { --hb-orange: #ff6b00; --hb-line: #e6e9ef; }
.hb-hero { background: linear-gradient(120deg,#0b4aa2,#062a63); color:#fff; padding: 34px 16px 70px; text-align:left; }
.hb-hero .hero-inner { max-width: 1180px; margin: 0 auto; }
.hb-hero h1 { margin:0 0 6px; font-size: 30px; font-weight: 800; }
.hb-hero p { margin:0; opacity:.9; font-size: 15px; }
/* search bar */
.hb-searchbar { max-width: 1180px; margin: -44px auto 0; padding: 0 16px; position: relative; z-index: 20; }
.hb-bar { background:#fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(2,6,23,.16); display:flex; align-items:stretch; overflow: visible; }
.hb-field { position: relative; padding: 12px 16px; border-right: 1px solid var(--hb-line); display:flex; flex-direction: column; justify-content:center; cursor: pointer; min-width: 0; }
.hb-field:last-of-type { border-right: 0; }
.hb-field .hb-lbl { font-size: 11px; font-weight: 700; letter-spacing:.04em; color:#8a93a6; text-transform: uppercase; margin-bottom: 3px; display:flex; align-items:center; gap:5px; }
.hb-field .hb-val { font-size: 16px; font-weight: 700; color:#1f2433; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hb-field .hb-sub { font-size: 11px; color:#8a93a6; }
.hb-field.hb-city { flex: 1.6 1 220px; }
.hb-field.hb-city input { border:0; outline:0; font-size:16px; font-weight:700; color:#1f2433; width:100%; padding:0; background:none; }
.hb-field.hb-dates { flex: 1.2 1 150px; }
.hb-field.hb-nights { flex: .6 1 80px; }
.hb-field.hb-guests { flex: 1.1 1 150px; }
.hb-search-btn { flex: 0 0 auto; background: var(--hb-orange); color:#fff; border:0; font-weight:800; font-size:16px; padding: 0 34px; cursor:pointer; border-radius: 0 14px 14px 0; letter-spacing:.02em; }
.hb-search-btn:hover { filter: brightness(.95); }
.hb-more { display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding: 10px 4px 0; color:#e8eefb; font-size: 13px; }
.hb-more .hb-chip { background: rgba(255,255,255,.14); color:#fff; border:0; padding:6px 12px; border-radius: 20px; font-size:13px; cursor:pointer; display:inline-flex; gap:6px; align-items:center; }
.hb-more select { background: rgba(255,255,255,.14); color:#fff; border:0; padding:6px 10px; border-radius: 20px; font-size:13px; }
.hb-more select option { color:#1f2433; }
/* popovers (calendar + guests) */
.hb-pop { position: absolute; top: calc(100% + 8px); background:#fff; border:1px solid var(--hb-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(2,6,23,.22); z-index: 60; padding: 14px; }
.hb-pop.hidden { display:none; }
/* calendar */
.hb-cal-wrap { display:flex; gap: 22px; }
@media(max-width:640px){ .hb-cal-wrap { flex-direction: column; gap:10px; } }
.hb-cal { width: 248px; }
.hb-cal-head { display:flex; align-items:center; justify-content:space-between; font-weight:800; color:#1f2433; margin-bottom:8px; }
.hb-cal-nav { border:1px solid var(--hb-line); background:#fff; width:30px;height:30px;border-radius:8px; cursor:pointer; font-size:16px; color:#475569; }
.hb-cal-grid { display:grid; grid-template-columns: repeat(7,1fr); gap:2px; }
.hb-cal-grid .dow { font-size:11px; color:#8a93a6; text-align:center; padding:4px 0; font-weight:700; }
.hb-day { text-align:center; padding:8px 0; font-size:13px; border-radius:8px; cursor:pointer; color:#1f2433; }
.hb-day:hover:not(.off):not(.disabled) { background:#fff1e8; }
.hb-day.off { visibility:hidden; }
.hb-day.disabled { color:#cbd2de; cursor:not-allowed; }
.hb-day.in-range { background:#fff1e8; border-radius:0; }
.hb-day.sel { background: var(--hb-orange); color:#fff; font-weight:800; }
/* guests popover */
.hb-guest-pop { width: 320px; }
.hb-room-blk { border-bottom:1px solid var(--hb-line); padding: 10px 0; }
.hb-room-blk:first-child { padding-top: 2px; }
.hb-room-h { font-weight:800; color: var(--hb-orange); margin-bottom:8px; font-size:14px; }
.hb-grow { display:flex; align-items:center; justify-content:space-between; margin: 7px 0; font-size:14px; color:#334155; }
.hb-step { display:flex; align-items:center; gap:10px; }
.hb-step button { width:30px;height:30px;border:1px solid #cdd4e0; background:#fff; border-radius:7px; font-size:17px; cursor:pointer; color:#334155; line-height:1; }
.hb-step button:disabled { opacity:.4; cursor:not-allowed; }
.hb-step span { min-width:18px; text-align:center; font-weight:700; }
.hb-guest-foot { display:flex; justify-content:space-between; align-items:center; padding-top:10px; }
.hb-link { background:none; border:0; color: var(--hb-orange); font-weight:700; cursor:pointer; font-size:14px; }
/* hotel results tabs */
.hb-tabs { display:flex; gap:0; border-bottom:2px solid var(--hb-line); margin:18px 0 0; }
.hb-tab { padding:11px 22px; font-size:14px; font-weight:600; border:none; background:none; color:#64748b; cursor:pointer; border-bottom:3px solid transparent; margin-bottom:-2px; transition:color .15s,border-color .15s; white-space:nowrap; }
.hb-tab:hover { color:#1a56db; }
.hb-tab.hb-tab-active { color:#1a56db; border-bottom-color:#1a56db; }
.hb-tab-save { background:#16a34a; color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:20px; margin-left:6px; vertical-align:middle; }
@media(max-width:600px){ .hb-tab { padding:10px 14px; font-size:13px; } .hb-tab-save { display:none; } }

/* results top bar */
.hb-rtop { display:flex; align-items:center; gap:14px; flex-wrap:wrap; background:#fff; border:1px solid var(--hb-line); border-radius:12px; padding:10px 14px; margin: 16px 0; }
.hb-rtop .hb-count { font-weight:700; color:#1f2433; }
.hb-rtop .hb-bc { color:#8a93a6; font-size:13px; }
.hb-sortsel { border:1px solid var(--hb-line); border-radius:8px; padding:7px 10px; font-size:13px; color:#334155; background:#fff; }
.hb-viewtog { display:inline-flex; border:1px solid var(--hb-line); border-radius:8px; overflow:hidden; margin-left:auto; }
.hb-viewtog button { border:0; background:#fff; padding:7px 12px; font-size:13px; font-weight:700; color:#64748b; cursor:pointer; }
.hb-viewtog button.on { background: var(--hb-orange); color:#fff; }
/* results layout */
.hb-rlayout { display:grid; grid-template-columns: 250px 1fr; gap:18px; align-items:start; }
@media(max-width:900px){ .hb-rlayout { grid-template-columns: 1fr; } .hb-filtcol { display:none; } .hb-filtcol.open { display:block; position:fixed; inset:0; z-index:9000; overflow:auto; background:#fff; padding:16px; } }
.hb-filtcol .card { position: sticky; top: 78px; }
.hb-fgroup { border-top:1px solid var(--hb-line); padding:12px 0; }
.hb-fgroup:first-child { border-top:0; }
.hb-fgroup h4 { margin:0 0 8px; font-size:13px; color:#1f2433; }
.hb-fgroup label { display:flex; align-items:center; gap:8px; font-size:13px; color:#475569; padding:3px 0; cursor:pointer; }
.hb-fgroup .muted { font-size:12px; }
/* hotel card: grid + list */
.hb-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap:16px; }
.hb-hcard { background:#fff; border:1px solid var(--hb-line); border-radius:12px; overflow:hidden; display:flex; flex-direction:column; transition: box-shadow .15s; }
.hb-hcard:hover { box-shadow: 0 10px 30px rgba(2,6,23,.12); }
.hb-hphoto { position:relative; height:180px; background-size:cover; background-position:center; }
.hb-hphoto .hb-bestrate, .hb-carousel .hb-bestrate { position:absolute; top:10px; left:0; z-index:3; background: var(--hb-orange); color:#fff; font-size:11px; font-weight:800; padding:4px 10px 4px 8px; border-radius:0 6px 6px 0; }
.hb-hphoto .hb-fav, .hb-carousel .hb-fav { position:absolute; top:10px; right:10px; z-index:3; background:rgba(255,255,255,.9); border:0; width:32px;height:32px;border-radius:50%; cursor:pointer; font-size:15px; }
.hb-hphoto .hb-imgcount, .hb-carousel .hb-imgcount { position:absolute; bottom:10px; left:10px; z-index:3; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:2px 8px; border-radius:6px; }
/* swipeable image carousel (hotel + room pics) on result cards */
.hb-carousel { position:relative; height:180px; overflow:hidden; background:#eef1f5; }
.hb-track { display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.hb-track::-webkit-scrollbar { display:none; }
.hb-slide { position:relative; flex:0 0 100%; height:100%; scroll-snap-align:center; background-size:cover; background-position:center; }
.hb-slidetag { position:absolute; bottom:8px; right:8px; background:rgba(0,0,0,.55); color:#fff; font-size:10px; font-weight:700; padding:2px 7px; border-radius:5px; }
.hb-dots { position:absolute; bottom:8px; left:0; right:0; display:flex; justify-content:center; gap:5px; pointer-events:none; z-index:3; }
.hb-dots .dot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.6); transition:.2s; }
.hb-dots .dot.on { background:#fff; width:16px; border-radius:3px; }
.hb-cnav { position:absolute; top:50%; transform:translateY(-50%); width:28px; height:28px; border-radius:50%; border:0; background:rgba(255,255,255,.85); color:#1f2433; font-size:16px; cursor:pointer; display:none; align-items:center; justify-content:center; z-index:3; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.hb-carousel:hover .hb-cnav { display:flex; }
.hb-cnav.prev { left:6px; } .hb-cnav.next { right:6px; }
.hb-list .hb-carousel { width:260px; flex:none; height:220px; }
@media(max-width:640px){ .hb-list .hb-carousel { width:100%; height:180px; } .hb-cnav { display:none !important; } }
.hb-hbody { padding:12px 14px; display:flex; flex-direction:column; gap:6px; flex:1; }
.hb-hname { font-size:16px; font-weight:800; color:#1f2433; line-height:1.2; }
.hb-stars { color:#f5a623; font-size:13px; }
.hb-hloc { color:#8a93a6; font-size:13px; }
.hb-amen { color:#64748b; font-size:12px; }
.hb-cxl { font-size:12px; font-weight:700; }
.hb-cxl.free { color:#16a34a; }
.hb-cxl.nonref { color:#9aa3b2; }
.hb-hfoot { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:8px; padding-top:8px; }
.hb-rate { display:inline-flex; align-items:center; gap:6px; }
.hb-ratepill { background:#1a7f37; color:#fff; font-size:12px; font-weight:800; padding:2px 7px; border-radius:6px; }
.hb-price-wrap { text-align:right; }
.hb-pn { color:#8a93a6; font-size:12px; }
.hb-total { font-size:20px; font-weight:800; color:#1f2433; }
.hb-tax { color:#8a93a6; font-size:11px; }
.hb-selbtn { background: var(--hb-orange); color:#fff; border:0; border-radius:8px; padding:9px 16px; font-weight:800; font-size:13px; cursor:pointer; }
.hb-selbtn.ghost { background:#fff; color: var(--hb-orange); border:1px solid var(--hb-orange); }
/* list view container + card */
.hb-list { display:flex; flex-direction:column; gap:12px; }
.hb-lcard { background:#fff; border:1px solid var(--hb-line); border-radius:12px; overflow:hidden; display:flex; flex-direction:row; text-decoration:none; color:inherit; transition:box-shadow .15s; }
.hb-lcard:hover { box-shadow: 0 8px 28px rgba(2,6,23,.13); }
/* photo panel: fixed 260 px left column */
.hb-lphoto { width:260px; min-width:260px; flex:none; position:relative; background-size:cover; background-position:center; min-height:210px; overflow:hidden; }
.hb-lcard .hb-hbody { flex:1; padding:16px 18px; display:flex; flex-direction:column; justify-content:space-between; gap:8px; min-width:0; }
.hb-lfoot { margin-top:auto; }
/* badge + overlays inside the photo panel */
.hb-lphoto .hb-fav { position:absolute; top:10px; right:10px; z-index:3; background:rgba(255,255,255,.9); border:0; width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:15px; }
.hb-lphoto .hb-imgcount { position:absolute; bottom:10px; left:10px; z-index:3; background:rgba(0,0,0,.6); color:#fff; font-size:11px; padding:2px 8px; border-radius:6px; }
.hb-lphoto .hb-trending { position:absolute; top:42px; left:0; z-index:3; background:#ef4444; color:#fff; font-size:10px; font-weight:800; padding:3px 8px 3px 6px; border-radius:0 5px 5px 0; }
.hb-lbadge { position:absolute; top:10px; left:0; z-index:3; background:var(--hb-orange); color:#fff; font-size:11px; font-weight:800; padding:4px 10px 4px 8px; border-radius:0 6px 6px 0; }
/* hotel initial-letter avatar — shown while image loads or when no image */
.hb-img-av { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:72px; font-weight:900; color:rgba(255,255,255,.28); line-height:1; pointer-events:none; user-select:none; letter-spacing:-2px; }
.hb-lphoto .hb-img-av, .hb-slide .hb-img-av { font-size:64px; }
/* fade-in when lazy image finishes loading */
@keyframes hb-fadein { from { opacity:0 } to { opacity:1 } }
.hb-img-ok { animation: hb-fadein .35s ease; }
/* fade-in helper for elements that get their image injected after render */
@keyframes hb-shimmer { 0% { transform:translateX(-100%) } 100% { transform:translateX(200%) } }
@media(max-width:680px){ .hb-lcard { flex-direction:column; } .hb-lphoto { width:100%; min-width:0; min-height:180px; } }
/* room image div (replaced <img>) */
.hb-droom-img { width:130px; height:96px; border-radius:8px; overflow:hidden; flex-shrink:0; }
.hb-droom img { display:none; }
.hb-droom .hb-droom-img { width:130px; height:96px; border-radius:8px; }
/* legacy hb-list hb-hphoto override */
.hb-list .hb-hphoto { width:260px; flex:none; }
/* detail hero */
.hb-back { background:none; border:0; color: var(--hb-orange); font-weight:700; cursor:pointer; font-size:14px; margin:14px 0 8px; }
.hb-gallery { display:grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap:8px; height:360px; border-radius:14px; overflow:hidden; }
@media(max-width:760px){ .hb-gallery { grid-template-columns: 1fr 1fr; height:300px; } }
.hb-gallery .g-img { background-size:cover; background-position:center; }
.hb-gallery .g-main { grid-row: 1/3; grid-column: 1; }
.hb-dhead { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:16px 0 6px; }
.hb-dhead h1 { font-size:24px; margin:0; color:#1f2433; }
.hb-droom { border:1px solid var(--hb-line); border-radius:12px; padding:14px; margin-bottom:12px; display:grid; grid-template-columns: 130px 1fr auto; gap:14px; align-items:center; background:#fff; }
@media(max-width:640px){ .hb-droom { grid-template-columns: 1fr; } }
.hb-droom img { width:130px; height:96px; object-fit:cover; border-radius:8px; }
.hb-droom .hb-droom-img { width:130px; height:96px; border-radius:8px; }
.hb-badge { display:inline-block; font-size:11px; font-weight:700; padding:2px 8px; border-radius:6px; }
.hb-badge.green { background:#e7f6ec; color:#1a7f37; }
.hb-badge.grey { background:#eef1f5; color:#64748b; }
/* review page */
.hb-rev { display:grid; grid-template-columns: 1fr 320px; gap:18px; align-items:start; margin-top:14px; }
@media(max-width:900px){ .hb-rev { grid-template-columns: 1fr; } }
.hb-card { background:#fff; border:1px solid var(--hb-line); border-radius:12px; padding:16px; margin-bottom:14px; }
.hb-card h3 { margin:0 0 12px; font-size:16px; color:#1f2433; }
.hb-summary { position: sticky; top: 78px; }
.hb-srow { display:flex; justify-content:space-between; font-size:14px; padding:6px 0; color:#475569; }
.hb-srow.tot { font-weight:800; color:#1f2433; border-top:1px solid var(--hb-line); padding-top:10px; margin-top:4px; font-size:16px; }
.hb-paybtn { width:100%; background: var(--hb-orange); color:#fff; border:0; border-radius:9px; padding:13px; font-weight:800; font-size:15px; cursor:pointer; margin-top:10px; }
.hb-finput { width:100%; border:1px solid #cdd4e0; border-radius:8px; padding:10px 12px; font-size:14px; }
.hb-fgrid { display:grid; grid-template-columns: 100px 1fr 1fr; gap:10px; }
@media(max-width:640px){ .hb-fgrid { grid-template-columns:1fr; } }
.hb-flbl { font-size:12px; color:#64748b; font-weight:600; margin-bottom:4px; display:block; }
.hb-policy { width:100%; border-collapse:collapse; font-size:13px; }
.hb-policy th, .hb-policy td { border:1px solid var(--hb-line); padding:8px 10px; text-align:left; }
.hb-policy th { background:#f7f9fc; color:#475569; font-weight:700; }
.hb-modebadge { display:inline-block; background:#eef3ff; color:#1d4ed8; font-size:11px; font-weight:700; padding:3px 9px; border-radius:6px; }
.acm-near .acm-chev { margin-left: auto; color: #94a3b8; font-size: 22px; }
.acm-sec { padding: 14px 16px 8px; font-size: 15px; font-weight: 700; color: #475569; }
.acm-chips { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 6px; -webkit-overflow-scrolling: touch; }
.acm-chip { flex: 0 0 auto; border: 1px solid #cdd4df; background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; color: #0f172a; cursor: pointer; white-space: nowrap; }
.ac-mobile .ac-item { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid #f1f5f9; cursor: pointer; }
.ac-mobile .ac-info { flex: 1; min-width: 0; }
.ac-mobile .ac-city { font-size: 16px; color: #0f172a; } .ac-mobile .ac-city .ac-codei { color: #475569; }
.ac-mobile .ac-name { font-size: 13px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-mobile .ac-flag { font-size: 26px; line-height: 1; flex: none; }
.ac-mobile .ac-empty { padding: 20px 16px; color: #94a3b8; }

/* ---- Mobile search-result filters: bottom-sticky Filters/Sort bar + full filter sheet ---- */
#mFilterBar { display: none; }
@media (max-width: 900px) {
  #mFilterBar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -3px 14px rgba(16,24,40,.12); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
  .mfb-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 12px; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; }
  .mfb-btn span { font-size: 17px; }
  .mfb-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
  .mfb-badge { background: #fff; color: var(--brand); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 1px 7px; font-style: normal; }
  .results-layout { margin-bottom: 78px; }
  /* filter / sort bottom sheet */
  .mf-sheet-ov { position: fixed; inset: 0; z-index: 9998; background: rgba(15,23,42,.45); display: flex; align-items: flex-end; }
  .mf-sheet { background: #f4f6fb; width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; animation: mfUp .2s ease; }
  @keyframes mfUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .mf-sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--border); border-radius: 18px 18px 0 0; }
  .mf-sheet-h b { font-size: 17px; }
  .mf-x { border: 0; background: none; font-size: 17px; color: #334155; cursor: pointer; }
  .mf-reset { border: 0; background: none; color: #ef4444; font-weight: 700; font-size: 15px; cursor: pointer; min-width: 50px; text-align: right; }
  .mf-sheet-b { overflow-y: auto; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
  .mf-sheet-b h4 { font-size: 16px; font-weight: 800; margin: 18px 0 10px; }
  .mf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .mf-chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
  .mf-chip.on { background: #fff1f1; color: #ef4444; border-color: #ef4444; }
  .mf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mf-card { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 12px 10px; text-align: center; display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
  .mf-card b { font-size: 14px; color: var(--text); } .mf-card span { font-size: 12px; color: var(--muted); }
  .mf-card.on { border-color: #ef4444; background: #fff1f1; }
  .mf-opt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; margin-bottom: 8px; font-size: 14px; }
  .mf-sortopt { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px; margin: 8px 0 0; font-size: 15px; cursor: pointer; color: var(--text); }
  .mf-sortopt.on { border-color: #ef4444; color: #ef4444; font-weight: 700; }
  .mf-sheet-f { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); }
  .mf-apply { width: 100%; background: var(--brand); color: #fff; border: 0; border-radius: 12px; padding: 14px; font-weight: 800; font-size: 16px; cursor: pointer; }
}

/* Hotels: when the hero is hidden (results / detail / review) the search bar must NOT slide up under
   the sticky topbar — drop the negative overlap and sit it in normal flow (all widths). */
.hb-hero.hidden + .hb-searchbar { margin-top: 14px; }
/* Hotels — phones: stack the search fields full-width, keep clear of the topbar, full-width popovers. */
@media (max-width: 760px) {
  .hb-hero { padding: 22px 14px 48px; }
  .hb-hero h1 { font-size: 21px; line-height: 1.2; }
  .hb-hero p { font-size: 13px; }
  .hb-searchbar { margin: -34px auto 0; padding: 0 10px; }
  .hb-hero.hidden + .hb-searchbar { margin-top: 10px; }
  .hb-bar { flex-direction: column; align-items: stretch; }
  .hb-field { border-right: 0; border-bottom: 1px solid var(--hb-line); padding: 11px 14px; flex: 1 1 auto !important; }
  .hb-field:last-of-type { border-bottom: 0; }
  .hb-field .hb-val { font-size: 15px; }
  .hb-search-btn { width: 100%; border-radius: 0 0 14px 14px; padding: 14px; }
  .hb-pop { left: 8px; right: 8px; width: auto; max-height: 72vh; overflow: auto; }
  .hb-cal-wrap { flex-direction: column; gap: 8px; }
  .hb-cal { width: 100%; }
  .hb-guest-pop { width: auto; }
  .hb-more { padding: 8px 4px 0; gap: 10px; }
  .hb-rtop { gap: 8px; padding: 10px; }
  .hb-viewtog { margin-left: 0; }
  .hb-rlayout { gap: 12px; }
  .hb-gallery { height: 220px; grid-template-columns: 1fr 1fr; }
  .hb-gallery .g-main { grid-row: 1; grid-column: 1 / -1; }
  .hb-dhead h1 { font-size: 20px; }
}

/* Hotels — full-screen mobile date sheet (Agoda-style: vertical month scroll, range select, Confirm) */
.hb-calsheet { position:fixed; inset:0; z-index:10000; background:#fff; display:none; flex-direction:column; }
.hb-calsheet.open { display:flex; }
.hb-cs-head { display:flex; align-items:center; gap:14px; padding:14px 16px; border-bottom:1px solid var(--hb-line); font-size:19px; font-weight:800; color:#1f2433; flex:0 0 auto; }
.hb-cs-x { border:0; background:none; font-size:22px; line-height:1; cursor:pointer; color:#1f2433; padding:0; }
.hb-cs-dow { display:grid; grid-template-columns:repeat(7,1fr); padding:10px 10px; background:#eef3ff; flex:0 0 auto; }
.hb-cs-dow span { text-align:center; font-size:13px; font-weight:700; color:#475569; }
.hb-cs-scroll { flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:4px 10px 16px; }
.hb-cs-month h3 { text-align:center; font-size:17px; font-weight:800; color:#1f2433; margin:20px 0 8px; }
.hb-cs-grid { display:grid; grid-template-columns:repeat(7,1fr); }
.hb-cs-day { border:0; background:none; padding:13px 0; font-size:15px; cursor:pointer; color:#1f2433; }
.hb-cs-day.off { visibility:hidden; }
.hb-cs-day.disabled { color:#cbd2de; cursor:default; }
.hb-cs-day.in-range { background:#e8f0fe; }
.hb-cs-day.sel { background:var(--brand); color:#fff; font-weight:800; }
.hb-cs-day.sel.cin { border-radius:10px 0 0 10px; }
.hb-cs-day.sel.cout { border-radius:0 10px 10px 0; }
.hb-cs-day.sel:not(.cin):not(.cout) { border-radius:10px; }
.hb-cs-foot { border-top:1px solid var(--hb-line); padding:12px 16px calc(12px + env(safe-area-inset-bottom)); flex:0 0 auto; }
.hb-cs-sel { display:flex; align-items:center; justify-content:space-around; margin-bottom:10px; }
.hb-cs-sel .lbl { font-size:12px; color:#8a93a6; }
.hb-cs-sel b { font-size:16px; color:#1f2433; }
.hb-cs-sel .arr { color:#8a93a6; font-size:18px; }
.hb-cs-confirm { width:100%; background:var(--brand); color:#fff; border:0; border-radius:12px; padding:15px; font-size:16px; font-weight:800; cursor:pointer; }
.hb-cs-confirm:disabled { opacity:.45; }

/* ---- Mobile fit: never force horizontal zoom-out; fit content to the device width ---- */
html,body{max-width:100%;overflow-x:hidden}
img,table,iframe,video{max-width:100%}
@media(max-width:640px){.notif-panel{width:calc(100vw - 20px)!important;max-width:340px;right:0}.container{padding-left:14px;padding-right:14px}}

/* CLS mitigation: reserve space so async images / menus don't shift the layout */
.topbar-inner{min-height:56px}
.user-menu{min-height:38px;display:flex;align-items:center;justify-content:flex-end}
#annStrip:empty,#recentSearches:empty{display:none}
/* Hotel detail map */
.hb-map-section{margin-top:28px;padding-top:20px;border-top:1px solid var(--hb-line)}
.hb-map{width:100%;height:340px;border-radius:14px;overflow:hidden;border:1px solid var(--hb-line);background:#eef1f5}
@media(max-width:600px){.hb-map{height:240px}}
/* Hotel results map view */
#hbResultsMap{width:100%;height:620px;border-radius:12px;overflow:hidden;border:1px solid var(--hb-line);background:#eef1f5}
@media(max-width:640px){#hbResultsMap{height:400px}}
.hb-map-iw{width:220px;font-family:inherit}
.hb-map-iw .miw-img{width:100%;height:130px;object-fit:cover;border-radius:8px;margin-bottom:8px;display:block;background:#e5e7eb}
.hb-map-iw .miw-name{font-weight:700;font-size:14px;line-height:1.3;margin-bottom:2px;color:#111827}
.hb-map-iw .miw-stars{color:#f59e0b;font-size:11px;letter-spacing:1px}
.hb-map-iw .miw-loc{font-size:11px;color:#6b7280;margin:2px 0 6px}
.hb-map-iw .miw-price{font-size:17px;font-weight:800;color:#1a56db}
.hb-map-iw .miw-pnight{font-size:11px;font-weight:400;color:#6b7280}
.hb-map-iw .miw-rating{font-size:12px;color:#374151;margin:3px 0 8px}
.hb-map-iw .miw-btn{display:block;width:100%;background:#1a56db;color:#fff;border:none;padding:9px;border-radius:8px;font-weight:700;cursor:pointer;font-size:13px;text-align:center}
.hb-map-iw .miw-btn:hover{background:#1e40af}
/* suppress Google's default InfoWindow chrome */
.gm-style .gm-style-iw-c{padding:0!important;border-radius:12px!important;box-shadow:0 4px 24px rgba(0,0,0,.18)!important}
.gm-style .gm-style-iw-d{overflow:hidden!important;padding:14px!important}
.gm-style .gm-style-iw-tc::after{background:#fff}
.best-card img,#bestGrid img,#holidayGrid img,.bg-card img,.why-item img,.hol-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}

/* ---- Hotels page upgrades ---- */
/* Hero */
.hb-hero { background: linear-gradient(135deg, #0c1a4f 0%, #1a56db 60%, #0284c7 100%) !important; }
.hb-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 14px; font-size: 12px; font-weight: 700; margin-bottom: 14px; letter-spacing: .01em; }
.hb-dest-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hb-dest-chip { background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.hb-dest-chip:hover { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.5); }
@media(max-width:760px){ .hb-hero-badge { font-size: 11px; } .hb-dest-chip { font-size: 12px; padding: 7px 13px; } }

/* Destination destination-type tag on the thumb */
.best-thumb { position: relative; }
.hb-dest-tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 5px; backdrop-filter: blur(4px); }

/* Why book row */
.hb-why-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 10px; }
@media(max-width:640px){ .hb-why-row { grid-template-columns: 1fr 1fr; } }
.hb-why-item { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--hb-line); border-radius: 12px; padding: 16px 10px; gap: 4px; }
.hb-why-ico { font-size: 22px; }
.hb-why-item b { font-size: 13px; color: #1f2433; }
.hb-why-item span { font-size: 12px; color: #8a93a6; }

/* Hotel card: trending badge */
.hb-trending { position: absolute; top: 10px; right: 50px; z-index: 3; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 5px; pointer-events: none; }

/* Hotel card: amenity chip tags */
.hb-amen-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 3px 0 2px; }
.hb-amen-tag { background: #f0f4ff; color: #3b5bdb; font-size: 11px; padding: 2px 8px; border-radius: 5px; white-space: nowrap; }

/* Nearby tag */
.hb-nearby-tag { display: inline-block; background: #fff3cd; color: #856404; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-left: 4px; vertical-align: middle; }

/* ---- Hotel detail gallery (5-panel Airbnb-style) ---- */
.hb-dtgallery { display: grid; grid-template-columns: 3fr 2fr; height: 480px; gap: 5px; border-radius: 14px; overflow: hidden; margin-bottom: 20px; cursor: pointer; }
@media(max-width:720px) { .hb-dtgallery { grid-template-columns: 1fr; height: 240px; } .hb-dtg-side { display: none; } }
.hb-dtg-main { background-size: cover; background-position: center; position: relative; transition: filter .2s; }
.hb-dtg-main:hover { filter: brightness(.93); }
.hb-dtg-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; }
.hb-dtg-thumb { background-size: cover; background-position: center; transition: filter .2s; cursor: pointer; }
.hb-dtg-thumb:hover { filter: brightness(.88); }
.hb-dtg-more { display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.56); cursor: pointer; font-size: 13px; font-weight: 700; color: #fff; transition: background .15s; }
.hb-dtg-more:hover { background: rgba(0,0,0,.72); }
.hb-360btn { position: absolute; bottom: 14px; left: 14px; background: rgba(0,0,0,.72); color: #fff; border: 1.5px solid rgba(255,255,255,.4); border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s; z-index: 2; }
.hb-360btn:hover { background: rgba(0,0,0,.9); }
/* See all photos button on main gallery image */
.hb-see-all-photos { position: absolute; bottom: 14px; right: 14px; background: rgba(255,255,255,.92); color: #111827; border: none; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.hb-see-all-photos:hover { background: #fff; }
/* Sidebar filter label style */
.hb-fchk { display:flex; align-items:center; gap:8px; font-size:13px; color:#374151; padding:4px 0; cursor:pointer; }
.hb-fchk input { cursor:pointer; accent-color:#2563eb; }
.hb-fcnt { margin-left:auto; font-size:11px; color:#9ca3af; background:#f3f4f6; border-radius:4px; padding:1px 6px; }
/* Room inclusions filter chips */
.hb-room-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.hb-room-chip { background:#f3f4f6; border:1.5px solid #e5e7eb; color:#374151; border-radius:20px; padding:7px 16px; font-size:13px; font-weight:600; cursor:pointer; transition:all .15s; white-space:nowrap; }
.hb-room-chip:hover { border-color:#2563eb; color:#2563eb; background:#eff6ff; }
.hb-room-chip.active { background:#2563eb; border-color:#2563eb; color:#fff; }

/* ---- Promoted hotel badge ---- */
.hb-promo-badge { position: absolute; top: 10px; left: 10px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; letter-spacing: .3px; z-index: 3; box-shadow: 0 2px 8px rgba(99,102,241,.4); }

/* ---- Feature: Urgency signals ---- */
.urg-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.urg-rooms { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.urg-view  { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.urg-book  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 600; }

/* ---- Feature: Recently viewed ---- */
#hbRecentViewed { padding: 16px 0; }
.hb-rv-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.hb-rv-row::-webkit-scrollbar { display: none; }
.hb-rv-card { min-width: 160px; max-width: 160px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: box-shadow .15s; flex-shrink: 0; }
.hb-rv-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); border-color: var(--brand); }
.hb-rv-img { height: 90px; background-size: cover; background-position: center; }
.hb-rv-info { padding: 8px 10px 10px; }
.hb-rv-name { font-weight: 700; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-rv-loc  { font-size: 11px; color: var(--muted); margin: 2px 0; }
.hb-rv-price { font-size: 12px; color: var(--brand); font-weight: 700; }
.hb-rv-price span { font-weight: 400; color: var(--muted); }

/* ---- Feature: Room comparison table ---- */
.rcmp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rcmp-table th, .rcmp-table td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; }
.rcmp-table thead th { background: #f8faff; font-weight: 700; }
.rcmp-col { min-width: 160px; }
.rcmp-lbl { font-weight: 600; color: var(--muted); white-space: nowrap; background: #f8faff; }
.rcmp-val { vertical-align: middle; }
@media(max-width:600px) { .rcmp-table { font-size: 12px; } .rcmp-table th, .rcmp-table td { padding: 7px 8px; } }

/* ---- Feature: Price calendar ---- */
.pca-wrap { background: #f8faff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.pca-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--text); }
.pca-legend { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 400; color: var(--muted); }
.pca-leg { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.pca-leg.low  { background: #d1fae5; }
.pca-leg.high { background: #fee2e2; }
.pca-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pca-scroll::-webkit-scrollbar { display: none; }
.pca-day { min-width: 60px; border: 1.5px solid transparent; border-radius: 10px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; flex-shrink: 0; }
.pca-day:hover { border-color: var(--brand); box-shadow: 0 2px 8px rgba(10,100,255,.12); }
.pca-day.sel { border-color: var(--brand); background: var(--brand); color: #fff; }
.pca-day.sel .pca-price { color: rgba(255,255,255,.85); }
.pca-day.in-range { background: #eff6ff; border-color: #bfdbfe; }
.pca-day.wknd .pca-dow { color: #dc2626; }
.pca-day.heat0 { background: #d1fae5; }
.pca-day.heat1 { background: #fef9c3; }
.pca-day.heat2 { background: #fed7aa; }
.pca-day.heat3 { background: #fee2e2; }
.pca-day.sel { background: var(--brand) !important; }
.pca-dow   { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.pca-date  { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.2; }
.pca-price { font-size: 10px; color: var(--brand); font-weight: 700; margin-top: 2px; white-space: nowrap; }

/* ---- Feature: Guest reviews ---- */
.rev-section { margin: 24px 0 20px; }
.rev-overview { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 18px; }
.rev-score-big { text-align: center; min-width: 90px; }
.rev-big-num { font-size: 42px; font-weight: 900; color: var(--text); line-height: 1; display: block; }
.rev-big-stars { font-size: 18px; color: #f59e0b; display: block; margin: 2px 0; }
.rev-cats { flex: 1; }
.rev-cat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.rev-cat-lbl { font-size: 12px; font-weight: 600; color: var(--text); min-width: 80px; }
.rev-cat-bar { flex: 1; height: 7px; background: var(--border); border-radius: 4px; overflow: hidden; }
.rev-cat-fill { height: 100%; background: #f59e0b; border-radius: 4px; }
.rev-cat-score { font-size: 12px; font-weight: 700; color: var(--text); min-width: 28px; text-align: right; }
.rev-cards-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rev-card { background: #f8faff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rev-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.rev-name { font-weight: 700; font-size: 13px; color: var(--text); }
.rev-stars { font-size: 13px; color: #f59e0b; }
.rev-text { font-size: 13px; color: var(--text); margin: 0; line-height: 1.55; }

/* ---- Feature: Nearby attractions ---- */
.nearby-section { margin: 20px 0; }
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.nearby-item { display: flex; align-items: flex-start; gap: 10px; background: #f8faff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }

/* ════════════════════════════════════════════════════════════════════════════
   FLIGHT + HOTEL DEALS MODULE  (.fh-*)
   Tier cards with 3 selectable NR-first flight rows + return flight section.
   ════════════════════════════════════════════════════════════════════════════ */
#fhWrap { margin: 28px auto; }
.fh-box { background: var(--card,#fff); border: 1.5px solid var(--border,#e2e8f0); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(26,86,219,.07); }

/* Header */
.fh-header { background: linear-gradient(135deg,#1a56db 0%,#6c47db 100%); color: #fff; padding: 20px 24px 16px; }
.fh-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fh-icon-title { font-size: 22px; }
.fh-main-title { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.fh-discount-pill { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 3px 12px; font-size: 12px; font-weight: 700; margin-left: auto; white-space: nowrap; }
.fh-subtitle { margin: 6px 0 0; font-size: 13px; opacity: .82; }

/* From bar */
.fh-from-bar { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: #f8faff; border-bottom: 1px solid var(--border,#e2e8f0); flex-wrap: wrap; }
.fh-from-lbl { font-size: 13px; font-weight: 700; color: var(--text,#1e293b); white-space: nowrap; }
.fh-origin-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.fh-ochip { background: #fff; border: 1.5px solid var(--border,#e2e8f0); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 4px; color: var(--text,#1e293b); }
.fh-ochip.on { background: #1a56db; color: #fff; border-color: #1a56db; }
.fh-ochip:hover:not(.on) { border-color: #1a56db; color: #1a56db; }
.fh-ocity { font-size: 11px; font-weight: 400; opacity: .7; }
.fh-custom-origin { display: flex; gap: 5px; align-items: center; }
.fh-origin-inp { border: 1.5px solid var(--border,#e2e8f0); border-radius: 8px; padding: 5px 10px; font-size: 13px; width: 130px; text-transform: uppercase; }
.fh-go { background: #1a56db; color: #fff; border: 0; border-radius: 8px; padding: 5px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }

/* Tier tabs */
.fh-tier-row { display: flex; gap: 6px; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--border,#e2e8f0); }
.fh-tier { background: #f1f5f9; border: 1.5px solid var(--border,#e2e8f0); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s; color: var(--text,#1e293b); }
.fh-tier.on { background: #1a56db; color: #fff; border-color: #1a56db; }

/* Card list */
#fhCards { padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.fh-loading { display: flex; align-items: center; gap: 12px; padding: 28px 0; color: var(--muted,#64748b); font-size: 14px; }
.fh-spin { width: 22px; height: 22px; border: 3px solid #e2e8f0; border-top-color: #1a56db; border-radius: 50%; animation: fh-rotate .7s linear infinite; flex-shrink: 0; }
@keyframes fh-rotate { to { transform: rotate(360deg); } }
.fh-msg { padding: 0 24px 16px; font-size: 13px; }
.fh-err { color: #dc2626; }
.fh-empty { color: var(--muted,#64748b); }
.fh-found { color: #16a34a; font-weight: 600; }

/* Tier card */
.fh-card { border: 1.5px solid var(--border,#e2e8f0); border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .15s; }
.fh-card:hover { box-shadow: 0 6px 24px rgba(26,86,219,.1); }
.fh-card-badge { padding: 6px 16px; font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.fh-badge-budget  { background: #f0fdf4; color: #15803d; border-bottom: 1px solid #bbf7d0; }
.fh-badge-comfort { background: #eff6ff; color: #1d4ed8; border-bottom: 1px solid #bfdbfe; }
.fh-badge-luxury  { background: #faf5ff; color: #7e22ce; border-bottom: 1px solid #e9d5ff; }

/* Hotel summary strip */
.fh-card-htl { padding: 14px 18px 10px; border-bottom: 1px solid var(--border,#e2e8f0); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.fh-htl-stars { color: #f59e0b; font-size: 13px; margin-right: 4px; }
.fh-htl-name { font-size: 15px; font-weight: 800; color: var(--text,#1e293b); }
.fh-htl-loc { font-size: 12px; color: var(--muted,#64748b); margin-left: 6px; }
.fh-htl-row2 { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.fh-amens { font-size: 12px; color: var(--muted,#64748b); }
.fh-htl-price { font-size: 15px; font-weight: 800; color: #1a56db; }
.fh-per { font-size: 11px; color: var(--muted,#64748b); margin-left: 2px; font-weight: 400; }

/* Flight rows section */
.fh-fl-section { padding: 14px 18px 10px; }
.fh-fl-hdr { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted,#64748b); letter-spacing: .5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fh-nr-note { font-size: 11px; text-transform: none; color: #7c3aed; font-weight: 600; letter-spacing: 0; }
.fh-no-flights { font-size: 13px; color: var(--muted,#64748b); padding: 8px 0; }

/* Flight row (selectable) */
.fh-fl-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--border,#e2e8f0); border-radius: 10px; margin-bottom: 8px; cursor: pointer; transition: all .15s; background: #fff; }
.fh-fl-row.on { border-color: #1a56db; background: #eff6ff; }
.fh-fl-row:hover:not(.on) { border-color: #93c5fd; background: #f8faff; }
.fh-fl-radio { font-size: 16px; color: #1a56db; flex-shrink: 0; width: 16px; }
.fh-al-dot { width: 38px; height: 38px; border-radius: 50%; background: #f1f5f9; border: 1.5px solid var(--border,#e2e8f0); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #1a56db; flex-shrink: 0; }
.fh-fl-detail { flex: 1; min-width: 0; }
.fh-fl-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.fh-fl-route { font-size: 14px; font-weight: 800; color: var(--text,#1e293b); }
.fh-flarrow { color: #94a3b8; font-weight: 400; }
.fh-fl-times { font-size: 13px; color: var(--text,#1e293b); font-weight: 600; }
.fh-fl-dur { background: #f1f5f9; border-radius: 6px; padding: 1px 7px; font-size: 11px; font-weight: 600; color: var(--text,#1e293b); }
.fh-fl-bot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fh-fl-stops { font-size: 12px; color: #d97706; font-weight: 600; }
.fh-fl-stops.ns { color: #16a34a; }
.fh-fl-cabin, .fh-fl-bag { font-size: 11px; color: var(--muted,#64748b); }
.fh-fl-nr { font-size: 11px; background: #fdf4ff; color: #7e22ce; border-radius: 6px; padding: 1px 7px; font-weight: 700; }
.fh-fl-ref { font-size: 11px; background: #f0fdf4; color: #15803d; border-radius: 6px; padding: 1px 7px; font-weight: 700; }
.fh-fl-seats { font-size: 11px; color: #dc2626; font-weight: 700; }
.fh-fl-price-col { text-align: right; flex-shrink: 0; padding-left: 6px; }
.fh-fl-pp { font-size: 15px; font-weight: 800; color: var(--text,#1e293b); }
.fh-fl-ppsub { font-size: 10px; color: var(--muted,#64748b); }

/* Return flight section */
.fh-ret-section { padding: 4px 18px 14px; }
.fh-ret-add-btn { background: #f1f5f9; border: 1.5px dashed #cbd5e1; color: #1a56db; border-radius: 8px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; width: 100%; transition: all .15s; }
.fh-ret-add-btn:hover { background: #eff6ff; border-color: #1a56db; }
.fh-ret-open { background: #fafbff; border-top: 1px solid var(--border,#e2e8f0); margin-top: 0; padding-top: 12px; }
.fh-ret-hdr { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted,#64748b); letter-spacing: .5px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.fh-ret-cancel { background: none; border: 1px solid #fca5a5; color: #dc2626; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; cursor: pointer; }
.fh-ret-loading, .fh-ret-none { font-size: 13px; color: var(--muted,#64748b); padding: 10px 0; display: flex; align-items: center; gap: 8px; }
.fh-spin-sm { width: 16px; height: 16px; border: 2px solid #e2e8f0; border-top-color: #1a56db; border-radius: 50%; animation: fh-rotate .7s linear infinite; flex-shrink: 0; }
.fh-fl-ret { background: #f8faff; }

/* Card footer — pricing + book */
.fh-card-footer { background: #f8faff; border-top: 1px solid var(--border,#e2e8f0); padding: 14px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fh-total-col { flex: 1; min-width: 0; }
.fh-raw { font-size: 12px; color: var(--muted,#64748b); }
.fh-raw s { color: #94a3b8; }
.fh-pkg-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.fh-pkg-price { font-size: 22px; font-weight: 900; color: var(--text,#1e293b); }
.fh-save-pill { background: #dcfce7; color: #15803d; border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.fh-nights-note { font-size: 11px; color: var(--muted,#64748b); margin-top: 3px; }
.fh-book-btn { background: linear-gradient(135deg,#1a56db,#6c47db); color: #fff; border: 0; border-radius: 10px; padding: 13px 22px; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: opacity .15s; }
.fh-book-btn:hover { opacity: .88; }

/* NR badge in modal */
.fh-nr-badge { background: #fdf4ff; color: #7e22ce; border-radius: 5px; padding: 1px 6px; font-size: 11px; font-weight: 700; }

/* Modal */
.fh-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fh-modal { background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.fh-modal-x { position: absolute; top: 14px; right: 14px; background: #f1f5f9; border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--text,#1e293b); z-index: 1; }
.fh-modal-head { background: linear-gradient(135deg,#1a56db,#6c47db); color: #fff; padding: 22px 24px 18px; font-size: 18px; font-weight: 800; border-radius: 18px 18px 0 0; }
.fh-modal-body { padding: 20px 24px; }
.fh-ms-block { border: 1.5px solid var(--border,#e2e8f0); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.fh-ms-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted,#64748b); margin-bottom: 8px; letter-spacing: .6px; }
.fh-ms-row { font-size: 13px; color: var(--text,#1e293b); margin-bottom: 4px; line-height: 1.5; }
.fh-ms-total { background: linear-gradient(135deg,#eff6ff,#faf5ff); border: 1.5px solid #bfdbfe; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.fh-mst-row { font-size: 13px; color: var(--muted,#64748b); }
.fh-mst-pkg { font-size: 20px; font-weight: 900; color: var(--text,#1e293b); margin: 6px 0 4px; }
.fh-mst-save { font-size: 13px; color: #15803d; font-weight: 700; }
.fh-ref-bar { background: #f8faff; border-radius: 8px; padding: 9px 14px; font-size: 13px; color: var(--muted,#64748b); margin-bottom: 10px; }
.fh-ref-val { color: var(--text,#1e293b); font-size: 14px; margin-left: 4px; }
.fh-ref-ready { color: #1a56db; }
.fh-modal-tip { font-size: 12px; color: var(--muted,#64748b); margin-bottom: 14px; line-height: 1.6; }
.fh-modal-btns { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.fh-mbtn { flex: 1; border: 0; border-radius: 10px; padding: 13px 16px; font-size: 14px; font-weight: 800; cursor: pointer; transition: opacity .15s; }
.fh-mbtn:hover { opacity: .88; }
.fh-mbtn-hotel  { background: linear-gradient(135deg,#1a56db,#2563eb); color: #fff; }
.fh-mbtn-flight { background: linear-gradient(135deg,#6c47db,#9333ea); color: #fff; }

/* ─── Hotel Widgets (Price Alert · Group · Visa · Trip) ─────────────────── */
.hb-widget-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 8px; }
.hb-wbtn { border: 1.5px solid var(--border,#e2e8f0); background: var(--card,#fff); color: var(--text,#1e293b); border-radius: 10px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.hb-wbtn:hover { background: #f1f5ff; border-color: #1a56db; }
.wbtn-alert-on { background: #fef3c7!important; border-color: #f59e0b!important; color: #92400e!important; }
.wbtn-trip-on  { background: #dcfce7!important; border-color: #16a34a!important; color: #14532d!important; }

/* Toast */
.hw-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: #1e293b; color: #fff; padding: 11px 22px; border-radius: 30px; font-size: 14px; font-weight: 600; z-index: 9999; pointer-events: none; transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .28s; opacity: 0; white-space: nowrap; max-width: 90vw; }
.hw-toast-ok  { background: #166534; }
.hw-toast-err { background: #991b1b; }
.hw-toast-show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Visa widget */
.hw-visa-widget { border: 1px solid var(--border,#e2e8f0); border-radius: 12px; padding: 14px 18px; background: var(--card,#fff); font-size: 13px; }
.hw-visa-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.hw-visa-badge { padding: 3px 10px; border-radius: 20px; color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.hw-visa-title { font-weight: 700; font-size: 14px; }
.hw-visa-note  { color: #15803d; font-weight: 600; margin: 4px 0; }
.hw-visa-grid  { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0; }
.hw-visa-item  { display: flex; flex-direction: column; gap: 1px; }
.hw-visa-item span { color: var(--muted,#64748b); font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }
.hw-visa-item strong { font-size: 13px; color: var(--text,#1e293b); }
.hw-visa-link  { display: inline-block; margin: 6px 0 4px; font-size: 12px; color: #1a56db; font-weight: 700; text-decoration: none; }
.hw-visa-link:hover { text-decoration: underline; }
.hw-visa-disclaimer { font-size: 11px; color: var(--muted,#64748b); margin-top: 6px; }

/* Trip float badge */
.trip-float-btn { position: fixed; bottom: 82px; right: 20px; background: #1a56db; color: #fff; padding: 10px 18px; border-radius: 30px; font-weight: 800; font-size: 14px; text-decoration: none; z-index: 900; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(26,86,219,.35); transition: background .15s; }
.trip-float-btn:hover { background: #1d4ed8; }
.trip-float-count { background: rgba(255,255,255,.25); padding: 1px 7px; border-radius: 12px; font-size: 12px; }

/* Group booking modal */
.hw-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 8000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hw-modal { background: var(--card,#fff); border-radius: 16px; padding: 24px; max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.hw-modal-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--muted,#64748b); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.hw-modal-close:hover { background: var(--bg,#f1f5f9); }
.hw-form-row { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.hw-form-col { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.hw-form-col input, .hw-form-col textarea { border: 1px solid var(--border,#d1d5db); border-radius: 8px; padding: 8px 12px; font-size: 14px; background: var(--card,#fff); color: var(--text,#1e293b); }
.hw-form-col input:focus, .hw-form-col textarea:focus { outline: none; border-color: #1a56db; }

@media(max-width:600px) {
  .hb-widget-bar { flex-direction: column; }
  .hb-wbtn { text-align: center; }
  .trip-float-btn { bottom: 70px; right: 12px; font-size: 13px; padding: 9px 14px; }
}
.fh-modal-note { font-size: 12px; color: var(--muted,#64748b); text-align: center; }

/* Responsive */
@media (max-width: 640px) {
  #fhCards { padding: 10px 12px; gap: 12px; }
  .fh-from-bar { padding: 10px 12px; }
  .fh-tier-row { padding: 8px 12px; gap: 4px; }
  .fh-header { padding: 14px 14px 10px; }
  .fh-fl-section, .fh-ret-section, .fh-card-htl { padding-left: 12px; padding-right: 12px; }
  .fh-card-footer { flex-direction: column; align-items: stretch; padding: 12px; }
  .fh-book-btn { width: 100%; text-align: center; }
  .fh-fl-row { padding: 8px 10px; }
  .fh-modal-btns { flex-direction: column; }
}
.nearby-ico { font-size: 22px; flex-shrink: 0; }
.nearby-name { font-size: 13px; font-weight: 700; color: var(--text); }

/* ─── Fare Calendar ──────────────────────────────────────────────────────── */
.fc-trigger-btn { border: 1.5px solid #1a56db; background: none; color: #1a56db; border-radius: 20px; padding: 3px 12px; font-size: 12px; font-weight: 700; cursor: pointer; margin-left: 8px; vertical-align: middle; transition: background .12s; }
.fc-trigger-btn:hover { background: #eff6ff; }
.fc-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 12px; }
.fc-modal { background: var(--card,#fff); border-radius: 16px; max-width: 820px; width: 100%; max-height: 90vh; overflow-y: auto; }
.fc-modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 24px 14px; border-bottom: 1px solid var(--border,#e2e8f0); }
.fc-modal-title { font-size: 16px; font-weight: 800; color: var(--text,#1e293b); margin-bottom: 6px; }
.fc-legend { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-leg { padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.fc-close { background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--muted,#64748b); flex-shrink: 0; padding: 4px; }
.fc-body { display: flex; gap: 20px; flex-wrap: wrap; padding: 20px 24px; }
.fc-loading { padding: 40px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted,#64748b); }
.fc-month-wrap { flex: 1; min-width: 240px; }
.fc-month-title { font-size: 14px; font-weight: 800; color: var(--text,#1e293b); margin-bottom: 8px; }
.fc-month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.fc-wday { font-size: 10px; font-weight: 700; text-align: center; color: var(--muted,#64748b); padding: 3px 0; text-transform: uppercase; }
.fc-blank { }
.fc-day { border-radius: 6px; padding: 4px 2px; text-align: center; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid transparent; }
.fc-day-click { cursor: pointer; transition: border-color .12s, transform .12s; }
.fc-day-click:hover { border-color: #1a56db; transform: scale(1.05); z-index: 1; position: relative; }
.fc-day-past { opacity: .3; }
.fc-d { font-size: 12px; font-weight: 700; color: var(--text,#1e293b); }
.fc-p { font-size: 9px; font-weight: 700; margin-top: 1px; }
.fc-day-lo { background: #dcfce7; }
.fc-day-lo .fc-p { color: #15803d; }
.fc-day-mid { background: #fef3c7; }
.fc-day-mid .fc-p { color: #92400e; }
.fc-day-hi { background: #fee2e2; }
.fc-day-hi .fc-p { color: #991b1b; }
@media(max-width:600px) {
  .fc-body { flex-direction: column; padding: 12px 14px; }
  .fc-modal-head { padding: 14px 16px 10px; }
  .fc-day { min-height: 36px; }
  .fc-p { font-size: 8px; }
}

/* ---- Feature: Map "Search this area" button ---- */
.map-search-area-btn { display: none; background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 8px 18px; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); margin-top: 10px; transition: box-shadow .15s; }
.map-search-area-btn.visible { display: block; }
.map-search-area-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,.22); }

/* ---- Photo lightbox ---- */
#hbPhotoLb { position: fixed; inset: 0; z-index: 10000; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.lb-panel { width: 100%; height: 100%; display: flex; flex-direction: column; }
.lb-topbar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: rgba(0,0,0,.6); flex-shrink: 0; }
.lb-cats { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.lb-cats::-webkit-scrollbar { display: none; }
.lb-cat { background: rgba(255,255,255,.12); color: #cbd5e1; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .15s; }
.lb-cat.active { background: #1a56db; color: #fff; border-color: #1a56db; }
.lb-xbtn { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.lb-xbtn:hover { background: rgba(255,255,255,.28); }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; overflow: hidden; }
.lb-arr { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: 0; color: #fff; font-size: 36px; width: 50px; height: 80px; cursor: pointer; border-radius: 6px; transition: background .15s; z-index: 2; display: flex; align-items: center; justify-content: center; line-height: 1; }
.lb-arr:hover { background: rgba(255,255,255,.30); }
.lb-arr:disabled { opacity: .2; cursor: default; }
.lb-arr-l { left: 8px; }
.lb-arr-r { right: 8px; }
.lb-img { flex: 1; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; position: relative; user-select: none; }
.lb-360tag { position: absolute; bottom: 14px; right: 60px; background: rgba(26,86,219,.88); color: #fff; border: 0; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s; }
.lb-360tag:hover { background: #1d4ed8; }
.lb-ctr { text-align: center; color: #94a3b8; font-size: 12px; padding: 4px 0; flex-shrink: 0; }
.lb-thumbstrip { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; flex-shrink: 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.lb-thumbstrip::-webkit-scrollbar { height: 4px; }
.lb-thumbstrip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 2px; }
.lb-th { width: 70px; height: 52px; border-radius: 6px; background-size: cover; background-position: center; cursor: pointer; flex-shrink: 0; border: 2.5px solid transparent; transition: border-color .15s, opacity .15s; opacity: .6; position: relative; }
.lb-th:hover, .lb-th.on { opacity: 1; border-color: #1a56db; }
.lb-th-idx { position: absolute; bottom: 2px; right: 3px; font-size: 9px; color: rgba(255,255,255,.85); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.8); }

/* ---- 360 panorama viewer ---- */
.pano-ov { position: fixed; inset: 0; z-index: 10500; background: rgba(0,0,0,.98); display: flex; align-items: center; justify-content: center; }
.pano-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }
.pano-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; background: rgba(255,255,255,.06); flex-shrink: 0; color: #e2e8f0; font-size: 13px; font-weight: 600; flex-wrap: wrap; }
.pano-angle-lbl { font-size: 12px; color: #94a3b8; }
.pano-xbtn { background: rgba(255,255,255,.12); border: 0; color: #fff; padding: 7px 14px; border-radius: 7px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap; }
.pano-xbtn:hover { background: rgba(255,255,255,.22); }
.pano-scene { flex: 1; background-size: 300% 100%; background-position: 0% center; background-repeat: repeat-x; cursor: grab; position: relative; user-select: none; min-height: 0; }
.pano-vr-badge { position: absolute; top: 14px; left: 14px; background: linear-gradient(135deg, #1a56db, #0ea5e9); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; letter-spacing: .04em; pointer-events: none; }
.pano-hint { text-align: center; color: #64748b; font-size: 12px; padding: 8px; flex-shrink: 0; }

/* ---- Engagement: sticky search bar ---- */
#stickyBar { position:fixed; top:0; left:0; right:0; z-index:9500; background:#fff; border-bottom:1px solid #e2e8f0; box-shadow:0 2px 14px rgba(0,0,0,.10); transform:translateY(-100%); transition:transform .25s cubic-bezier(.4,0,.2,1); pointer-events:none; }
#stickyBar.ssb-on { transform:translateY(0); pointer-events:auto; }
.ssb-inner { max-width:1180px; margin:0 auto; display:flex; align-items:center; gap:10px; padding:9px 20px; }
.ssb-icon { font-size:18px; flex-shrink:0; }
#stickyLbl { flex:1; font-size:15px; font-weight:700; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#stickyBackBtn { background:var(--brand); color:#fff; border:0; border-radius:9px; padding:9px 18px; font-weight:700; font-size:13px; cursor:pointer; white-space:nowrap; flex-shrink:0; }
#stickyBackBtn:hover { background:#1e40af; }
#stickyDismiss { background:none; border:0; color:#94a3b8; font-size:18px; cursor:pointer; padding:4px; line-height:1; flex-shrink:0; }
#stickyDismiss:hover { color:#475569; }
@media(max-width:520px){ .ssb-inner { padding:8px 12px; } #stickyLbl { font-size:13px; } #stickyBackBtn { padding:8px 12px; font-size:12px; } }

/* ---- Engagement: activity ticker ---- */
.activity-ticker { overflow:hidden; white-space:nowrap; background:#f8faff; border:1px solid #e3eaf7; border-radius:10px; padding:8px 0; }
.at-track { display:inline-flex; animation:ticker-scroll 40s linear infinite; }
.at-track:hover { animation-play-state:paused; }
.at-item { display:inline-flex; align-items:center; gap:7px; padding:0 24px; font-size:13px; color:#475569; border-right:1px solid #e2e8f0; }
.at-item b { color:#1e293b; }
.at-dot { width:8px; height:8px; border-radius:50%; background:#22c55e; flex-shrink:0; animation:pulse-dot 2s ease-in-out infinite; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.85)} }

/* ---- Engagement: trending route chips ---- */
#trendingRoutesWrap { margin-bottom:26px; }
#trendingTitle { margin:0 0 12px; font-size:19px; font-weight:800; color:var(--text); }
.tr-chips-row { display:flex; gap:10px; flex-wrap:wrap; }
.tr-chip { display:flex; flex-direction:column; align-items:flex-start; gap:3px; background:#fff; border:1.5px solid var(--border); border-radius:12px; padding:11px 15px; cursor:pointer; transition:border-color .15s, box-shadow .15s; text-align:left; min-width:155px; }
.tr-chip:hover { border-color:var(--brand); box-shadow:0 4px 16px rgba(10,100,255,.12); }
.tr-chip.tr-hot { border-color:#fde68a; background:#fffbeb; }
.tr-chip.tr-hot:hover { border-color:#f59e0b; box-shadow:0 4px 16px rgba(245,158,11,.14); }
.tr-lbl { font-size:14px; font-weight:700; color:var(--text); }
.tr-price { font-size:12px; color:var(--muted); }
.tr-price b { color:var(--brand); }
.tr-fire { font-size:13px; }
@media(max-width:640px){ .tr-chip { min-width:140px; padding:9px 12px; } .tr-lbl { font-size:13px; } }
