/* ==========================================================================
   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: rgba(255, 255, 255, 0.5);
  --glass-border-subtle: rgba(255, 255, 255, 0.25);
  --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);
}

* {
  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:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(13, 79, 139, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 40%, rgba(232, 168, 56, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 45% 28% at 0% 70%, rgba(56, 161, 105, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, #e6eaef 45%, #dfe5ec 100%);
}

/* Booking-app shell: slightly calmer canvas, stronger chrome */
body.tne-booking-app {
  background:
    radial-gradient(ellipse 85% 50% at 50% -8%, rgba(13, 79, 139, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse 45% 30% at 100% 30%, rgba(232, 168, 56, 0.09) 0%, transparent 48%),
    linear-gradient(180deg, #e9edf3 0%, #e2e7ee 50%, #d9dfe8 100%);
}

body.tne-booking-app .main-content {
  padding-top: 0;
  /* Let content go behind the fixed header */
}

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

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

body.nav-open {
  overflow: hidden;
}

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

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

.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 rgba(255, 255, 255, 0.08);
  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) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
  }

  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }
}

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

  .header-utilities a,
  .header-utilities .prefs-trigger {
    padding: 0;
    width: 40px;
    justify-content: center;
  }
}

.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;
}

/* Mobile Nav Open State */
body.nav-open .main-nav {
  display: flex;
  position: fixed;
  top: 80px;
  /* Header height */
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.98);
  padding: 2rem;
  z-index: 1500;
  justify-content: flex-start;
  gap: 1.5rem;
}

body.nav-open .main-nav a {
  font-size: 1.25rem;
  width: 100%;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.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 all direct children (hero is full-bleed; script excluded) */
.main-content>*:not(.tne-hero, script) {
  padding-inline: var(--tne-page-gutter);
  box-sizing: border-box;
}

/* 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 .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 — Background images with opacity overlay
   Hero backgrounds are set inline (PHP); shared marketing JPG/PNG live in /images (flat).
   ========================================================================== */
.tne-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 2.5rem;
  padding: 10rem var(--tne-page-gutter) 2rem;
  /* Increased top padding for fixed header */
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
}

.tne-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--hero-bg);
  opacity: 0.45;
}

.tne-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(13, 79, 139, 0.5) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(13, 79, 139, 0.35) 100%);
  pointer-events: none;
}

.tne-hero>* {
  position: relative;
  z-index: 1;
  background-size: contain;
}

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

.tne-hero--flight-detail::after,
.tne-hero--hotel-detail::after {
  background: linear-gradient(160deg, rgba(13, 79, 139, 0.58) 0%, rgba(8, 40, 80, 0.42) 45%, rgba(13, 79, 139, 0.48) 100%);
}

.tne-hero--hotel-detail::after {
  background: linear-gradient(160deg, rgba(56, 161, 105, 0.22) 0%, rgba(13, 79, 139, 0.5) 50%, rgba(8, 40, 80, 0.45) 100%);
}

.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: white;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-title-accent {
  color: var(--tne-accent-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.98);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Hero images are dynamically injected via inline CSS variables (--hero-bg) */

/* ==========================================================================
   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: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6e6e73;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  min-width: 100px;
}

.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;
}

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

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

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

.tab-panel .search-box {
  flex: 1 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: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

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

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

.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>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: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Landing search: equal-width columns, left-to-right */
@media (min-width: 769px) {

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

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

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

.search-box input,
.search-box select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1d1d1f;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus,
.search-box select:focus {
  outline: none;
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.2);
}

/* Hotel hero: check-in / check-out (2nd & 3rd fields) — native date controls read faint on photo */
.tne-hero .hotel-form .form-grid>.form-row:nth-child(2) input,
.tne-hero .hotel-form .form-grid>.form-row:nth-child(3) input {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.search-box input::placeholder {
  color: #8e8e93;
}

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

.search-box button.fsc-swap-btn {
  margin: -0.25rem -0.55rem;
}

/* Buttons — Liquid Glass style */
.search-box button,
.btn {
  padding: 0rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
}

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

.btn-primary {
  background: var(--tne-primary);
  color: white;
  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;
  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: 1px solid rgba(13, 79, 139, 0.35);
  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;
}

.hidden {
  display: none !important;
}

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

/* ── Controls Row (trip type pills + cabin + direct checkbox) ── */
.fsc-controls-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.fsc-trip-pills {
  display: inline-flex;
  gap: 0;
  border-radius: 100px;
  overflow: hidden;
  border: 1.5px solid rgba(13, 79, 139, 0.2);
  background: rgba(255, 255, 255, 0.35);
}

.fsc-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  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 #aaa;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  flex-shrink: 0;
}

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

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

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

.fsc-pill+.fsc-pill {
  border-left: 1px solid rgba(13, 79, 139, 0.12);
}

.fsc-cabin-select {
  position: relative;
}

.fsc-cabin-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 2rem 0.65rem 0.85rem;
  border: 1.5px solid rgba(13, 79, 139, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.35) 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='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s;
}

.fsc-cabin-select select:focus {
  outline: none;
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.12);
}

.fsc-direct-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  padding-left: 0.5rem;
}

.fsc-direct-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--tne-primary);
  cursor: pointer;
}

/* ── Main Search Row ── */
.fsc-search-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 2px solid rgba(13, 79, 139, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  overflow: visible;
  position: relative;
  z-index: 100;
  transition: border-color 0.2s;
}

.fsc-search-row:focus-within {
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.1);
}

/* Field containers */
.fsc-field {
  flex: 1;
  min-width: 0;
  position: relative;
  border-right: 1px solid rgba(13, 79, 139, 0.12);
}

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

.fsc-field--origin {
  flex: 1.3;
}

.fsc-field--dest {
  flex: 1.3;
}

.fsc-field--dates {
  flex: 1.4;
}

.fsc-field--pax {
  flex: 1;
  padding-right: 130px;
  /* Updated to match the deeper search button overlap */
}

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

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

.fsc-field-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

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

.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;
}

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

/* ── Swap Button ── */
.fsc-swap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(13, 79, 139, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--tne-primary);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all 0.25s ease;
  position: absolute;
  left: 23.8%;
  top: 58%;
  /* Aligned with city names rather than field labels */
  transform: translate(-50%, -50%);
  z-index: 110;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.fsc-swap-btn:hover {
  background: var(--tne-primary);
  color: white;
  border-color: var(--tne-primary);
  box-shadow: 0 4px 12px rgba(13, 79, 139, 0.3);
}

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

@keyframes fscSwapSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

/* ── Search CTA Button ── */
.fsc-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tne-primary);
  color: white;
  border: none;
  border-radius: 0 14px 14px 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  margin: 0;
  position: absolute;
  top: -3px;
  right: -3px;
  bottom: -3px;
  width: 130px;
  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: 200;
  box-shadow: inset -2px 0 12px rgba(0, 0, 0, 0.05);
}

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

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

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

/* ── Pax Popover ── */
.fsc-pax-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(13, 79, 139, 0.15);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  z-index: 1000;
  display: none;
  animation: fscPopIn 0.2s ease;
}

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

.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 rgba(13, 79, 139, 0.2);
  border-radius: 100px;
  overflow: hidden;
}

.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: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

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

/* ── 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: transparent;
  border: 1.5px solid rgba(13, 79, 139, 0.15);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  font-family: inherit;
  transition: all 0.2s;
}

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

.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;
}

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

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

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

.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"] {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid rgba(13, 79, 139, 0.15);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  transition: border-color 0.2s;
}

.fsc-adv-field select:focus,
.fsc-adv-field input[type="text"]:focus {
  outline: none;
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.1);
}

/* ── 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: 1px !important;
  transition: all 0.15s !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: white !important;
}

.flatpickr-day.inRange {
  background: rgba(13, 79, 139, 0.1) !important;
  border-color: transparent !important;
  box-shadow: -5px 0 0 rgba(13, 79, 139, 0.1), 5px 0 0 rgba(13, 79, 139, 0.1) !important;
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .fsc-search-row {
    flex-direction: column;
    border-radius: 14px;
  }

  .fsc-field {
    border-right: none;
    border-bottom: 1px solid rgba(13, 79, 139, 0.1);
    flex: none !important;
  }

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

  .fsc-swap-btn {
    position: static;
    transform: none;
    margin: -12px auto;
    z-index: 10;
    position: relative;
  }

  .fsc-search-btn {
    border-radius: 0 0 12px 12px;
    width: 100%;
    padding: 1rem;
    min-height: 50px;
  }

  .fsc-pax-popover {
    right: auto;
    left: 0;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .fsc-controls-row {
    gap: 0.6rem;
  }

  .fsc-trip-pills {
    width: 100%;
    justify-content: center;
  }

  .fsc-pill {
    flex: 1;
    justify-content: center;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  .fsc-cabin-select {
    flex: 1;
  }

  .fsc-cabin-select select {
    width: 100%;
  }

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

  .fsc-adv-field {
    max-width: none;
  }
}

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


/* ==========================================================================
   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.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

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

.hotel-hero-stat__value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.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: rgba(255, 255, 255, 0.88);
}

.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: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.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: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5);
  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: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.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: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flight-chip--accent {
  background: rgba(232, 168, 56, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.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: linear-gradient(90deg, var(--tne-primary) 0%, var(--tne-accent) 100%);
  border-radius: 2px;
  opacity: 0.85;
}

.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;
}

/* 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-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.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;
  gap: 0.5rem;
  margin-bottom: 2rem;
  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);
}

/* ==========================================================================
   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);
}

.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;
}

.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: light breadcrumb on dark overlay */
.tne-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.85);
}

.tne-hero .breadcrumb a {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.tne-hero .breadcrumb a:hover {
  color: var(--tne-accent-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: light text on photo + overlay */
.tne-hero .landing-title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.tne-hero .landing-summary {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.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 rgba(255, 255, 255, 0.95);
  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 rgba(255, 255, 255, 0.9);
  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 rgba(255, 255, 255, 0.9);
  border-radius: var(--tne-surface-radius);
  width: fit-content;
}

.trending-tab {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  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 rgba(255, 255, 255, 0.9);
  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 rgba(255, 255, 255, 0.08);
  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;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.15rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    border-top: 1px solid transparent;
    pointer-events: none;
    transition:
      max-height 0.38s cubic-bezier(0.33, 1, 0.68, 1),
      opacity 0.28s ease,
      transform 0.38s cubic-bezier(0.33, 1, 0.68, 1),
      padding 0.38s cubic-bezier(0.33, 1, 0.68, 1),
      margin 0.38s cubic-bezier(0.33, 1, 0.68, 1),
      border-color 0.25s ease;
  }

  .main-nav.is-open {
    max-height: min(75vh, 520px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 0.5rem 0 0.25rem;
    margin-top: 0.25rem;
    border-top-color: rgba(255, 255, 255, 0.12);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
  }

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

  .header-inner {
    align-items: stretch;
  }

  .main-content {
    padding: 1rem 0 2rem;
  }

  .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);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .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;
  }

  .main-nav:not(.is-open) {
    transform: none;
  }
}

@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__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hotel-reviews__score-block {
  text-align: right;
}

.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__expand-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.hotel-reviews__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.hotel-reviews__toggle-arrow {
  display: inline-block;
  font-size: 0.65rem;
  line-height: 1;
  transition: transform 0.35s var(--ease-out);
}

.hotel-reviews__toggle:not(.is-expanded) .hotel-reviews__toggle-arrow {
  animation: hotel-reviews-arrow-nudge 1.35s ease-in-out infinite;
}

.hotel-reviews__toggle.is-expanded .hotel-reviews__toggle-arrow {
  animation: none;
  transform: rotate(180deg);
}

@keyframes hotel-reviews-arrow-nudge {

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

  45% {
    transform: translateY(5px);
  }
}

.hotel-reviews__details {
  margin-top: 1rem;
  padding-top: 0.25rem;
}

.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-error {
  color: var(--tne-warn);
  font-weight: 600;
  margin: 0 0 1rem;
  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-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__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;
}

/* ==========================================================================
   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: none;
  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;
}

.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 #ced4da;
  border-radius: var(--radius-md);
  box-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;
}

@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 rgba(13, 79, 139, 0.15);
  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__expanded-view {
  display: none;
  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 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: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.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__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: flex;
  justify-content: space-between;
  align-items: center;
}

.tne-flight-card__expanded-details {
  font-size: 0.9rem;
  color: #5f6368;
}

.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;
}

@media (max-width: 900px) {
  .tne-flight-card {
    grid-template-columns: 2.5rem 1.5fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .tne-flight-card__duration,
  .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: 9000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.pax-overlay.open {
  display: flex;
  animation: paxFadeIn 0.3s ease;
}

@keyframes paxFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.pax-modal {
  width: 100%;
  max-width: 780px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(13, 79, 139, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: paxSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes paxSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

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

.pax-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(13, 79, 139, 0.08);
  background: rgba(13, 79, 139, 0.03);
}

.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 {
  padding: 1.5rem 1.75rem;
  max-height: 65vh;
  overflow-y: auto;
}

.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;
}

/* 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;
  gap: 0.5rem;
}

.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 input,
.pax-field select {
  padding: 0.6rem 0.75rem;
  border: 1.5px solid rgba(13, 79, 139, 0.15);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d1d1f;
  background: #fff;
  font-family: inherit;
  transition: all 0.2s;
}

.pax-field input:focus,
.pax-field select:focus {
  outline: none;
  border-color: var(--tne-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.08);
}

.pax-field input::placeholder {
  color: #bbb;
  font-weight: 400;
}

/* 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;
}

/* Modal footer */
.pax-modal__footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(13, 79, 139, 0.08);
  background: rgba(13, 79, 139, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.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: none;
  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 (max-width: 600px) {
  .pax-modal {
    border-radius: 16px;
  }

  .pax-row {
    grid-template-columns: 1fr;
  }

  .pax-modal__footer {
    flex-direction: column;
    text-align: center;
  }

  .pax-modal__submit {
    width: 100%;
    justify-content: center;
  }
}