/* ============================================================
   1860 TRAVELS — NEW THEME DESIGN SYSTEM
   Mobile-first, responsive, Montserrat font
   ============================================================ */

/* ── RESET & TOKENS ── */
:root {
  --bg:        #f6f5f1;
  --bg-2:      #ede9e1;
  --bg-3:      #e2ddd4;
  --surface:   #f6f5f1;
  --surface-2: #ece9e1;
  --surface-3: #f1efe9;
  --border-dk: rgba(0,0,0,0.09);
  --border-lt: #dbd7ce;
  --text-dk:   #1a1b13;
  --text-dk2:  #6b6c5e;
  --text-lt:   #1a1b13;
  --text-lt2:  #57584b;
  --blue:      #048ED3;
  --blue-d:    #036faa;
  --amber:     #F3A316;
  --amber-d:   #d4880e;
  --navy:      #003087;
  --font:      'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --r-sm:      8px;
  --r-md:      12px;
  --r-lg:      18px;
  --r-xl:      24px;
}

/* Apply font to whole page */
body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--bg);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #a8a499; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8a877c; }
html { scrollbar-color: #a8a499 var(--bg-2); }
/* While any modal is open, the page behind must not scroll (prevents double scrollbars) */
body.modal-open { overflow: hidden !important; }

/* ── TOP BAR ── */
.t-topbar { background: var(--navy); padding: 7px 0; font-size: 11.5px; font-weight: 500; }
.t-topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-topbar-left { color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 6px; }
.t-topbar-left em { color: rgba(255,255,255,0.55); font-style: italic; }
.t-topbar-right { display: flex; align-items: center; gap: 6px; }
.t-tb-social a { color: rgba(255,255,255,0.55); width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font-size: 12px; transition: all 0.2s; text-decoration: none; }
.t-tb-social a:hover { color: var(--amber); background: rgba(243,163,22,0.1); }
.t-tb-div { width: 1px; height: 14px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.t-tb-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 5px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em; border: none; font-family: var(--font); }
.t-tb-login { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.t-tb-login:hover { background: rgba(255,255,255,0.18); color: white; }
.t-tb-signup { background: var(--amber); color: var(--bg); }
.t-tb-signup:hover { background: var(--amber-d); }
.t-tb-user { color: rgba(255,255,255,0.9); font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 5px; padding: 5px 11px; background: rgba(255,255,255,0.12); border-radius: 5px; }
/* Avatar entry point — mobile header only (Skyscanner pattern) */
.t-tb-avatar { display: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 700; font-family: var(--font); cursor: pointer; padding: 0; transition: all 0.2s; text-decoration: none; flex: 0 0 auto; }
.t-tb-avatar:hover { background: rgba(255,255,255,0.18); color: white; text-decoration: none; }
.t-tb-avatar--in { background: var(--amber); border-color: var(--amber); color: var(--bg); font-size: 12.5px; font-weight: 800; }
.t-tb-avatar--in:hover { background: var(--amber-d); border-color: var(--amber-d); color: var(--bg); }
.t-tb-currency { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); padding: 4px 10px; border-radius: 5px; font-size: 11px; font-weight: 600; border: none; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.7)'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 7px; padding-right: 22px; font-family: var(--font); }
.t-tb-currency option { background: #fff; color: #1a1b13; font-weight: 600; }

/* ── NAVBAR ── */
.t-navbar { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--border-dk); transition: background 0.3s, box-shadow 0.3s; }
.t-navbar.scrolled { background: rgba(246,245,241,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 32px rgba(0,0,0,0.12); }
.t-navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 68px; gap: 8px; }
.t-nav-logo { flex-shrink: 0; }
.t-nav-logo img { height: 46px; width: auto; display: block; }
.t-nav-links { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.t-nav-link { display: flex; align-items: center; gap: 5px; padding: 7px 9px; font-size: 10.5px; font-weight: 700; color: var(--text-dk2); text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--r-sm); transition: all 0.2s; white-space: nowrap; position: relative; cursor: pointer; text-decoration: none; font-family: var(--font); }
.t-nav-link::after { content: ''; position: absolute; bottom: 2px; left: 11px; right: 11px; height: 2px; background: var(--amber); border-radius: 1px; transform: scaleX(0); transition: transform 0.25s; }
.t-nav-link:hover { color: var(--text-lt); }
.t-nav-link:hover::after, .t-nav-link.active::after { transform: scaleX(1); }
.t-nav-link.active { color: var(--text-lt); }
.t-nav-link i { color: var(--blue); font-size: 11px; }
.t-nav-link .t-dropdown-caret { font-size: 9px; opacity: 0.5; }
.t-nav-dropdown { position: relative; }
.t-nav-drop-menu { position: absolute; top: calc(100% + 10px); left: 0; background: var(--bg-2); border: 1px solid var(--border-dk); border-radius: var(--r-md); padding: 6px; min-width: 210px; box-shadow: 0 20px 56px rgba(0,0,0,0.55); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.22s ease; z-index: 200; }
.t-nav-dropdown:hover .t-nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
/* Rightmost dropdown (More) opens right-aligned so it doesn't run off the viewport edge */
.t-nav-drop-menu--right { left: auto; right: 0; }
.t-nav-drop-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; font-size: 12px; font-weight: 600; color: var(--text-dk2); border-radius: var(--r-sm); transition: all 0.15s; text-decoration: none; }
.t-nav-drop-menu a:hover { background: var(--bg-3); color: var(--text-lt); }
.t-nav-drop-menu a i { color: var(--amber); font-size: 13px; width: 16px; text-align: center; }
.t-nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; margin-left: auto; }
.t-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dk); border-radius: 1px; transition: all 0.3s ease; }
.t-nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.t-nav-toggle.open span:nth-child(2) { opacity: 0; }
.t-nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile header actions (currency + login) ──
   Hidden by default; revealed ≤600px when the navy topbar is hidden. The
   currency + login were styled for the dark topbar, so restyle for the light navbar. */
.t-nav-actions { display: none; align-items: center; gap: 8px; margin-left: auto; }
.t-nav-cur-slot { display: inline-flex; align-items: center; }
.t-nav-cur-slot:empty { display: none; }
.t-nav-actions .t-tb-currency {
  background-color: var(--bg-2);
  color: var(--text-dk);
  /* dark caret to suit the light bar */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  font-size: 12px;
}
.t-nav-actions .t-nav-login {
  background: var(--navy);
  color: #fff;
  letter-spacing: 0;
}
.t-nav-actions .t-nav-login:hover { background: #00256b; color: #fff; }
.t-nav-actions .t-tb-avatar { display: inline-flex; }

/* ── MOBILE DRAWER (premium) ── */
.t-m-overlay { position: fixed; inset: 0; background: rgba(10,14,30,0.55); z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.t-m-overlay.open { opacity: 1; visibility: visible; }
.t-m-drawer { position: fixed; top: 0; right: -110%; bottom: 0; width: min(360px, 90vw); background: var(--bg-2); z-index: 2000; transition: right 0.38s cubic-bezier(0.32,0.72,0,1); display: flex; flex-direction: column; box-shadow: -24px 0 70px rgba(0,0,0,0.28); }
.t-m-drawer.open { right: 0; }

/* Header — beige strip with the full-colour logo */
.t-m-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-dk); }
.t-m-drawer-head img { height: 36px; }
.t-m-close { background: rgba(0,0,0,0.05); border: none; cursor: pointer; width: 36px; height: 36px; border-radius: 11px; color: var(--text-dk2); font-size: 15px; display: flex; align-items: center; justify-content: center; transition: background 0.18s, color 0.18s; }
.t-m-close:hover { background: rgba(0,0,0,0.10); color: var(--text-dk); }

/* Nav list — icon chips + chevron affordance */
.t-m-nav { flex: 1; overflow-y: auto; padding: 14px 12px 8px; -webkit-overflow-scrolling: touch; }
.t-m-nav-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa1ad; padding: 12px 14px 6px; }
.t-m-nav-label:first-child { padding-top: 2px; }
.t-m-nav a { display: flex; align-items: center; gap: 13px; padding: 9px 12px; font-size: 14.5px; font-weight: 600; color: var(--text-dk); border-radius: 13px; transition: background 0.16s, box-shadow 0.16s; letter-spacing: 0; margin-bottom: 2px; text-decoration: none; }
.t-m-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(4,142,211,0.10); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.16s, color 0.16s; }
.t-m-ico svg { width: 19px; height: 19px; display: block; }
.t-m-nav a::after { content: ''; width: 7px; height: 12px; margin-left: auto; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' fill='none' stroke='%23b6ac9c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 0.16s; }
/* Neutral highlight — a darker beige on the beige drawer, no blue wash */
.t-m-nav a:hover, .t-m-nav a:active { background: rgba(0,0,0,0.035); color: var(--text-dk); }
.t-m-nav a.active { background: var(--bg-3); color: var(--text-dk); }
.t-m-nav a.active .t-m-ico { background: var(--amber); color: #fff; }
.t-m-nav a:hover::after, .t-m-nav a.active::after { transform: translateX(2px); }

/* Footer — prominent CTAs + help row */
.t-m-drawer-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-dk); display: flex; flex-direction: column; gap: 9px; background: var(--bg-2); }
.t-m-foot-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; font-family: var(--font); text-decoration: none; transition: all 0.18s; }
.t-m-foot-login { background: #fff; color: var(--text-dk); border: 1.5px solid var(--border-lt); }
.t-m-foot-login:hover { border-color: var(--amber); color: var(--amber-d); }
.t-m-foot-signup { background: var(--amber); color: #fff; box-shadow: 0 8px 20px rgba(243,163,22,0.3); }
.t-m-foot-signup:hover { background: var(--amber-d); }
.t-m-foot-help { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 4px; font-size: 12.5px; font-weight: 600; color: #6b7280; text-decoration: none; }
.t-m-foot-help i { color: var(--blue); }
.t-m-foot-help b { color: #1f2937; }

/* ── HERO ── */
.t-hero { position: relative; background: linear-gradient(135deg, #002070 0%, #048ED3 100%); padding: 48px 20px 64px; text-align: center; overflow: hidden; }
@media (min-width: 768px) { .t-hero { padding: 60px 24px 80px; } }
.t-hero-glow-1 { position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%); pointer-events: none; }
.t-hero-glow-2 { position: absolute; bottom: -60px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(243,163,22,0.12) 0%, transparent 65%); pointer-events: none; }
.t-hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); color: white; padding: 6px 15px; border-radius: 100px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 22px; }
.t-hero-title { font-size: clamp(26px, 4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: white; margin-bottom: 32px; }
.t-hero-title .t-hl { color: var(--amber); }
.t-hero-sub { font-size: clamp(14px, 1.8vw, 17px); color: rgba(255,255,255,0.78); font-weight: 400; max-width: 520px; margin: 0 auto 52px; line-height: 1.75; }

/* ── BOOKING BAR ── */
.t-bbar-wrap { max-width: 1120px; margin: 0 auto; position: relative; z-index: 10; }
.t-bbar { background: white; border-radius: var(--r-xl); box-shadow: 0 36px 96px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05); overflow: visible; text-align: left; }
.t-bbar-tabs { display: flex; background: var(--bg-2); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 5px 5px 0; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.t-bbar-tabs::-webkit-scrollbar { display: none; }
.t-bbar-tab { display: flex; align-items: center; gap: 7px; padding: 11px 16px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dk2); cursor: pointer; border: none; background: none; border-radius: 10px 10px 0 0; transition: all 0.2s; white-space: nowrap; font-family: var(--font); }
.t-bbar-tab:first-child { border-radius: 19px 10px 0 0; }
.t-bbar-tab:last-child { border-radius: 10px 19px 0 0; }
.t-bbar-tab i { font-size: 13px; }
.t-bbar-tab:hover { color: var(--text-lt); background: rgba(255,255,255,0.05); }
.t-bbar-tab.active { background: white; color: var(--blue); }
.t-bbar-tab.active i { color: var(--amber); }
.t-bbar-body { padding: 18px 18px 14px; }
.t-bbar-panel { display: none; }
.t-bbar-panel.active { display: block; }
.t-bbar-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.t-bbar-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 120px; }
.t-bbar-field label { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #aaa; padding-left: 2px; margin-bottom: 0; }
.t-bbar-input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border-lt) !important; border-radius: var(--r-sm) !important; font-size: 14px !important; font-weight: 600; color: var(--text-lt); background: #fafaf8 !important; font-family: var(--font); outline: none; transition: all 0.2s; height: 42px !important; box-sizing: border-box !important; box-shadow: none !important; }
/* Native date inputs (e.g. Date of Birth) otherwise render taller than text inputs — pin them to the same box */
.t-bbar-input[type="date"] { -webkit-appearance: none; appearance: none; }
.t-bbar-input[type="date"]::-webkit-calendar-picker-indicator { margin: 0; }
.t-bbar-input:focus { border-color: var(--blue) !important; background: white !important; box-shadow: 0 0 0 3px rgba(4,142,211,0.1) !important; }
.t-bbar-input::placeholder { color: #ccc; font-weight: 400; }
.t-bbar-select { appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 8px 5px !important; padding-right: 34px !important; cursor: pointer; }
/* Some browsers still draw a native arrow on the IE/Edge dropdown control — hide it so only our SVG arrow shows */
.t-bbar-select::-ms-expand { display: none; }
.t-bbar-swap { display: flex; align-items: flex-end; flex-shrink: 0; padding-bottom: 1px; }
.t-bbar-swap-btn { width: 38px; height: 42px; background: #f4f2ec; border: 1.5px solid var(--border-lt); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--blue); font-size: 13px; transition: all 0.2s; }
.t-bbar-swap-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }
.t-bbar-search { display: flex; align-items: center; gap: 8px; padding: 11px 22px; background: var(--amber); color: var(--bg); border: none; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: all 0.2s; letter-spacing: 0.02em; flex-shrink: 0; font-family: var(--font); height: 42px; }
.t-bbar-search:hover { background: var(--amber-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(243,163,22,0.35); }
/* Override legacy `#btnSearch_Flight { width:100% }` from style.css so the button stays compact */
#btnSearch_Flight.t-bbar-search { width: auto !important; }
/* Flight panel footer holding the Search button (sits after the trip chips + any multi-leg rows) */
.t-bbar-foot { padding: 4px 18px 16px; }
.t-bbar-extras { display: flex; align-items: center; gap: 6px; padding: 8px 18px 14px; border-top: 1px solid #f0ede6; flex-wrap: wrap; }
.t-bbar-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 100px; font-size: 11.5px; font-weight: 600; color: #999; cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s; background: none; font-family: var(--font); }
.t-bbar-chip:hover { color: var(--blue); border-color: rgba(4,142,211,0.25); background: rgba(4,142,211,0.05); }
.t-bbar-chip.t-sel { color: var(--blue); border-color: rgba(4,142,211,0.3); background: rgba(4,142,211,0.07); font-weight: 700; }
.t-bbar-chip i { font-size: 10px; }
/* Trip-type chips backed by real radio inputs (One-way / Round trip / Multi-leg).
   display:none is the only hiding that later-loading global stylesheets can't undo;
   the chips' <label for> still toggles the radios. */
.t-trip-radio { display: none !important; }
.t-trip-chip { user-select: none; }
/* Trip selector: inline chips on desktop, native select pill on mobile */
.t-trip-select { position: relative; display: flex; align-items: center; gap: 6px; }
.t-trip-native { display: none; }
.t-trip-opts { display: flex; align-items: center; gap: 6px; }
.t-trip-radio:checked + .t-trip-chip { color: var(--blue); border-color: rgba(4,142,211,0.3); background: rgba(4,142,211,0.07); font-weight: 700; }
.t-trip-radio:focus-visible + .t-trip-chip { outline: 2px solid rgba(4,142,211,0.4); outline-offset: 1px; }
.t-bbar-chip-btn { color: var(--blue); border-color: rgba(4,142,211,0.25); }
.t-bbar-chip-btn:hover { background: rgba(4,142,211,0.08); }
/* Legacy round-trip departure field (#DepartureDate1) is kept for the search payload but hidden —
   functions.js calls .show() on it for the old flight-page layout; we keep it out of view here. */
#round-dep { display: none !important; }
/* Container for dynamically-added multi-leg route rows (markup injected by functions.js #AddNewLeg).
   The injected markup uses old Bootstrap classes — these rules make each leg match the themed bar. */
.t-bbar-multilegs { padding: 0 18px; }
.t-bbar-multilegs:not(:empty) { padding: 4px 18px 14px; }
/* When switching away from Multi-leg, functions.js empties the leg rows but leaves the empty
   <div class="row"> behind — hide those so no blank box shows, and drop the container padding. */
.t-bbar-multilegs .row:empty { display: none !important; }
.t-bbar-multilegs:not(:has(.row:not(:empty))) { padding: 0 !important; }
.t-bbar-multilegs .row { display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 8px !important; padding: 12px; background: #faf9f6; border: 1px solid var(--border-lt); border-radius: var(--r-md); }
.t-bbar-multilegs .fromTo { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 8px; flex: 1 1 100%; min-width: 0; }
.t-bbar-multilegs #fromDiv,
.t-bbar-multilegs #toDiv { flex: 1 1 0; min-width: 120px; max-width: none; width: auto !important; padding: 0 !important; }
.t-bbar-multilegs #all-dep { flex: 0 0 155px; max-width: 155px; padding: 0 !important; }
/* On narrow screens let the leg fields stack instead of cramming one line */
@media (max-width: 768px) {
  .t-bbar-multilegs .fromTo { flex-wrap: wrap; }
  .t-bbar-multilegs #fromDiv, .t-bbar-multilegs #toDiv, .t-bbar-multilegs #all-dep { flex: 1 1 100%; max-width: none; }
}
.t-bbar-multilegs .input-date-group,
.t-bbar-multilegs .input-box { position: relative; margin: 0 !important; }
/* The Departure column's wrapper carries Bootstrap .form-group (margin-bottom) which pushed its
   input up relative to From/To. Zero it so all three inputs share the same baseline. */
.t-bbar-multilegs .form-group { margin: 0 !important; }
.t-bbar-multilegs .clearValue, .t-bbar-multilegs .text-danger { display: none !important; }
.t-bbar-multilegs .form-control { height: 42px !important; width: 100% !important; border: 1.5px solid var(--border-lt) !important; border-radius: var(--r-sm) !important; background: #fafaf8 !important; font-size: 14px !important; font-family: var(--font) !important; box-shadow: none !important; padding: 10px 14px !important; }
.t-bbar-multilegs .form-control:focus { border-color: var(--blue) !important; background: #fff !important; }
.t-bbar-multilegs label.label-text { display: block; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #aaa; margin-bottom: 4px; }
/* Old absolute-positioned amber swap circle → clean inline button matching the main bar */
.t-bbar-multilegs .changeBtn { position: static !important; right: auto !important; left: auto !important; top: auto !important; width: 38px !important; height: 42px !important; min-width: 38px !important; background: #f4f2ec !important; border: 1.5px solid var(--border-lt) !important; border-radius: var(--r-sm) !important; display: flex !important; align-items: center; justify-content: center; align-self: flex-end; flex: 0 0 auto; margin: 0 !important; cursor: pointer; }
.t-bbar-multilegs .changeBtn img.swap-img { width: 15px !important; height: 15px !important; margin: 0 !important; }
/* The legacy markup also injects a duplicate hidden return field — keep it hidden */
.t-bbar-multilegs #flightReturnDV { display: none !important; }
/* Stray calendar icons from the old markup */
.t-bbar-multilegs .icon-calendar, .t-bbar-multilegs .flaticon-calendar { display: none !important; }
.t-bbar-sep { width: 1px; height: 14px; background: #e7e4dc; }

/* ── TRUST BAR ── */
.t-trust-bar { background: var(--bg-2); border-bottom: 1px solid var(--border-dk); padding: 16px 24px; }
.t-trust-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.t-trust-item { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--text-lt2); text-transform: uppercase; letter-spacing: 0.06em; }
.t-trust-item i { color: var(--amber); font-size: 15px; }

/* ── SERVICES ── */
.t-services-sec { background: var(--bg-2); border-top: 1px solid var(--border-dk); border-bottom: 1px solid var(--border-dk); padding: 36px 24px; }
.t-sec-inner { max-width: 1280px; margin: 0 auto; }
.t-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .t-svc-grid { grid-template-columns: repeat(6, 1fr); } }
.t-svc-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; background: white; border: 1px solid var(--border-lt); border-radius: var(--r-lg); text-align: center; cursor: pointer; transition: all 0.25s; text-decoration: none; color: inherit; }
.t-svc-card:hover { background: rgba(4,142,211,0.06); border-color: rgba(4,142,211,0.3); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); color: inherit; }
.t-svc-icon { width: 50px; height: 50px; background: rgba(4,142,211,0.1); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--blue); transition: all 0.25s; }
.t-svc-card:hover .t-svc-icon { background: var(--blue); color: white; }
.t-svc-name { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-lt2); }

/* ── SECTION SYSTEM ── */
.t-sec { padding: 64px 24px; }
@media (min-width: 768px) { .t-sec { padding: 72px 24px; } }
.t-sec-lt { background: var(--surface); }
.t-sec-dk { background: var(--bg); }
.t-sec-mid { background: var(--bg-2); }
.t-sec-hdr { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.t-sec-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--amber); margin-bottom: 6px; }
.t-sec-title { font-size: clamp(22px, 3vw, 34px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; color: var(--text-dk); }
.t-sec-sub { font-size: 14px; line-height: 1.65; margin-top: 7px; color: var(--text-dk2); }
.t-view-all { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; transition: all 0.2s; white-space: nowrap; cursor: pointer; text-decoration: none; border: 1.5px solid var(--border-dk); color: var(--text-dk2); }
.t-view-all:hover { border-color: var(--amber); color: var(--amber); }

/* ── CAROUSEL ── */
.t-car-outer { position: relative; }
.t-car-wrap { overflow: hidden; border-radius: var(--r-lg); }
.t-car-track { display: flex; gap: 16px; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.t-dest-card { flex: 0 0 78vw; border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: pointer; }
@media (min-width: 600px)  { .t-dest-card { flex: 0 0 calc(50% - 8px); } }
@media (min-width: 768px)  { .t-dest-card { flex: 0 0 calc(50% - 8px); } }
@media (min-width: 1100px) { .t-dest-card { flex: 0 0 calc(25% - 12px); } }
.t-dest-img { width: 100%; height: 290px; object-fit: cover; background: var(--bg-3); transition: transform 0.5s ease; display: block; }
.t-dest-card:hover .t-dest-img { transform: scale(1.07); }
.t-dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,15,0.96) 0%, rgba(22,23,15,0.15) 55%, transparent 100%); }
.t-dest-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px; }
.t-dest-badge { display: inline-block; background: var(--amber); color: var(--bg); font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.t-dest-name { font-size: 18px; font-weight: 800; color: white; line-height: 1.2; }
.t-dest-country { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 3px; }
.t-dest-price { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.75); }
.t-dest-price strong { font-size: 19px; font-weight: 800; color: white; }
.t-car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; box-shadow: 0 4px 20px rgba(0,0,0,0.4); color: var(--text-lt); font-size: 15px; transition: all 0.2s; }
.t-car-btn:hover { background: var(--amber); color: var(--bg); transform: translateY(-50%) scale(1.08); }
.t-car-prev { left: -22px; }
.t-car-next { right: -22px; }
.t-car-dots { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; }
.t-car-dot { width: 8px; height: 8px; background: #ccc; border-radius: 4px; cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.t-car-dot.active { width: 24px; background: var(--amber); }

/* Hide carousel nav on mobile */
@media (max-width: 768px) { .t-car-btn { display: none; } }

/* ── DEAL CARDS ── */
.t-deal-card { flex: 0 0 82vw; background: white; border: 1px solid var(--border-lt); border-radius: var(--r-lg); overflow: hidden; transition: all 0.25s; cursor: pointer; }
@media (min-width: 768px)  { .t-deal-card { flex: 0 0 calc(50% - 8px); } }
@media (min-width: 1100px) { .t-deal-card { flex: 0 0 calc(33.333% - 11px); } }
.t-deal-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(0,0,0,0.1); border-color: rgba(4,142,211,0.3); }
.t-deal-img { width: 100%; height: 185px; object-fit: cover; background: var(--bg-2); display: block; }
.t-deal-body { padding: 16px 16px 14px; }
.t-deal-route { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-lt); margin-bottom: 6px; }
.t-deal-route i { color: var(--blue); font-size: 11px; }
.t-deal-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--text-lt2); margin-bottom: 14px; flex-wrap: wrap; }
.t-deal-meta span { display: flex; align-items: center; gap: 4px; }
.t-deal-footer { display: flex; align-items: center; justify-content: space-between; }
.t-deal-price { font-size: 11px; color: var(--text-lt2); }
.t-deal-price strong { display: block; font-size: 23px; font-weight: 900; color: var(--amber); line-height: 1.1; }
.t-deal-price .t-deal-note { font-size: 10px; }
.t-deal-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--blue); color: white; border: none; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: var(--font); text-decoration: none; }
.t-deal-btn:hover { background: var(--blue-d); color: white; }

/* ── WHY US ── */
.t-why-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 600px)  { .t-why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .t-why-grid { grid-template-columns: repeat(4, 1fr); } }
.t-why-card { padding: 34px 24px; background: white; border: 1px solid var(--border-lt); border-radius: var(--r-lg); text-align: center; transition: all 0.25s; }
.t-why-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(22,23,15,0.1); border-color: var(--blue); }
.t-why-ico { width: 58px; height: 58px; margin: 0 auto 18px; background: rgba(4,142,211,0.08); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--blue); transition: all 0.25s; }
.t-why-card:hover .t-why-ico { background: var(--blue); color: white; }
.t-why-title { font-size: 15px; font-weight: 800; color: var(--text-lt); margin-bottom: 9px; }
.t-why-desc { font-size: 12.5px; color: var(--text-lt2); line-height: 1.65; }

/* ── CTA BANNER ── */
.t-cta-sec {
  background:
    linear-gradient(rgba(10, 12, 8, 0.55), rgba(10, 12, 8, 0.55)),
    url('../images/ydestination.jpg') center / cover no-repeat;
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.t-cta-glow { position: absolute; top: -60px; right: -60px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(243,163,22,0.15) 0%, transparent 70%); pointer-events: none; }
.t-cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.t-cta-inner h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: white; letter-spacing: -0.02em; margin-bottom: 13px; }
.t-cta-inner p { font-size: 16px; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 34px; }
.t-cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.t-cta-btn-a { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; background: var(--amber); color: var(--bg); border: none; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 800; cursor: pointer; transition: all 0.2s; font-family: var(--font); text-decoration: none; }
.t-cta-btn-a:hover { background: var(--amber-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,163,22,0.4); color: var(--bg); }
.t-cta-btn-b { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; background: rgba(255,255,255,0.12); color: white; border: 1.5px solid rgba(255,255,255,0.35); border-radius: var(--r-sm); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: var(--font); text-decoration: none; }
.t-cta-btn-b:hover { background: rgba(255,255,255,0.2); color: white; }

/* ── PARTNERS ── */
.t-partners-strip { background: var(--surface); border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); padding: 28px 24px; }
.t-partners-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.t-partner-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #bbb; margin-right: 10px; white-space: nowrap; }
.t-partner-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: white; border: 1px solid var(--border-lt); border-radius: var(--r-sm); font-size: 11px; font-weight: 700; color: var(--text-lt2); transition: all 0.2s; }
.t-partner-badge:hover { border-color: var(--blue); color: var(--blue); }

/* ── NEWSLETTER ── */
.t-nl-bar { background: var(--bg-2); border-top: 1px solid var(--border-dk); border-bottom: 1px solid var(--border-dk); padding: 42px 24px; }
.t-nl-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.t-nl-text h3 { font-size: 20px; font-weight: 800; color: var(--text-lt); margin-bottom: 4px; }
.t-nl-text p { font-size: 13px; color: var(--text-lt2); margin: 0; }
.t-nl-form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.t-nl-form input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--border-lt); border-radius: var(--r-sm); background: white; color: var(--text-lt); font-size: 13.5px; font-family: var(--font); outline: none; transition: all 0.2s; }
.t-nl-form input:focus { border-color: var(--blue); }
.t-nl-form input::placeholder { color: #aaa; }
.t-nl-form button { padding: 12px 22px; background: var(--amber); color: var(--bg); border: none; border-radius: var(--r-sm); font-size: 13px; font-weight: 800; font-family: var(--font); cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.t-nl-form button:hover { background: var(--amber-d); }

/* ── FOOTER ── */
.t-footer { background: var(--bg-2); padding: 64px 24px 0; border-top: 1px solid var(--border-dk); }
.t-footer-inner { max-width: 1280px; margin: 0 auto; }
.t-footer-top { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--border-dk); }
@media (min-width: 600px)  { .t-footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .t-footer-top { grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr 320px; gap: 36px; } }
/* Facebook page plugin (Our Posts column) — fixed comfortable width, contained height,
   rounded + bordered so the third-party card reads as a deliberate tile, not an overflow */
.t-ft-fb {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border-dk);
  width: 320px;
  max-width: 100%;
  height: 224px;
}
.t-ft-fb .fb-page, .t-ft-fb .fb-page span, .t-ft-fb .fb-page iframe { max-width: 100% !important; }
.t-ft-brand img { height: 42px; margin-bottom: 16px; display: block; }
.t-ft-brand p { font-size: 13px; color: var(--text-lt2); line-height: 1.75; max-width: 270px; margin-bottom: 22px; }
.t-ft-social { display: flex; gap: 8px; }
.t-ft-social a { width: 36px; height: 36px; background: white; border: 1px solid var(--border-lt); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--text-lt2); font-size: 14px; transition: all 0.2s; text-decoration: none; }
.t-ft-social a:hover { background: var(--amber); color: var(--bg); border-color: var(--amber); }
.t-ft-col h4 { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-lt); margin-bottom: 20px; }
.t-ft-col h4 span { color: var(--amber); }
.t-ft-col a { display: block; font-size: 13px; color: var(--text-lt2); margin-bottom: 10px; transition: color 0.15s; text-decoration: none; }
.t-ft-col a:hover { color: var(--amber); }
.t-ft-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.t-ft-contact-row i { color: var(--amber); font-size: 13px; margin-top: 1px; flex-shrink: 0; }
.t-ft-contact-row span { font-size: 13px; color: var(--text-lt2); line-height: 1.55; }
.t-ft-hours { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.t-ft-hours span { font-size: 12px; color: var(--text-lt2); display: flex; align-items: center; gap: 6px; }
.t-ft-hours span i { color: var(--blue); font-size: 10px; }
.t-ft-members { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.t-ft-members img { height: 42px; border-radius: var(--r-sm); object-fit: contain; background: rgba(255,255,255,0.05); padding: 4px; }
/* Extra side/bottom room so the floating chat + accessibility widgets don't sit on the legal row */
.t-footer-bottom { padding: 20px 64px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 600px) { .t-footer-bottom { padding: 16px 0 84px; } }
/* "View all posts" link under the FB embed */
.t-ft-fb-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--blue); text-decoration: none; }
.t-ft-fb-link:hover { color: var(--blue-d); }
.t-ft-fb-link i { font-size: 10px; }
.t-footer-bottom p { font-size: 12px; color: var(--text-dk2); margin: 0; }
.t-footer-btm-links { display: flex; gap: 20px; flex-wrap: wrap; }
.t-footer-btm-links a { font-size: 12px; color: var(--text-dk2); transition: color 0.15s; text-decoration: none; }
.t-footer-btm-links a:hover { color: var(--amber); }

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 1080px) {
  .t-nav-links { display: none; }
  .t-nav-toggle { display: flex; }
  .t-topbar-left { display: none; }
  /* With the left section hidden, right-align the remaining group (currency +
     Login + FAQ) so it sits on the right edge instead of bunching at the start */
  .t-topbar-inner { justify-content: flex-end; }
}
@media (max-width: 600px) {
  .t-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .t-nl-inner { flex-direction: column; }
  .t-nl-form { max-width: 100%; width: 100%; }
  .t-topbar-right .t-tb-social { display: none; }
  /* Mobile header: Login + avatar only — signup lives inside the login modal,
     and the logged-in pills collapse into the avatar */
  /* Single-bar mobile header (Skyscanner-style): drop the navy topbar entirely;
     currency + login move into the main navbar via .t-nav-actions. */
  .t-topbar { display: none !important; }
  .t-nav-actions { display: flex; }
  .t-nav-toggle { margin-left: 8px; }
  .t-trust-inner { gap: 20px; }
  .t-trust-item { font-size: 10px; }
}

/* ── BOOKING BAR RESPONSIVE ── */
@media (max-width: 900px) {
  .t-bbar-swap { display: none; }
}
@media (max-width: 768px) {
  /* Base: stack fields full-width. !important is required: the desktop layout uses inline
     max-width styles per field (e.g. 80px for Adults) which would otherwise win on mobile. */
  .t-bbar-field {
    flex: 1 1 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .t-bbar-row { gap: 8px; }
  .t-bbar-body { padding: 14px 14px 12px; }

  /* ── Compact packing (Skyscanner-style): short fields share a row ──
     Pairs (50/50): date ranges, hotel nights/rooms + adults/child, tours & visa pax,
     insurance dob/phone, start/end, adults/children, trip/country. */
  .t-bbar-field:has(#DepartureDate), #flightReturnDV,
  .t-bbar-field:has(#CheckInDate), .t-bbar-field:has(#CheckOutDate),
  .t-bbar-field:has(#Nights), .t-bbar-field:has(#Rooms),
  .t-bbar-field:has(#Adults), .t-bbar-field:has(#Child),
  .t-bbar-field:has(#TdepartureDate), .t-bbar-field:has(#TarrivalDate),
  .t-bbar-field:has(#personCountId), .t-bbar-field:has(#ChildCnt),
  .t-bbar-field:has(#Adults_visa), .t-bbar-field:has(#Child_visa),
  .t-bbar-field:has(#date_picker), .t-bbar-field:has(#phone),
  .t-bbar-field:has(#start_date), .t-bbar-field:has(#end_date),
  .t-bbar-field:has(#adults), .t-bbar-field:has(#children),
  .t-bbar-field:has(#trip), .t-bbar-field:has(#country) {
    flex: 1 1 calc(50% - 4px) !important;
    min-width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
  }
  /* Triple (flight passengers): Adults / Child / Infant on one row */
  .t-bbar-field:has(#adultNumber),
  .t-bbar-field:has(#childNumber),
  .t-bbar-field:has(#infanttNumber) {
    flex: 1 1 calc(33.333% - 6px) !important;
    min-width: calc(33.333% - 6px) !important;
    max-width: calc(33.333% - 6px) !important;
  }

  /* Big full-width Search button, Skyscanner-style (the #btnSearch_Flight id selector is
     needed to outrank the desktop `#btnSearch_Flight { width:auto !important }` override) */
  .t-bbar-search,
  #btnSearch_Flight.t-bbar-search {
    width: 100% !important;
    justify-content: center;
    height: 48px;
    font-size: 14.5px;
  }
  .t-bbar-search i, .t-bbar-search svg { display: none; }
  .t-bbar-extras { padding: 8px 14px 12px; }
  .t-bbar-foot { padding: 0 14px 16px; }
  /* Tabs share the bar width evenly — with overflow-x scroll the last
     tab ("Visa") renders half-clipped on narrow phones (e.g. Z Fold 5) */
  .t-bbar-tabs { padding: 4px 4px 0; overflow-x: visible; }
  .t-bbar-tab { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px 4px; font-size: 11px; letter-spacing: 0.03em; gap: 6px; }
  .t-bbar-tab i { font-size: 12px; }
  /* Mobile: skip the hero headline — go straight to the search card */
  .t-hero-title { display: none; }
  .t-hero { padding: 20px 14px 44px; }
  .t-bbar-multilegs { padding: 0 14px; }
  /* iOS Safari auto-zooms inputs with font-size < 16px — prevent the jarring zoom-in on focus */
  .t-bbar-input,
  .t-auth-field input, .t-auth-field select { font-size: 16px !important; }

  /* Insurance tab hidden on mobile (form too heavy for small screens) */
  .t-tab-ins { display: none !important; }
  .t-bbar-sep { display: none; }

  /* Very narrow screens (Z Fold cover, iPhone SE): tighten tabs further */
  @media (max-width: 360px) {
    .t-bbar-tab { font-size: 10px; gap: 4px; padding: 10px 2px; letter-spacing: 0.02em; }
    .t-bbar-tab i { font-size: 11px; }
  }

  /* ── Flight From/To joined like Skyscanner: one card, seam between, floating swap ── */
  #t-panel-0 .t-bbar-row { position: relative; }
  #t-panel-0 .t-bbar-field:has(#FromAirPort) label,
  #t-panel-0 .t-bbar-field:has(#ToAireport) label { display: none; }
  #t-panel-0 .t-bbar-field:has(#FromAirPort) .t-bbar-input {
    border-radius: 12px 12px 0 0 !important;
  }
  /* Pull the To field up over the flex gap so the two inputs share one seam */
  #t-panel-0 .t-bbar-field:has(#ToAireport) {
    margin-top: calc(-8px - 1.5px) !important;
  }
  #t-panel-0 .t-bbar-field:has(#ToAireport) .t-bbar-input {
    border-radius: 0 0 12px 12px !important;
  }
  /* Swap button floats over the seam on the right (Skyscanner-style circle) */
  #t-panel-0 .t-bbar-swap {
    display: flex !important;
    position: absolute;
    right: 14px;
    top: 42px;
    transform: translateY(-50%);
    z-index: 6;
    padding: 0;
  }
  #t-panel-0 .t-bbar-swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--border-lt);
    box-shadow: 0 3px 12px rgba(26,27,19,0.16);
  }
  /* No hover effect on touch — prevents the sticky blue state after a tap */
  #t-panel-0 .t-bbar-swap-btn:hover {
    background: #fff !important;
    color: var(--blue) !important;
    border-color: var(--border-lt) !important;
  }
  /* Shift the input clear ✕ icons left so they don't sit under the floating swap circle */
  #t-panel-0 span.deleteicon span { right: 64px !important; }

  /* Trip type → native select styled as a pill (opens the OS picker — never clips or breaks) */
  .t-trip-opts { display: none !important; }
  .t-trip-native {
    display: inline-flex;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 9px 34px 9px 16px;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23048ED3'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 9px 6px !important;
    border: 1.5px solid rgba(4,142,211,0.3) !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 700;
    color: var(--blue) !important;
    font-family: var(--font) !important;
    cursor: pointer;
    height: auto !important;
    box-shadow: none !important;
  }
}

/* ── VIKINGCLOUD ASSURANCE BADGE (relocated into footer) ──
   The vendor script injects #widget-preview.ac-widget as position:fixed on the right
   viewport edge, rotated -90°. Once we move it into the footer slot, flatten it back
   into normal flow so it sits inline with the copyright / legal links. */
.t-assurance-slot { display: flex; align-items: center; }
.t-assurance-slot .ac-widget,
.t-assurance-slot #widget-preview {
  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  margin: 0 !important;
  box-shadow: none !important;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.t-assurance-slot .ac-widget:hover { opacity: 1; }

/* ── PAGE PRELOADER (slim progress bar) ──
   Overrides the legacy #preloader/#status (loader.gif over a translucent wash) in style.css. */
#preloader { background: var(--bg) !important; }
#status {
  background: none !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.t-loader-bar {
  width: 180px; height: 3px;
  background: rgba(4,142,211,0.14);
  border-radius: 100px;
  overflow: hidden;
}
.t-loader-bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 100px;
  animation: t-loadbar 1.1s ease-in-out infinite;
}
@keyframes t-loadbar { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }

/* ── EXPLORE DESTINATIONS BANNER (Skyscanner-style image card) ── */
.t-explore-sec { padding: 56px 24px; background: var(--surface); }
@media (min-width: 768px) { .t-explore-sec { padding: 72px 24px; } }
.t-explore-banner {
  position: relative;
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(26,27,19,0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.t-explore-banner:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(26,27,19,0.22); }
.t-explore-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.t-explore-banner:hover .t-explore-img { transform: scale(1.04); }
.t-explore-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,12,8,0.62) 0%, rgba(10,12,8,0.28) 45%, transparent 75%);
}
.t-explore-content {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 40px;
  max-width: 560px;
}
.t-explore-eyebrow { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.t-explore-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 26px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.t-explore-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  background: #fff;
  color: var(--text-dk);
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t-explore-banner:hover .t-explore-btn { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
@media (max-width: 768px) {
  .t-explore-sec { padding: 40px 16px; }
  .t-explore-banner { height: 300px; }
  .t-explore-content { padding: 22px 22px; }
  .t-explore-overlay { background: linear-gradient(to right, rgba(10,12,8,0.66) 0%, rgba(10,12,8,0.3) 70%, rgba(10,12,8,0.12) 100%); }
}

/* ── SKELETON LOADERS (carousel placeholders while data loads) ── */
.t-skel { position: relative; overflow: hidden; background: #ece9e2; border-radius: 8px; }
.t-skel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: translateX(-100%);
  animation: t-shimmer 1.4s ease-in-out infinite;
}
@keyframes t-shimmer { 100% { transform: translateX(100%); } }
.t-skel-img { height: 200px; border-radius: 0; }
.t-skel-body { padding: 18px 20px 20px; }
.t-skel-line { height: 12px; margin-bottom: 10px; }
.t-skel-line.w-80 { width: 80%; }
.t-skel-line.w-60 { width: 60%; }
.t-skel-line.w-40 { width: 40%; }

/* ════════════════════════════════════════════════════════════
   AUTH MODALS (Login / Signup) — premium booking-platform style
   Clean top bar + close, no icon clutter in inputs, large fields,
   one strong CTA. Markup ids unchanged (auth JS hangs off them).
═══════════════════════════════════════════════════════════════ */
.t-auth-dialog { max-width: 420px; margin-left: auto; margin-right: auto; }
.t-auth-dialog-lg { max-width: 460px; }
.t-auth-modal {
  font-family: var(--font);
  border: none !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 32px 90px rgba(0,0,0,0.3) !important;
  overflow: hidden;
}
/* Top bar */
.t-auth-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-bottom: 1px solid #eeebe4;
}
.t-auth-head-title { font-size: 14px; font-weight: 800; color: var(--text-dk); letter-spacing: -0.01em; }
.t-auth-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dk2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.t-auth-close:hover { background: #f1eee7; color: var(--text-dk); }
/* Body */
.t-auth-body { padding: 22px 24px 24px; }
.t-auth-dialog-lg .t-auth-body { max-height: min(74vh, 660px); overflow-y: auto; }
/* Visible, rounded scrollbar for the scrolling signup form */
.t-auth-body { scrollbar-width: thin; scrollbar-color: #b9b6ac transparent; }
.t-auth-body::-webkit-scrollbar { width: 8px; }
.t-auth-body::-webkit-scrollbar-track { background: transparent; }
.t-auth-body::-webkit-scrollbar-thumb { background: #b9b6ac; border-radius: 100px; }
.t-auth-body::-webkit-scrollbar-thumb:hover { background: #9a978d; }
.t-auth-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-dk); margin: 0 0 5px; }
.t-auth-sub { font-size: 13px; color: var(--text-dk2); line-height: 1.55; margin: 0 0 20px; }
/* Fields */
.t-auth-field { margin-bottom: 15px; }
.t-auth-field > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #56574b;
  margin: 0 0 6px;
}
.t-auth-field input[type="email"],
.t-auth-field input[type="text"],
.t-auth-field input[type="password"],
.t-auth-field input[type="tel"],
.t-auth-field select {
  width: 100%;
  height: 46px;
  padding: 0 14px !important;
  background: #fff !important;
  border: 1px solid #cfccc2 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-weight: 500;
  color: var(--text-lt) !important;
  font-family: var(--font) !important;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
  box-sizing: border-box;
}
.t-auth-field input:focus,
.t-auth-field select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(4,142,211,0.12) !important;
}
.t-auth-field input::placeholder { color: #b9b6ac; font-weight: 400; }
.t-auth-field select.t-auth-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 9px 6px !important;
  padding-right: 36px !important;
  cursor: pointer;
}
/* Password wrapper with eye toggle */
.t-auth-pwd { position: relative; }
.t-auth-pwd input { padding-right: 46px !important; }
.t-auth-pwd .password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border: none;
  background: transparent;
  color: #9a978d;
  cursor: pointer;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.t-auth-pwd .password-toggle:hover { color: var(--blue); }
/* Remember / forgot row */
.t-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 16px; }
.t-auth-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; margin: 0; }
.t-auth-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.t-auth-check span { font-size: 12.5px; color: var(--text-lt2); line-height: 1.45; font-weight: 500; }
.t-auth-terms { margin: 0 0 16px; }
.t-auth-link { color: var(--blue); font-weight: 700; font-size: 12.5px; text-decoration: none; }
.t-auth-link:hover { color: var(--blue-d); text-decoration: underline; }
/* reCAPTCHA */
.t-auth-captcha { margin-bottom: 16px; }
/* Primary CTA */
.t-auth-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: var(--amber);
  color: var(--bg);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font);
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.t-auth-btn:hover { background: var(--amber-d); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(243,163,22,0.38); }
.t-auth-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }
.t-auth-btn .btn-icon { font-size: 13px; }
/* Small inline buttons (Send code / Verify) */
.t-auth-inline { display: flex; gap: 8px; }
.t-auth-inline input { flex: 1; min-width: 0; }
.t-auth-btn-sm {
  flex-shrink: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 800;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.t-auth-btn-sm:hover { background: rgba(4,142,211,0.07); }
.t-auth-btn-sm:disabled { opacity: 0.55; cursor: not-allowed; }
.t-auth-btn-blue { background: var(--blue); color: #fff; }
.t-auth-btn-blue:hover { background: var(--blue-d); }
/* OTP inset panel */
.t-auth-otp {
  margin-top: 10px;
  padding: 13px;
  background: #f8f7f3;
  border: 1px solid #eceae2;
  border-radius: 12px;
}
.t-auth-otp input { background: #fff !important; }
/* Hints, badges, messages */
.t-auth-hint { display: block; font-size: 11.5px; color: #9a978d; margin-top: 6px; line-height: 1.5; }
.t-auth-hint i { color: var(--blue); margin-right: 3px; }
.t-auth-badge {
  display: inline-block;
  background: rgba(243,163,22,0.15);
  color: var(--amber-d);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.t-auth-body .error-message { display: block; font-size: 12px; color: #dc2626; margin-top: 6px; font-weight: 600; }
.t-auth-body .success-message { display: block; font-size: 12px; color: #16a34a; margin-top: 6px; font-weight: 600; }
.t-auth-body .error-message:empty,
.t-auth-body .success-message:empty { display: none; }
/* Account-type segmented selector — minmax(0,1fr) lets tracks shrink below
   their label width so the row never overflows on narrow screens */
.t-acct-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.t-acct-option { position: relative; }
.t-acct-option input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}
.t-acct-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1.5px solid #d8d5cb;
  border-radius: 10px;
  cursor: pointer;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-lt2);
  text-align: center;
  transition: all 0.15s;
  background: #fff;
}
.t-acct-option label i { font-size: 16px; color: #b3b0a6; transition: color 0.15s; }
.t-acct-option label:hover { border-color: var(--blue); }
.t-acct-option input[type="radio"]:checked + label {
  border-color: var(--blue);
  background: rgba(4,142,211,0.06);
  color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue) inset;
}
.t-acct-option input[type="radio"]:checked + label i { color: var(--blue); }
/* Neutralize the global `.radio [type=radio] + label` styling from shortcode.css,
   which otherwise wins on the UNCHECKED state (specificity 0,3,1 > our 0,1,1) and
   paints the label text white + draws its own ::before/::after radio circles.
   !important beats those non-!important rules regardless of specificity. */
.t-acct-option label { color: var(--text-lt2) !important; font-size: 11.5px !important; padding-left: 6px !important; }
.t-acct-option input[type="radio"]:checked + label { color: var(--blue) !important; }
.t-acct-option label::before,
.t-acct-option label::after { content: none !important; display: none !important; }
/* Agent-type chips (multi-select) */
.t-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.t-chip { position: relative; margin: 0; cursor: pointer; }
.t-chip input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.t-chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid #d8d5cb;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-lt2);
  background: #fff;
  transition: all 0.15s;
}
.t-chip:hover span { border-color: var(--blue); }
.t-chip input[type="checkbox"]:checked + span {
  border-color: var(--blue);
  background: rgba(4,142,211,0.08);
  color: var(--blue);
}
/* Footer switch row */
.t-auth-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eeebe4;
  text-align: center;
  font-size: 13px;
  color: var(--text-lt2);
  font-weight: 500;
}
.t-auth-foot .t-auth-link { font-size: 13px; }
/* Login ↔ signup panel switch (same modal) — soft fade/slide on each swap */
.t-auth-panel { animation: tAuthPanelIn 0.28s ease; }
@keyframes tAuthPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
/* ── Mobile (≤600px): full-screen sheet — Skyscanner-style ──
   The sheet is pinned to the viewport with position:fixed/inset:0 so it ALWAYS
   covers the full height (over the header, and stays put when the keyboard opens).
   Edge-to-edge white, close top-right (no title bar), big bold left headline,
   airy spacing, large touch-friendly inputs. */
@media (max-width: 600px) {
  #login.modal { padding: 0 !important; }
  /* The dialog is just a passthrough; the modal-content does the covering.
     transform:none is critical — the global .modal.show .modal-dialog rule sets a
     transform, and any transformed ancestor would re-anchor the fixed sheet to the
     dialog box (leaving a gap) instead of the viewport. */
  #login .t-auth-dialog,
  #login .t-auth-dialog-lg { max-width: 100%; width: 100%; min-height: 100%; margin: 0; transform: none !important; }

  #login .t-auth-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff;
    display: flex;
    flex-direction: column;
    /* Bottom-sheet slide-up entrance. Driven by a keyframe (not a .show-gated
       transform) so the resting state is always visible — the animation runs
       each time the modal flips from display:none to block, and ends at 0. */
    animation: tAuthSheetUp 0.34s cubic-bezier(0.32,0.72,0,1) both;
  }
  @keyframes tAuthSheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  /* Header: floating close only, no centered title, no divider */
  .t-auth-head {
    height: 54px;
    flex: 0 0 auto;
    justify-content: flex-end;
    border-bottom: none;
    padding: 0 10px;
  }
  .t-auth-head-title { display: none; }
  .t-auth-close {
    position: static;
    transform: none;
    width: 42px; height: 42px;
    font-size: 28px;
    color: var(--text-dk);
  }

  /* Body: scrolls internally, content flows from the top, generous padding */
  .t-auth-body,
  .t-auth-dialog-lg .t-auth-body {
    flex: 1 1 auto;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 24px calc(36px + env(safe-area-inset-bottom));
    display: block;
  }
  .t-auth-brand { display: block; height: 32px; width: auto; margin: 0 0 20px; }
  .t-auth-title { font-size: 29px; line-height: 1.14; letter-spacing: -0.025em; margin: 0 0 11px; }
  .t-auth-sub { font-size: 14.5px; line-height: 1.5; margin: 0 0 28px; }

  /* Fields scaled up; 16px input text avoids iOS zoom-on-focus */
  .t-auth-field { margin-bottom: 18px; }
  .t-auth-field > label { font-size: 13px; margin-bottom: 8px; }
  .t-auth-field input[type="email"],
  .t-auth-field input[type="text"],
  .t-auth-field input[type="password"],
  .t-auth-field input[type="tel"],
  .t-auth-field select,
  .t-auth-btn-sm { height: 52px; border-radius: 12px !important; font-size: 16px !important; }
  .t-auth-row { margin: 4px 0 22px; }
  .t-auth-check span { font-size: 14px; }
  .t-auth-link, .t-auth-foot, .t-auth-foot .t-auth-link { font-size: 14px; }
  .t-auth-btn { height: 52px; font-size: 16px; border-radius: 12px; }
  .t-auth-foot { margin-top: 22px; padding-top: 20px; }

  /* ── Signup polish on mobile ── */
  /* Account type: stack as full-width rows (icon + label) instead of three
     cramped columns — the labels ("Individual", "Travel Agent") need the room.
     High specificity + !important so no other sheet (plugins.css etc.) can win. */
  #login .t-acct-row { grid-template-columns: 1fr !important; gap: 10px !important; }
  #login .t-acct-option { display: block !important; }
  #login .t-acct-option input[type="radio"] {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    opacity: 0 !important;
    clip: rect(0,0,0,0) !important;
    pointer-events: none !important;
    -webkit-appearance: none !important; appearance: none !important;
  }
  #login .t-acct-option label {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 13px !important;
    width: 100% !important;
    padding: 15px 16px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }
  #login .t-acct-option label i { font-size: 19px !important; width: 22px !important; text-align: center !important; flex: 0 0 auto !important; }
  #login .t-acct-option label span { display: inline !important; }
  /* Email + Send OTP keep equal heights and don't crowd */
  .t-auth-inline { gap: 8px; }
  .t-auth-btn-sm { padding: 0 14px; font-size: 13px !important; }
  .t-auth-hint { font-size: 12px; }
  /* reCAPTCHA tends to overflow narrow screens — scale to fit, left-aligned */
  .t-auth-captcha { overflow: hidden; }
  .t-auth-captcha > div { transform: scale(0.88); transform-origin: left top; }
  .t-chip span { padding: 9px 15px; font-size: 13px; }
}
/* ── Split layout (desktop): near-fullscreen modal, form left / image right — Skyscanner-style ── */
.t-auth-side { display: none; }
.t-auth-brand { display: none; }
@media (min-width: 992px) {
  .t-auth-dialog,
  .t-auth-dialog-lg {
    width: calc(100vw - 120px);
    max-width: 1320px;
  }
  .t-auth-modal {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr;
    min-height: 620px;
    /* Never taller than the viewport — overflow scrolls inside the form column,
       so the outer .modal never grows its own scrollbar */
    max-height: calc(100vh - 56px);
  }
  .t-auth-body { overflow-y: auto; }
  /* No title bar on desktop — just a floating close button (the reference pattern) */
  .t-auth-head {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    height: auto;
    border: none;
    z-index: 5;
  }
  .t-auth-head-title { display: none; }
  /* Floating close sits over the image — needs its own surface to stay visible */
  .t-auth-close {
    position: static;
    transform: none;
    width: 38px;
    height: 38px;
    font-size: 22px;
    background: #fff;
    color: var(--text-dk);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.06);
  }
  .t-auth-close:hover { background: #f1eee7; color: #000; }
  .t-auth-body {
    grid-column: 1;
    grid-row: 1;
    padding: 48px 72px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .t-auth-brand { display: block; height: 44px; width: auto; align-self: flex-start; margin-bottom: 20px; }
  .t-auth-title { font-size: 30px; }
  .t-auth-sub { font-size: 15px; margin-bottom: 28px; }
  .t-auth-field { margin-bottom: 18px; }
  .t-auth-field input[type="email"],
  .t-auth-field input[type="text"],
  .t-auth-field input[type="password"],
  .t-auth-field input[type="tel"],
  .t-auth-field select { height: 50px; }
  .t-auth-btn { height: 52px; }
  .t-auth-side {
    display: block;
    grid-column: 2;
    grid-row: 1;
    padding: 28px 28px 28px 8px;
  }
  .t-auth-side img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
  }
  /* Signup form is long — keep internal scroll, centred layout off */
  .t-auth-dialog-lg .t-auth-body { justify-content: flex-start; max-height: calc(100vh - 120px); }
}

/* ── IMG PLACEHOLDER ── */
.t-img-ph { background: repeating-linear-gradient(-45deg, #d4d0c8 0, #d4d0c8 10px, #cac5bc 10px, #cac5bc 20px); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #8a877e; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ─────────────────────────────────────────────
   MODERN jQuery UI DATEPICKER
   Restyles the shared .ui-datepicker popup used by every date field
   (departure/return/check-in/check-out/etc). No JS changes — all the
   existing datepicker init + linked-date logic stays intact.
───────────────────────────────────────────── */
.ui-datepicker {
  width: 290px !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid var(--border-lt) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22) !important;
  font-family: var(--font) !important;
  margin-top: 6px !important;
  z-index: 99999 !important;
  display: none;
}
.ui-datepicker .ui-datepicker-header {
  background: transparent !important;
  border: none !important;
  padding: 0 0 10px !important;
  position: relative !important;
  font-weight: 700 !important;
}
.ui-datepicker .ui-datepicker-title {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 38px !important;
  line-height: 34px !important;
}
.ui-datepicker .ui-datepicker-title select {
  -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
  border: 1.5px solid var(--border-lt) !important;
  border-radius: 8px !important;
  padding: 6px 26px 6px 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--text-lt) !important;
  background-color: #fafaf8 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 8px 5px !important;
  font-family: var(--font) !important;
  cursor: pointer !important;
}
/* Nav arrows → clean circular buttons */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: 0 !important;
  width: 32px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #f4f2ec !important;
  border: none !important;
  cursor: pointer !important;
  overflow: hidden !important;
}
.ui-datepicker .ui-datepicker-prev { left: 0 !important; }
.ui-datepicker .ui-datepicker-next { right: 0 !important; }
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover { background: var(--blue) !important; }
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span { display: none !important; }
.ui-datepicker .ui-datepicker-prev::after,
.ui-datepicker .ui-datepicker-next::after {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 17px !important; font-weight: 700 !important; line-height: 1 !important;
  color: var(--text-dk2) !important;
}
.ui-datepicker .ui-datepicker-prev::after { content: "\2039" !important; }
.ui-datepicker .ui-datepicker-next::after { content: "\203A" !important; }
.ui-datepicker .ui-datepicker-prev:hover::after,
.ui-datepicker .ui-datepicker-next:hover::after { color: #fff !important; }
/* Day grid */
.ui-datepicker table { margin: 0 !important; border-collapse: separate !important; border-spacing: 2px !important; }
.ui-datepicker th { padding: 8px 0 !important; font-size: 11px !important; font-weight: 800 !important; color: #b3b1a8 !important; text-transform: uppercase !important; border: none !important; }
.ui-datepicker td { padding: 1px !important; border: none !important; }
.ui-datepicker td a,
.ui-datepicker td span {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 34px !important; height: 34px !important; margin: 0 auto !important; padding: 0 !important;
  border-radius: 50% !important;
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--text-lt) !important;
  background: transparent !important; border: none !important;
  text-align: center !important;
}
.ui-datepicker td a.ui-state-hover { background: rgba(4,142,211,0.12) !important; color: var(--blue) !important; }
.ui-datepicker td a.ui-state-highlight { background: rgba(243,163,22,0.18) !important; color: var(--amber-d) !important; font-weight: 800 !important; } /* today */
.ui-datepicker td a.ui-state-active { background: var(--blue) !important; color: #fff !important; } /* selected */
.ui-datepicker td.ui-datepicker-unselectable span { color: #ccc !important; }

/* ════════════════════════════════════════════════
   AIRPORT / COUNTRY AUTOCOMPLETE (bootstrap3-typeahead)
   Renders a bare ul.typeahead.dropdown-menu after the
   input — themed here since it appears on every search
   form (home hero, /flight, /visa, results page).
═════════════════════════════════════════════════ */
ul.typeahead.dropdown-menu {
  min-width: 270px;
  max-width: min(460px, calc(100vw - 28px));
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #eceae3;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 32, 112, 0.18);
  padding: 6px;
  margin-top: 6px;
  z-index: 10050;
}
ul.typeahead.dropdown-menu > li > a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
/* the typed-prefix highlight */
ul.typeahead.dropdown-menu > li > a strong {
  color: var(--amber-d);
  font-weight: 800;
}
ul.typeahead.dropdown-menu > li.active > a,
ul.typeahead.dropdown-menu > li > a:hover,
ul.typeahead.dropdown-menu > li > a:focus {
  background: var(--navy);
  color: #fff;
}
ul.typeahead.dropdown-menu > li.active > a strong,
ul.typeahead.dropdown-menu > li > a:hover strong,
ul.typeahead.dropdown-menu > li > a:focus strong {
  color: var(--amber);
}
/* thin themed scrollbar inside the list */
ul.typeahead.dropdown-menu::-webkit-scrollbar { width: 6px; }
ul.typeahead.dropdown-menu::-webkit-scrollbar-thumb { background: #d8d4c9; border-radius: 100px; }

@media (max-width: 768px) {
  ul.typeahead.dropdown-menu {
    max-width: calc(100vw - 28px);
    max-height: 40vh; /* keep clear of the on-screen keyboard */
  }
  /* wrap long airport names instead of clipping them */
  ul.typeahead.dropdown-menu > li > a {
    white-space: normal;
    padding: 11px 12px;
    border-bottom: 1px solid #f5f3ee;
    border-radius: 0;
  }
  ul.typeahead.dropdown-menu > li:last-child > a { border-bottom: none; }
}

/* ════════════════════════════════════════════════
   FLIGHT SEARCH LOADING MODAL (new theme)
   Markup: Views/Shared/_FlightSearchModals.cshtml
═════════════════════════════════════════════════ */
.t-search-modal .modal-dialog { max-width: 360px; margin-left: auto; margin-right: auto; }
.t-search-modal .modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  font-family: var(--font);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.t-search-modal .t-sm-head {
  position: relative;
  background: linear-gradient(135deg, #002070 0%, #048ED3 100%);
  padding: 18px 20px 16px;
  text-align: center;
  overflow: hidden;
}
.t-search-modal .t-sm-head::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.t-search-modal .t-sm-plane {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 14px;
  animation: tSmFloat 2s ease-in-out infinite;
}
@keyframes tSmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.t-search-modal .modal-title {
  color: #fff !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  line-height: 1.45;
  margin: 0;
}
.t-search-modal .modal-title span { color: var(--amber); }
.t-search-modal .t-sm-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
  font-weight: 600;
  margin: 8px 0 0;
}
.t-search-modal .t-sm-body {
  background: #fff;
  padding: 16px 16px 20px;
  text-align: center;
}
.t-search-modal .t-sm-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.t-search-modal .t-sm-route label {
  flex: 1;
  max-width: 44%;
  background: #faf9f6;
  border: 1px solid #eceae3;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1a1b13 !important;
  line-height: 1.4;
  margin: 0;
}
.t-search-modal .t-sm-route-icon {
  color: var(--amber);
  font-size: 15px;
  animation: tSmPulse 1.2s ease-in-out infinite;
}
@keyframes tSmPulse {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(5px); opacity: 0.55; }
}
.t-search-modal .t-sm-date {
  margin: 10px 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: #777;
}
.t-search-modal .t-sm-date i { color: var(--amber-d); margin-right: 5px; }
.t-search-modal .t-sm-date label { margin: 0; color: inherit !important; font-weight: inherit; }
.t-search-modal .t-sm-legs {
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
}
/* indeterminate progress sweep */
.t-search-modal .t-sm-bar {
  height: 5px;
  background: #eee9df;
  border-radius: 100px;
  overflow: hidden;
}
.t-search-modal .t-sm-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--amber), #048ED3);
  animation: tSmBar 1.3s ease-in-out infinite;
}
@keyframes tSmBar {
  0% { margin-left: -40%; }
  100% { margin-left: 100%; }
}
@media (max-width: 480px) {
  .t-search-modal .modal-dialog { max-width: calc(100vw - 28px); }
  .t-search-modal .t-sm-route { flex-direction: column; gap: 6px; }
  .t-search-modal .t-sm-route label { max-width: 100%; width: 100%; }
  .t-search-modal .t-sm-route-icon { transform: rotate(90deg); }
  .t-search-modal .t-sm-route-icon { animation: none; }
}

/* ════════════════════════════════════════════════
   CLEAR ✕ INSIDE SEARCH INPUTS
   Page JS wraps #FromAirPort/#ToAireport in span.deleteicon
   and injects a <span>x</span>; each page used to style it
   ad-hoc (gray blob over the text) — themed properly here.
═════════════════════════════════════════════════ */
span.deleteicon {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
}
span.deleteicon > span {
  position: absolute !important;
  top: 50%;
  right: 10px !important;
  transform: translateY(-50%);
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: #e9e5da !important;
  color: #6b6a63 !important;
  font: 800 11px/1 var(--font) !important;
  text-align: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s, color 0.15s;
}
span.deleteicon > span:hover {
  background: var(--navy) !important;
  color: #fff !important;
}
/* keep the typed airport name clear of the ✕ */
span.deleteicon > input {
  padding-right: 36px !important;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  /* joined From/To card: ✕ sits left of the floating swap circle,
     and the input reserves room for both */
  #t-panel-0 span.deleteicon > span { right: 62px !important; }
  #t-panel-0 span.deleteicon > input { padding-right: 92px !important; }
}
