/* ==========================================================================
   TNE Services Portal — iOS 26 Liquid Glass | Tinted Glass Effect
   Same sizing & shapes, modern translucent materials
   ========================================================================== */

:root {
  /* TNE Brand */
  --tne-primary: #0d4f8b;
  --tne-primary-dark: #083a6b;
  --tne-primary-light: #1a6bb8;
  --tne-accent: #e8a838;
  --tne-accent-dark: #c98f1f;
  --tne-accent-light: #f5c04d;
  --tne-warn: #dd6b20;
  --tne-success: #38a169;
  --tne-success-dark: #2d8a5a;

  /* Typography & surfaces (2025 refresh) */
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-primary: #1a1a1e;
  --text-secondary: #5c5c66;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --shadow-sm: 0 2px 8px rgba(13, 79, 139, 0.06);
  --shadow-md: 0 8px 28px rgba(13, 79, 139, 0.1);
  --shadow-lg: 0 20px 50px rgba(13, 79, 139, 0.12);
  --focus-ring: 0 0 0 3px rgba(13, 79, 139, 0.35);

  /* Liquid Glass — tinted materials */
  --glass-bg: rgba(255, 255, 255, 0.35);
  --glass-bg-strong: rgba(255, 255, 255, 0.55);
  --glass-bg-subtle: rgba(255, 255, 255, 0.2);
  --glass-border: color-mix(in srgb, #ffffff 36%, var(--tne-primary) 20%);
  --glass-border-subtle: color-mix(in srgb, #ffffff 24%, var(--tne-primary) 14%);

  /* Visibility borders — same hue as surface, reduced opacity */
  --tne-border-on-primary: color-mix(in srgb, var(--tne-primary) 20%, transparent);
  --tne-border-on-accent: color-mix(in srgb, var(--tne-accent) 22%, transparent);
  --tne-border-on-success: color-mix(in srgb, var(--tne-success) 22%, transparent);
  --tne-border-on-warn: color-mix(in srgb, var(--tne-warn) 24%, transparent);
  --tne-border-on-error: color-mix(in srgb, #e53e3e 22%, transparent);
  --tne-border-on-white: color-mix(in srgb, #ffffff 38%, var(--tne-primary) 12%);
  --tne-border-on-dark: color-mix(in srgb, #ffffff 14%, transparent);
  --tne-border-on-surface: color-mix(in srgb, var(--tne-primary) 14%, transparent);
  --border-subtle: var(--tne-border-on-surface);
  --tne-border: 1px solid var(--tne-border-on-primary);
  --tne-border-subtle: 1px solid var(--tne-border-on-surface);

  /* Search form glass controls — tinted border + soft lift shadow */
  --search-glass-bg: rgba(255, 255, 255, 0.72);
  --search-glass-bg-strong: rgba(255, 255, 255, 0.88);
  --search-glass-border: color-mix(in srgb, #ffffff 48%, var(--tne-primary) 15%);
  --search-glass-shadow: 0 2px 8px rgba(13, 79, 139, 0.07), 0 1px 2px rgba(13, 79, 139, 0.04);
  --search-glass-shadow-hover: 0 4px 14px rgba(13, 79, 139, 0.1), 0 1px 3px rgba(13, 79, 139, 0.06);
  --search-glass-shadow-focus: 0 4px 16px rgba(13, 79, 139, 0.11), 0 0 0 3px rgba(13, 79, 139, 0.08);

  --glass-blur: 10px;
  --glass-saturate: 180%;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-xl: 22px;
  /* Primary glass/card shells — same as .search-box / .service-tabs-wrapper */
  --tne-surface-radius: var(--radius-lg);

  /* One column width for header, hero copy, main, promos, footer */
  --tne-content-max: 1200px;
  --tne-content-pad: clamp(1rem, 4vw, 1.5rem);
  /* One horizontal gutter for page chrome (logo → sections → footer) */
  --tne-page-gutter: var(--tne-content-pad);

  /* Cool, light page & hero gradients (no photo backgrounds) */
  --tne-page-gradient:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(186, 230, 253, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 40%, rgba(147, 197, 253, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 45% 28% at 0% 72%, rgba(167, 243, 208, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #f4f9fc 0%, #eef5fa 48%, #e8f1f8 100%);
  --tne-hero-gradient:
    radial-gradient(ellipse 85% 70% at 15% -15%, rgba(186, 230, 253, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 75% 55% at 95% 10%, rgba(147, 197, 253, 0.35) 0%, transparent 52%),
    linear-gradient(165deg, #f7fbfe 0%, #edf4fa 45%, #e6eef6 100%);
  --tne-hero-gradient-flights:
    radial-gradient(ellipse 80% 65% at 10% -10%, rgba(191, 219, 254, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 15%, rgba(186, 230, 253, 0.38) 0%, transparent 50%),
    linear-gradient(165deg, #f6faff 0%, #ebf3fb 50%, #e4edf8 100%);
  --tne-hero-gradient-hotels:
    radial-gradient(ellipse 80% 65% at 12% -8%, rgba(167, 243, 208, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 98% 12%, rgba(186, 230, 253, 0.32) 0%, transparent 50%),
    linear-gradient(165deg, #f5fbf8 0%, #ecf5f2 50%, #e8f2f8 100%);
  --tne-hero-gradient-cruise:
    radial-gradient(ellipse 80% 65% at 20% -10%, rgba(165, 243, 252, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 8%, rgba(186, 230, 253, 0.34) 0%, transparent 50%),
    linear-gradient(165deg, #f4fafc 0%, #ebf4f8 50%, #e6f0f6 100%);
  --tne-hero-gradient-visa:
    radial-gradient(ellipse 80% 65% at 18% -8%, rgba(199, 210, 254, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 10%, rgba(186, 230, 253, 0.3) 0%, transparent 50%),
    linear-gradient(165deg, #f7f8fe 0%, #eef2fa 50%, #e9eef6 100%);
  --tne-hero-gradient-holidays:
    radial-gradient(ellipse 80% 65% at 14% -10%, rgba(253, 230, 138, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 96% 12%, rgba(186, 230, 253, 0.34) 0%, transparent 50%),
    linear-gradient(165deg, #fafcfe 0%, #eef5fa 50%, #e8f1f8 100%);

  /* Global form controls & buttons — override per component when needed */
  --tne-control-pad-y: 0.6rem;
  --tne-control-pad-x: 0.75rem;
  --tne-control-font-size: 0.9rem;
  --tne-control-font-weight: 600;
  --tne-control-color: #1d1d1f;
  --tne-control-bg: #fff;
  --tne-control-border: 1.5px solid var(--tne-border-on-primary);
  --tne-control-radius: 10px;
  --tne-control-focus-border: var(--tne-primary);
  --tne-control-focus-shadow: 0 0 0 3px rgba(13, 79, 139, 0.08);
  --tne-control-placeholder: #8e8e93;

  --tne-btn-pad-y: 0.75rem;
  --tne-btn-pad-x: 1.5rem;
  --tne-btn-font-size: 0.95rem;
  --tne-btn-font-weight: 600;
  --tne-btn-radius: var(--radius-md);
}

/* ==========================================================================
   UI visibility — borders tinted to each element's color at reduced opacity
   ========================================================================== */

/* Solid-fill buttons: border matches fill hue */
.btn-primary,
.fsc-search-btn,
.pax-modal__submit,
.tne-prefs-apply {
  border: 1px solid color-mix(in srgb, var(--tne-primary) 48%, transparent);
}

.btn-accent {
  border: 1px solid color-mix(in srgb, var(--tne-accent) 48%, transparent);
}

.checkout-steps .step.active {
  border-color: color-mix(in srgb, var(--tne-primary) 62%, transparent);
}

.checkout-steps .step.done {
  border-color: color-mix(in srgb, var(--tne-success) 62%, transparent);
}

.trending-tab {
  border: 1px solid transparent;
}

.trending-tab:hover {
  border-color: color-mix(in srgb, var(--tne-primary) 12%, transparent);
}

.trending-tab.active {
  border-color: color-mix(in srgb, var(--tne-primary) 50%, transparent);
}

.service-tab {
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
}

.service-tab:hover {
  border-color: color-mix(in srgb, var(--tne-primary) 10%, transparent);
  border-bottom-color: transparent;
}

.service-tab.active {
  border: 1px solid var(--glass-border-subtle);
  border-bottom: 3px solid var(--tne-primary);
}

.site-header {
  border-bottom-color: var(--tne-border-on-dark);
}

.site-footer {
  border-top-color: var(--tne-border-on-dark);
}

.site-header .main-nav a {
  border: 1px solid transparent;
}

.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible {
  border-color: var(--tne-border-on-dark);
}

.account-link,
.cart-link {
  border: 1px solid color-mix(in srgb, var(--tne-primary) 18%, transparent);
}

.nav-toggle,
.tne-prefs-close,
.pax-modal__close,
.hotel-gallery-lightbox__close,
.fsc-swap-btn {
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.tne-prefs-card {
  border: 1px solid var(--tne-border-on-white);
}

.tne-return-steps__item {
  border-color: var(--tne-border-on-surface);
}

.pax-type-badge,
.campaign-badge {
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}

.flight-book-card__badge-wrap {
  border: 1px solid var(--tne-border-on-white);
}

.search-box input:not(.fsc-field-input):not(.fsc-date-range__fp):not([type="hidden"]),
.search-box select,
.search-box textarea,
.fsc-controls-row,
.fsc-trip-pills,
.fsc-cabin-select select,
.fsc-direct-check,
.fsc-search-row,
.fsc-pax-popover,
.fsc-stepper,
.fsc-swap-btn,
.fsc-advanced-toggle,
.fsc-adv-field select,
.fsc-adv-field input[type="text"] {
  border-color: var(--search-glass-border);
  box-shadow: var(--search-glass-shadow);
}

.fsc-field {
  border-right-color: var(--search-glass-border);
}

.tne-flight-card,
.tne-flight-card__expanded-view,
.booking-success-card,
.booking-order-meta,
.hotel-hero-stat,
.pax-card,
.flight-chip {
  border-color: var(--tne-border-on-surface);
}

.account-flash--info {
  border-color: var(--tne-border-on-primary);
}

.account-flash--success {
  border-color: var(--tne-border-on-success);
}

.account-flash--error {
  border-color: var(--tne-border-on-error);
}

.circuit-msg {
  border-color: var(--tne-border-on-warn);
}

.flight-chip--accent {
  border-color: var(--tne-border-on-accent);
}

.success-panel {
  border-color: var(--tne-border-on-success);
}

* {
  box-sizing: border-box;
}

/* ==========================================================================
   Body — Rich gradient background for glass refraction
   ========================================================================== */
body {
  font-family: var(--font-sans);
  margin: 0;
  min-height: 100vh;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent horizontal scroll from 100vw elements */
  background: var(--tne-page-gradient);
}

/* Booking-app shell: slightly calmer canvas, stronger chrome */
body.tne-booking-app {
  background:
    radial-gradient(ellipse 85% 50% at 50% -8%, rgba(186, 230, 253, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 45% 30% at 100% 30%, rgba(147, 197, 253, 0.1) 0%, transparent 48%),
    linear-gradient(180deg, #f0f6fb 0%, #eaf1f8 50%, #e4ecf4 100%);
}

body.tne-booking-app .main-content {
  padding-top: 0;
  /* Hero sections provide header clearance; stacked pages use :not(:has()) below */
}

body.tne-booking-app .main-content:not(:has(.tne-hero)) {
  padding-top: 9.5rem;
}

body.tne-booking-app .search-box {
  box-shadow: 0 14px 42px rgba(13, 79, 139, 0.1);
  border: var(--tne-border-subtle);
}

body.tne-booking-app .service-tabs-wrapper {
  box-shadow: 0 16px 48px rgba(13, 79, 139, 0.1);
  border: var(--tne-border-subtle);
}

body.nav-open {
  overflow: hidden;
}

body.pax-drawer-open {
  overflow: hidden;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

:focus-visible {
  outline: none;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Global form controls & buttons
   Base styles for inputs, selects, textareas, and .btn.
   Override only where layout demands it, e.g.:
   - .fsc-field-input, .fsc-date-range__fp — borderless compact search
   - .fsc-cabin-select select — pill dropdown
   - .fsc-search-btn, .fsc-stepper-btn, .fsc-swap-btn — icon / CTA buttons
   - .search-box input/select — glass material (below)
   - .pax-modal__submit, .tne-prefs-select — bespoke components
   ========================================================================== */

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  margin: 0;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
}

select,
textarea,
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]) {
  width: 100%;
  max-width: 100%;
  padding: var(--tne-control-pad-y) var(--tne-control-pad-x);
  border: var(--tne-control-border);
  border-radius: var(--tne-control-radius);
  font-size: var(--tne-control-font-size);
  font-weight: var(--tne-control-font-weight);
  color: var(--tne-control-color);
  background: var(--tne-control-bg);
  font-family: inherit;
  line-height: 1.35;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2rem;
  background-color: var(--tne-control-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230d4f8b' d='M1.4.6 6 5.2 10.6.6 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 12px 8px;
}

select:focus,
textarea:focus,
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus {
  outline: none;
  border-color: var(--tne-control-focus-border);
  box-shadow: var(--tne-control-focus-shadow);
}

input::placeholder,
textarea::placeholder {
  color: var(--tne-control-placeholder);
  font-weight: 400;
}

.tne-control--invalid,
input.tne-control--invalid,
select.tne-control--invalid,
textarea.tne-control--invalid,
.pax-field input.pax-input--invalid,
.pax-field select.pax-input--invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  max-width: none;
  padding: var(--tne-btn-pad-y) var(--tne-btn-pad-x);
  border-radius: var(--tne-btn-radius);
  font-size: var(--tne-btn-font-size);
  font-weight: var(--tne-btn-font-weight);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}

.btn-primary {
  background: var(--tne-primary);
  color: #fff;
  border-color: color-mix(in srgb, var(--tne-primary) 48%, transparent);
  box-shadow: 0 4px 12px rgba(13, 79, 139, 0.35);
}

.btn-primary:hover {
  background: var(--tne-primary-light);
  box-shadow: 0 6px 20px rgba(13, 79, 139, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-accent {
  background: var(--tne-accent);
  color: #1d1d1f;
  border-color: color-mix(in srgb, var(--tne-accent) 48%, transparent);
  box-shadow: 0 4px 12px rgba(232, 168, 56, 0.35);
}

.btn-accent:hover {
  background: var(--tne-accent-light);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--tne-primary);
  border-color: color-mix(in srgb, var(--tne-primary) 35%, transparent);
  box-shadow: 0 2px 8px rgba(13, 79, 139, 0.12);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--tne-primary);
  box-shadow: 0 4px 14px rgba(13, 79, 139, 0.2);
}

.btn-search {
  margin-top: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  width: 100%;
}

.hidden {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--tne-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ==========================================================================
   Header — Tinted glass bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.7);
  /* Darker charcoal/navy glass */
  backdrop-filter: blur(32px) saturate(140%) brightness(85%);
  -webkit-backdrop-filter: blur(32px) saturate(140%) brightness(85%);
  color: #ffffff;
  padding: 0;
  border-bottom: 1px solid var(--tne-border-on-dark);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s var(--ease-out);
}

.site-header .main-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.site-header .main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Header Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 5px;
  /* Added padding around logo */
}

.logo-img {
  display: block;
  width: auto;
  height: 100px;
  padding: 5px;
  /* Padding for logo clarity */
  transition: all 0.3s var(--ease-out);
}

.site-header--slim .logo-img {
  height: 48px;
}

.site-header__strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.14);
  padding: 0.4rem var(--tne-page-gutter) 0.5rem;
}

.site-header__strip-inner {
  display: block;
  max-width: var(--tne-content-max);
  margin: 0 auto;
  box-sizing: border-box;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

@media (max-width: 560px) {
  .site-header__strip-inner {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--tne-content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 90px;
  box-sizing: border-box;
  transition: height 0.4s var(--ease-out);
}

.site-header--slim .header-inner {
  height: 70px;
}

.header-brand-row {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Shifting Line Effect */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: #f59e0b;
  /* Gold accent line */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.86, 0, 0.07, 1);
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-utilities a,
.header-utilities .prefs-trigger {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  height: 40px;
  padding: 0 1.15rem;
  border-radius: 24px;
  /* Perfect pill shape */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-utilities a:hover,
.header-utilities .prefs-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cart-badge {
  background: var(--tne-accent);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
  margin-left: 2px;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-utilities .utility-label {
    display: none;
  }

  .header-utilities a,
  .header-utilities .prefs-trigger {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    flex-shrink: 0;
  }

  .header-inner {
    height: 64px;
    gap: 0.5rem;
    min-width: 0;
  }

  .header-brand-row,
  .logo {
    min-width: 0;
  }

  .logo-img {
    height: 52px;
    max-width: min(168px, 42vw);
    object-fit: contain;
    object-position: left center;
  }

  .site-header--slim .header-inner {
    height: 56px;
  }

  .site-header--slim .logo-img {
    height: 40px;
  }

  .header-utilities {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .tne-hero {
    padding: 6.5rem 0 1.25rem;
    min-height: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: auto;
  height: 100px;
  transition: height 0.3s var(--ease-out);
}

.site-header--slim .logo-img {
  height: 48px;
}

.main-nav a svg.lucide,
.header-utilities svg.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.5px;
  opacity: 0.8;
  transition: all 0.2s var(--ease-out);
}

.main-nav a:hover svg.lucide,
.header-utilities a:hover svg.lucide,
.header-utilities button:hover svg.lucide {
  opacity: 1;
  transform: scale(1.15) translateY(-1px);
  color: #fff;
}

.site-header--slim .nav-icon svg {
  width: 14px;
  height: 14px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  color: var(--tne-primary);
}

.main-nav a:hover .nav-icon,
.main-nav a:focus-visible .nav-icon {
  opacity: 1;
}

.cart-link {
  background: rgba(0, 0, 0, 0.04);
  margin-left: 0.25rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* changed from white border */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: padding 0.3s var(--ease-out);
}

.site-header--slim .cart-link {
  padding: 0.32rem 0.75rem;
}

.account-link {
  background: rgba(13, 79, 139, 0.07);
  margin-left: 0.2rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 79, 139, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: padding 0.3s var(--ease-out), background 0.2s var(--ease-out);
}

.main-nav a.account-link:hover,
.main-nav a.account-link:focus-visible {
  background: rgba(13, 79, 139, 0.12);
  color: var(--tne-primary-dark);
}

.site-header--slim .account-link {
  padding: 0.32rem 0.75rem;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--tne-accent);
  color: #1a1a1e;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: background 0.2s, width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}

.site-header--slim .nav-toggle {
  width: 40px;
  height: 40px;
}

/* Match main-content / card horizontal inset (clamp gutter) on narrow screens */
@media (max-width: 768px) {
  .header-inner {
    padding-inline: var(--tne-page-gutter);
  }

  .site-header--slim .header-inner {
    padding: 0.35rem var(--tne-page-gutter);
  }
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.test-badge {
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.main-content {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  padding: 9.5rem 0 3rem;
  /* Space for fixed header */
  min-height: 58vh;
  width: 100%;
  box-sizing: border-box;
}

/* Single horizontal gutter for page stacks (hero uses inner column; script excluded) */
.main-content>*:not(.tne-hero, script) {
  padding-inline: var(--tne-page-gutter);
  box-sizing: border-box;
}

/* Centered page column — breadcrumbs, titles, and body share one width */
.tne-page-stack {
  max-width: var(--tne-content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.tne-page-stack .breadcrumb {
  max-width: 100%;
}

/* Align all direct section children to the same centered column as header/footer */
section>div {
  max-width: var(--tne-content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header .page-title {
  margin-bottom: 0.35rem;
}

.page-lede {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 42rem;
  line-height: 1.6;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.empty-state p {
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.success-panel {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(165deg, rgba(56, 161, 105, 0.12) 0%, var(--glass-bg-strong) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid rgba(56, 161, 105, 0.35);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-lg);
}

.success-panel--booking {
  max-width: 52rem;
  text-align: left;
}

.success-panel--booking .success-icon,
.success-panel--booking .page-title,
.success-panel--booking .page-lede {
  text-align: center;
}

.booking-order-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(13, 79, 139, 0.12);
  border-radius: var(--radius-md);
}

.booking-success-list {
  margin-top: 1.5rem;
}

.booking-success-list__heading {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.booking-success-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 79, 139, 0.14);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.booking-success-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.booking-success-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 79, 139, 0.1);
  color: var(--tne-primary);
}

.booking-success-card--flight .booking-success-card__icon { color: #2563eb; background: rgba(37, 99, 235, 0.12); }
.booking-success-card--hotel .booking-success-card__icon { color: #0d9488; background: rgba(13, 148, 136, 0.12); }
.booking-success-card--visa .booking-success-card__icon { color: #7c3aed; background: rgba(124, 58, 237, 0.12); }
.booking-success-card--cruise .booking-success-card__icon { color: #0369a1; background: rgba(3, 105, 161, 0.12); }
.booking-success-card--holiday .booking-success-card__icon { color: #d97706; background: rgba(217, 119, 6, 0.12); }

.booking-success-card__type {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tne-success-dark);
}

.booking-success-card__title {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.booking-success-card__price {
  margin: 0;
  font-weight: 800;
  color: var(--tne-primary);
  white-space: nowrap;
}

.booking-success-card__ref {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(13, 79, 139, 0.05);
  border-radius: 0.65rem;
}

.booking-success-card__ref-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.booking-success-card__ref-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.booking-success-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
}

.booking-success-card__row {
  margin: 0;
}

.booking-success-card__row dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.booking-success-card__row dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.booking-success-card__passengers {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(13, 79, 139, 0.1);
}

.booking-success-card__passengers-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.booking-success-card__passengers-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-primary);
}

.booking-confirmation-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 0 auto 1.25rem;
  max-width: 52rem;
}

.booking-confirmation-toolbar .btn i {
  margin-right: 0.35rem;
}

.booking-confirmation-print-header {
  display: none;
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(13, 79, 139, 0.15);
}

.booking-confirmation-print-header__brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tne-primary-dark);
}

.booking-confirmation-print-header__sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

#booking-confirmation-print.success-panel--booking {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.booking-calendar-cta {
  margin: 1.5rem auto 1.25rem;
  max-width: 32rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(13, 79, 139, 0.06);
  border: 1px solid rgba(13, 79, 139, 0.15);
  text-align: center;
}

.booking-calendar-cta__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--tne-primary-dark);
  font-size: 1.05rem;
}

.booking-calendar-cta__title i {
  margin-right: 0.35rem;
}

.booking-calendar-cta__hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.success-panel .page-title {
  color: var(--tne-success-dark);
  font-size: 1.75rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(56, 161, 105, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.ref-block {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem 1rem;
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tne-primary);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border-subtle);
}

/* Product detail (flight / hotel) */
.detail-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: flex-start;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.detail-card__media {
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.detail-card__body {
  flex: 1;
  min-width: 240px;
}

.detail-card__body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--tne-primary);
  letter-spacing: -0.02em;
}

.detail-meta {
  margin: 0.35rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.detail-price {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tne-primary);
  margin: 0.75rem 0 1rem;
}

/* Cart row */
.cart-line-cell {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.provider-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(13, 79, 139, 0.12);
  color: var(--tne-primary);
}

/* ==========================================================================
   Hero Sections — Light cool gradients (no photo backgrounds)
   ========================================================================== */
.tne-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 2.5rem;
  padding: 10rem 0 2rem;
  /* Full-width band; copy/breadcrumbs constrained in children below */
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  background: var(--tne-hero-gradient);
  box-sizing: border-box;
}

.tne-hero::before,
.tne-hero::after {
  content: none;
}

.hero-home.tne-hero {
  background: var(--tne-hero-gradient);
}

.hero-flights.tne-hero {
  background: var(--tne-hero-gradient-flights);
}

/* Flight search results extend below hero — do not clip expanded fare panels */
.hero-flights.tne-hero:has(.results-container .tne-flight-card) {
  overflow: visible;
  min-height: 0;
}

.hero-hotels.tne-hero {
  background: var(--tne-hero-gradient-hotels);
}

.hero-cruise.tne-hero {
  background: var(--tne-hero-gradient-cruise);
}

.hero-visa.tne-hero {
  background: var(--tne-hero-gradient-visa);
}

.hero-holidays.tne-hero {
  background: var(--tne-hero-gradient-holidays);
}

.tne-hero > *:not(.pax-overlay, .pax-offline-overlay) {
  position: relative;
  z-index: 1;
  max-width: var(--tne-content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-inline: var(--tne-page-gutter);
  box-sizing: border-box;
  min-width: 0;
}

/* Search shells above hero merchandising so pax/date popovers are not covered */
.tne-hero .search-box,
.tne-hero .service-tabs-wrapper {
  z-index: 30;
}

.tne-hero .tne-ent-vertical,
.tne-hero .tne-ent-kpi {
  z-index: 0;
}

/* Dropdowns extend below the search row — do not clip inside hero band */
.tne-hero:has(.search-box),
.tne-hero:has(.service-tabs-wrapper) {
  overflow: visible;
}

/* Flight / hotel detail — shorter hero, content-forward */
.tne-hero--flight-detail,
.tne-hero--hotel-detail {
  min-height: 0;
  padding: 2.25rem 0 2.5rem;
  margin-bottom: 2.5rem;
}

.tne-hero--account {
  min-height: 0;
  padding: 10rem 0 2rem;
  margin-bottom: 0;
  background: var(--tne-hero-gradient);
}

.tne-hero--account .page-title {
  margin-bottom: 0.35rem;
}

.tne-hero--account .page-lede {
  max-width: 46rem;
}

.tne-hero--flight-detail {
  background: var(--tne-hero-gradient-flights);
}

.tne-hero--hotel-detail {
  background: var(--tne-hero-gradient-hotels);
}

.hero-tagline {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.hero-title {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  color: var(--tne-primary-dark);
  margin: 0 0 0.5rem 0;
  text-shadow: none;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-title-accent {
  color: var(--tne-primary);
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  text-shadow: none;
}

/* ==========================================================================
   Service Tabs Wrapper — Tinted glass container
   ========================================================================== */
.service-tabs-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 2rem;
}

.service-tabs {
  display: flex;
  gap: 0;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border-subtle);
  padding: 0 0.5rem;
  overflow-x: auto;
}

.service-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.65rem;
  background: none;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6e6e73;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  min-width: 0;
  flex: 1 1 0;
}

.service-tab:hover {
  color: #3a3a3c;
  background: rgba(255, 255, 255, 0.3);
}

.service-tab.active {
  color: var(--tne-primary);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--tne-primary);
}

.service-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.service-tab-icon svg {
  width: 24px;
  height: 24px;
}

.service-tab-label {
  white-space: nowrap;
}

/* Stack panels in one grid cell so row height = tallest panel (avoids CLS on tab switch) */
.tab-panels {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

/* Active panel only on small screens so the card is not as tall as Cruise */
.tab-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  min-height: 0;
  z-index: 0;
}

.tab-panel.active {
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .tab-panel {
    transition: none;
  }
}

.tab-panel .search-box {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.tab-panel .search-box .tab-panel-title,
.tab-panel .search-box .search-summary {
  flex-shrink: 0;
}

.tab-panel .search-form {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tab-panel .search-form .form-grid {
  flex: 0 1 auto;
}

.tab-panel .search-form .btn-search {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
}

.tab-panel-title {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border-subtle);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tne-primary);
}

.tab-panel .search-summary {
  border-bottom: 1px solid var(--glass-border-subtle);
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Search Box — Tinted glass
   ========================================================================== */
.search-box {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.search-box > :is(h1, h2, h3):first-child {
  border-top-left-radius: var(--tne-surface-radius);
  border-top-right-radius: var(--tne-surface-radius);
}

.search-box > .search-summary:first-child {
  border-top-left-radius: var(--tne-surface-radius);
  border-top-right-radius: var(--tne-surface-radius);
}

.search-box > :is(.search-form, form.search-form):first-child {
  border-top-left-radius: var(--tne-surface-radius);
  border-top-right-radius: var(--tne-surface-radius);
}

.search-box>h1,
.search-box>h2,
.search-box>h3 {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border-subtle);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tne-primary);
}

.search-summary {
  color: #6e6e73;
  font-size: 0.9rem;
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.search-form {
  padding: 0.9rem 0.85rem 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.form-row {
  margin-bottom: 0;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: #3a3a3c;
}

/* Search / legacy forms — glass variant on global controls */
.search-box input:not(.fsc-field-input):not(.fsc-date-range__fp):not([type="hidden"]),
.search-box select,
.search-box textarea {
  background-color: var(--search-glass-bg);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  border: 1px solid var(--search-glass-border);
  box-shadow: var(--search-glass-shadow);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-box input:not(.fsc-field-input):not(.fsc-date-range__fp):not([type="hidden"]):hover,
.search-box select:hover,
.search-box textarea:hover {
  box-shadow: var(--search-glass-shadow-hover);
}

.search-box input:not(.fsc-field-input):not(.fsc-date-range__fp):not([type="hidden"]):focus,
.search-box select:focus,
.search-box textarea:focus {
  border-color: color-mix(in srgb, var(--tne-primary) 35%, transparent);
  box-shadow: var(--search-glass-shadow-focus);
}

.search-form .form-row:last-of-type {
  margin-bottom: 0;
}

.search-box button.fsc-swap-btn {
  margin: -14px auto;
  justify-self: center;
}

.search-box .btn {
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

/* ==========================================================================
   Flight Search Compact (FSC) — Google Flights-inspired layout
   ========================================================================== */

/* Shared glass treatment for compact search controls */
.search-box .fsc-controls-row,
.search-box .fsc-trip-pills,
.search-box .fsc-cabin-select select,
.search-box .fsc-direct-check,
.search-box .fsc-search-row,
.search-box .fsc-pax-popover,
.search-box .fsc-stepper,
.search-box .fsc-swap-btn,
.search-box .fsc-advanced-toggle,
.search-box .fsc-adv-field select,
.search-box .fsc-adv-field input[type="text"] {
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-box .fsc-controls-row:hover,
.search-box .fsc-trip-pills:hover,
.search-box .fsc-cabin-select select:hover,
.search-box .fsc-direct-check:hover,
.search-box .fsc-search-row:hover,
.search-box .fsc-stepper:hover,
.search-box .fsc-swap-btn:hover,
.search-box .fsc-advanced-toggle:hover {
  box-shadow: var(--search-glass-shadow-hover);
}

/* ── Controls Row (trip type pills + cabin + direct checkbox) ── */
.fsc-controls-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  background: var(--search-glass-bg);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  border: 1px solid var(--search-glass-border);
  border-radius: 12px;
  box-shadow: var(--search-glass-shadow);
}

.fsc-trip-pills {
  display: inline-flex;
  gap: 0;
  width: 100%;
  justify-content: center;
  border-radius: 100px;
  overflow: hidden;
  border: 1.5px solid var(--search-glass-border);
  background: var(--search-glass-bg-strong);
  box-shadow: var(--search-glass-shadow);
}

.fsc-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
  position: relative;
}

.fsc-pill input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--search-glass-border);
  background: #fff;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--search-glass-shadow);
}

.fsc-pill input[type="radio"]:checked {
  border-color: var(--tne-primary);
}

.fsc-pill input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tne-primary);
  transform: translate(-50%, -50%);
}

.fsc-pill.active {
  color: var(--tne-primary-dark);
  background: rgba(13, 79, 139, 0.16);
}

.fsc-pill+.fsc-pill {
  border-left: 1px solid var(--search-glass-border);
}

.fsc-cabin-select {
  position: relative;
  flex: 1 1 100%;
  min-width: 0;
}

.fsc-cabin-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 42px;
  padding: 0.75rem 2rem 0.65rem 0.85rem;
  border: 1.5px solid var(--search-glass-border);
  border-radius: 100px;
  background: var(--search-glass-bg-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' fill='none' stroke='%23334155' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--search-glass-shadow);
}

.fsc-cabin-select select:focus {
  outline: none;
  border-color: var(--tne-primary);
  box-shadow: var(--search-glass-shadow-focus);
}

.fsc-direct-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 auto;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
  min-height: 42px;
  border: 1px solid var(--search-glass-border);
  border-radius: 999px;
  background: var(--search-glass-bg);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  box-shadow: var(--search-glass-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fsc-direct-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--tne-primary);
  cursor: pointer;
  border: 1.5px solid var(--search-glass-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--search-glass-shadow);
}

/* ── Main Search Row (Mobile-first grid; areas assigned below) ── */
.fsc-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "origin"
    "swap"
    "dest"
    "dates"
    "pax"
    "search";
  align-items: stretch;
  gap: 0;
  border: 2px solid var(--search-glass-border);
  border-radius: 14px;
  background: var(--search-glass-bg-strong);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  box-shadow: var(--search-glass-shadow);
  overflow: visible;
  position: relative;
  z-index: 100;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.fsc-search-row:focus-within {
  border-color: var(--tne-primary);
  box-shadow: var(--search-glass-shadow-focus);
}

/* Field containers */
.fsc-field {
  min-width: 0;
  position: relative;
  border-right: none;
  border-bottom: 1px solid var(--search-glass-border);
}

.fsc-field:last-of-type {
  border-bottom: none;
}

.fsc-field--origin {
  grid-area: origin;
}

.fsc-field--dest {
  grid-area: dest;
}

.fsc-field--dates {
  grid-area: dates;
  z-index: 30;
}

.fsc-date-range {
  overflow: visible;
}

.fsc-date-range__fp {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
  border: 0 !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none !important;
  background: transparent !important;
}

.fsc-field-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  text-align: left;
  align-items: flex-start;
}

.fsc-field--pax {
  grid-area: pax;
  position: relative;
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.fsc-field--pax .fsc-field-inner {
  height: auto;
  flex: 0 0 auto;
}

.fsc-field--pax:has(.fsc-pax-popover.open) {
  z-index: 120;
}

.fsc-field-inner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  height: 100%;
  box-sizing: border-box;
  min-height: 56px;
}

.fsc-field-inner:hover {
  background: rgba(13, 79, 139, 0.035);
}

.fsc-field-icon {
  color: var(--tne-primary-dark);
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.88;
}

.fsc-field-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 3px;
  text-align: left;
  width: 100%;
}

.fsc-field-input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d1d1f;
  font-family: inherit;
  width: 100%;
  line-height: 1.2;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.fsc-field-input::placeholder {
  color: #aaa;
  font-weight: 500;
}

.fsc-field-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  text-align: left;
  width: 100%;
}

.fsc-field-value.is-placeholder,
.fsc-date-range__value.is-placeholder {
  color: #8e8e93;
  font-weight: 600;
}

.fsc-field--dates .fsc-field-inner {
  justify-content: flex-start;
}

.fsc-field-caret {
  font-size: 0.65rem;
  color: #667085;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}

/* ── Swap Button (sits between From / To; in-flow on mobile) ── */
.fsc-swap-btn {
  grid-area: swap;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--search-glass-border);
  background: var(--search-glass-bg-strong);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  color: var(--tne-primary);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all 0.25s ease;
  position: relative;
  left: auto;
  top: auto;
  right: auto;
  bottom: auto;
  transform: none;
  z-index: 110;
  justify-self: center;
  align-self: center;
  place-self: center;
  box-shadow: var(--search-glass-shadow);
}

.fsc-swap-btn:hover {
  background: var(--tne-primary);
  color: white;
  border-color: var(--tne-primary);
  box-shadow: var(--search-glass-shadow-hover);
}

.fsc-swap-btn i {
  transform: rotate(90deg);
}

.fsc-swap-spin {
  animation: fscSwapSpin 0.35s ease;
}

@keyframes fscSwapSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
  }
}

/* ── Search CTA Button ── */
.fsc-search-btn {
  grid-area: search;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tne-primary);
  color: white;
  border: 1px solid color-mix(in srgb, var(--tne-primary) 48%, transparent);
  border-radius: 0 0 12px 12px !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  margin: 0;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  min-height: 52px;
  height: auto;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
  z-index: 1;
  box-shadow: var(--search-glass-shadow);
}

.fsc-search-btn:hover {
  background: var(--tne-primary-light);
  box-shadow: var(--search-glass-shadow-hover);
}

.fsc-search-btn:active {
  transform: scale(0.98);
}

.fsc-search-btn i {
  font-size: 1rem;
}

.fsc-search-btn:disabled {
  opacity: 0.88;
  cursor: wait;
  transform: none;
}

body:has(#fsc_search_loader:not([hidden])) {
  overflow: hidden;
}

.fsc-search-loader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fsc-search-loader[hidden] {
  display: none !important;
}

.fsc-search-loader__panel {
  width: min(28rem, 100%);
  padding: 1.75rem 1.35rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.fsc-search-loader__route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
}

.fsc-search-loader__city {
  flex: 1 1 0;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fsc-search-loader__city[data-from] {
  text-align: right;
}

.fsc-search-loader__city[data-to] {
  text-align: left;
}

.fsc-search-loader__path {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 0 0 auto;
  color: var(--tne-primary);
  min-width: 5.5rem;
}

.fsc-search-loader__arrows {
  display: inline-flex;
  gap: 1px;
  font-size: 0.7rem;
}

.fsc-search-loader__arrows i {
  opacity: 0.22;
  animation: fscLoaderArrow 1s ease-in-out infinite;
}

.fsc-search-loader__arrows i:nth-child(2) {
  animation-delay: 0.15s;
}

.fsc-search-loader__arrows i:nth-child(3) {
  animation-delay: 0.3s;
}

.fsc-search-loader__plane {
  font-size: 1.15rem;
  animation: fscLoaderPlane 1.25s ease-in-out infinite;
}

.fsc-search-loader__hint {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

@keyframes fscLoaderArrow {
  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

@keyframes fscLoaderPlane {
  0%,
  100% {
    transform: translateX(-6px);
  }

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

/* ── Pax Popover (mobile: in-flow so Search slides down) ── */
.fsc-pax-popover {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  max-width: none;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  border: 1px solid var(--search-glass-border);
  border-radius: 16px;
  box-shadow: var(--search-glass-shadow), 0 12px 40px rgba(13, 79, 139, 0.12);
  padding: 1rem;
  margin: 0 0.65rem 0.85rem;
  z-index: 1;
  display: none;
  animation: fscPopIn 0.2s ease;
}

.fsc-pax-popover.open {
  display: block;
}

/* Mobile only: expand in-flow so Search slides down instead of covering the panel */
@media (max-width: 767px) {
  .fsc-pax-popover {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1rem;
    margin: 0 0.65rem;
    border-width: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
    transition:
      max-height 0.28s ease,
      opacity 0.18s ease,
      padding 0.28s ease,
      margin 0.28s ease,
      border-width 0.28s ease;
  }

  .fsc-pax-popover.open {
    max-height: 28rem;
    opacity: 1;
    overflow: visible;
    padding: 1rem;
    margin: 0 0.65rem 0.85rem;
    border-width: 1px;
    visibility: visible;
    pointer-events: auto;
  }

  .fsc-search-row:has(.fsc-pax-popover.open) .fsc-search-btn {
    border-radius: 12px !important;
  }
}

.search-box.fsc-pax-open,
.service-tabs-wrapper.fsc-pax-open,
.search-box:has(.fsc-pax-popover.open),
.service-tabs-wrapper:has(.fsc-pax-popover.open) {
  z-index: 50;
  overflow: visible !important;
}

.fsc-search-row:has(.fsc-pax-popover.open) {
  z-index: 110;
  overflow: visible;
}

/* Popovers/autosuggest extend outside the card; header top radius is set explicitly above. */
.service-tabs-wrapper,
.hero-section,
.search-box {
  overflow: visible !important;
}

@keyframes fscPopIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }

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

.fsc-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fsc-pax-row:last-of-type {
  border-bottom: none;
}

.fsc-pax-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fsc-pax-type {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1d1d1f;
}

.fsc-pax-age {
  font-size: 0.75rem;
  color: #888;
  font-weight: 500;
}

/* Stepper */
.fsc-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--search-glass-border);
  border-radius: 100px;
  overflow: hidden;
  background: var(--search-glass-bg);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  box-shadow: var(--search-glass-shadow);
}

.fsc-stepper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--tne-primary);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.fsc-stepper-btn:hover {
  background: rgba(13, 79, 139, 0.08);
}

.fsc-stepper-btn:active {
  background: rgba(13, 79, 139, 0.15);
}

.fsc-stepper-val {
  min-width: 28px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d1d1f;
  user-select: none;
}

.fsc-pax-warning {
  padding: 0.6rem 0.75rem;
  margin-top: 0.5rem;
  background: rgba(229, 62, 62, 0.06);
  border: 1px solid rgba(229, 62, 62, 0.15);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #e53e3e;
  font-weight: 600;
}

.fsc-pax-done {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.6rem;
  background: var(--tne-primary);
  color: white;
  border: 1px solid color-mix(in srgb, var(--tne-primary) 48%, transparent);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--search-glass-shadow);
}

.fsc-pax-done:hover {
  background: var(--tne-primary-light);
  box-shadow: var(--search-glass-shadow-hover);
}

/* ── Recent searches ── */
.fsc-recent {
  margin-top: 0.75rem;
  padding-top: 0.15rem;
}

.fsc-recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.fsc-recent__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.01em;
}

.fsc-recent__label i {
  color: var(--tne-primary);
  font-size: 0.75rem;
}

.fsc-recent__clear {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0.15rem 0.25rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fsc-recent__clear:hover {
  color: var(--tne-primary);
}

.fsc-recent__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fsc-recent__chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  max-width: 100%;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--search-glass-border);
  border-radius: 12px;
  background: var(--search-glass-bg-strong);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  color: #1d1d1f;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: var(--search-glass-shadow);
}

.fsc-recent__chip:hover {
  border-color: var(--tne-primary);
  background: rgba(13, 79, 139, 0.05);
  box-shadow: var(--search-glass-shadow-hover);
}

.fsc-recent__chip-route {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 16rem;
}

.fsc-recent__chip-meta {
  font-size: 0.7rem;
  font-weight: 560;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 16rem;
}

/* ── Advanced Options ── */
.fsc-advanced-row {
  padding-top: 0.5rem;
}

.fsc-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--search-glass-bg);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  border: 1.5px solid var(--search-glass-border);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: var(--search-glass-shadow);
}

.fsc-advanced-toggle:hover {
  border-color: var(--tne-primary);
  color: var(--tne-primary);
  background: rgba(13, 79, 139, 0.04);
  box-shadow: var(--search-glass-shadow-hover);
}

.fsc-advanced-toggle.open .fsc-toggle-caret {
  transform: rotate(180deg);
}

.fsc-toggle-caret {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.fsc-advanced-body {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0 0.25rem;
  animation: fscSlideDown 0.25s ease;
}

.fsc-advanced-body.is-open {
  display: flex;
}

@keyframes fscSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

.fsc-adv-field {
  flex: 1 1 100%;
  min-width: 0;
  max-width: none;
}

.fsc-adv-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.fsc-adv-field select,
.fsc-adv-field input[type="text"] {
  background-color: var(--search-glass-bg);
  backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(8px) saturate(var(--glass-saturate));
  border: 1px solid var(--search-glass-border);
  box-shadow: var(--search-glass-shadow);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fsc-adv-field select:focus,
.fsc-adv-field input[type="text"]:focus {
  border-color: color-mix(in srgb, var(--tne-primary) 35%, transparent);
  box-shadow: var(--search-glass-shadow-focus);
}

/* ── Validation Alert ── */
.fsc-validation {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  margin-top: 0.75rem;
  background: rgba(229, 62, 62, 0.07);
  border: 1px solid rgba(229, 62, 62, 0.2);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c53030;
  animation: fscShake 0.3s ease;
}

@keyframes fscShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.fsc-validation i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Flatpickr Custom Theme ── */
.flatpickr-calendar {
  border-radius: 16px !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(13, 79, 139, 0.12) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  font-family: 'DM Sans', -apple-system, sans-serif !important;
  padding: 0.5rem !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
  display: none !important;
}

.flatpickr-months {
  padding: 0.25rem 0 !important;
}

.flatpickr-months .flatpickr-month {
  height: 36px !important;
}

.flatpickr-current-month {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--tne-primary) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  padding: 6px 10px !important;
  fill: var(--tne-primary) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: var(--tne-primary) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--tne-primary-light) !important;
}

span.flatpickr-weekday {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #888 !important;
}

.flatpickr-day {
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  height: 36px !important;
  line-height: 36px !important;
  margin: 0 !important;
  width: 14.2857143% !important;
  flex-basis: 14.2857143% !important;
  max-width: 14.2857143% !important;
  box-sizing: border-box !important;
  transition: all 0.15s !important;
}

.rangeMode .flatpickr-day {
  margin-top: 0 !important;
}

.flatpickr-day:hover {
  background: rgba(13, 79, 139, 0.08) !important;
  border-color: transparent !important;
}

.flatpickr-day.today {
  border-color: var(--tne-primary) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--tne-primary) !important;
  border-color: var(--tne-primary) !important;
  color: #fff !important;
}

.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.startRange,
.flatpickr-day.selected.endRange {
  z-index: 2;
}

.flatpickr-day.inRange {
  background: rgba(13, 79, 139, 0.12) !important;
  border-color: transparent !important;
  color: var(--tne-primary) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.flatpickr-day.startRange {
  border-radius: 10px 0 0 10px !important;
}

.flatpickr-day.endRange {
  border-radius: 0 10px 10px 0 !important;
}

.flatpickr-day.startRange.endRange,
.flatpickr-day.selected.startRange.endRange {
  border-radius: 10px !important;
}

.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
  color: #fff !important;
}

.flatpickr-day.flatpickr-disabled {
  color: #ccc !important;
}

.flatpickr-calendar.open {
  z-index: 10001 !important;
}

.flatpickr-calendar.multiMonth {
  width: auto !important;
}

.flatpickr-months .flatpickr-month + .flatpickr-month {
  margin-left: 0.5rem;
}

.flatpickr-days {
  width: 307.875px !important;
}

.flatpickr-calendar.multiMonth .flatpickr-days {
  width: auto !important;
}

.dayContainer {
  width: 307.875px !important;
  min-width: 307.875px !important;
  max-width: 307.875px !important;
  justify-content: flex-start !important;
}

.flatpickr-innerContainer {
  overflow: visible;
}

.tne-flatpickr--flight.flatpickr-calendar {
  margin-left: 0 !important;
}

.tne-flatpickr--flight.flatpickr-calendar.arrowTop:before,
.tne-flatpickr--flight.flatpickr-calendar.arrowTop:after,
.tne-flatpickr--flight.flatpickr-calendar.arrowBottom:before,
.tne-flatpickr--flight.flatpickr-calendar.arrowBottom:after {
  left: 1.5rem !important;
  right: auto !important;
}

/* ==========================================================================
   FSC + search forms — Mobile → Tablet → Laptop → Desktop
   Matches http://localhost/tc-responsive/ device frames:
   Mobile         : 480px portrait / 384px landscape  (default CSS)
   Tablet         : 1024px   → 768px+
   Laptop         : 1280px   → 1280px+
   Desktop        : 1418px   → 1418px+
   Large desktop  : 1920px   → 1418px+ (same row, wider page)
   ========================================================================== */

/* Hotel compact form — stacked city / dates / guests / search on mobile */
.hotel-form .fsc-search-row {
  grid-template-areas:
    "city"
    "dates"
    "pax"
    "search";
}

.hotel-form .fsc-field--city,
.hotel-form .fsc-field--origin {
  grid-area: city;
}

.hotel-form .autosuggest-wrapper {
  overflow: visible;
  z-index: 50;
}

.hotel-form .autosuggest-list {
  z-index: 60;
}

/* Narrow phones / tester mobile landscape 384px — stack cabin + direct */
@media (min-width: 430px) {
  .fsc-cabin-select {
    flex: 1 1 0;
    width: auto;
  }

  .fsc-direct-check {
    flex: 0 1 auto;
    width: auto;
  }
}

/* ── Tablet (768px+) — tester frame: 1024px ── */
@media (min-width: 768px) {
  .search-form {
    padding: 1.1rem 1.15rem 1.2rem;
  }

  .service-tab {
    padding: 1rem 1.35rem;
    font-size: 0.9rem;
    flex: 0 0 auto;
    min-width: 100px;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .fsc-controls-row {
    gap: 1rem;
  }

  .fsc-trip-pills {
    width: auto;
    justify-content: flex-start;
  }

  .fsc-pill {
    flex: 0 0 auto;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }

  .fsc-cabin-select {
    flex: 0 0 auto;
  }

  .fsc-cabin-select select {
    width: auto;
  }

  .fsc-search-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "origin dest"
      "dates pax"
      "search search";
  }

  .hotel-form .fsc-search-row {
    grid-template-areas:
      "city city"
      "dates pax"
      "search search";
  }

  .fsc-field {
    border-bottom: 1px solid var(--search-glass-border);
  }

  .fsc-field--origin:not(.fsc-field--city),
  .fsc-field--dates,
  .hotel-form .fsc-field--dates {
    border-right: 1px solid var(--search-glass-border);
  }

  .fsc-field--dest,
  .fsc-field--pax {
    border-right: none;
  }

  .fsc-field--dates,
  .fsc-field--pax {
    border-bottom: none;
  }

  .fsc-swap-btn {
    grid-area: origin;
    justify-self: end;
    align-self: center;
    margin: 0 -18px 0 0;
    z-index: 110;
  }

  .search-box button.fsc-swap-btn {
    margin: 0 -18px 0 0;
    justify-self: end;
  }

  .fsc-search-btn {
    min-height: 52px;
  }

  .fsc-pax-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 0;
    width: 300px;
    max-width: calc(100vw - 2rem);
    margin: 0;
    z-index: 5000;
  }

  .fsc-field--pax:has(.fsc-pax-popover.open) {
    z-index: 250;
  }

  .fsc-adv-field {
    flex: 1 1 160px;
    max-width: 240px;
  }

  .fsc-field-inner {
    padding: 0.7rem 1.1rem;
    min-height: 58px;
  }

  .fsc-swap-btn i {
    transform: none;
  }
}

/* ── Laptop (1280px+) — tester frame: 1280px ── */
@media (min-width: 1280px) {
  .search-form {
    padding: 1.25rem;
  }

  .hero-section .search-box .form-grid,
  .service-tabs-wrapper .search-box .form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
  }

  .tab-panel .search-form .btn-search,
  .search-form .btn-search {
    width: auto;
    align-self: flex-start;
  }

  .fsc-search-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.15fr) 8.25rem;
    grid-template-areas: "origin dest dates pax search";
  }

  .hotel-form .fsc-search-row {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.25fr) minmax(0, 1.05fr) 8.25rem;
    grid-template-areas: "city dates pax search";
  }

  .fsc-field {
    border-bottom: none;
    border-right: 1px solid var(--search-glass-border);
  }

  .fsc-field:last-of-type,
  .fsc-field--pax {
    border-right: none;
  }

  .hotel-form .fsc-field--city,
  .hotel-form .fsc-field--origin {
    border-right: 1px solid var(--search-glass-border);
  }

  .fsc-swap-btn {
    grid-area: auto;
    grid-row: 1;
    grid-column: 1 / 3;
    justify-self: center;
    align-self: center;
    margin: 0;
  }

  .search-box button.fsc-swap-btn {
    margin: 0;
    justify-self: center;
  }

  .fsc-search-btn {
    width: auto;
    min-width: 8.25rem;
    min-height: 0;
    height: auto;
    align-self: stretch;
    margin: -2px -2px -2px 0;
    border-radius: 0 14px 14px 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 14px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 14px !important;
  }

  .fsc-field-inner {
    gap: 0.65rem;
    padding: 0.7rem 1.15rem;
    min-height: 60px;
  }

  .fsc-advanced-body {
    flex-direction: row;
  }

  .tab-panel {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    align-self: stretch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }

  .tab-panel.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── Desktop (1418px+) — tester frames: 1418px desktop, 1920px large-desktop ── */
@media (min-width: 1418px) {
  .fsc-search-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, 1fr) 8.5rem;
  }

  .hotel-form .fsc-search-row {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr) minmax(0, 1.05fr) 8.5rem;
  }

  .fsc-search-btn {
    min-width: 8.5rem;
  }

  .fsc-field-inner {
    padding: 0.7rem 1.35rem;
  }
}

/* ── Override: Remove old form-grid layout when compact form is present ── */
.flight-form .form-grid,
.hotel-form .form-grid {
  display: contents;
}

.fsc-validation--list {
  align-items: flex-start;
}

.fsc-validation__list {
  margin: 0;
  padding-left: 1.15rem;
  font-weight: 600;
}

.fsc-validation__list li {
  margin: 0.15rem 0;
}


/* ==========================================================================
   Search Section
   ========================================================================== */
.search-section {
  margin-bottom: 2rem;
}

.search-section .page-title {
  margin-top: 0;
}

/* ==========================================================================
   Result Cards — Tinted glass
   ========================================================================== */
.result-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
}

.result-card:hover {
  border-color: rgba(13, 79, 139, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.result-card--media {
  align-items: stretch;
}

.result-card__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5.5rem;
  padding: 0.5rem 0.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(13, 79, 139, 0.08) 100%);
  border: 1px solid var(--glass-border-subtle);
  box-shadow: var(--shadow-sm);
}

.result-card__flags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.65rem;
  line-height: 1;
}

.result-card__flag-mid {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.85;
}

.result-card__airline-code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
  text-transform: uppercase;
}

.result-card__route-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.result-card__route-arrow {
  color: var(--text-secondary);
  font-weight: 600;
}

.result-card__media {
  width: 120px;
  height: 100px;
  min-width: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.result-card__body {
  flex: 1;
  min-width: 0;
}

.result-card__line {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.result-card__meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0.15rem 0;
}

.result-card__price {
  text-align: right;
  min-width: 7rem;
}

.price-tag {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--tne-primary);
  margin-bottom: 0.5rem;
}

/* Detail pages (flight / hotel) */
.detail-card {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: 1.75rem;
  align-items: start;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.detail-card__media {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.detail-card__body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--tne-primary);
  letter-spacing: -0.02em;
}

.detail-meta {
  margin: 0.35rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.detail-price {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tne-primary);
  margin: 1rem 0;
}

.provider-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(13, 79, 139, 0.12);
  color: var(--tne-primary);
}

.cart-line {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-line__thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.cart-summary {
  margin-top: 1.5rem;
  padding: 1.25rem 0;
}

.cart-total {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.cart-remove-form {
  display: inline;
}

@media (max-width: 700px) {
  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card__media {
    max-height: 200px;
  }
}

/* Flight detail page — single-flight booking layout */
.flight-detail-shell {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-top: 9rem;
  /* Space for fixed header */
}

.flight-detail-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

.tne-hero .breadcrumb__sep {
  opacity: 0.75;
  padding: 0 0.15rem;
}

.flight-detail-backlink {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tne-primary);
  text-decoration: none;
  border-radius: 100px;
  /* Pill shape for premium feel */
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(13, 79, 139, 0.2);
  padding: 0.5rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  -webkit-font-smoothing: antialiased;
}

.flight-detail-backlink i {
  transition: transform 0.3s var(--ease-out);
}

.flight-detail-backlink:hover {
  background: #ffffff;
  border-color: var(--tne-primary);
  box-shadow: 0 4px 15px rgba(13, 79, 139, 0.12);
  transform: translateY(-1px);
}

.flight-detail-backlink:hover i {
  transform: translateX(-3px);
}

.flight-detail-intro {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hotel-detail-intro.flight-detail-intro {
  /* Same width as .flight-detail-shell / .flight-detail-layout — do not center a narrower column */
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.hotel-detail-intro__row {
  display: grid;
  /* Match .flight-detail-layout so hero stats align with the sidebar column and main column matches the gallery */
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1.25rem 2.25rem;
  align-items: start;
}

.hotel-detail-intro__meta {
  min-width: 0;
}

.hotel-detail-intro .flight-detail-title {
  justify-content: flex-start;
}

.hotel-detail-intro .flight-detail-chips {
  justify-content: flex-start;
}

.hotel-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  text-align: left;
  align-self: start;
  justify-self: stretch;
}

.hotel-hero-stat {
  padding: 0.65rem 0.85rem;
  border-radius: var(--tne-surface-radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 79, 139, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.hotel-hero-stat__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.hotel-hero-stat__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tne-primary-dark);
  line-height: 1.2;
  text-shadow: none;
}

.hotel-hero-stat__out {
  font-size: 0.75em;
  font-weight: 700;
  opacity: 0.88;
  margin-left: 0.1em;
}

.hotel-hero-stat__sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.hotel-hero-stat__value--muted {
  font-weight: 700;
  opacity: 0.72;
}

.flight-detail-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tne-primary-light);
  text-shadow: none;
}

.flight-detail-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--tne-primary-dark);
  text-shadow: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.flight-detail-title__sep {
  font-weight: 600;
  opacity: 0.9;
}

.flight-flag-lg {
  font-size: 1.35em;
  line-height: 1;
}

.flight-flag-sm {
  font-size: 1.15em;
  line-height: 1;
  margin-right: 0.15rem;
}

.flight-detail-sub {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-secondary);
  text-shadow: none;
}

.flight-detail-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flight-detail-chips li {
  margin: 0;
  padding: 0;
}

.flight-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tne-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 79, 139, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flight-chip--accent {
  background: rgba(232, 168, 56, 0.18);
  border-color: rgba(232, 168, 56, 0.35);
  color: #9a6700;
}

.flight-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 2rem 2.25rem;
  align-items: start;
  margin-top: 0.5rem;
}

.flight-detail-main {
  min-width: 0;
}

.flight-detail-aside {
  position: sticky;
  top: 9rem;
  /* Account for sticky header */
}

/* Journey board — dep / track / arr */
.flight-journey-board {
  display: grid;
  grid-template-columns: 1fr minmax(7rem, 9rem) 1fr;
  gap: 0.75rem 1rem;
  align-items: stretch;
  padding: 1.75rem 1.5rem 2rem;
  margin-bottom: 1.5rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-md);
}

.flight-journey-board__col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.flight-journey-board__col--arr {
  text-align: right;
  align-items: flex-end;
}

.flight-journey-board__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}

.flight-journey-board__flag {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.flight-journey-board__country {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.flight-journey-board__time-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.5rem;
}

.flight-journey-board__time {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  /* Bigger time */
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--tne-primary);
  line-height: 1;
}

.flight-journey-board__date {
  font-size: 0.78rem;
  /* Small date */
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flight-journey-board__code {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.flight-journey-board__place {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 22rem;
  /* Increased for full airport names */
}

.flight-journey-board__col--arr .flight-journey-board__place {
  align-self: flex-end;
}

.flight-journey-board__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
}

.flight-journey-board__duration {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
}

.flight-journey-board__duration--muted {
  color: var(--text-secondary);
  font-weight: 600;
}

.flight-journey-board__line-wrap {
  position: relative;
  width: 100%;
  height: 2px;
  margin: 0.15rem 0;
  background: repeating-linear-gradient(90deg,
      rgba(13, 79, 139, 0.75) 0 6px,
      transparent 6px 12px);
  border-radius: 2px;
  opacity: 0.95;
}

.flight-journey-board__plane {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  line-height: 1;
  background: var(--glass-bg-strong);
  padding: 0 0.35rem;
}

.flight-journey-board__stops {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.flight-section-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tne-primary);
  opacity: 0.9;
}

.flight-panel {
  padding: 1.5rem 1.6rem 1.6rem;
  margin-bottom: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.flight-panel--facts {
  padding-top: 1.35rem;
}

.flight-panel--fare {
  padding-bottom: 1.5rem;
}

.flight-panel--note {
  background: linear-gradient(165deg, rgba(13, 79, 139, 0.07) 0%, var(--glass-bg) 100%);
}

.flight-muted {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.flight-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.flight-fact {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--glass-border-subtle);
}

.flight-fact--wide {
  grid-column: 1 / -1;
}

.flight-fact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.flight-fact__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}

/* Segment timeline */
.flight-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flight-timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  padding-bottom: 1.25rem;
}

.flight-timeline__item:last-child {
  padding-bottom: 0;
}

.flight-timeline__item:last-child .flight-timeline__rail::before {
  display: none;
}

.flight-timeline__rail {
  position: relative;
  width: 14px;
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.flight-timeline__rail::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: -12px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--tne-primary) 0%, rgba(13, 79, 139, 0.2) 100%);
  border-radius: 2px;
}

.flight-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tne-primary);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(13, 79, 139, 0.25);
  z-index: 1;
}

.flight-timeline__body {
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  background: rgba(255, 255, 255, 0.45);
  padding: 1rem 1.1rem;
}

.flight-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.flight-timeline__leg {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
}

.flight-timeline__flight {
  font-weight: 700;
  color: var(--text-primary);
}

.flight-timeline__airline {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.flight-timeline__route {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-size: 0.94rem;
  margin-bottom: 0.45rem;
}

.flight-timeline__ap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
}

.flight-timeline__arrow {
  color: var(--text-secondary);
  font-weight: 300;
}

.flight-timeline__times {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.flight-timeline__times em {
  font-style: normal;
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 0.25rem;
}

.flight-fare-lede {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.flight-fare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.flight-fare-table th {
  text-align: left;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.flight-fare-table td {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0 0.5rem 0.75rem;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.flight-fare-table__total th,
.flight-fare-table__total td {
  border-bottom: none;
  padding-top: 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tne-primary);
}

.flight-fare-single {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tne-primary);
  margin: 0 0 0.75rem;
}

.flight-note-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.flight-note-list li {
  margin-bottom: 0.5rem;
}

.flight-note-list li:last-child {
  margin-bottom: 0;
}

.flight-panel--policies {
  display: grid;
  gap: 0.85rem;
}

.flight-policy-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.flight-policy-pill {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 79, 139, 0.14);
  background: rgba(13, 79, 139, 0.05);
}

.flight-policy-pill--success {
  border-color: rgba(56, 161, 105, 0.3);
  background: rgba(56, 161, 105, 0.08);
}

.flight-policy-pill--warn {
  border-color: rgba(221, 107, 32, 0.25);
  background: rgba(221, 107, 32, 0.1);
}

.flight-policy-pill__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.flight-policy-pill__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.flight-policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.flight-policy-meta__item {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.45);
}

.flight-policy-accordion {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
  overflow: hidden;
}

.flight-policy-accordion--neutral {
  background: rgba(255, 255, 255, 0.36);
}

.flight-policy-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem 0.75rem;
  padding: 0.9rem 1rem;
}

.flight-policy-accordion__summary::-webkit-details-marker {
  display: none;
}

.flight-policy-accordion__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flight-policy-accordion__hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.flight-policy-accordion__body {
  border-top: 1px solid var(--glass-border-subtle);
  padding: 0.9rem 1rem 1rem;
}

.flight-policy-accordion__note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.flight-policy-rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.flight-policy-rule {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.56);
  padding: 0.8rem 0.9rem;
}

.flight-policy-rule--warn {
  border-color: rgba(229, 62, 62, 0.22);
  background: rgba(229, 62, 62, 0.06);
}

.flight-policy-rule--info {
  border-color: rgba(214, 158, 46, 0.3);
  background: rgba(214, 158, 46, 0.08);
}

.flight-policy-rule h3 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.flight-policy-rule__value {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flight-policy-rule__meta {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.flight-inclusions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}

.flight-inclusion-item {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(56, 161, 105, 0.2);
  background: rgba(56, 161, 105, 0.08);
}

.flight-inclusion-item__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #2d8a5a;
}

.flight-inclusion-item__value {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flight-policy-facts {
  margin: 0;
}

.flight-policy-facts__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.flight-policy-facts__row:last-child {
  border-bottom: none;
}

.flight-policy-facts__row dt {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.flight-policy-facts__row dd {
  margin: 0;
  text-align: right;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flight-policy-facts__row--wide {
  grid-template-columns: 1fr;
}

.flight-policy-facts__row--wide dd {
  text-align: left;
  font-weight: 600;
  line-height: 1.45;
}

.flight-policy-fare-rule-text {
  margin: 0;
  white-space: pre-wrap;
  max-height: 18rem;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid var(--glass-border-subtle);
  background: rgba(255, 255, 255, 0.68);
  padding: 0.85rem 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #1f2937;
}

.flight-seg-transition__body {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(13, 79, 139, 0.04);
  border-radius: 12px;
  border-left: 4px solid var(--tne-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.flight-seg-block--has-transition .flight-seg-vertical-plane {
  position: absolute;
  left: -2.95rem;
  top: calc(100% - 0.85rem);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tne-primary);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 79, 139, 0.18);
  box-shadow: 0 2px 8px rgba(13, 79, 139, 0.16);
  transform: translateX(5px);
  z-index: 2;
}

/* Booking card */
.flight-book-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-top: 3px solid var(--tne-accent);
}

.flight-book-card__banner {
  position: relative;
  min-height: 120px;
}

.flight-book-card__banner--no-image {
  background: linear-gradient(135deg, #0d4f8b 0%, #1a6bb5 55%, #0a3d6e 100%);
}

.flight-book-card__banner--no-image .flight-book-card__banner-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 79, 139, 0.35) 55%, rgba(8, 40, 80, 0.55) 100%);
}

.flight-book-card__banner-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.flight-book-card__banner-img[hidden] {
  display: none;
}

.flight-book-card__banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 79, 139, 0.55) 55%, rgba(8, 40, 80, 0.75) 100%);
}

.flight-book-card__badge-wrap {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.flight-book-card__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.flight-book-card__banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.flight-book-card__banner-flight {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.flight-book-card__banner-airline {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.flight-book-card__banner-route {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.flight-book-card__body {
  padding: 1.35rem 1.45rem 1.5rem;
}

.flight-book-card__label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.flight-book-card__price {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--tne-primary);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.flight-book-card__hint {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.flight-book-card__form {
  margin: 0;
}

.flight-book-card__cta {
  width: 100%;
  text-align: center;
}

@media (max-width: 960px) {
  .flight-detail-layout {
    grid-template-columns: 1fr;
  }

  .flight-detail-aside {
    position: static;
  }

  .flight-journey-board {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .flight-journey-board__col--arr {
    text-align: center;
    align-items: center;
  }

  .flight-journey-board__col--arr .flight-journey-board__place {
    align-self: center;
  }

  .flight-journey-board__track {
    padding: 1rem 0;
    margin: 1rem 0;
    border-top: 1px dashed rgba(13, 79, 139, 0.2);
    border-bottom: 1px dashed rgba(13, 79, 139, 0.2);
  }

  .flight-journey-board__line-wrap {
    max-width: 15rem;
    margin-left: auto;
    margin-right: auto;
  }

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

.result-card h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.result-card p {
  margin: 0.25rem 0;
  color: #3a3a3c;
}

.result-card small {
  color: #6e6e73;
  font-size: 0.85rem;
}

/* ==========================================================================
   Cart Table — Tinted glass
   ========================================================================== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

.cart-table th,
.cart-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.cart-table th {
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: 0.9rem;
  color: #3a3a3c;
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cart-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Checkout Steps — Glass pills
   ========================================================================== */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.checkout-steps__list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.checkout-steps .step {
  padding: 0.5rem 1rem;
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--glass-border-subtle);
  color: #6e6e73;
}

.checkout-steps .step.active {
  background: rgba(13, 79, 139, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border-color: rgba(13, 79, 139, 0.8);
}

.checkout-steps .step.done {
  background: rgba(56, 161, 105, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border-color: rgba(56, 161, 105, 0.8);
}

.checkout-steps__timer {
  margin: 0;
  padding: 0.45rem 0.7rem;
  min-width: auto;
}

.checkout-steps__timer .flight-fare-timer__icon {
  width: 2rem;
  height: 2rem;
  font-size: 0.92rem;
}

.checkout-steps__timer .flight-fare-timer__body {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.checkout-steps__timer .flight-fare-timer__compact-label {
  font-size: 0.72rem;
}

.checkout-steps__timer .flight-fare-timer__clock {
  font-size: 1.05rem;
}

.checkout-steps__timer .flight-fare-timer__hint,
.checkout-steps__timer .flight-fare-timer__expired-msg {
  display: none;
}

.checkout-steps__timer.flight-fare-timer--expired .flight-fare-timer__compact-label {
  display: none;
}

.checkout-steps__timer.flight-fare-timer--expired .flight-fare-timer__expired-msg {
  display: inline;
  font-size: 0.74rem;
  font-weight: 600;
}

.checkout-payment__timer {
  margin: 0.7rem 0 0.95rem;
}

.checkout-payment__timer .flight-fare-timer__icon {
  width: 2rem;
  height: 2rem;
  font-size: 0.92rem;
}

.checkout-payment__timer .flight-fare-timer__clock {
  font-size: 1.08rem;
}

/* ==========================================================================
   Alerts — Tinted glass
   ========================================================================== */
.expiry-warn {
  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(221, 107, 32, 0.4);
  border-left: 4px solid var(--tne-warn);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border-radius: var(--tne-surface-radius);
}

.flight-fare-timer {
  --flight-timer-progress: 1;
  --flight-timer-accent: var(--tne-warn);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(221, 107, 32, 0.35);
  border-left: 4px solid var(--tne-warn);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.flight-fare-timer__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--flight-timer-accent);
  font-size: 1.25rem;
  isolation: isolate;
}

.flight-fare-timer__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--flight-timer-accent) calc(var(--flight-timer-progress) * 1turn),
    rgba(13, 79, 139, 0.14) 0turn
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.flight-fare-timer__icon::after {
  content: "";
  position: absolute;
  inset: 0.32rem;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid rgba(13, 79, 139, 0.1);
  z-index: -1;
}

.flight-fare-timer__icon i {
  position: relative;
  z-index: 1;
}

.flight-fare-timer__label,
.flight-fare-timer__compact-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.flight-fare-timer__clock {
  margin: 0.15rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--tne-primary);
  line-height: 1.1;
}

.flight-fare-timer__hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.flight-fare-timer__expired-msg {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c53030;
}

.flight-fare-timer__expired-msg a {
  color: var(--tne-primary);
  text-decoration: underline;
}

.flight-fare-timer--compact {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.flight-fare-timer--compact .flight-fare-timer__clock {
  font-size: 1.25rem;
  margin: 0;
}

.flight-fare-timer--modal {
  margin: 0 0 1rem;
}

.flight-fare-timer--urgent {
  --flight-timer-accent: #c53030;
  border-left-color: #c53030;
  background: rgba(254, 235, 235, 0.95);
  animation: flight-timer-pulse 1.5s ease-in-out infinite;
}

.flight-fare-timer--urgent .flight-fare-timer__clock {
  color: #c53030;
}

.flight-fare-timer--expired {
  --flight-timer-accent: #c53030;
  border-left-color: #c53030;
  background: rgba(254, 235, 235, 0.95);
}

.flight-fare-timer--expired .flight-fare-timer__clock {
  color: #c53030;
}

@keyframes flight-timer-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 48, 48, 0); }
  50% { box-shadow: 0 0 0 4px rgba(197, 48, 48, 0.12); }
}

.circuit-msg {
  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  border-radius: var(--tne-surface-radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(221, 107, 32, 0.3);
}

/* ==========================================================================
   Breadcrumb & Page Title
   ========================================================================== */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding: 0.35rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  box-sizing: border-box;
}

.breadcrumb a {
  color: var(--tne-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--tne-primary-light);
}

/* In hero: match standard breadcrumb on light gradient */
.tne-hero .breadcrumb {
  color: var(--text-secondary);
}

.tne-hero .breadcrumb a {
  color: var(--tne-primary);
  text-shadow: none;
}

.tne-hero .breadcrumb a:hover {
  color: var(--tne-primary-light);
}

.page-title {
  color: var(--tne-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Landing Pages — SEO intro & benefits
   ========================================================================== */
.landing-intro {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}

.landing-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--tne-primary);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.landing-summary {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 42rem;
}

/* Hero sections: same readable text as landing pages */
.tne-hero .landing-title {
  color: var(--tne-primary);
  text-shadow: none;
}

.tne-hero .landing-summary {
  color: var(--text-secondary);
  text-shadow: none;
}

.search-box-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.landing-benefits {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--glass-bg-subtle);
  border-radius: var(--tne-surface-radius);
  border: 1px solid var(--glass-border-subtle);
}

.landing-benefits h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tne-primary);
  margin: 0 0 1rem 0;
}

.landing-benefits ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: #3a3a3c;
}

.landing-benefits li {
  margin-bottom: 0.5rem;
}

.landing-cta {
  margin-top: 1.5rem;
  padding: 1rem;
  text-align: center;
  color: #3a3a3c;
}

.landing-cta a {
  font-weight: 600;
}

.home-promo .landing-cta--promo {
  margin-top: 1.5rem;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: 0 4px 20px rgba(13, 79, 139, 0.06);
}

.home-promo .landing-cta--promo p {
  margin: 0;
}

/* Holiday destination cards */
.holiday-types {
  margin: 2rem 0;
}

.holiday-types h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--tne-primary);
  margin: 0 0 1rem 0;
}

.destination-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 769px) {
  .holiday-types .destination-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
  }
}

.dest-card {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: var(--glass-bg);
  border-radius: var(--tne-surface-radius);
  border: 1px solid var(--glass-border-subtle);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--tne-primary);
}

.dest-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dest-card-label {
  font-weight: 600;
  color: var(--tne-primary);
  font-size: 1.05rem;
}

.dest-card-desc {
  flex: 1 1 auto;
  font-size: 0.85rem;
  color: #6e6e73;
  margin-top: 0.25rem;
  text-align: center;
}

/* ==========================================================================
   Homepage — USPs, Campaigns, Trending (Liquid Glass / TNE Brand)
   Section backgrounds, icon boxes, column layouts, beautiful data display
   ========================================================================== */
.home-promo {
  margin: 1.5rem 0 0;
  padding: 0 0 3rem;
  width: 100%;
  box-sizing: border-box;
}

.promo-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: 0 8px 40px rgba(13, 79, 139, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
}

.promo-section:last-child {
  margin-bottom: 0;
}

.promo-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tne-primary);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(13, 79, 139, 0.2);
}

/* USP Section — Bento-style, stat callouts, varied accents */
.promo-usps {
  background: linear-gradient(160deg, rgba(13, 79, 139, 0.04) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(248, 250, 252, 0.95) 100%);
}

/* Centered hero-style title inside the same promo card shell as other home blocks */
.promo-usps-head {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: none;
}

.promo-usps-head .promo-section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--tne-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.usp-subtitle {
  font-size: 1rem;
  color: #6e6e73;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  min-width: 0;
  align-items: stretch;
}

.usp-grid>* {
  min-width: 0;
}

.usp-card {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--tne-surface-radius);
  border: 1px solid var(--tne-border-on-white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  opacity: 0.9;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.usp-card-1::before {
  background: linear-gradient(180deg, var(--tne-primary), var(--tne-primary-light));
}

.usp-card-2::before {
  background: linear-gradient(180deg, var(--tne-accent), var(--tne-accent-light));
}

.usp-card-3::before {
  background: linear-gradient(180deg, var(--tne-success), var(--tne-success-dark));
}

.usp-card-4::before {
  background: linear-gradient(180deg, var(--tne-primary-dark), var(--tne-primary));
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 79, 139, 0.15);
  border-color: rgba(13, 79, 139, 0.2);
}

.usp-card:hover::before {
  width: 6px;
  opacity: 1;
}

.usp-featured {
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(232, 168, 56, 0.12);
}

.usp-featured:hover {
  box-shadow: 0 20px 56px rgba(232, 168, 56, 0.18);
}

.usp-icon-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.usp-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.usp-icon-box svg {
  width: 26px;
  height: 26px;
}

.usp-card-1 .usp-icon-box {
  background: linear-gradient(135deg, rgba(13, 79, 139, 0.12) 0%, rgba(13, 79, 139, 0.06) 100%);
  color: var(--tne-primary);
}

.usp-card-2 .usp-icon-box {
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.2) 0%, rgba(232, 168, 56, 0.08) 100%);
  color: var(--tne-accent-dark);
}

.usp-card-3 .usp-icon-box {
  background: linear-gradient(135deg, rgba(56, 161, 105, 0.15) 0%, rgba(56, 161, 105, 0.06) 100%);
  color: var(--tne-success-dark);
}

.usp-card-4 .usp-icon-box {
  background: linear-gradient(135deg, rgba(8, 58, 107, 0.12) 0%, rgba(8, 58, 107, 0.05) 100%);
  color: var(--tne-primary-dark);
}

.usp-card:hover .usp-icon-box {
  transform: scale(1.08);
}

.usp-stat {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.usp-card-1 .usp-stat {
  color: var(--tne-primary);
}

.usp-card-2 .usp-stat {
  color: var(--tne-accent-dark);
}

.usp-card-3 .usp-stat {
  color: var(--tne-success-dark);
}

.usp-card-4 .usp-stat {
  color: var(--tne-primary-dark);
}

.usp-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.usp-card p {
  flex: 1 1 auto;
  font-size: 0.9rem;
  color: #6e6e73;
  margin: 0;
  line-height: 1.6;
}

/* Seasonal Offers — INR-only messaging */
.promo-campaigns .promo-section-title {
  margin-bottom: 0.5rem;
}

.promo-campaigns-inr-note {
  margin: 0 0 1.5rem 0;
  font-size: 0.88rem;
  color: #6e6e73;
  font-weight: 500;
  line-height: 1.45;
}

/* Campaign Grid — 3-column layout, featured first */
.campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  min-width: 0;
  align-items: stretch;
}

.campaign-grid>* {
  min-width: 0;
}

.campaign-card {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--tne-border-on-white);
  border-radius: var(--tne-surface-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.campaign-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tne-primary), var(--tne-primary-light));
  opacity: 0;
  transition: opacity 0.2s;
}

.campaign-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 79, 139, 0.15);
  border-color: rgba(13, 79, 139, 0.3);
}

.campaign-card:hover::before {
  opacity: 1;
}

.campaign-featured {
  background: linear-gradient(135deg, rgba(13, 79, 139, 0.06) 0%, rgba(255, 255, 255, 0.8) 100%);
  border-color: rgba(13, 79, 139, 0.2);
}

.campaign-featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--tne-accent), var(--tne-accent-light));
}

.campaign-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background: var(--tne-primary);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: fit-content;
}

.campaign-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tne-primary);
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.01em;
}

.campaign-dest {
  font-size: 0.85rem;
  color: var(--tne-primary-light);
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.campaign-desc {
  font-size: 0.9rem;
  color: #6e6e73;
  margin: 0 0 1rem 0;
  line-height: 1.5;
  flex-grow: 1;
}

.campaign-price {
  margin-bottom: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(13, 79, 139, 0.12);
}

.price-from {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6e6e73;
  margin-right: 0.35rem;
}

.price-amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tne-primary);
  letter-spacing: -0.02em;
}

.price-inr {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tne-primary);
  letter-spacing: 0.06em;
  margin: 0 0.25rem;
}

.price-pp {
  font-size: 0.8rem;
  color: #6e6e73;
  font-weight: 500;
  margin-left: 0.2rem;
}

.campaign-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tne-primary);
  transition: color 0.2s;
}

.campaign-card:hover .campaign-cta {
  color: var(--tne-primary-light);
}

/* Trending */
.promo-trending .promo-section-title {
  margin-bottom: 1.25rem;
}

.trending-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--tne-border-on-white);
  border-radius: var(--tne-surface-radius);
  width: fit-content;
}

.trending-tab {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.trending-tab:hover {
  color: var(--tne-primary);
  background: rgba(255, 255, 255, 0.8);
}

.trending-tab.active {
  background: var(--tne-primary);
  color: white;
  font-weight: 600;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
  align-items: stretch;
}

.trending-grid>* {
  min-width: 0;
}

.trending-card {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid var(--tne-border-on-white);
  border-radius: var(--tne-surface-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--tne-primary);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.trending-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tne-primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.trending-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 79, 139, 0.15);
  border-color: rgba(13, 79, 139, 0.3);
}

.trending-card:hover::before {
  opacity: 1;
}

.trending-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-accent-dark);
  margin-bottom: 0.35rem;
}

/* Tablet — 2 columns */
@media (max-width: 992px) {
  .promo-usps-head .promo-section-title {
    font-size: 1.5rem;
  }

  .usp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usp-featured {
    grid-column: 1 / -1;
  }

  .campaign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-featured {
    grid-column: 1 / -1;
  }

  .trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Footer — Tinted glass bar
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.92) 0%, rgba(12, 12, 15, 0.96) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  color: #9a9aa3;
  padding: 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--tne-border-on-dark);
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  padding: 2.5rem var(--tne-page-gutter) 2rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  box-sizing: border-box;
}

.footer-brand {
  padding-right: 1rem;
}

.footer-logo-text {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #e8e8ec;
}

.footer-logo-text strong {
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  line-height: 1.55;
  color: #8e8e93;
  font-size: 0.88rem;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b4b4bc;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #c4c4cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--tne-accent-light);
}

.footer-address {
  margin: 0;
  line-height: 1.6;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem var(--tne-page-gutter);
  text-align: center;
  font-size: 0.82rem;
  color: #6e6e73;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-danger {
  background: rgba(220, 38, 38, 0.9) !important;
  color: white !important;
  border: 1px solid rgba(220, 38, 38, 0.6) !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.85rem !important;
  border-radius: var(--radius-md) !important;
}

/* ==========================================================================
   Links & Empty State
   ========================================================================== */
.main-content>p {
  color: #6e6e73;
  margin-bottom: 1rem;
}

.main-content a:not(.btn):not(.breadcrumb a) {
  color: var(--tne-primary);
  font-weight: 500;
}

.main-content a:not(.btn):not(.breadcrumb a):hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(13, 79, 139, 0.95);
  }

  .site-header--slim {
    background: rgba(13, 79, 139, 0.52);
  }

  .service-tabs-wrapper,
  .search-box,
  .result-card,
  .cart-table,
  .site-footer,
  .promo-section {
    background: rgba(255, 255, 255, 0.95);
  }

  .usp-card,
  .campaign-card,
  .trending-card {
    background: rgba(255, 255, 255, 0.95);
  }

  .tne-ent-vertical__card {
    background: rgba(255, 255, 255, 0.95);
  }

  .tne-hero .tne-ent-vertical__grid > .tne-ent-vertical__card:nth-child(2),
  .tne-hero .tne-ent-vertical__grid > .tne-ent-vertical__card:nth-child(3) {
    background: rgba(255, 255, 255, 0.98);
  }

  .tab-panel-title,
  .search-summary {
    background: rgba(248, 248, 250, 0.95);
  }

  .service-tabs {
    background: rgba(248, 248, 250, 0.95);
  }

  .glass-input input,
  .glass-input select {
    background: rgba(255, 255, 255, 0.9);
  }
}

/* ==========================================================================
   Responsive — Liquid Glass Mobile
   ========================================================================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .cart-link,
  .account-link {
    justify-content: center;
  }

  .header-inner {
    align-items: center;
    height: 64px;
  }

  .tne-hero {
    padding: 6.5rem 0 1.25rem;
    min-height: 0;
  }

  .main-content {
    padding: 1rem 0 2rem;
  }

  body.tne-booking-app .main-content:not(:has(.tne-hero)) {
    padding-top: 6.5rem;
  }

  .tne-hero--account {
    padding: 7.5rem 0 1.5rem;
  }

  .service-tabs {
    padding: 0 0.25rem;
  }

  .service-tab {
    padding: 0.75rem 1rem;
    min-width: 80px;
    font-size: 0.85rem;
  }

  .service-tabs-wrapper,
  .search-box {
    border-radius: var(--tne-surface-radius);
  }

  .promo-section {
    padding: 1.5rem 1rem;
  }

  .promo-usps-head .promo-section-title {
    font-size: 1.35rem;
  }

  .usp-subtitle {
    font-size: 0.9rem;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .usp-stat {
    font-size: 1.25rem;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .campaign-featured {
    order: -1;
  }

  .trending-tabs {
    width: 100%;
  }

  .trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .main-nav {
    transition: none;
  }
}

/* ==========================================================================
   Mobile / tablet nav drawer
   Hamburger is shown below 1101px (tester tablet = 1024).
   .site-header uses backdrop-filter, which makes position:fixed
   children layout against the header box — use absolute; top: 100%.
   ========================================================================== */
@media (max-width: 1100px) {
  /* backdrop-filter on .site-header makes overflowing children
     composite incorrectly (page content “ghosts” through the drawer)
     and would contain position:fixed. Drop it here so the panel paints solid. */
  .site-header {
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0f172a;
  }

  .site-header,
  .header-inner {
    overflow: visible;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.22);
  }

  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(75vh, calc(100dvh - 4.5rem));
    overflow-x: hidden;
    overflow-y: auto;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    margin: 0;
    padding: 0.6rem var(--tne-page-gutter) 1.1rem;
    background: #0f172a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    z-index: 2100;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .main-nav.is-open,
  body.nav-open .main-nav {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1990;
    pointer-events: none;
  }

  .main-nav a {
    width: 100%;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.9rem 0.85rem;
    border-radius: 10px;
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .main-nav a::after {
    display: none;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .trending-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hotel detail — gallery, reviews, amenities, location
   ========================================================================== */
.hotel-gallery-wrap {
  margin: 0 0 0.75rem;
}

.hotel-gallery-ui-wrap {
  margin: 0 0 1.25rem;
}

.hotel-gallery-ui {
  border-radius: var(--tne-surface-radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  background: rgba(0, 0, 0, 0.06);
}

.hotel-gallery-ui__viewport {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 440px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
}

.hotel-gallery-ui__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hotel-gallery-ui__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hotel-gallery-ui__counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.hotel-gallery-ui__expand {
  pointer-events: auto;
  margin-left: auto;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hotel-gallery-lightbox[hidden] {
  display: none !important;
}

.hotel-gallery-lightbox:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotel-gallery-lightbox {
  position: fixed;
  inset: 0;
  /* Above sticky header (1000), skip-link (10000); outside .tne-hero isolation so modal paints on top */
  z-index: 20000;
  padding: 1rem;
  box-sizing: border-box;
}

.hotel-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(8, 24, 48, 0.82);
}

.hotel-gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: var(--tne-surface-radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.hotel-gallery-lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  line-height: 1;
  font-size: 1.35rem;
  border-radius: var(--radius-md);
}

.hotel-gallery-lightbox__stage {
  margin: 0;
  border-radius: var(--tne-surface-radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotel-gallery-lightbox__img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  display: block;
}

.hotel-gallery-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hotel-gallery-lightbox__step {
  min-width: 2.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 1.1rem;
  line-height: 1;
}

.hotel-gallery-lightbox__counter {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tne-primary);
  min-width: 4.5rem;
  text-align: center;
}

.hotel-gallery-ui__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.75rem;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--tne-primary);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s var(--ease-out), transform 0.15s;
  z-index: 2;
}

.hotel-gallery-ui__nav:hover {
  background: #fff;
}

.hotel-gallery-ui__nav:active {
  transform: translateY(-50%) scale(0.97);
}

.hotel-gallery-ui__nav--prev {
  left: 0.5rem;
}

.hotel-gallery-ui__nav--next {
  right: 0.5rem;
}

.hotel-gallery {
  border-radius: var(--tne-surface-radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.hotel-gallery__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 220px;
}

.hotel-gallery__hero {
  flex: 2 1 320px;
  margin: 0;
  min-height: 220px;
}

.hotel-gallery__stack {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hotel-gallery__stack-item {
  margin: 0;
  flex: 1;
  min-height: 100px;
}

.hotel-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px solid var(--glass-border-subtle);
}

.hotel-gallery__thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 100px;
}

.hotel-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.hotel-gallery__hero .hotel-gallery__img {
  border-radius: 0;
  min-height: 240px;
  max-height: 420px;
}

.hotel-gallery__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hotel-panel {
  padding: 1.5rem 1.6rem 1.6rem;
  margin-bottom: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.hotel-panel--about .hotel-about__text {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hotel-reviews__header {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.hotel-reviews__header:hover .hotel-reviews__caret,
.hotel-reviews__header:focus-visible .hotel-reviews__caret {
  color: var(--tne-primary);
}

.hotel-reviews__header:focus-visible {
  outline: 2px solid var(--tne-primary-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.hotel-reviews__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.hotel-reviews__stars-summary {
  flex: 0 0 auto;
  color: var(--tne-accent-dark);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  line-height: 1;
}

.hotel-reviews__caret {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--tne-primary-light);
  transition: transform 0.35s var(--ease-out), color 0.2s ease;
}

.hotel-reviews__header.is-expanded .hotel-reviews__caret {
  transform: rotate(180deg);
}

.hotel-reviews__score-block {
  text-align: right;
  margin-bottom: 1rem;
}

.hotel-reviews__score {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tne-primary);
}

.hotel-reviews__out {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hotel-reviews__label {
  display: block;
  font-weight: 700;
  color: var(--tne-success-dark);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

.hotel-reviews__count {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.hotel-reviews__bars {
  margin-bottom: 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--glass-border-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.hotel-reviews__details {
  margin-top: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--glass-border-subtle);
}

.hotel-reviews__details[hidden] {
  display: none !important;
}

.hotel-reviews__bar-row {
  display: grid;
  grid-template-columns: 7rem 1fr 2.5rem;
  gap: 0.5rem 0.75rem;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.hotel-reviews__bar-row:last-child {
  margin-bottom: 0;
}

.hotel-reviews__bar-name {
  color: var(--text-secondary);
}

.hotel-reviews__bar-track {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: rgba(13, 79, 139, 0.12);
  overflow: hidden;
}

.hotel-reviews__bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--tne-primary) 0%, var(--tne-accent) 100%);
}

.hotel-reviews__bar-num {
  text-align: right;
  font-weight: 700;
  color: var(--tne-primary);
}

.hotel-reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hotel-review-card {
  padding: 1rem 1.1rem;
  border-radius: var(--tne-surface-radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.45);
}

.hotel-review-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
}

.hotel-review-card__author {
  font-weight: 700;
  color: var(--text-primary);
}

.hotel-review-card__stars {
  color: var(--tne-accent-dark);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.hotel-review-card__date {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hotel-review-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hotel-review-card__text--muted {
  font-style: italic;
  opacity: 0.85;
}

.hotel-review-card__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.hotel-review-card__photo-link {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  line-height: 0;
  flex: 0 0 auto;
}

.hotel-review-card__photo {
  width: 5.25rem;
  height: 5.25rem;
  object-fit: cover;
  display: block;
}

.hotel-reviews__disclaimer {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hotel-amenity-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
}

.hotel-amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.hotel-amenity-item__icon {
  flex-shrink: 0;
  color: var(--tne-success-dark);
  font-weight: 700;
}

.hotel-location__address {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hotel-location__city {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hotel-location__map-btn {
  margin-top: 0.25rem;
}

.hotel-policy-dl {
  margin: 0;
}

.hotel-policy-dl__row {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 0.75rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.hotel-policy-dl__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hotel-policy-dl__row:first-child {
  padding-top: 0;
}

.hotel-policy-dl dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tne-primary);
}

.hotel-policy-dl dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .hotel-detail-intro__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hotel-reviews__bar-row {
    grid-template-columns: 5.5rem 1fr 2rem;
  }

  .hotel-reviews__score-block {
    text-align: left;
  }

  .hotel-review-card__date {
    margin-left: 0;
    width: 100%;
  }

  .hotel-gallery__top {
    flex-direction: column;
  }

  .hotel-gallery__hero .hotel-gallery__img {
    max-height: 280px;
  }
}

/* Hotel detail — sidebar stack (rate, amenities, location) */
.hotel-detail-aside__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hotel-sidebar-card {
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: var(--tne-surface-radius);
  box-shadow: var(--shadow-sm);
}

.hotel-sidebar-card__title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tne-primary);
}

.hotel-sidebar-card__lede {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hotel-sidebar-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tne-primary);
  margin: 0 0 0.5rem;
}

.hotel-sidebar-card__muted {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hotel-sidebar-fare-table {
  font-size: 0.85rem;
}

.hotel-sidebar-fare-table th,
.hotel-sidebar-fare-table td {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.hotel-amenity-grid--sidebar {
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.hotel-amenity-grid--sidebar .hotel-amenity-item {
  font-size: 0.86rem;
}

.hotel-location__address--sidebar {
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.hotel-location__city--sidebar {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.hotel-location__map-btn--sidebar {
  width: 100%;
  text-align: center;
}

@media (max-width: 960px) {
  .hotel-detail-aside .hotel-detail-aside__stack {
    margin-top: 0;
  }
}

/* ==========================================================================
   Enterprise marketing strips (home + vertical landing pages)
   ========================================================================== */
/* Trust grid — used inside .promo-section.promo-trust on home (same card shell as other promo blocks) */
.tne-ent-trust__inner {
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0.65rem 1.25rem;
  align-items: center;
}

.tne-ent-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.tne-ent-trust__icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.tne-ent-trust__text strong {
  color: var(--tne-primary);
}

.tne-ent-kpi {
  margin: 0;
  padding: 1.25rem 0 1.5rem;
  background: var(--glass-bg-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.tne-ent-kpi__grid {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.tne-ent-kpi__card {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--tne-surface-radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.tne-ent-kpi__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tne-primary);
  margin-bottom: 0.25rem;
}

.tne-ent-kpi__label {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.tne-ent-vertical {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  padding: 1.5rem 0 0.5rem;
  box-sizing: border-box;
}

.tne-ent-vertical__title {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tne-primary);
  letter-spacing: -0.02em;
}

.tne-ent-vertical__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

@media (min-width: 769px) {
  .tne-ent-vertical__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
  }
}

.tne-ent-vertical__card {
  margin: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  border-radius: var(--tne-surface-radius);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* Hero: centre columns sit on darker photo — extra opacity on middle feature cards */
.tne-hero .tne-ent-vertical__grid > .tne-ent-vertical__card:nth-child(2),
.tne-hero .tne-ent-vertical__grid > .tne-ent-vertical__card:nth-child(3) {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.tne-ent-vertical__card-title {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tne-primary);
  flex-shrink: 0;
}

.tne-ent-vertical__card-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .tne-ent-trust__inner {
    grid-template-columns: 1fr;
  }
}

/* App download — home */
.tne-app-download {
  margin: 0;
  padding: 2.5rem 0 3rem;
  background: linear-gradient(175deg, rgba(232, 168, 56, 0.06) 0%, rgba(255, 255, 255, 0.96) 40%, rgba(13, 79, 139, 0.06) 100%);
  border-top: 1px solid var(--glass-border-subtle);
}

.tne-app-download__inner {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Home index — app strip uses .promo-section.promo-app-download (layout only; card shell from .promo-section) */
.promo-app-download .tne-app-download__eyebrow {
  margin: 0 0 0.5rem;
}

.promo-app-download .tne-app-download__lede {
  margin: 0.75rem 0 1rem;
}

.tne-app-download__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .tne-app-download__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
  }
}

.tne-app-download__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tne-primary);
}

.tne-app-download__lede {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tne-app-download__bullets {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.tne-app-download__bullets li {
  margin-bottom: 0.45rem;
}

.tne-app-download__bullets li:last-child {
  margin-bottom: 0;
}

.tne-app-download__note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
  opacity: 0.95;
}

.tne-app-download__actions {
  padding: 1.5rem 1.35rem;
  border-radius: var(--tne-surface-radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.tne-app-download__actions-label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.tne-app-download__badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tne-app-download__badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: var(--tne-surface-radius);
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

a.tne-app-download__badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.tne-app-download__badge--ios {
  background: linear-gradient(180deg, #3c3c41 0%, #1c1c1e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tne-app-download__badge--play {
  background: linear-gradient(180deg, #1a4a3a 0%, #0d2d24 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tne-app-download__badge--soon {
  opacity: 0.72;
  cursor: default;
  box-shadow: none;
}

.tne-app-download__badge-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tne-app-download__badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.tne-app-download__badge-kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.tne-app-download__badge-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Checkout — Razorpay */
.checkout-hero {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--tne-surface-radius);
  background: linear-gradient(180deg, rgba(13, 79, 139, 0.08), rgba(13, 79, 139, 0.03));
  border: 1px solid rgba(13, 79, 139, 0.16);
}

.checkout-hero__header {
  margin: 0;
}

.checkout-hero__meta {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.checkout-notices {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.checkout-error {
  color: var(--tne-warn);
  font-weight: 600;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--tne-surface-radius);
  background: rgba(221, 107, 32, 0.12);
  border: 1px solid rgba(221, 107, 32, 0.35);
}

.checkout-note {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--tne-surface-radius);
  border: 1px solid var(--glass-border);
  background: rgba(13, 79, 139, 0.06);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.checkout-note--warn {
  color: var(--tne-warn);
  border-color: rgba(221, 107, 32, 0.35);
  background: rgba(221, 107, 32, 0.12);
}

.checkout-note--hotel {
  border-color: rgba(13, 79, 139, 0.24);
  background: rgba(13, 79, 139, 0.08);
}

.checkout-note--ok {
  border-color: rgba(34, 139, 34, 0.35);
  background: rgba(34, 139, 34, 0.08);
}

.checkout-expired-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.checkout-expired-overlay[hidden] {
  display: none !important;
}

.checkout-expired-overlay[hidden] {
  display: none !important;
}

.checkout-expired-overlay__card {
  width: min(28rem, 92vw);
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(13, 79, 139, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1.2rem 1.1rem 1rem;
}

.checkout-expired-overlay__card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.checkout-expired-overlay__card p {
  margin: 0 0 0.9rem;
  color: var(--text-secondary);
}

.checkout-expired-overlay__dismiss {
  margin-top: 0.65rem;
}

.btn--hold-expired,
.pax-modal__submit.btn--hold-expired {
  opacity: 0.72;
  cursor: not-allowed;
}

body.checkout-overlay-open {
  overflow: hidden;
}

.checkout-payment {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--tne-surface-radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.checkout-payment__brand {
  margin-bottom: 1rem;
}

.checkout-payment__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.checkout-payment__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f855a;
  background: rgba(47, 133, 90, 0.12);
}

.checkout-payment__name {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tne-primary);
  letter-spacing: -0.02em;
}

.checkout-payment__hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.checkout-payment__fallback code {
  font-size: 0.82rem;
  background: rgba(13, 79, 139, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.checkout-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr min(22rem, 36%);
    align-items: start;
  }
}

.checkout-layout__aside {
  position: sticky;
  top: 1rem;
}

.checkout-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tne-primary);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.checkout-layout__back {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.checkout-layout__back a {
  color: var(--tne-primary);
  text-decoration: none;
  font-weight: 600;
}

.checkout-layout__back a:hover {
  text-decoration: underline;
}

.checkout-review-card {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--tne-surface-radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.checkout-review-card__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.checkout-review-card__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.checkout-review-card__type {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.checkout-review-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0.15rem 0 0.35rem;
  line-height: 1.3;
}

.checkout-review-card__price {
  margin: 0;
  font-weight: 700;
  color: var(--tne-primary);
  font-size: 1.02rem;
}

.checkout-review-card__details {
  margin: 1rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--glass-border);
  display: grid;
  gap: 0.45rem;
}

.checkout-review-card__detail-row {
  display: grid;
  grid-template-columns: minmax(7rem, 32%) 1fr;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.checkout-review-card__detail-row dt {
  margin: 0;
  font-weight: 600;
  color: var(--text-secondary);
}

.checkout-review-card__detail-row dd {
  margin: 0;
  font-weight: 500;
}

.checkout-review-card__details--flight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.6rem;
  border-top: none;
  padding-top: 0.2rem;
}

.checkout-review-card__details--flight .checkout-review-card__detail-row {
  display: block;
  border: 1px solid rgba(13, 79, 139, 0.14);
  border-radius: 10px;
  background: rgba(13, 79, 139, 0.04);
  padding: 0.55rem 0.65rem;
}

.checkout-review-card__details--flight .checkout-review-card__detail-row dt {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.18rem;
}

.checkout-review-card__details--flight .checkout-review-card__detail-row dd {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.checkout-review-card__pax {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--glass-border);
}

.checkout-review-card__pax-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
}

.checkout-pax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.checkout-pax-table th,
.checkout-pax-table td {
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(13, 79, 139, 0.08);
}

.checkout-pax-table th {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-pax-selected {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(47, 133, 90, 0.14);
  color: #2f855a;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.checkout-pax-table th:first-child,
.checkout-pax-table td:first-child {
  width: 2.5rem;
  text-align: center;
}

@media (max-width: 780px) {
  .checkout-pax-table,
  .checkout-pax-table thead,
  .checkout-pax-table tbody,
  .checkout-pax-table tr,
  .checkout-pax-table th,
  .checkout-pax-table td {
    display: block;
    width: 100%;
  }

  .checkout-pax-table thead {
    display: none;
  }

  .checkout-pax-table tr {
    border: 1px solid rgba(13, 79, 139, 0.12);
    border-radius: 10px;
    padding: 0.45rem 0.55rem;
    margin-bottom: 0.55rem;
    background: #fff;
  }

  .checkout-pax-table td {
    border-bottom: 1px dashed rgba(13, 79, 139, 0.12);
    padding: 0.35rem 0;
    text-align: left;
  }

  .checkout-pax-table td:last-child {
    border-bottom: none;
  }

  .checkout-pax-table td::before {
    content: attr(data-label) ": ";
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}

.checkout-pay-accordion {
  border-radius: var(--tne-surface-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.checkout-pay-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.checkout-pay-accordion__summary::-webkit-details-marker {
  display: none;
}

.checkout-pay-accordion__summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--tne-primary);
  border-bottom: 2px solid var(--tne-primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.checkout-pay-accordion[open] .checkout-pay-accordion__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.checkout-pay-accordion__summary-label {
  color: var(--tne-primary);
  font-size: 0.95rem;
}

.checkout-pay-accordion__summary-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tne-primary);
  font-variant-numeric: tabular-nums;
}

.checkout-pay-accordion__body {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid var(--glass-border);
}

.checkout-pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.checkout-pay-table th,
.checkout-pay-table td {
  padding: 0.45rem 0;
  vertical-align: top;
}

.checkout-pay-table th {
  font-weight: 600;
  text-align: left;
  padding-right: 1rem;
}

.checkout-pay-table__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-pay-table__subtotal th,
.checkout-pay-table__subtotal td {
  border-top: 1px solid var(--glass-border);
  padding-top: 0.55rem;
}

.checkout-pay-table__fee th {
  color: var(--text-secondary);
  font-weight: 500;
}

.checkout-pay-table__fees-total th,
.checkout-pay-table__fees-total td {
  font-weight: 700;
  color: var(--text-secondary);
}

.checkout-pay-table__grand th,
.checkout-pay-table__grand td {
  border-top: 2px solid var(--tne-primary);
  padding-top: 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--tne-primary);
}

.checkout-pay-accordion__note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.checkout-payment__cta {
  width: 100%;
  margin-top: 0.5rem;
}

.checkout-fare-status {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--tne-surface-radius);
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid var(--glass-border);
}

.checkout-fare-status--ok {
  background: rgba(34, 139, 34, 0.1);
  border-color: rgba(34, 139, 34, 0.35);
}

.checkout-fare-status--warn {
  background: rgba(221, 107, 32, 0.12);
  border-color: rgba(221, 107, 32, 0.35);
  color: var(--tne-warn);
}

.checkout-fare-status--error {
  background: rgba(185, 28, 28, 0.1);
  border-color: rgba(185, 28, 28, 0.35);
  color: #b91c1c;
  font-weight: 600;
}

.checkout-fare-status__detail {
  margin: 0.35rem 0 0;
  font-weight: 500;
}

.checkout-fare-status__amount {
  display: inline-block;
  margin-left: 0.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.checkout-fare-status__summary {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Region / currency / language preferences (dialog)
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tne-prefs-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
  width: 420px;
  margin: auto;
}

.tne-prefs-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tne-prefs-modal {
  position: relative;
  padding-top: 2.75rem;
}

.tne-prefs-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #4b5563;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.tne-prefs-close:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.tne-prefs-close:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.tne-prefs-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.tne-prefs-form {
  margin: 0;
}

.tne-prefs-field {
  margin-bottom: 1.15rem;
}

.tne-prefs-field:last-of-type {
  margin-bottom: 0;
}

.tne-prefs-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.tne-prefs-select-wrap {
  position: relative;
}

.tne-prefs-select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.2rem;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.tne-prefs-select {
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tne-prefs-select:hover {
  border-color: #d1d5db;
}

.tne-prefs-select:focus {
  outline: none;
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.15);
}

.tne-prefs-apply {
  display: block;
  width: 100%;
  margin-top: 1.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, #9ca3af 48%, transparent);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #9ca3af;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.tne-prefs-apply:hover {
  background: #8890a0;
}

.tne-prefs-apply:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.tne-prefs-apply:active {
  transform: scale(0.99);
}

@media (max-width: 480px) {
  .tne-prefs-dialog {
    width: 100%;
    max-width: min(100vw - 1.5rem, 400px);
  }

  .tne-prefs-card {
    padding: 1.35rem 1.15rem 1.25rem;
  }
}

/* ==========================================================================
   Autosuggestion UI (Liquid Glass)
   ========================================================================== */
.autosuggest-wrapper {
  position: relative;
}

.search-box .autosuggest-list {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(12px) saturate(var(--glass-saturate));
  border: 1px solid var(--search-glass-border);
  box-shadow: var(--search-glass-shadow), var(--shadow-md);
}

.autosuggest-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  margin: 0.25rem 0 0 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--search-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--search-glass-shadow), var(--shadow-lg);
  z-index: 1000;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 79, 139, 0.3) transparent;
}

.autosuggest-list::-webkit-scrollbar {
  width: 6px;
}

.autosuggest-list::-webkit-scrollbar-track {
  background: transparent;
}

.autosuggest-list::-webkit-scrollbar-thumb {
  background-color: rgba(13, 79, 139, 0.3);
  border-radius: 10px;
}

.autosuggest-item {
  padding: 0.65rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--glass-border-subtle);
  transition: background 0.15s, padding-left 0.15s;
  display: flex;
  flex-direction: column;
}

.autosuggest-item:last-child {
  border-bottom: none;
}

.autosuggest-item:hover,
.autosuggest-item.active {
  background: #f8f9fa;
  padding-left: 1.25rem;
  border-left: 3px solid var(--tne-primary);
}

.autosuggest-item .primary-text {
  font-weight: 600;
  color: var(--tne-primary);
  font-size: 0.95rem;
}

.autosuggest-item .secondary-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* ==========================================================================
   Flight Results Card Redesign (Horizontal Layout)
   ========================================================================== */
.results-container {
  max-width: var(--tne-content-max);
  margin: 1.5rem auto 4rem;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: inherit;
}

.tne-flight-results-section {
  margin-top: 1.35rem;
}

.tne-flight-results-section:first-of-type {
  margin-top: 0.85rem;
}

.tne-flight-results-section__head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.tne-flight-results-section__title {
  margin: 0;
}

.tne-flight-results-section__lede {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 560;
  color: var(--text-secondary, #64748b);
}

.tne-flight-results-section--preferred .tne-flight-results-section__title {
  color: var(--tne-primary);
}

.tne-flight-results-section--other {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(13, 79, 139, 0.12);
}

.tne-flight-results-section--other .tne-flight-results-section__title {
  color: #475569;
}

@media (max-width: 1200px) {
  .results-container {
    padding: 0 var(--tne-page-gutter);
  }
}

.tne-flight-card {
  display: grid;
  grid-template-columns: 5.5rem 2fr 1fr 1fr 1.2fr 2.5rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--tne-border-on-surface);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  color: var(--text-primary);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.tne-flight-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 48px rgba(13, 79, 139, 0.18);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--tne-primary-light);
  z-index: 2;
}

.tne-flight-card.is-expanded {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--tne-primary);
  background: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transform: none !important;
  z-index: 3;
}

.tne-flight-card-wrap {
  margin-bottom: 1rem;
}

.tne-flight-card-wrap .tne-flight-card {
  margin-bottom: 0;
}

.tne-flight-card__expanded-view {
  display: none;
  background: #fff;
  border: 1px solid rgba(13, 79, 139, 0.15);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 1.5rem 2.5rem;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  color: var(--text-primary, #1a1a1e);
  width: 100%;
  box-sizing: border-box;
}

.tne-flight-card.is-expanded + .tne-flight-card__expanded-view {
  display: block;
}

.tne-flight-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tne-flight-card__logo img {
  border-radius: 4px;
}

.tne-flight-card__logo svg {
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0;
}

.tne-flight-card__time-col {
  display: flex;
  flex-direction: column;
}

.tne-flight-card__time {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

.tne-flight-card__time sup {
  font-size: 0.75rem;
  color: #d93025;
  margin-left: 2px;
}

.tne-flight-card__airline {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3c4043;
  margin-top: 0.2rem;
}

.tne-flight-card__cabin {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4d5156;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.tne-flight-card__cabin svg {
  width: 14px !important;
  height: 14px !important;
  color: #3c4043;
}

.tne-flight-card__duration {
  display: flex;
  flex-direction: column;
}

.tne-flight-card__route-codes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.tne-flight-card__transition-track {
  position: relative;
  height: 2px;
  margin: 0.35rem 0 0.45rem;
  background: repeating-linear-gradient(90deg,
      rgba(13, 79, 139, 0.8) 0 5px,
      transparent 5px 10px);
}

.tne-flight-card__transition-points {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.tne-flight-card__transition-point {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(13, 79, 139, 0.65);
  box-shadow: 0 1px 3px rgba(13, 79, 139, 0.18);
}

.tne-flight-card__transition-point.is-layover {
  border-color: rgba(214, 158, 46, 0.95);
}

.tne-flight-card__transition-plane {
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--tne-primary);
  border: 1px solid rgba(13, 79, 139, 0.18);
  font-size: 0.58rem;
  z-index: 2;
}

.tne-flight-card__duration-val {
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
}

.tne-flight-card__route {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3c4043;
  margin-top: 0.2rem;
}

.tne-flight-card__stops {
  display: flex;
  flex-direction: column;
}

.tne-flight-card__stops-val {
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tne-price-meter {
  margin-top: 0.75rem;
  width: 100%;
}

.tne-price-meter__track {
  position: relative;
  height: 4px;
  background: rgba(13, 79, 139, 0.1);
  border-radius: 2px;
  margin-bottom: 0.5rem;
  overflow: visible;
}

.tne-price-meter__track::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #38a169 0%, #d69e2e 50%, #e53e3e 100%);
  opacity: 0.3;
  border-radius: 2px;
}

.tne-price-meter__indicator {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--tne-primary);
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: left 0.3s ease;
}

.tne-price-meter__labels {
  display: flex;
  justify-content: center;
}

.tne-price-meter__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}

.tne-price-meter__tag.low {
  background: rgba(56, 161, 105, 0.15);
  color: #2f855a;
}

.tne-price-meter__tag.below-avg {
  background: rgba(56, 161, 105, 0.1);
  color: #38a169;
}

.tne-price-meter__tag.avg {
  background: rgba(13, 79, 139, 0.1);
  color: var(--tne-primary);
}

.tne-price-meter__tag.above-avg {
  background: rgba(214, 158, 46, 0.15);
  color: #b7791f;
}

.tne-price-meter__tag.high {
  background: rgba(229, 62, 62, 0.15);
  color: #c53030;
}

.tne-flight-card__stops-val.has-stops {
  color: #d93025;
}

.tne-flight-card__stops-val svg {
  width: 14px !important;
  height: 14px !important;
}

.tne-flight-card__stopover {
  font-size: 0.85rem;
  color: #70757a;
  margin-top: 0.2rem;
}

.tne-flight-card__price-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tne-flight-card__price-val {
  font-size: 1.15rem;
  font-weight: 600;
  color: #188038;
}

.tne-flight-card__trip-type {
  font-size: 0.8rem;
  color: #70757a;
  margin-top: 0.15rem;
}

.tne-flight-card__caret {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #70757a;
  transition: transform 0.3s ease;
}

.tne-flight-card.is-expanded .tne-flight-card__caret {
  transform: rotate(180deg);
  color: var(--tne-primary);
}

.tne-flight-card__expanded-content {
  display: block;
  width: 100%;
}

.tne-flight-card__expanded-details {
  font-size: 0.9rem;
  color: var(--text-primary, #1a1a1e);
  width: 100%;
}

.tne-flight-card__expanded-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tne-flight-card__expanded-details li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tne-flight-expanded-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}

.tne-flight-expanded-heading {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #1a1a1e);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tne-flight-expanded-heading i {
  color: var(--tne-primary);
}

.tne-flight-expanded-empty {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tne-flight-expanded-timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px dashed rgba(13, 79, 139, 0.2);
  margin-left: 0.5rem;
}

.tne-flight-expanded-seg {
  margin-bottom: 1.25rem;
  position: relative;
}

.tne-flight-expanded-seg::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tne-primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.1);
}

.tne-flight-expanded-seg__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.tne-flight-expanded-seg__route {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary, #1a1a1e);
  font-size: 0.95rem;
}

.tne-flight-expanded-seg__code {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.85rem;
}

.tne-flight-expanded-seg__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tne-flight-expanded-seg__meta span {
  color: var(--tne-primary);
  font-weight: 600;
}

.tne-flight-expanded-seg__times {
  text-align: right;
  white-space: nowrap;
}

.tne-flight-expanded-seg__times p {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary, #1a1a1e);
}

.tne-flight-expanded-seg__dur {
  margin: 0.25rem 0 0 !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
}

.tne-flight-expanded-layover {
  margin: 1rem 0;
  padding: 0.6rem 1rem;
  background: rgba(13, 79, 139, 0.05);
  border: 1px dashed rgba(13, 79, 139, 0.2);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--tne-primary);
  font-weight: 600;
}

.tne-flight-expanded-seg--has-transition .tne-flight-expanded-seg__plane-transition {
  position: absolute;
  left: -1.95rem;
  bottom: -0.7rem;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tne-primary);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(13, 79, 139, 0.2);
  box-shadow: 0 2px 8px rgba(13, 79, 139, 0.14);
  transform: translateX(4px);
  z-index: 2;
}

.tne-flight-expanded-inclusions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tne-flight-expanded-inclusion {
  padding: 0.75rem;
  background: rgba(56, 161, 105, 0.08);
  border: 1px solid rgba(56, 161, 105, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tne-flight-expanded-inclusion i {
  color: #2f855a;
}

.tne-flight-expanded-inclusion__label {
  margin: 0;
  font-size: 0.7rem;
  color: #2f855a;
  text-transform: uppercase;
  font-weight: 700;
}

.tne-flight-expanded-inclusion__val {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-primary, #1a1a1e);
  font-weight: 600;
}

.tne-flight-expanded-rules table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(13, 79, 139, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.tne-flight-expanded-rules th,
.tne-flight-expanded-rules td {
  padding: 0.75rem 1rem;
}

.tne-flight-expanded-rules th {
  background: rgba(13, 79, 139, 0.04);
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
}

.tne-flight-expanded-rules th:last-child,
.tne-flight-expanded-rules td:last-child {
  text-align: right;
}

.tne-flight-expanded-rules td {
  border-top: 1px solid rgba(13, 79, 139, 0.08);
  color: var(--text-primary, #1a1a1e);
}

.tne-flight-expanded-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 79, 139, 0.2);
}

.tne-flight-expanded-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tne-flight-expanded-footer__meta span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
}

.tne-flight-expanded-footer__fare {
  color: #2f855a !important;
  background: rgba(56, 161, 105, 0.1) !important;
  font-weight: 700;
}

.tne-flight-expanded-footer__cta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.tne-flight-expanded-footer__pay-label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tne-flight-expanded-footer__pay-amount {
  margin: 0;
  font-weight: 900;
  color: var(--tne-primary);
  font-size: 1.75rem;
}

@media (max-width: 900px) {
  .tne-flight-expanded-grid {
    grid-template-columns: 1fr;
  }

  .tne-flight-expanded-inclusions {
    grid-template-columns: 1fr;
  }

  .tne-flight-expanded-footer__cta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .tne-flight-card {
    grid-template-columns: 2.5rem 1.4fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .tne-flight-card__stops,
  .tne-flight-card__caret {
    display: none;
  }

  .tne-flight-card__price-col {
    align-items: flex-end;
  }
}


.tne-flight-card__price-col {
  align-items: flex-end;
}

/* ==========================================================================
   Passenger Details Modal
   ========================================================================== */

.pax-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(8, 24, 48, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.pax-overlay.open {
  display: flex;
  justify-content: flex-end;
  animation: paxFadeIn 0.25s ease;
}

.pax-drawer {
  display: flex;
  flex-direction: row;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  animation: paxDrawerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}

@keyframes paxFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.pax-sidebar {
  width: min(100%, 20rem);
  max-width: 20rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f8fafc;
  border-left: 1px solid rgba(13, 79, 139, 0.12);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.pax-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(13, 79, 139, 0.1);
  background: #fff;
  flex-shrink: 0;
}

.pax-sidebar__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tne-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pax-sidebar__hint {
  margin: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.pax-sidebar__signin {
  margin: 0 1.1rem 1rem;
  align-self: flex-start;
}

.pax-sidebar__guest[hidden],
.pax-sidebar__member[hidden],
.pax-sidebar__auth-form[hidden],
.pax-sidebar__editor[hidden],
.pax-sidebar [hidden] {
  display: none !important;
}

.pax-sidebar__guest:not([hidden]),
.pax-sidebar__member:not([hidden]) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.pax-sidebar__auth-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0 1.1rem 0.65rem;
}

.pax-sidebar__auth-tab {
  flex: 1;
  border: 1px solid rgba(13, 79, 139, 0.15);
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.pax-sidebar__auth-tab--active {
  background: var(--tne-primary);
  border-color: var(--tne-primary);
  color: #fff;
}

.pax-sidebar__auth-form:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0 1.1rem 0.75rem;
}

.pax-sidebar__auth-alt {
  margin: 0 1.1rem 0.75rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.pax-sidebar__counter {
  margin: 0;
  padding: 0 1.1rem 0.65rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pax-sidebar__counter-text {
  margin-bottom: 0.35rem;
}

.pax-sidebar__progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(13, 79, 139, 0.12);
  overflow: hidden;
}

.pax-sidebar__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d4f8b, #2f80c9);
  transition: width 180ms ease;
}

.pax-sidebar__item--self {
  border-color: rgba(13, 79, 139, 0.22);
  background: rgba(13, 79, 139, 0.04);
}

.pax-sidebar__you {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tne-primary);
  background: rgba(13, 79, 139, 0.12);
  vertical-align: middle;
}

.pax-sidebar__item-actions a.pax-sidebar__edit {
  text-decoration: none;
  display: inline-block;
}

.pax-sidebar__item--disabled {
  opacity: 0.55;
}

.pax-sidebar__item--disabled .pax-sidebar__pick {
  cursor: not-allowed;
}

.pax-sidebar__pick:disabled {
  cursor: not-allowed;
}

.pax-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.65rem 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.pax-sidebar__empty {
  padding: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pax-sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(13, 79, 139, 0.1);
}

.pax-sidebar__item--selected {
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 2px rgba(13, 79, 139, 0.12);
}

.pax-sidebar__pick {
  flex: 1;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  min-width: 0;
}

.pax-sidebar__name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.pax-sidebar__selected-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tne-primary);
  flex: 0 0 auto;
}

.pax-sidebar__meta {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.pax-sidebar__item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 0.35rem;
}

.pax-sidebar__edit,
.pax-sidebar__delete {
  border: none;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--tne-primary);
  padding: 0.15rem 0.25rem;
}

.pax-sidebar__delete {
  color: #c53030;
}

.pax-sidebar__editor {
  border-top: 1px solid rgba(13, 79, 139, 0.1);
  padding: 0.75rem 1.1rem 1rem;
  background: #fff;
  overflow-y: auto;
  max-height: 45%;
}

.pax-sidebar__editor-title {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.pax-sidebar__form {
  display: grid;
  gap: 0.5rem;
}

.pax-sidebar__field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-secondary);
}

.pax-sidebar__field input,
.pax-sidebar__field select {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(13, 79, 139, 0.2);
}

.pax-sidebar__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pax-sidebar__error {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #c53030;
  font-weight: 600;
}

.pax-modal {
  width: min(100%, 32rem);
  max-width: 32rem;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  background: #fff;
  border: none;
  border-left: 1px solid rgba(13, 79, 139, 0.12);
  border-radius: 0;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex-shrink: 0;
}

@keyframes paxDrawerIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes paxSheetUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.pax-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(13, 79, 139, 0.08);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.pax-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pax-modal__close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pax-modal__close:hover {
  background: rgba(229, 62, 62, 0.1);
  color: #e53e3e;
}

.pax-modal__body {
  flex: 1;
  min-height: 0;
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.pax-modal__body::-webkit-scrollbar {
  width: 5px;
}

.pax-modal__body::-webkit-scrollbar-thumb {
  background: rgba(13, 79, 139, 0.15);
  border-radius: 10px;
}

/* Fare availability banner */
.pax-fare-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.pax-fare-status--ok {
  background: rgba(56, 161, 105, 0.08);
  border: 1px solid rgba(56, 161, 105, 0.2);
  color: #276749;
}

.pax-fare-status--warn {
  background: rgba(237, 137, 54, 0.08);
  border: 1px solid rgba(237, 137, 54, 0.2);
  color: #9c4221;
}

.pax-fare-status--error {
  background: rgba(197, 48, 48, 0.08);
  border: 1px solid rgba(197, 48, 48, 0.22);
  color: #9b2c2c;
}

/* Passenger card */
.pax-card {
  background: rgba(13, 79, 139, 0.02);
  border: 1px solid rgba(13, 79, 139, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.pax-card:focus-within {
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.06);
}

.pax-card__label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pax-lead-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-secondary);
  cursor: pointer;
}

.pax-lead-choice input {
  accent-color: var(--tne-primary);
}

.pax-lead-badge {
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(13, 79, 139, 0.1);
  color: var(--tne-primary);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
}

.pax-card--lead {
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 2px rgba(13, 79, 139, 0.08);
}

.pax-contact-section__lead-label {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--text-secondary);
}

.pax-card__label .pax-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  background: var(--tne-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pax-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.pax-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pax-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pax-field.autosuggest-wrapper {
  position: relative;
}

.pax-modal .autosuggest-list {
  z-index: 20;
}

.pax-field__error {
  font-size: 0.68rem;
  font-weight: 600;
  color: #e53e3e;
  line-height: 1.3;
}

/* Contact section */
.pax-contact-section {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(13, 79, 139, 0.12);
}

.pax-contact-section h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pax-addon-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(13, 79, 139, 0.12);
}

.pax-addon-panel__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
}

.pax-addon-panel__hint {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pax-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pax-addon-panel__total {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pax-addon-panel__total--grand {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(13, 79, 139, 0.12);
  font-weight: 600;
}

.pax-addon-panel + .pax-addon-panel {
  margin-top: 1.25rem;
}

/* Modal footer */
.pax-modal__footer {
  flex-shrink: 0;
  padding: 1rem 1.75rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(13, 79, 139, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -8px 24px rgba(13, 79, 139, 0.06);
}

.pax-modal__footer-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pax-modal__footer-info strong {
  color: var(--tne-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.pax-modal__submit {
  padding: 0.85rem 2.5rem;
  background: var(--tne-primary);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--tne-primary) 48%, transparent);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pax-modal__submit:hover {
  background: var(--tne-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 79, 139, 0.35);
}

.pax-modal__submit:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .pax-overlay.open,
  .pax-modal {
    animation: none;
  }
}

@media (max-width: 767px) {
  .pax-overlay {
    justify-content: stretch;
    align-items: stretch;
  }

  .pax-modal {
    width: 100%;
    max-width: none;
    border-left: none;
    box-shadow: none;
    animation: paxSheetUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (max-width: 600px) {
  .pax-modal {
    border-radius: 0;
  }

  .pax-row {
    grid-template-columns: 1fr;
  }

  .pax-addon-grid {
    grid-template-columns: 1fr;
  }

  .pax-modal__footer {
    flex-direction: column;
    text-align: center;
  }

  .pax-modal__submit {
    width: 100%;
    justify-content: center;
  }
}

.pax-lead-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
  background: rgba(13, 79, 139, 0.06);
  border: 1px solid rgba(13, 79, 139, 0.12);
  border-radius: 8px;
}

.pax-offline-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pax-offline-overlay[hidden] {
  display: none;
}

.pax-offline-dialog {
  position: relative;
  width: min(100%, 28rem);
  padding: 1.5rem 1.5rem 1.25rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.pax-offline-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
}

.pax-offline-dialog__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: rgba(13, 79, 139, 0.1);
  color: var(--tne-primary);
  font-size: 1.25rem;
}

.pax-offline-dialog__title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pax-offline-dialog__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pax-offline-dialog__contact {
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  background: rgba(13, 79, 139, 0.05);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.pax-offline-dialog__contact p {
  margin: 0.25rem 0;
}

.pax-offline-dialog__contact a {
  color: var(--tne-primary);
  text-decoration: none;
}

.pax-offline-dialog__contact a:hover {
  text-decoration: underline;
}

.pax-offline-dialog__address {
  color: var(--text-secondary);
}

.pax-offline-dialog__btn {
  width: 100%;
}

.pax-cart-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

/* Hotel rate hold timer (details / guest info) */
.hotel-hold-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(13, 110, 253, 0.25);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.03));
  color: var(--text-primary, #1a1a2e);
}

.hotel-hold-timer--warning {
  border-color: rgba(255, 193, 7, 0.55);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.14), rgba(255, 193, 7, 0.05));
}

.hotel-hold-timer--expired {
  border-color: rgba(220, 53, 69, 0.45);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(220, 53, 69, 0.04));
}

.hotel-hold-timer__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted, #6c757d);
}

.hotel-hold-timer__clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  min-width: 3.5rem;
  color: var(--accent, #0d6efd);
}

.hotel-hold-timer--warning .hotel-hold-timer__clock {
  color: #b8860b;
}

.hotel-hold-timer--expired .hotel-hold-timer__clock {
  color: #dc3545;
}

.hotel-hold-timer__hint {
  flex: 1 1 12rem;
  font-size: 0.92rem;
  color: var(--text-secondary, #495057);
}

.hotel-hold-expired-banner {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(220, 53, 69, 0.35);
  background: rgba(220, 53, 69, 0.08);
  color: #842029;
  font-size: 0.92rem;
}

.hotel-hold-modal__footer {
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .hotel-hold-timer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hotel-hold-modal__footer {
    flex-direction: column;
  }

  .hotel-hold-modal__footer .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Hotels — search results, rooms, guest checkout (form UI → hotels.css)
   ========================================================================== */

.hotel-results {
  margin-top: 1.5rem;
}

.hotel-results .result-card.hotel-result-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 79, 139, 0.16);
  color: var(--text-primary);
}

.hotel-results__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hotel-results__count {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tne-primary);
  white-space: nowrap;
}

.hotel-result-card__media
 {
    width: 325px;
    height: auto;
    min-width: 140px;
}

.hotel-result-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.hotel-result-card__stars {
  color: var(--tne-accent-dark);
  font-weight: 600;
}

.hotel-result-card__address {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hotel-result-card__stay {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hotel-result-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.hotel-result-card__price-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.circuit-msg--error {
  border-color: rgba(220, 53, 69, 0.35);
  background: rgba(220, 53, 69, 0.08);
  color: #842029;
}

.hotel-room-panel__hint {
  margin-top: -0.35rem;
  margin-bottom: 1rem;
}

.hotel-room-select-wrap {
  margin-bottom: 1rem;
}

.hotel-room-select-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: #3a3a3c;
}

.hotel-room-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hotel-room-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hotel-room-option:hover {
  border-color: rgba(13, 79, 139, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.hotel-room-option--selected {
  border-color: var(--tne-primary);
  background: rgba(13, 79, 139, 0.08);
  box-shadow: 0 0 0 1px rgba(13, 79, 139, 0.15);
}

.hotel-room-option__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hotel-room-option__name {
  font-weight: 600;
  line-height: 1.35;
}

.hotel-room-option__price {
  font-weight: 800;
  color: var(--tne-primary);
}

.hotel-room-option__badge,
.hotel-room-option__action {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hotel-room-option__badge {
  color: var(--tne-success-dark);
}

.hotel-room-option__action {
  color: var(--tne-primary);
}

.hotel-book-form .hotel-guest-section__label {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border-subtle);
}

.hotel-guest-section__hint {
  margin-bottom: 1rem;
}

.hotel-book-form .flight-book-card__body .pax-card:last-child {
  margin-bottom: 0.5rem;
}

.hotel-book-form .flight-book-card__body .fsc-validation {
  margin-bottom: 1rem;
}

.hotel-detail-aside .flight-book-card {
  overflow: visible;
}

.hotel-guest-saved-row {
  margin-bottom: 0.85rem;
}

.hotel-guest-saved-row .pax-field {
  flex: 1 1 100%;
}

.hotel-guest-saved-select {
  width: 100%;
}

.hotel-book-form .autosuggest-list {
  z-index: 1200;
}

.hotel-book-form .flight-book-card__cta {
  width: 100%;
  margin-top: 1rem;
}

.checkout-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkout-line__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.checkout-line__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.checkout-line__title {
  font-weight: 700;
}

.checkout-line__meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cart-summary__next {
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  .hotel-result-card {
    flex-direction: column;
    align-items: stretch;
  }

  .hotel-result-card__media {
    width: 100%;
    height: 180px;
    min-width: 0;
  }

  .hotel-result-card__price {
    align-items: stretch;
    text-align: left;
  }

  .hotel-result-card__price .btn {
    width: 100%;
  }
}

/* Account & saved passengers */
.account-page {
  max-width: var(--tne-content-max);
  margin: 0 auto;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* Stacks already include horizontal gutter via padding or hero inner column */
.main-content > .account-page,
.main-content > .tne-page-stack {
  padding-inline: var(--tne-page-gutter);
}

.account-page__alerts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  max-width: 52rem;
}

.account-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42rem;
}

.account-flash--info {
  background: rgba(13, 79, 139, 0.08);
  border: 1px solid rgba(13, 79, 139, 0.2);
  color: var(--tne-primary-dark);
}

.account-flash--success {
  background: rgba(56, 161, 105, 0.1);
  border: 1px solid rgba(56, 161, 105, 0.28);
  color: #276749;
}

.account-flash--error {
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.25);
  color: #9b2c2c;
}

.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
  max-width: 52rem;
}

.account-auth-card {
  max-width: none;
}

.account-profile-panel {
  max-width: 36rem;
}

.account-section-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tne-primary-dark);
}

.account-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.account-tabs__link {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 79, 139, 0.15);
  background: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  color: var(--tne-text-muted);
  text-decoration: none;
}

.account-tabs__link--active,
.account-tabs__link:hover {
  background: rgba(13, 79, 139, 0.08);
  color: var(--tne-primary-dark);
  border-color: rgba(13, 79, 139, 0.25);
}

.account-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.page-header--with-action {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.passenger-list {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.passenger-card.search-box {
  padding: 1.25rem 1.35rem;
}

.passenger-card .pax-type-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(13, 79, 139, 0.12);
  color: var(--tne-primary-dark);
}

.passenger-form-panel .form-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.passenger-form-panel,
.empty-state-panel {
  max-width: 52rem;
}

.empty-state-panel {
  text-align: center;
  padding: 2rem 1.5rem;
}

.empty-state-panel p {
  margin: 0;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .passenger-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .passenger-card__actions {
    justify-content: flex-start;
  }

  .page-header--with-action .btn {
    width: 100%;
    text-align: center;
  }
}

.passenger-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.passenger-card__name {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
}

.passenger-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--tne-text-muted);
}

.passenger-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.passenger-card__delete-form {
  margin: 0;
}

.passenger-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}

.passenger-card__details dt {
  font-weight: 600;
  color: var(--tne-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.passenger-card__details dd {
  margin: 0.15rem 0 0;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.btn-danger {
  background: #c53030;
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: #9b2c2c;
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--tne-text-muted);
}

.pax-saved-bar {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 79, 139, 0.06);
  border: 1px solid rgba(13, 79, 139, 0.12);
}

.pax-saved-bar__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pax-saved-bar__select {
  width: 100%;
  max-width: 24rem;
}

.pax-saved-bar__hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--tne-text-muted);
}

.pax-fill-saved-btn {
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(13, 79, 139, 0.25);
  background: #fff;
  color: var(--tne-primary);
  cursor: pointer;
}

.pax-card__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Order confirmation — print & PDF */
.passenger-card__delete-form {
  display: inline;
}

/* Account — booking history */
.account-booking-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
}

.account-booking-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.account-booking-row__when {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--tne-text-muted);
}

.account-booking-row__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.account-booking-row__title a {
  color: var(--tne-primary-dark);
  text-decoration: none;
}

.account-booking-row__title a:hover {
  text-decoration: underline;
}

.account-booking-row__meta,
.account-booking-row__pnr {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--tne-text-muted);
}

.account-booking-row__legs {
  margin: 1rem 0 0;
  padding: 0.75rem 0 0 1.1rem;
  border-top: 1px solid rgba(13, 79, 139, 0.1);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.account-booking-row__legs li {
  margin: 0.25rem 0;
}

.account-booking-row__legs li span {
  display: inline-block;
  min-width: 5.5rem;
  font-weight: 700;
  color: var(--tne-primary);
}

.account-order-detail__back {
  margin: 0 0 1rem;
  max-width: 52rem;
}

.account-order-meta {
  max-width: 52rem;
  margin-bottom: 1.25rem;
}

.account-order-meta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
}

.account-order-meta__grid dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tne-text-muted);
}

.account-order-meta__grid dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.account-order-meta__actions {
  margin: 1rem 0 0;
}

.account-booking-legs {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 79, 139, 0.04);
  border: 1px solid rgba(13, 79, 139, 0.12);
}

.account-booking-leg__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tne-primary);
}

.account-booking-leg__route {
  margin: 0;
  font-size: 1.05rem;
}

.account-booking-leg__times {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--tne-text-muted);
}

.account-booking-leg__segments {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media print {
  .skip-link,
  .site-header,
  .site-footer,
  .breadcrumb,
  .no-print,
  .tne-prefs-dialog {
    display: none !important;
  }

  body.tne-booking-app {
    background: #fff !important;
  }

  .main-content {
    padding: 0 !important;
    max-width: none !important;
  }

  .main-content > * {
    padding-inline: 0 !important;
  }

  .booking-confirmation-print-header {
    display: block !important;
  }

  #booking-confirmation-print {
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important;
    page-break-inside: avoid;
  }

  .booking-success-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Return journey — OB / IB selection */
.tne-return-steps {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface-elevated, rgba(255, 255, 255, 0.92));
  border: var(--tne-border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.tne-return-steps__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tne-return-steps__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 240px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--surface-muted, #f7f9fc);
  color: var(--text-secondary);
  border: 1px solid var(--tne-border-on-surface);
}

.tne-return-steps__item.is-active {
  border-color: var(--tne-primary, #1a5fb4);
  background: rgba(26, 95, 180, 0.06);
  color: var(--text-primary);
}

.tne-return-steps__item.is-done {
  color: var(--text-primary);
}

.tne-return-steps__item.is-pending {
  opacity: 0.65;
}

.tne-return-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--tne-primary, #1a5fb4);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tne-return-steps__item.is-pending .tne-return-steps__num {
  background: var(--text-secondary);
}

.tne-return-steps__text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.tne-return-steps__chosen {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tne-return-steps__change {
  margin-left: 0.75rem;
  font-weight: 600;
}

.tne-return-review {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
  background: var(--surface-elevated, #fff);
}

.tne-return-review__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.tne-return-review__legs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tne-return-review__leg {
  padding: 1rem;
  border-radius: 10px;
  background: var(--surface-muted, #f7f9fc);
}

.tne-return-review__leg-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tne-primary, #1a5fb4);
}

.tne-return-review__leg-route,
.tne-return-review__leg-meta {
  margin: 0.15rem 0;
  font-size: 0.9rem;
}

.tne-return-review__leg-price {
  margin: 0.5rem 0 0;
  font-weight: 700;
  font-size: 1rem;
}

.tne-return-review__total {
  margin: 1rem 0 0;
  font-size: 1rem;
}

.tne-return-review__aside-breakdown {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tne-return-review__aside-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}