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