:root {
  --bg-dark: #0f172a;
  --bg-navy: #1e293b;
  --bg-light: #FAFAFC;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --primary: #E11D48;
  --primary-dark: #BE123C;
  --accent-blue: #F43F5E;
  --emerald: #059669;
  --emerald-bg: #d1fae5;
  --amber: #f59e0b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.22);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Consumer Top Navigation */
.consumer-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 14px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.32);
}

.brand-text-wrap {
  min-width: 0;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consumer-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.consumer-nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.15s;
  white-space: nowrap;
}

.consumer-nav-links a:hover,
.consumer-nav-links a.active {
  color: #E11D48;
}

.nav-support-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-support-pill {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #BE123C;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Consumer Flight & Travel Search Hero */
.search-hero {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.85) 100%),
              url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  padding: 40px 36px 48px;
  color: #ffffff;
}

.search-hero-inner {
  max-width: 1260px;
  margin: 0 auto;
}

.hero-headline {
  text-align: center;
  margin-bottom: 24px;
}

.hero-headline h1 {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero-headline p {
  font-size: 1.02rem;
  color: #e2e8f0;
}

/* Main Search Widget Box */
.booking-search-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: 16px;
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-lg);
}

.search-tabs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.search-product-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prod-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s;
}

.prod-tab.active {
  background: #E11D48;
  color: #ffffff;
  border-color: #E11D48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.32);
}

.trip-way-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.trip-way-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.flight-search-grid {
  display: grid;
  grid-template-columns: 1.25fr auto 1.25fr 0.95fr 0.95fr 1.15fr auto;
  gap: 10px;
  align-items: stretch;
}

.search-input-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 12px;
  transition: border-color 0.15s;
  min-width: 0;
}

.search-input-box:focus-within {
  border-color: #E11D48;
  background: #ffffff;
}

.search-input-box label {
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: none;
  color: #334155;
  letter-spacing: 0.01em;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-input-box input,
.search-input-box select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  text-overflow: ellipsis;
}

.btn-search-flights {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0 26px;
  height: 54px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.42);
  transition: transform 0.15s;
}

.btn-search-flights:hover {
  transform: translateY(-1px);
}

.trust-perks-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: #475569;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-perks-strip span strong {
  color: #0f172a;
}

/* Main Content Container */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 36px 56px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}

.section-subtitle {
  font-size: 0.88rem;
  color: #64748b;
}

/* Flight Sort / Filter Pills */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.filter-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Live Bookable Flight Results List */
.flight-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.flight-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.15s, border-color 0.15s;
  min-width: 0;
}

.flight-card:hover {
  border-color: #FDA4AF;
  box-shadow: var(--shadow-md);
}

.flight-main-col {
  flex: 1;
  min-width: 0;
}

.flight-airline-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.airline-dot {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #BE123C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.72rem;
}

.flight-times-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.time-block strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.time-block span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
}

.flight-line-graphic {
  flex: 1;
  min-width: 75px;
  text-align: center;
}

.flight-duration {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}

.flight-line-bar {
  height: 2px;
  background: #cbd5e1;
  margin: 4px 0;
  position: relative;
}

.flight-stops-tag {
  font-size: 0.73rem;
  font-weight: 700;
  color: #059669;
}

.flight-perks-meta {
  font-size: 0.76rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.flight-price-col {
  text-align: right;
  border-left: 1px solid #f1f5f9;
  padding-left: 18px;
  min-width: 148px;
  flex-shrink: 0;
}

.flight-cabin-pill {
  display: inline-block;
  background: #FFF1F2;
  color: #BE123C;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.flight-price-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.flight-price-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 8px;
}

.btn-select-flight {
  width: 100%;
}

/* Package Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pkg-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.pkg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pkg-img-wrap {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.pkg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pkg-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.pkg-save-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #059669;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.pkg-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pkg-title {
  font-size: 1.04rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.pkg-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 10px;
}

.pkg-price-compare {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.price-col-left span {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
}

.price-col-left del {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
}

.price-col-right {
  text-align: right;
}

.price-col-right span {
  display: block;
  font-size: 0.68rem;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
}

.price-col-right strong {
  font-size: 1.28rem;
  font-weight: 900;
  color: #0f172a;
}

.pkg-highlights {
  list-style: none;
  margin-bottom: 14px;
  flex: 1;
}

.pkg-highlights li {
  font-size: 0.8rem;
  color: #334155;
  margin-bottom: 5px;
  padding-left: 16px;
  position: relative;
}

.pkg-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 800;
}

.pkg-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b;
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-emerald {
  background: var(--emerald);
  color: #ffffff;
}

.btn-emerald:hover {
  background: #047857;
}

.save-pill {
  background: #d1fae5;
  color: #047857;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Featured Hotels Grid */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.hotel-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

/* Consumer Footer */
.consumer-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 36px 36px 28px;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 16px;
}

/* Back-Office CRM & Wholesale Hub Styles (Shown only on /admin) */
.admin-topbar {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.kpi-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary);
  min-width: 0;
}

.kpi-card.emerald { border-left-color: var(--emerald); }
.kpi-card.gold { border-left-color: var(--amber); }

.kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--bg-dark);
}

.kpi-sub {
  font-size: 0.75rem;
  color: var(--emerald);
  font-weight: 600;
  margin-top: 3px;
}

.verified-brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.api-config-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.aggregator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.calc-totals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.calc-proj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.8rem;
}

.pkg-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.proposal-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  margin-bottom: 12px;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.admin-tab-btn.active {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.calc-workspace {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.panel-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.panel-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  letter-spacing: -0.005em;
  text-transform: none;
}

.form-control {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 600;
}

.supplier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.supplier-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.supplier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.supplier-cat {
  background: #FFE4E6;
  color: #BE123C;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
}

.comm-badge {
  background: #dcfce7;
  color: #047857;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.86rem;
  flex-wrap: wrap;
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.pipeline-table th {
  text-align: left;
  padding: 11px 12px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  border-bottom: 2px solid #cbd5e1;
  white-space: nowrap;
}

.pipeline-table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.stage-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.stage-Lead { background: #fef3c7; color: #b45309; }
.stage-Proposal { background: #FFE4E6; color: #BE123C; }
.stage-Deposit { background: #ede9fe; color: #6d28d9; }
.stagBOOKINGed { background: #dcfce7; color: #047857; }
.stage-Traveling { background: #cffafe; color: #0e7490; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.hidden {
  display: none !important;
}

/* ===================================================================== */
/* RESPONSIVE MEDIA QUERIES (TABLET <= 1024px & MOBILE <= 768px / 640px) */
/* ===================================================================== */

@media (max-width: 1024px) {
  .consumer-nav {
    padding: 12px 20px;
  }

  .search-hero {
    padding: 32px 20px 36px;
  }

  .container {
    padding: 24px 20px 44px;
  }

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

  .btn-search-flights {
    grid-column: span 2;
    width: 100%;
  }

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

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

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

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

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

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

  .calc-workspace {
    grid-template-columns: 1fr;
  }
}

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

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

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .consumer-nav {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand-wrap {
    flex: 1 1 auto;
    order: 1;
  }

  .brand-title {
    font-size: 1.12rem;
  }

  .brand-sub {
    display: none;
  }

  .nav-support-wrap {
    order: 2;
  }

  .nav-support-pill {
    padding: 6px 11px;
    font-size: 0.76rem;
  }

  .consumer-nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 10px;
    padding-top: 8px;
    padding-bottom: 2px;
    border-top: 1px solid #f1f5f9;
  }

  .consumer-nav-links a {
    font-size: 0.83rem;
  }

  .search-hero {
    padding: 22px 14px 28px;
  }

  .hero-headline {
    margin-bottom: 16px;
  }

  .hero-headline h1 {
    font-size: 1.55rem;
    line-height: 1.22;
  }

  .hero-headline p {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .booking-search-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .search-tabs-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .search-product-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .prod-tab {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .trip-way-options {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  .trust-perks-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.78rem;
  }

  .container {
    padding: 20px 14px 40px;
  }

  .section-title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.82rem;
  }

  .filter-bar {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    padding: 6px 13px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .consumer-footer {
    padding: 28px 16px 24px;
  }

  .admin-topbar {
    padding: 12px 16px;
  }

  .panel-card {
    padding: 16px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-card {
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
  .flight-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .flight-search-grid .search-input-box {
    grid-column: span 2;
    padding: 8px 10px;
  }

  .flight-search-grid .search-input-box.date-col {
    grid-column: span 1;
  }

  .btn-search-flights {
    grid-column: span 2;
    width: 100%;
    height: 48px;
  }

  .flight-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }

  .flight-price-col {
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding-left: 0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .flight-price-sub {
    margin-bottom: 0;
  }

  .btn-select-flight {
    width: auto;
    padding: 10px 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .packages-grid,
  .hotels-grid,
  .kpi-grid,
  .verified-brands-grid,
  .api-config-grid,
  .aggregator-grid,
  .calc-totals-grid,
  .calc-proj-grid,
  .pkg-tiers-grid,
  .proposal-price-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-group.full {
    grid-column: span 1;
  }
}

/* ======================================================================= */
/* GLOBAL CITY & AIRPORT AUTOCOMPLETE COMBOBOX + BOOKING RECEIPT STYLES   */
/* ======================================================================= */
.city-combobox-wrap {
  position: relative;
}

.city-input-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.city-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--navy-900);
  outline: none;
  padding: 2px 0;
  min-width: 0;
  text-overflow: ellipsis;
}

.city-search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.82rem;
}

.city-clear-btn {
  background: #e2e8f0;
  border: none;
  color: #475569;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.city-clear-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.city-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 300px;
  max-width: 92vw;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 1.5px solid #E11D48;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  z-index: 999;
  padding: 6px;
}

.city-dropdown-header {
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E11D48;
  padding: 6px 10px 4px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.city-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
  text-align: left;
}

.city-dropdown-item:hover,
.city-dropdown-item.active {
  background: #FFF1F2;
}

.city-item-main {
  min-width: 0;
  flex: 1;
}

.city-item-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-item-sub {
  font-size: 0.73rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-item-code {
  background: #FFE4E6;
  color: #BE123C;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Return Leg & Live Airline Badges on Flight Cards */
.flight-return-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: #334155;
}

.live-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Passenger Manifest Card inside Checkout Modal */
.pax-manifest-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px;
}

.pax-manifest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
}

.pax-manifest-grid {
  display: grid;
  grid-template-columns: 86px 1fr 1fr 140px 100px;
  gap: 8px;
}

/* Official Printable BOOKING Receipt Card */
.booking-receipt-box {
  border: 2px solid #059669;
  border-radius: 14px;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 38%);
  padding: 18px;
}

.pnr-hero-badge {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #10b981;
}

.pnr-hero-badge small {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6ee7b7;
  font-weight: 800;
}

.pnr-hero-badge strong {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffffff;
}

@media (max-width: 768px) {
  .city-dropdown-menu {
    min-width: 100%;
    max-width: 100%;
  }
  .pax-manifest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .pax-manifest-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================== */
/* LUXURY TRAVEL TYPOGRAPHY & DATE / EXPLORER UI ENHANCEMENTS            */
/* ===================================================================== */
h1, h2, h3, h4, .brand-title, .section-title, .pkg-title, .hotel-name {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  letter-spacing: -0.025em;
}

.flight-price-val,
.fb-price-amount,
.pkg-our-price,
.price-col-right strong,
.hotel-our-rate strong {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.pnr-hero-badge strong,
.city-item-code,
.airline-dot,
.flight-num-mono,
.flight-num-pill,
.fb-leg-flt,
.fb-leg-iata {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
}

.time-block strong {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.time-date-sub {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #BE123C;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  padding: 1px 7px;
  border-radius: 999px;
}

.flight-date-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: linear-gradient(90deg, #FFF1F2 0%, #f8fafc 100%);
  border: 1px solid #FECDD3;
  border-radius: 9px;
  padding: 6px 12px;
  margin-bottom: 10px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #0f172a;
}

.flight-date-ribbon strong {
  color: #BE123C;
  font-weight: 700;
}

.flight-dist-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.71rem;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Unlimited Worldwide Destination Explorer Bar */
.world-explorer-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.world-explorer-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.84rem;
  color: #0f172a;
}

.world-explorer-label small {
  font-size: 0.73rem;
  color: #64748b;
  font-weight: 500;
}

.world-continent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.continent-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.continent-pill:hover {
  border-color: #E11D48;
  color: #E11D48;
  background: #FFF1F2;
}

.continent-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}


/* ===================================================================== */
/* 2026 MOBILE & TABLET UX OVERHAUL (320px, 375px, 390px, 414px, 768px)  */
/* ===================================================================== */

html, body {
  overflow-x: clip;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.modal-header-title-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.btn-modal-close {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  line-height: 1;
}

.btn-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

select.form-control {
  padding-right: 34px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.fb-price-headline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: 4px;
  line-height: 1.3;
}

.fb-price-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fb-price-note {
  font-size: 0.77rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.35;
}

.fb-itinerary-box {
  margin-top: 8px;
  font-size: 0.76rem;
  color: #334155;
  background: #ffffff;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  line-height: 1.48;
}

.fb-itin-leg {
  word-break: break-word;
}

.fb-itin-return {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.fb-itin-baggage {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}

.itin-nowrap {
  white-space: nowrap;
}

.itin-stops {
  color: #BE123C;
  font-weight: 700;
  white-space: nowrap;
}

/* Swap Origin / Destination Button */
.swap-airports-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-swap-airports {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid #FECDD3;
  background: #FFF1F2;
  color: #E11D48;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.14);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-swap-airports:hover,
.btn-swap-airports:active {
  background: #E11D48;
  color: #ffffff;
  border-color: #E11D48;
}

.swap-label-mobile {
  display: none;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Flight Card Enhanced Sub-elements */
.flight-airline-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.airline-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.airline-name-text {
  font-weight: 800;
  color: #0f172a;
}

.flight-num-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 6px;
  border-radius: 5px;
}

.airline-pills-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.airline-pills-group .save-pill {
  margin-left: 0;
}

.flight-reg-fare {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.per-pax-unit {
  display: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}

.return-leg-main {
  min-width: 0;
}

.return-leg-airports {
  color: #64748b;
  margin-left: 3px;
}

.return-leg-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

/* Passenger Manifest Field Labels & Controls */
.pax-field-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  display: block;
  margin-bottom: 3px;
}

.pax-manifest-grid .form-control {
  padding: 8px 10px;
  font-size: 0.85rem;
}

.modal-sheet-handle {
  display: none;
}

@media (max-width: 1120px) and (min-width: 769px) {
  .flight-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
  }
  .swap-airports-wrap {
    display: none;
  }
  .btn-search-flights {
    grid-column: span 1;
    height: 100%;
    min-height: 52px;
  }
}

/* ===================================================================== */
/* TABLET & MOBILE PHONES (<= 768px)                                     */
/* ===================================================================== */
@media (max-width: 768px) {
  /* 0. Prevent iOS Safari Auto-Zoom on ALL Form Inputs & Selects */
  input,
  select,
  textarea,
  .form-control,
  .city-search-input,
  .search-input-box input,
  .search-input-box select,
  .pax-manifest-grid .form-control {
    font-size: 16px !important;
  }

  /* 1. Compact Sticky Header (.consumer-nav) */
  .consumer-nav {
    padding: 8px 12px;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  }

  .brand-wrap {
    gap: 8px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .brand-title {
    font-size: 1.04rem;
  }

  .nav-support-pill {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* Horizontal Swipeable Navigation Bar (Never wraps into 3-4 rows!) */
  .consumer-nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-top: 6px;
    padding-bottom: 2px;
    border-top: 1px solid #f1f5f9;
  }

  .consumer-nav-links::-webkit-scrollbar {
    display: none;
  }

  .consumer-nav-links a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
  }

  .consumer-nav-links a.active {
    background: #FFE4E6;
    border-color: #FDA4AF;
    color: #E11D48;
  }

  /* 2. Hero & Search Card Compact Mobile Layout */
  .search-hero {
    padding: 14px 10px 18px;
  }

  .hero-headline {
    margin-bottom: 10px;
  }

  .hero-headline h1 {
    font-size: 1.32rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .hero-headline p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .booking-search-card {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .search-tabs-bar {
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 10px;
  }

  /* Single-Row Swipeable Product Tabs (Cuts height from 132px to 40px!) */
  .search-product-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    width: 100%;
  }

  .search-product-tabs::-webkit-scrollbar {
    display: none;
  }

  .prod-tab {
    width: auto;
    flex: 1 0 auto;
    white-space: nowrap;
    padding: 7px 9px;
    min-height: 38px;
    font-size: 0.75rem;
    border-radius: 9px;
    justify-content: center;
  }

  .prod-tab .save-pill {
    display: none;
  }

  .trip-way-options {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 0.75rem;
    padding-bottom: 2px;
  }

  .trip-way-options::-webkit-scrollbar {
    display: none;
  }

  /* Search Inputs Grid on Mobile & Tablet (<= 768px) */
  .flight-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .flight-search-grid .search-input-box {
    grid-column: 1 / -1;
    padding: 8px 11px;
  }

  .flight-search-grid .search-input-box.date-col {
    grid-column: span 1;
  }

  .swap-airports-wrap {
    grid-column: 1 / -1;
    margin: -6px 0;
    z-index: 15;
  }

  .btn-swap-airports {
    width: auto;
    height: 30px;
    padding: 0 12px;
    font-size: 0.82rem;
    background: #ffffff;
    border: 1.5px solid #E11D48;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  }

  .swap-label-mobile {
    display: inline;
  }

  .city-clear-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .city-dropdown-menu {
    left: 0;
    right: 0;
    min-width: 100%;
    max-width: 100%;
    max-height: 250px;
  }

  .city-dropdown-item {
    min-height: 44px;
    padding: 9px 10px;
  }

  .btn-search-flights {
    grid-column: 1 / -1;
    width: 100%;
    height: 48px;
    font-size: 0.96rem;
    margin-top: 2px;
  }

  /* Single-Row Swipeable Trust Perks Strip */
  .trust-perks-strip {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    margin-top: 10px;
    padding-top: 8px;
    font-size: 0.74rem;
  }

  .trust-perks-strip::-webkit-scrollbar {
    display: none;
  }

  .trust-perks-strip span {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* 3. Worldwide Continent Explorer Bar & Filter Pills */
  .world-explorer-bar {
    padding: 10px 12px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .world-Continent-pills,
  .world-continent-pills {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
  }

  .world-continent-pills::-webkit-scrollbar,
  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .continent-pill {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 36px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
  }

  .filter-pill {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* 4. Mobile Flight Cards */
  .flight-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 12px;
    gap: 10px;
    border-radius: 12px;
  }

  .flight-date-ribbon {
    padding: 5px 10px;
    margin-bottom: 8px;
    font-size: 0.73rem;
  }

  .flight-airline-badge {
    margin-bottom: 8px;
    gap: 6px;
  }

  .flight-times-row {
    grid-template-columns: 1fr minmax(78px, 0.9fr) 1fr;
    gap: 6px;
    padding: 4px 0;
  }

  .time-block strong {
    font-size: 1.05rem;
  }

  .time-block span {
    font-size: 0.75rem;
    line-height: 1.25;
    display: block;
    word-break: break-word;
  }

  .time-date-sub {
    display: none;
  }

  .live-offer-pill {
    display: none;
  }

  .flight-return-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 10px;
    margin-top: 6px;
    font-size: 0.76rem;
  }

  .flight-perks-meta {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 0.73rem;
    gap: 6px;
  }

  .flight-price-col {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .flight-price-info {
    min-width: 0;
    flex: 1;
  }

  .flight-price-val {
    font-size: 1.4rem;
    line-height: 1.1;
  }

  .per-pax-unit {
    display: inline;
  }

  .flight-price-sub {
    margin-bottom: 0;
    font-size: 0.71rem;
  }

  .btn-select-flight {
    width: auto;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.86rem;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 5. Package & Hotel Cards + Comparison Strip */
  .packages-grid,
  .hotels-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pkg-body {
    padding: 14px;
  }

  .pkg-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pkg-actions .btn {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .hotel-card .btn {
    min-height: 44px;
    padding: 10px 14px;
  }

  .comparison-strip,
  .custom-quote-card {
    padding: 18px 14px;
    border-radius: 14px;
    gap: 16px;
  }

  .comparison-text h2 {
    font-size: 1.22rem;
  }
}

/* ===================================================================== */
/* NATIVE BOTTOM-SHEET CHECKOUT MODAL ON PHONES (<= 640px)               */
/* ===================================================================== */
@media (max-width: 640px) {
  html.modal-open,
  body.modal-open {
    background: #ffffff !important;
  }

  body.modal-open #storefrontView,
  body.modal-open #adminView {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .modal-backdrop {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    height: 100lvh;
    min-height: -webkit-fill-available;
    padding: 12px 0 0 0;
    align-items: stretch;
    justify-content: flex-end;
    flex-direction: column;
    background: #0f172a;
    z-index: 2000;
    overscroll-behavior: contain;
  }

  .modal-card {
    width: 100%;
    max-width: 100vw !important;
    flex: 1 1 auto;
    height: calc(100vh - 12px);
    height: calc(100dvh - 12px);
    height: calc(100lvh - 12px);
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    max-height: calc(100lvh - 12px);
    border-radius: 20px 20px 0 0;
    padding: 12px 14px calc(28px + env(safe-area-inset-bottom, 20px));
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #ffffff;
    box-shadow: 0 -10px 35px rgba(15, 23, 42, 0.35), 0 200px 0 200px #ffffff;
  }

  .modal-sheet-handle {
    display: block;
    width: 42px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 999px;
    margin: 0 auto 10px;
  }

  .modal-header-row {
    gap: 8px !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }

  #fbModalTitle {
    font-size: 1.12rem !important;
    line-height: 1.24;
  }

  #fbModalSub {
    font-size: 0.76rem !important;
    line-height: 1.35;
  }

  #btnAutoFillDemo {
    display: none !important;
  }

  .btn-modal-close {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 999px;
  }

  #fbPriceBanner {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    flex-direction: column;
    align-items: stretch !important;
  }

  .fb-banner-flex {
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* Passenger Manifest Smart 2-Column Mobile Grid */
  .pax-manifest-grid {
    grid-template-columns: 92px 1fr;
    gap: 8px;
  }

  .pax-field-title {
    grid-column: 1 / 2;
  }

  .pax-field-gender {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .pax-field-given,
  .pax-field-family,
  .pax-field-dob {
    grid-column: 1 / -1;
  }

  .form-control {
    min-height: 44px;
  }

  /* Checkout Modal Footer Action Buttons */
  .checkout-modal-footer {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .checkout-footer-btns {
    width: 100%;
    flex-direction: column-reverse;
    gap: 8px !important;
  }

  .checkout-footer-btns .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.95rem;
  }

  .booking-receipt-box {
    padding: 12px;
  }

  .pnr-hero-badge {
    width: 100%;
  }
}

/* Ultra-Compact Phones (320px - 360px e.g. iPhone SE) */
@media (max-width: 360px) {
  .brand-logo {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  .brand-title {
    font-size: 0.92rem;
  }
  .nav-support-pill {
    padding: 4px 8px;
    font-size: 0.68rem;
    min-height: 32px;
  }

  .flight-search-grid .search-input-box.date-col {
    grid-column: 1 / -1;
  }

  .flight-price-col {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-select-flight {
    width: 100%;
    justify-content: center;
  }

  .pkg-actions {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================== */
/* HIGH-END TYPOGRAPHY OVERHAUL (STRIPE / LINEAR / DELTA / AIRBNB STYLE) */
/* ===================================================================== */

/* Hero Headline & Subtitle */
.hero-headline h1 {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero-headline p {
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* Search Card Inputs & Labels */
.search-input-box label {
  font-family: "Inter", -apple-system, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #334155 !important;
  text-transform: none !important;
}

.search-input-box input,
.search-input-box select {
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}

/* Flight Cards — Plus Jakarta Sans + JetBrains Mono + Tabular Numerals */
.flight-date-ribbon {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.flight-date-ribbon strong {
  color: #0f172a;
  font-weight: 600;
}

.ribbon-sep {
  color: #94a3b8;
  margin: 0 4px;
}

.flight-dist-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.airline-name-text {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.flight-num-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 7px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.live-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
}

.time-block strong {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1.15;
}

.time-block span {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
}

.iata-inline {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
}

.flight-duration {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.flight-stops-tag {
  font-size: 12px;
  font-weight: 600;
  color: #059669;
}

/* Return Leg Row on Flight Cards */
.flight-return-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  margin-top: 8px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.return-leg-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.return-leg-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #BE123C;
  background: #FFE4E6;
  padding: 2px 6px;
  border-radius: 4px;
}

.return-leg-times {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.return-leg-airports {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.return-leg-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.return-dur-text {
  font-weight: 600;
  color: #64748b;
}

.return-stops-text {
  font-weight: 600;
  color: #059669;
}

.flight-perks-meta {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.flight-price-val {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1.1;
}

.flight-reg-fare {
  font-variant-numeric: tabular-nums;
}

.flight-price-sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

/* ===================================================================== */
/* CHECKOUT MODAL TYPOGRAPHY & MINI-BOARDING-PASS SUMMARY CARD           */
/* ===================================================================== */

.modal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  flex-shrink: 0;
}

.modal-route-title,
#fbModalTitle {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.22 !important;
  color: #0f172a !important;
  margin-top: 6px !important;
}

.modal-route-sub,
#fbModalSub {
  font-family: "Inter", -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  letter-spacing: -0.005em !important;
  line-height: 1.4 !important;
  margin-top: 3px !important;
}

/* Price & Boarding-Pass Banner (#fbPriceBanner) */
#fbPriceBanner {
  background: linear-gradient(180deg, #f8fafc 0%, #FFF1F2 100%) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-bottom: 14px !important;
}

.fb-banner-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fb-banner-kicker {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
}

.fb-save-pill {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 2px 9px !important;
  border-radius: 999px !important;
  background: #dcfce7 !important;
  color: #047857 !important;
  font-variant-numeric: tabular-nums;
}

.fb-price-headline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 3px;
  margin-bottom: 8px;
}

.fb-price-amount {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1.1;
}

.fb-price-note {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

/* Structured Mini-Boarding-Pass Card (.fb-itinerary-box) */
.fb-itinerary-box {
  margin-top: 6px;
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.fb-itin-leg {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fb-itin-return {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
}

.fb-leg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.fb-leg-badge {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #BE123C;
  background: #FFF1F2;
  border: 1px solid #FFE4E6;
  padding: 1px 6px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

.fb-leg-meta {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.fb-leg-flt {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.itin-stops {
  color: #E11D48;
  font-weight: 600;
}

.fb-leg-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
}

.fb-leg-time-route {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.fb-leg-iata {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.fb-leg-arrow {
  color: #94a3b8;
  font-weight: 500;
  margin: 0 2px;
}

.fb-leg-dur {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1px 7px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fb-itin-baggage {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid #f1f5f9;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  line-height: 1.35;
}

.fb-bag-check {
  color: #059669;
  font-weight: 700;
  margin-right: 2px;
}

/* Calm, Modern Section Headers in Checkout Modal */
.checkout-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.checkout-section-title {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
  line-height: 1.25;
}

.checkout-section-sub {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

.ssl-trust-badge {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.payment-card-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

/* Passenger Manifest Card Typography */
.pax-manifest-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
}

.pax-manifest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pax-card-title {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.pax-card-role {
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 500;
  color: #64748b;
  font-size: 12.5px;
}

.pax-id-pill {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #BE123C;
  background: #FFE4E6;
  padding: 2px 8px;
  border-radius: 999px;
}

.pax-field-label,
.form-group label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  margin-bottom: 4px !important;
}

/* Mobile-Specific Typography Refinements */
@media (max-width: 768px) {
  .time-block strong {
    font-size: 19px !important;
  }

  .flight-price-val {
    font-size: 24px !important;
  }

  .modal-route-title,
  #fbModalTitle {
    font-size: 1.15rem !important;
  }

  .modal-route-sub,
  #fbModalSub {
    font-size: 13px !important;
  }

  .fb-price-amount {
    font-size: 1.55rem;
  }
}


/* ===================================================================== */
/* FLAGSHIP $10B TECH CRIMSON-RED ARCHITECTURAL DESIGN SYSTEM            */
/* (Airbnb + Stripe + Swiss International Air Lines / Virgin Atlantic)   */
/* ===================================================================== */
:root {
  --crimson-600: #E11D48;
  --crimson-700: #BE123C;
  --crimson-800: #9F1239;
  --crimson-500: #F43F5E;
  --crimson-300: #FDA4AF;
  --crimson-200: #FECDD3;
  --crimson-100: #FFE4E6;
  --crimson-50: #FFF1F2;
  --canvas-bg: #FAFAFC;
}

body {
  background-color: var(--canvas-bg);
}

/* 1. Ultra-Sleek $10B Consumer Header (Linear / Airbnb / Stripe Aesthetic) */
.consumer-nav {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  height: 64px;
  padding: 0 32px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 60%, #9F1239 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(225, 29, 72, 0.25) !important;
  border: none !important;
}

.brand-title {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #0f172a !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.consumer-nav-links {
  display: flex;
  align-items: center;
  gap: 6px !important;
}

.consumer-nav-links a {
  height: 36px;
  padding: 0 14px !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.consumer-nav-links a:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

.consumer-nav-links a.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.nav-support-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-currency-pill {
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  letter-spacing: -0.01em;
}

.nav-support-pill {
  height: 34px;
  padding: 0 14px !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.nav-support-pill:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #E11D48 !important;
}

/* 2. Architectural Obsidian-Crimson Mesh Hero & Search Engine Card */
.search-hero {
  position: relative;
  background:
    radial-gradient(85% 90% at 50% -10%, rgba(225, 29, 72, 0.28) 0%, rgba(190, 18, 60, 0.08) 48%, transparent 80%),
    radial-gradient(120% 100% at 50% 0%, #2A0812 0%, #14050A 52%, #0B090E 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #FDA4AF;
  font-family: "JetBrains Mono", "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(225, 29, 72, 0.18);
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F43F5E;
  box-shadow: 0 0 8px #F43F5E;
  flex-shrink: 0;
}

.booking-search-card {
  background: #FFFFFF;
  border: 1px solid rgba(225, 29, 72, 0.14);
  box-shadow:
    0 24px 48px -12px rgba(11, 9, 14, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 40px -10px rgba(225, 29, 72, 0.22);
}

.prod-tab.active {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  border-color: #BE123C !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
}

.search-input-box:focus-within {
  border-color: #E11D48 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.btn-swap-airports {
  border-color: #FECDD3 !important;
  color: #E11D48 !important;
  background: #FFF1F2 !important;
  transition: all 0.16s ease;
}

.btn-swap-airports:hover {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  border-color: #BE123C !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.btn-search-flights {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px -4px rgba(225, 29, 72, 0.45) !important;
  letter-spacing: -0.01em;
}

.btn-search-flights:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%) !important;
  box-shadow: 0 12px 28px -4px rgba(225, 29, 72, 0.55) !important;
}

/* 3. Continent Pills, Sort Pills, Flight Cards & Primary CTAs */
.continent-pill:hover,
.filter-pill:hover {
  border-color: #E11D48 !important;
  color: #BE123C !important;
  background: #FFF1F2 !important;
}

.continent-pill.active,
.filter-pill.active {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  border-color: #BE123C !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28) !important;
}

.flight-card {
  border: 1px solid #E2E8F0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.flight-card:hover {
  border-color: #FDA4AF !important;
  box-shadow: 0 12px 28px -8px rgba(225, 29, 72, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.airline-dot {
  background: #FFF1F2 !important;
  border: 1px solid #FECDD3 !important;
  color: #BE123C !important;
}

.flight-line-bar {
  background: linear-gradient(90deg, #FECDD3 0%, #E11D48 50%, #FECDD3 100%) !important;
}

.btn-primary,
.btn-select-flight,
#btnSubmitFlightOrder {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid #BE123C !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
}

.btn-primary:hover,
.btn-select-flight:hover,
#btnSubmitFlightOrder:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #9F1239 100%) !important;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.38);
}

/* 4. Checkout Modal Crimson-Slate Refinements */
#fbPriceBanner {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF1F2 100%) !important;
  border: 1px solid #FECDD3 !important;
}

.fb-leg-badge,
.return-leg-badge,
.pax-id-pill,
.flight-cabin-pill {
  color: #BE123C !important;
  background: #FFF1F2 !important;
  border: 1px solid #FECDD3 !important;
}

/* 5. Compact Mobile Header (56px-84px) & Hero Kicker */
@media (max-width: 768px) {
  .consumer-nav {
    height: auto !important;
    min-height: 56px;
    padding: 8px 14px !important;
    flex-wrap: wrap;
    gap: 6px !important;
  }

  .brand-logo {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
  }

  .brand-title {
    font-size: 16px !important;
  }

  .nav-currency-pill {
    display: none;
  }

  .nav-support-pill {
    height: 30px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .consumer-nav-links {
    order: 3;
    width: 100%;
    gap: 6px !important;
    padding-top: 6px !important;
    padding-bottom: 2px !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
  }

  .consumer-nav-links a {
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .hero-kicker-badge {
    font-size: 0.62rem;
    padding: 4px 10px;
    margin-bottom: 8px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ============================================================================
   CUSTOM DUAL-MONTH CALENDAR POPOVER (Airbnb / Google Flights Style)
   ============================================================================ */
.search-widget-card {
  position: relative;
}

.custom-date-box {
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.custom-date-box.cal-active {
  border-color: #E11D48 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.14) !important;
}

.dfd-date-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  font-weight: 700;
  font-size: 0.93rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dfd-cal-icon {
  color: #E11D48;
  flex-shrink: 0;
}

.dfd-date-text {
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.dfd-cal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1200;
}

.dfd-cal-popover {
  position: absolute;
  top: calc(100% - 36px);
  right: 22px;
  width: min(680px, calc(100vw - 32px));
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 28px 60px -12px rgba(15, 23, 42, 0.32), 0 8px 20px rgba(15, 23, 42, 0.12);
  padding: 20px 22px 18px;
  z-index: 1250;
  text-align: left;
  animation: dfdCalFadeIn 0.16s ease-out;
}

@keyframes dfdCalFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dfd-cal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.dfd-cal-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dfd-cal-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 148px;
}

.dfd-cal-tab.active {
  border-color: #E11D48;
  background: #fff1f2;
}

.dfd-cal-tab-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.dfd-cal-tab.active .dfd-cal-tab-label {
  color: #E11D48;
}

.dfd-cal-tab strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 1px;
}

.dfd-cal-nav {
  display: flex;
  gap: 6px;
}

.dfd-cal-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.dfd-cal-nav-btn:hover {
  border-color: #0f172a;
  background: #f8fafc;
}

.dfd-cal-months-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.dfd-cal-month {
  min-width: 0;
}

.dfd-cal-month-title {
  text-align: center;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.dfd-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.dfd-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
}

.dfd-cal-day {
  height: 36px;
  border: none;
  background: transparent;
  font-size: 0.83rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease, color 0.12s ease;
}

.dfd-cal-day:hover:not(:disabled) {
  background: #f1f5f9;
}

.dfd-cal-day:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  font-weight: 500;
}

.dfd-cal-day.in-range {
  background: #ffe4e6;
  color: #9f1239;
  border-radius: 0;
}

.dfd-cal-day.is-depart,
.dfd-cal-day.is-return {
  background: #E11D48 !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.dfd-cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.dfd-cal-quick-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dfd-quick-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dfd-quick-pill:hover {
  border-color: #E11D48;
  color: #E11D48;
  background: #fff1f2;
}

.dfd-cal-done-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dfd-cal-done-btn:hover {
  background: #E11D48;
}

@media (max-width: 768px) {
  .dfd-cal-popover {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 12px;
    top: auto;
    width: auto;
    max-height: 84vh;
    overflow-y: auto;
    padding: 16px;
    border-radius: 20px;
  }
  .dfd-cal-months-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================================
   NATIVE MOBILE APP OVERHAUL (iOS / Android PWA & Capacitor Shell)
   ============================================================================ */

/* 1. Native Touch Physics & Tap Highlight Removal */
button,
a,
.prod-tab,
.filter-pill,
.continent-pill,
.mob-tab-item,
.nav-get-app-pill,
.nav-support-pill,
.nav-currency-pill,
.dfd-date-trigger,
.dfd-quick-pill,
.flight-deal-card .btn,
.package-card .btn {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

button:active,
.prod-tab:active,
.filter-pill:active,
.continent-pill:active,
.nav-get-app-pill:active,
.nav-support-pill:active,
.dfd-quick-pill:active,
.btn:active {
  transform: scale(0.97);
  transition: transform 0.1s cubic-bezier(0.2, 0, 0, 1);
}

/* 2. iOS UISegmentedControl / Material 3 Segmented Pill Bar for Product Switcher */
.search-product-tabs {
  display: inline-flex !important;
  align-items: center;
  background: #f1f5f9 !important;
  padding: 4px !important;
  border-radius: 14px !important;
  gap: 4px !important;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.search-product-tabs .prod-tab {
  border-radius: 10px !important;
  border: none !important;
  padding: 8px 14px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  background: transparent !important;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease !important;
}

.search-product-tabs .prod-tab.active {
  background: #E11D48 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28) !important;
}

/* 3. "Get App" Top-Bar Action Pill */
.nav-get-app-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 72, 0.28);
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #be123c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.nav-get-app-pill:hover {
  background: #E11D48;
  color: #ffffff;
  border-color: #E11D48;
}

/* Hide "Get App" button automatically when running in standalone PWA or Capacitor native app */
@media (display-mode: standalone) {
  .nav-get-app-pill {
    display: none !important;
  }
}
body.is-standalone-app .nav-get-app-pill {
  display: none !important;
}

/* 4. Standalone In-App Launch Splash Screen (#nativeAppSplash) */
.native-app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(80% 60% at 50% 35%, #2a0812 0%, #0b090e 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s ease;
}

.native-app-splash.splash-fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.native-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.native-splash-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 44px rgba(225, 29, 72, 0.45);
  margin-bottom: 18px;
}

.native-splash-title {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.native-splash-sub {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}

/* 5. Fixed iOS / Android Frosted-Glass Bottom Tab Bar (.mobile-bottom-tabbar) */
.mobile-bottom-tabbar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 16px)) !important;
  }

  /* Single-row 54px Native App Top Bar on Mobile */
  .consumer-nav {
    height: calc(54px + env(safe-area-inset-top, 0px)) !important;
    min-height: 54px !important;
    padding: env(safe-area-inset-top, 0px) 14px 0 14px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  /* Hide the 2nd-row horizontal links on mobile because they live in the bottom tab bar */
  .consumer-nav-links,
  .consumer-links {
    display: none !important;
  }

  .brand-logo {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
  }

  .brand-title {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    white-space: nowrap;
  }

  .nav-support-wrap,
  .nav-right-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0;
  }

  .nav-currency-pill {
    display: inline-flex !important;
    align-items: center;
    height: 28px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
  }

  .nav-support-pill {
    display: none !important;
  }

  .nav-get-app-pill {
    height: 29px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
  }

  /* Show Fixed Frosted-Glass Bottom Tab Bar on Mobile */
  .mobile-bottom-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -8px 26px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }

  .mob-tab-item {
    position: relative;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #64748b;
    font-family: inherit;
    cursor: pointer;
    padding: 4px 2px 2px;
    transition: color 0.16s ease, transform 0.1s cubic-bezier(0.2, 0, 0, 1);
  }

  .mob-tab-item:active {
    transform: scale(0.94);
  }

  .mob-tab-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: #E11D48;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mob-tab-item.active {
    color: #E11D48;
  }

  .mob-tab-item.active .mob-tab-indicator {
    transform: translateX(-50%) scaleX(1);
  }

  .mob-tab-icon {
    width: 21px;
    height: 21px;
    stroke-width: 2.1;
    transition: transform 0.16s ease;
  }

  .mob-tab-item.active .mob-tab-icon {
    transform: translateY(-1px);
    stroke-width: 2.4;
  }

  .mob-tab-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
  }

  .mob-tab-item.active .mob-tab-label {
    font-weight: 800;
  }

  /* Native Segmented Product Switcher on Mobile */
  .search-product-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
  }

  .search-product-tabs .prod-tab {
    justify-content: center;
    padding: 8px 6px !important;
    font-size: 0.76rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .search-product-tabs .prod-tab .save-pill {
    display: none !important;
  }

  /* Bottom Sheet Modal feel on Mobile for Install App Sheet */
  #installAppModal.active {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .native-install-sheet {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 12px)) !important;
  }
}

/* Native Bottom Sheet override for #installAppModal */
#installAppModal {
  z-index: 1200 !important;
  background: rgba(15, 23, 42, 0.58) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
}
#installAppModal.open,
#installAppModal.active {
  display: flex !important;
}
#installAppModal .native-install-sheet {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  max-height: 88vh !important;
  margin: 0 !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 16px)) !important;
  box-shadow: 0 -16px 48px rgba(15, 23, 42, 0.32) !important;
  animation: nativeSheetSlideUp 0.24s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes nativeSheetSlideUp {
  from { transform: translateY(100%); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   ONE-WAY, ULTRA-CLEAN MULTI-CITY, NEAREST AIRPORT GEO & FLIGHT ROUTE GRAPHIC
   ========================================================================== */

/* 0. Nearest Airport Geo Pill in From Label */
.origin-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.origin-label-row label {
  margin-bottom: 0 !important;
}

.btn-geo-nearest {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-geo-nearest:hover {
  background: #ffe4e6;
  color: #be123c;
  border-color: #fda4af;
}

.btn-geo-nearest.geo-detected {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.btn-geo-nearest.geo-detected:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
}

.geo-dropdown-quick-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: linear-gradient(90deg, #fff1f2 0%, #f8fafc 100%);
  border-bottom: 1px solid #ffe4e6;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: #be123c;
  transition: background 0.15s ease;
}

.geo-dropdown-quick-item:hover {
  background: #ffe4e6;
}

/* 1. One-Way Mode: Completely hide Return Date box & expand Departure Date box */
.flight-search-grid.oneway-mode #returnDateBox {
  display: none !important;
}

@media (min-width: 1121px) {
  .flight-search-grid.oneway-mode {
    grid-template-columns: 1.45fr auto 1.45fr 1.25fr 1.15fr auto;
  }
}

/* 2. Multi-City Mode: Hide single-leg From/Swap/To/Depart/Return in bottom grid */
.flight-search-grid.multicity-mode #originComboWrap,
.flight-search-grid.multicity-mode .swap-airports-wrap,
.flight-search-grid.multicity-mode #destComboWrap,
.flight-search-grid.multicity-mode #departDateBox,
.flight-search-grid.multicity-mode #returnDateBox {
  display: none !important;
}

.flight-search-grid.multicity-mode {
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

/* 3. Decluttered Ultra-Clean Multi-City Flight Legs Builder */
.multicity-legs-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.multicity-legs-container.hidden {
  display: none !important;
}

.mc-leg-row {
  display: grid;
  grid-template-columns: 30px 1.35fr 24px 1.35fr 1fr 30px;
  gap: 6px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 5px 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mc-leg-row:hover,
.mc-leg-row:focus-within {
  border-color: #fda4af;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.05);
}

.mc-leg-row .search-input-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 2px 6px !important;
  min-height: 44px;
  border-radius: 0 !important;
}

.mc-leg-row . custom-date-box {
  border-left: 1px solid #f1f5f9 !important;
  padding-left: 12px !important;
}

.mc-leg-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-inline-arrow {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  user-select: none;
}

.mc-remove-leg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-remove-leg-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mc-remove-leg-btn:hover {
  background: #fee2e2;
  color: #e11d48;
}

.mc-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.btn-add-mc-leg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #e11d48;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-add-mc-leg:hover:not(:disabled) {
  background: #fff1f2;
  border-color: #e11d48;
}

.btn-add-mc-leg:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 4. Ultra-Clean Multi-City Result Card Timeline Table */
.mc-clean-timeline {
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  background: #fcfdfe;
  margin-top: 6px;
  overflow: hidden;
}

.mc-tl-row {
  display: grid;
  grid-template-columns: 120px 1.35fr 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.mc-tl-row:last-child {
  border-bottom: none;
}

.mc-tl-leg {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mc-tl-leg-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #e11d48;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mc-tl-leg-date {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
}

.mc-tl-times {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #0f172a;
  white-space: nowrap;
}

.mc-tl-iata {
  font-size: 0.73rem;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
}

.mc-tl-arrow {
  color: #94a3b8;
  font-size: 0.82rem;
}

.mc-tl-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  color: #64748b;
  font-weight: 600;
}

.mc-tl-stops.nonstop {
  color: #059669;
  font-weight: 700;
}

/* 5. Animated Flight-Route Search & Telemetry Graphic Banner (#flightRouteGraphicBanner) */
.flight-route-graphic-banner {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 55%, #1e1b4b 100%);
  border: 1px solid rgba(225, 29, 72, 0.32);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 16px;
  color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(9, 13, 22, 0.16);
  transition: all 0.25s ease;
}

.flight-route-graphic-banner.is-searching {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.18), 0 16px 36px rgba(9, 13, 22, 0.26);
}

.frg-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.frg-svg-stage {
  position: relative;
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frg-svg {
  width: 100%;
  height: 82px;
  overflow: visible;
}

.frg-arc-glow {
  fill: none;
  stroke: rgba(244, 63, 94, 0.28);
  stroke-width: 5;
  stroke-linecap: round;
}

.frg-arc-dash {
  fill: none;
  stroke: url(#frgArcGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 7 5;
  animation: frgDashFlow 1.2s linear infinite;
}

@keyframes frgDashFlow {
  to {
    stroke-dashoffset: -24;
  }
}

.frg-node-pulse {
  fill: rgba(244, 63, 94, 0.26);
  transform-box: fill-box;
  transform-origin: center;
  animation: frgPulseRing 1.8s ease-out infinite;
}

@keyframes frgPulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.frg-telemetry-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frg-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.frg-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(251, 113, 133, 0.45);
  color: #fecdd3;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.frg-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: frgDotBlink 1.1s ease-in-out infinite alternate;
}

.flight-route-graphic-banner.is-searching .frg-live-dot {
  background: #fb7185;
  box-shadow: 0 0 10px #fb7185;
}

@keyframes frgDotBlink {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

.frg-route-headline {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.frg-metrics-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.frg-metric-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.frg-metric-chip strong {
  color: #fda4af;
}

@media (max-width: 1120px) {
  .mc-leg-row {
    grid-template-columns: 26px 1fr 18px 1fr 1fr 26px;
    gap: 4px;
  }
  .frg-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .flight-search-grid.oneway-mode #departDateBox {
    grid-column: 1 / -1 !important;
  }
  .flight-search-grid.multicity-mode {
    grid-template-columns: 1fr !important;
  }
  .mc-leg-row {
    grid-template-columns: 24px 1fr 24px !important;
    gap: 6px;
    padding: 8px 10px;
  }
  .mc-leg-row .city-combobox-wrap,
  .mc-leg-row .custom-date-box {
    grid-column: 1 / -1;
    border-left: none !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-left: 4px !important;
    padding-top: 6px !important;
  }
  .mc-inline-arrow {
    display: none;
  }
  .mc-tl-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 10px;
  }
}


/* ==========================================================================
   iPHONE / MOBILE ABOVE-THE-FOLD & ZERO-CLIPPING UX FIXES (v20261025-iphone4)
   ========================================================================== */

/* Prevent input text from ever touching the clear (✕) button on any viewport */
.city-input-inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.city-search-input {
  width: 100% !important;
  padding-right: 34px !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.city-clear-btn {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  flex-shrink: 0 !important;
  z-index: 2 !important;
}

.tab-desktop-extra {
  display: inline;
}

@media (max-width: 768px) {
  /* 1. Never clip the top hero pill badge */
  .hero-kicker-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: center !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.04em !important;
    padding: 3px 10px !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }

  /* 2. Zero-overlap, zero-clipping 3-column Segmented Product Tabs */
  .search-product-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .search-product-tabs .prod-tab {
    min-width: 0 !important;
    width: 100% !important;
    flex: unset !important;
    min-height: 34px !important;
    padding: 6px 4px !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-radius: 8px !important;
  }

  .search-product-tabs .prod-tab .tab-desktop-extra,
  .search-product-tabs .prod-tab .save-pill {
    display: none !important;
  }

  /* 3. Compact Mobile Hero & Above-the-Fold Search Card */
  .consumer-nav {
    padding: 6px 10px !important;
  }

  .search-hero {
    padding: 8px 10px 12px !important;
  }

  .hero-headline {
    margin-bottom: 7px !important;
  }

  .hero-headline h1 {
    font-size: 1.32rem !important;
    line-height: 1.16 !important;
    margin-bottom: 2px !important;
  }

  .hero-headline p {
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .booking-search-card {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .search-tabs-bar {
    gap: 6px !important;
    padding-bottom: 6px !important;
    margin-bottom: 6px !important;
  }

  .trip-way-options {
    gap: 4px 10px !important;
    font-size: 0.73rem !important;
    padding-bottom: 0 !important;
  }

  /* 4. Sleek, Fast Search Inputs & Side-by-Side One-Way Row */
  .flight-search-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .flight-search-grid .search-input-box {
    padding: 5px 10px !important;
    min-height: 46px !important;
  }

  .flight-search-grid .search-input-box label {
    font-size: 0.64rem !important;
    margin-bottom: 1px !important;
  }

  .city-search-input {
    font-size: 15px !important;
    padding-right: 34px !important;
  }

  .city-clear-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.74rem !important;
  }

  .swap-airports-wrap {
    grid-column: 1 / -1 !important;
    margin: -9px auto !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 15 !important;
  }

  .btn-swap-airports {
    height: 24px !important;
    padding: 0 10px !important;
    font-size: 0.72rem !important;
  }

  /* In One-Way mode on mobile, put Departure and Travelers & Cabin side-by-side! */
  .flight-search-grid.oneway-mode #departDateBox {
    grid-column: span 1 !important;
  }

  .flight-search-grid.oneway-mode #travelersCabinBox {
    grid-column: span 1 !important;
  }

  .flight-search-grid.oneway-mode #travelersCabinBox select {
    font-size: 13px !important;
    padding-right: 2px !important;
  }

  .dfd-date-trigger {
    font-size: 0.82rem !important;
  }

  .btn-search-flights {
    grid-column: 1 / -1 !important;
    height: 44px !important;
    font-size: 0.94rem !important;
    margin-top: 2px !important;
  }

  .trust-perks-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3px 8px !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
    font-size: 0.65rem !important;
    overflow: hidden !important;
  }

  .trust-perks-strip span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #flightSortBar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  #flightSortBar .filter-pill {
    width: 100% !important;
    justify-content: center !important;
    padding: 6px 8px !important;
    font-size: 0.76rem !important;
    min-height: 34px !important;
  }
}


/* ==========================================================================
   LIVE FLIGHT API RADAR & JET TRAJECTORY LOADING CARD
   ========================================================================== */
.dfd-live-loading-card {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, #0b1120 0%, #0f172a 55%, #1e1b4b 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 22px 50px -12px rgba(15, 23, 42, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 28px 24px 30px;
  color: #f8fafc;
  text-align: center;
  margin: 8px 0 18px;
}

.dfd-live-loading-glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 50% 35%, rgba(56, 189, 248, 0.16), rgba(225, 29, 72, 0.10) 45%, transparent 70%);
  pointer-events: none;
  animation: dfdPulseGlow 3.2s ease-in-out infinite alternate;
}

@keyframes dfdPulseGlow {
  0% { transform: scale(0.96); opacity: 0.75; }
  100% { transform: scale(1.06); opacity: 1; }
}

.dfd-live-loading-visual {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto 10px;
}

.dfd-live-loading-svg {
  width: 100%;
  height: auto;
  max-height: 185px;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(2, 132, 199, 0.25));
}

.dfd-loader-arc-path {
  animation: dfdDashFlow 1.4s linear infinite;
}

@keyframes dfdDashFlow {
  to { stroke-dashoffset: -28; }
}

.dfd-loader-node-ring {
  animation: dfdNodePulse 1.8s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes dfdNodePulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}

.dfd-live-loading-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.dfd-loader-route-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.dfd-loader-airport-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}

.dfd-loader-route-arrow {
  color: #fb7185;
  font-weight: 800;
  font-size: 0.95rem;
}

.dfd-live-loading-title {
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.dfd-live-loading-sub {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0 auto 18px;
  max-width: 520px;
  line-height: 1.5;
}

.dfd-live-loading-progress {
  width: 100%;
  max-width: 440px;
  height: 7px;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.dfd-live-loading-bar {
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #38bdf8, #fb7185);
  animation: dfdProgressSweep 1.35s ease-in-out infinite;
}

@keyframes dfdProgressSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(240%); }
}

.dfd-live-loading-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
}

.dfd-loader-step {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.75);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.dfd-loader-step.active {
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(2, 132, 199, 0.2);
}

/* ===================================================================== */
/* SUBPAGE TABLES (.table-wrap), .subpage-main & LIVE FLIGHT CARD POLISH */
/* ===================================================================== */

.consumer-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

.consumer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.consumer-links .nav-link,
.consumer-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.consumer-links .nav-link:hover,
.consumer-links .nav-link.active,
.consumer-links a:hover,
.consumer-links a.active {
  color: #E11D48;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.subpage-main {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding-top: clamp(20px, 4vw, 36px);
  padding-bottom: 104px;
  overflow-x: hidden;
}

/* Comparison Tables on /flights/*/index.html & Subpages */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin: 1rem 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  background: #ffffff;
}

.table-wrap thead th {
  text-align: left;
  padding: 12px 14px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid #e2e8f0;
  white-space: nowrap;
}

.table-wrap tbody td {
  padding: 12px 14px;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  line-height: 1.35;
}

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

.table-wrap tbody tr:hover {
  background: #f8fafc;
}

/* Upgraded Live Flight Card Badges, Chips & Clean Pricing */
.airline-operating-badge,
.airline-operating-sub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 7px;
  line-height: 1.25;
  white-space: nowrap;
}

.airline-operating-sub {
  background: transparent;
  border: none;
  padding: 0;
  color: #64748b;
  font-weight: 500;
}

.flight-layover-pill,
.return-layover-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 2px 8px;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.layover-city-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: -0.01em;
}

.next-day-badge,
.arr-plus-days-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #be123c;
  background: #ffe4e6;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 4px;
  line-height: 1.2;
  vertical-align: super;
  font-variant-numeric: tabular-nums;
}

.flight-num-chips-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.flight-num-chip {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 1.5px 6px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.flight-num-chip-sep {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 1px;
}

.flight-live-fare-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.flight-verified-price-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.flight-price-col.live-clean-pricing .flight-reg-fare,
.flight-reg-fare.hidden-reg-fare {
  display: none !important;
}

@media (max-width: 768px) {
  .consumer-nav-inner {
    padding: 0 !important;
    gap: 8px !important;
  }

  .subpage-main {
    padding-top: 16px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .table-wrap {
    margin: 0.75rem 0;
    border-radius: 10px;
  }

  .table-wrap table {
    font-size: 0.76rem;
  }

  .table-wrap thead th {
    padding: 8px 8px;
    font-size: 0.66rem;
    letter-spacing: 0.02em;
  }

  .table-wrap tbody td {
    padding: 8px 8px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .table-wrap tbody td .btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap;
  }

  .flight-num-chips-wrap {
    gap: 3px;
  }

  .flight-num-chip {
    font-size: 10.5px;
    padding: 1px 5px;
  }

  .flight-layover-pill,
  .return-layover-pill {
    font-size: 10.5px;
    padding: 1.5px 6px;
  }
}

/* ============================================================================
   2026 LUXURY HOTEL & NEIGHBORHOOD STAY SEARCH + HOMEPAGE SEO HUB UPGRADE
   ============================================================================ */

/* Dual Product Tabs in Hero */
.search-product-tabs .prod-tab {
  position: relative;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-product-tabs .prod-tab .tab-badge {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.search-product-tabs .prod-tab.active .tab-badge {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Hero Hotel Search Panel */
.hotel-hero-search-panel {
  animation: fadeInSlide 0.22s ease-out;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotel-search-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr 1.1fr auto;
  gap: 10px;
  align-items: stretch;
}

.hotel-style-chips-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.hotel-style-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.hotel-style-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hotel-style-pill:hover {
  border-color: #fda4af;
  color: #be123c;
}

.hotel-style-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Hero Quick Popular Routes Bar */
.hero-quick-routes-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

.hero-quick-routes-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fda4af;
}

.hero-route-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
  backdrop-filter: blur(8px);
}

.hero-route-chip:hover {
  background: #e11d48;
  border-color: #fb7185;
  transform: translateY(-1px);
}

/* Authority Metrics Strip */
.dfd-authority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 32px;
}

.dfd-authority-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.dfd-authority-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dfd-authority-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px;
}

.dfd-authority-card p {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Interactive Hotel & Neighborhood Stay Explorer Section */
.hotel-explorer-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  margin: 36px 0 44px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

.hotel-explorer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.hotel-explorer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hotel-inline-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 10px;
  background: #0f172a;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 20px;
  align-items: center;
}

.hotel-inline-field {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
}

.hotel-inline-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.hotel-inline-field input,
.hotel-inline-field select {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
}

.hotel-inline-field select option {
  color: #0f172a;
  background: #ffffff;
}

.hotel-region-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hotel-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hotel-city-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.hotel-city-card:hover {
  border-color: #fda4af;
  box-shadow: 0 12px 26px -8px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.hotel-city-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.hotel-city-title-group h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hotel-city-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}

.hotel-iata-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.hotel-transit-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.75rem;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.45;
}

.hotel-transit-strip strong {
  color: #0f172a;
}

.hotel-districts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.hotel-district-item {
  border-left: 3px solid #e11d48;
  background: #fffafb;
  padding: 7px 10px;
  border-radius: 0 8px 8px 0;
}

.hotel-district-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.hotel-district-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}

.hotel-district-vibe {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 999px;
}

.hotel-district-desc {
  font-size: 0.73rem;
  color: #475569;
  line-height: 1.35;
}

.hotel-card-actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hotel-provider-btns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.btn-hotel-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-hotel-provider.primary {
  background: #e11d48;
  color: #ffffff;
  border: 1px solid #e11d48;
}

.btn-hotel-provider.primary:hover {
  background: #be123c;
}

.btn-hotel-provider.secondary {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.btn-hotel-provider.secondary:hover {
  border-color: #0f172a;
  background: #f1f5f9;
}

.hotel-card-bottom-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.btn-pair-live-flight {
  flex: 1;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-pair-live-flight:hover {
  background: #1e293b;
}

.link-city-stay-guide {
  font-size: 0.74rem;
  font-weight: 800;
  color: #e11d48;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 8px;
}

.link-city-stay-guide:hover {
  text-decoration: underline;
}

/* SEO Internal Linking Architecture Sections on Homepage */
.seo-hub-section {
  margin: 44px 0;
}

.seo-hub-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seo-hub-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.16s ease;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.seo-hub-card:hover {
  border-color: #fb7185;
  box-shadow: 0 8px 20px -6px rgba(225, 29, 72, 0.14);
  transform: translateY(-2px);
}

.seo-hub-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.seo-hub-code-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 6px;
}

.seo-hub-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 999px;
}

.seo-hub-card h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.seo-hub-card p {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.seo-hub-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e11d48;
}

/* Responsive Breakpoints for Hotel Search & SEO Hubs */
@media (max-width: 1080px) {
  .hotel-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hotel-inline-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .hotel-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dfd-authority-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seo-hub-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seo-hub-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hotel-search-grid,
  .hotel-inline-toolbar,
  .hotel-city-grid,
  .dfd-authority-strip,
  .seo-hub-grid-4,
  .seo-hub-grid-3 {
    grid-template-columns: 1fr;
  }
  .hotel-explorer-section {
    padding: 18px 14px;
  }
  .hotel-provider-btns {
    grid-template-columns: 1fr;
  }
}
