:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #fbfaf8;
  --ink: #171717;
  --muted: #6b6f76;
  --line: #e5e2dd;
  --line-strong: #d7d2ca;
  --brand: #ff5c35;
  --brand-rgb: 255, 92, 53;
  --brand-dark: #cc351a;
  --brand-soft: #fff0ea;
  --aero-yellow: #ffd86a;
  --aero-lime: #a7f06d;
  --aero-cyan: #45d6ee;
  --aero-blue: #2f8cff;
  --aero-glass: rgba(255, 255, 255, 0.72);
  --aero-glass-strong: rgba(255, 255, 255, 0.9);
  --sky: #d9f7ff;
  --sky-strong: #58c7dd;
  --teal: #0f6b57;
  --teal-soft: #e7f3ee;
  --amber: #9c6b00;
  --amber-soft: #fff6dc;
  --clay: #b84a35;
  --clay-soft: #fcece7;
  --shadow-sm: 0 6px 18px rgba(18, 18, 18, 0.06);
  --shadow-md: 0 18px 48px rgba(18, 18, 18, 0.1);
}

/* =========================================================
   Frutiger Aero naranja - Deviaje polish
   Capa final de estilo: vidrio, brillo, naranja FF5C35 y acentos aqua.
========================================================= */

:root {
  --bg: #fff7ed;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-soft: rgba(255, 250, 242, 0.74);
  --ink: #182025;
  --muted: #66707a;
  --line: rgba(255, 255, 255, 0.74);
  --line-strong: rgba(255, 147, 78, 0.34);
  --brand: #ff5c35;
  --brand-rgb: 255, 92, 53;
  --brand-dark: #c73516;
  --brand-soft: #fff0e6;
  --aero-orange: #ff8a22;
  --aero-orange-2: #ffbe4d;
  --aero-yellow: #ffe16a;
  --aero-lime: #b8ff7a;
  --aero-cyan: #63e6ff;
  --aero-blue: #49a7ff;
  --aero-mint: #9cffd4;
  --teal: #087668;
  --teal-soft: #d9fff1;
  --amber: #9b5a00;
  --amber-soft: #fff3c4;
  --clay: #a3123a;
  --clay-soft: #ffe1e8;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --shadow-sm:
    0 8px 22px rgba(255, 105, 35, 0.08),
    0 5px 16px rgba(73, 167, 255, 0.08);
  --shadow-md:
    0 24px 70px rgba(255, 105, 35, 0.16),
    0 18px 52px rgba(73, 167, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 241, 223, 0.94) 44%, rgba(234, 255, 251, 0.96) 100%),
    linear-gradient(90deg, rgba(255, 138, 34, 0.12), rgba(99, 230, 255, 0.12));
  color: var(--ink);
}

.app-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.topbar,
.public-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 242, 230, 0.58));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 16px 42px rgba(255, 92, 53, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.brand-logo,
.public-logo {
  display: block;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 14px rgba(255, 92, 53, 0.18))
    saturate(1.06);
}

.public-logo {
  height: 44px;
  max-width: 210px;
}

.public-brand.compact .public-logo {
  height: 36px;
  max-width: 180px;
}

.topnav,
.docs-link,
.view-menu summary,
.secondary-button,
.origin-chip,
.month-chip,
.filter-toggle,
.all-options-controls select,
.quote-actions button,
.client-input {
  border-color: rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 236, 0.7));
  box-shadow:
    0 10px 24px rgba(255, 92, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.origin-chip.active,
.month-chip.active,
.topnav a.active {
  background:
    linear-gradient(180deg, #ffc15c, #ff7a2e 48%, #ff5c35);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 24px rgba(255, 92, 53, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.search-core {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 238, 0.62));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 24px 72px rgba(255, 92, 53, 0.18),
    0 18px 48px rgba(73, 167, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -12px 24px rgba(255, 138, 34, 0.06);
  overflow: hidden;
}

.search-core .form-row {
  border-right: 1px solid rgba(255, 138, 34, 0.18);
}

.search-core label {
  color: #262626;
  font-weight: 950;
}

.search-core input,
.search-core select,
.date-range-button span {
  color: #111827;
  font-weight: 950;
}

.primary-button {
  width: 50px;
  height: 50px;
  min-height: 50px;
  margin-right: 7px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, #ffc15c 0%, #ff7a2e 44%, #f04b20 100%);
  box-shadow:
    0 16px 32px rgba(255, 92, 53, 0.36),
    inset 0 2px 2px rgba(255, 255, 255, 0.8),
    inset 0 -7px 14px rgba(153, 35, 10, 0.32);
}

.check-row.compact-check {
  display: none !important;
}

.data-section,
.quote-section,
.metric,
.market-strip,
.package-card,
.option-card,
.detail-panel,
.login-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 244, 0.6));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 26px 72px rgba(255, 92, 53, 0.12),
    0 16px 52px rgba(73, 167, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.section-heading {
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 138, 34, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 243, 232, 0.42));
}

.section-heading h2 {
  font-size: 22px;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.opportunity-grid {
  padding: 16px;
}

.opportunity-calendar-weekdays span {
  color: #66707a;
  font-size: 11px;
}

.opportunity-month h3 {
  font-size: 14px;
  color: #1f2328;
}

.calendar-day {
  position: relative;
  overflow: hidden;
  min-height: 70px;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.74));
  box-shadow:
    0 8px 18px rgba(18, 18, 18, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(255, 92, 53, 0.14),
    0 10px 22px rgba(73, 167, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.calendar-day.price-good {
  border-color: rgba(91, 255, 197, 0.72);
  background:
    linear-gradient(145deg, #ecfff7 0%, #caffea 50%, #9cffd4 100%);
  color: #066252;
}

.calendar-day.price-mid {
  border-color: rgba(255, 205, 77, 0.78);
  background:
    linear-gradient(145deg, #fffcef 0%, #fff1b8 52%, #ffd66a 100%);
  color: #8a4300;
}

.calendar-day.price-high {
  border-color: rgba(255, 128, 142, 0.66);
  background:
    linear-gradient(145deg, #fff0f0 0%, #ffdfe4 52%, #ffb4ba 100%);
  color: #9b1238;
}

.calendar-day.no-hotel,
.calendar-day.empty {
  border-color: rgba(180, 172, 160, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(238, 235, 229, 0.6));
  color: #8a837a;
}

.calendar-day.selected {
  border-color: rgba(255, 92, 53, 0.86);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(255, 92, 53, 0.82),
    0 18px 36px rgba(255, 92, 53, 0.22);
}

.calendar-hot {
  font-size: 13px;
  filter:
    drop-shadow(0 2px 4px rgba(255, 92, 53, 0.42))
    saturate(1.25);
}

.legend-good {
  background: linear-gradient(145deg, #b6ffe3, #087668);
}

.legend-mid {
  background: linear-gradient(145deg, #ffe16a, #ff8a22);
}

.legend-high {
  background: linear-gradient(145deg, #ffb4ba, #be123c);
}

.legend-empty {
  background: linear-gradient(145deg, #ffffff, #d9d5ce);
}

.date-range-popover {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.88));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 26px 70px rgba(255, 92, 53, 0.18),
    0 18px 46px rgba(73, 167, 255, 0.12);
}

.date-cell {
  border-radius: 12px;
}

.date-cell.selected {
  background:
    linear-gradient(180deg, #ffb85a, #ff5c35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 18px rgba(255, 92, 53, 0.24);
}

.public-page,
.login-page {
  background:
    linear-gradient(135deg, #fffdf8 0%, #fff1df 46%, #eafffb 100%);
}

.public-brand {
  gap: 10px;
}

.public-primary {
  background:
    linear-gradient(180deg, #ffc15c, #ff7a2e 48%, #ff5c35);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 16px 34px rgba(255, 92, 53, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.public-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 236, 0.72));
  border-color: rgba(255, 255, 255, 0.78);
}

.public-feature-grid article,
.public-contact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 244, 0.64));
  border-color: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  backdrop-filter: blur(20px) saturate(165%);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .brand-logo {
    max-width: 148px;
    height: 40px;
  }

  .search-core {
    border-radius: 18px;
  }

  .calendar-day {
    min-height: 64px;
    padding: 8px;
  }

  .calendar-day strong {
    font-size: 15px;
  }

  .public-logo {
    height: 38px;
    max-width: 170px;
  }
}

/* =========================================================
   Product split: Vuelos / Paquetes
========================================================= */

.product-tabs {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 4px;
  display: flex;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 10px 26px rgba(255, 92, 53, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.product-tabs button {
  min-width: 96px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f6670;
  font-size: 13px;
  font-weight: 950;
}

.product-tabs button.active {
  color: #fff;
  background: linear-gradient(180deg, #ffc15c, #ff7a2e 48%, #ff5c35);
  box-shadow:
    0 10px 22px rgba(255, 92, 53, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.app-shell[data-mode="flights"] .package-only-row,
.app-shell[data-mode="flights"] #packageWorkspace {
  display: none !important;
}

.app-shell[data-mode="packages"] .flight-only-row,
.app-shell[data-mode="packages"] #flightWorkspace {
  display: none !important;
}

.app-shell[data-mode="packages"] .package-stops-row {
  display: none !important;
}

.topbar-search .flight-only-row {
  max-width: 140px;
}

.app-shell[data-mode="flights"] .topbar {
  gap: 22px;
}

.app-shell[data-mode="flights"] .topbar-search {
  width: min(1000px, calc(100vw - 320px));
}

.app-shell[data-mode="flights"] .search-core {
  grid-template-columns: 176px minmax(210px, 1fr) minmax(230px, 1.05fr) 176px 64px;
}

.app-shell[data-mode="packages"] .topbar-search {
  width: min(1120px, calc(100vw - 320px));
}

.form-row {
  position: relative;
}

.passenger-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 70;
  width: 360px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 240, 0.92));
  box-shadow:
    0 28px 70px rgba(16, 24, 32, 0.16),
    0 18px 46px rgba(255, 92, 53, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.passenger-menu-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 950;
}

.passenger-count-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.passenger-count-row:first-of-type {
  border-top: 0;
}

.passenger-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font-weight: 950;
}

.passenger-count-row strong,
.passenger-count-row small {
  display: block;
}

.passenger-count-row small {
  color: var(--muted);
  font-weight: 750;
}

.passenger-stepper-control {
  display: grid;
  grid-template-columns: 30px 24px 30px;
  align-items: center;
  gap: 8px;
  font-weight: 950;
}

.passenger-stepper-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #e8f7f0;
  color: #087668;
  font-weight: 950;
}

.flight-workspace {
  width: min(1320px, calc(100vw - 28px));
  margin: 24px auto 48px;
}

.landing-content {
  width: min(1120px, calc(100vw - 28px));
  margin: 28px auto 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.landing-hero-copy,
.landing-product-card {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 249, 240, 0.68)),
    radial-gradient(circle at 12% 10%, rgba(255, 190, 77, 0.22), transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(99, 230, 255, 0.18), transparent 44%);
  box-shadow: var(--shadow-md);
}

.landing-hero-copy {
  min-height: 260px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-hero-copy h1 {
  max-width: 720px;
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.55;
}

.landing-product-grid {
  display: grid;
  gap: 14px;
}

.landing-product-card {
  min-height: 124px;
  padding: 22px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.landing-product-card.active {
  border-color: rgba(255, 92, 53, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 239, 226, 0.78)),
    radial-gradient(circle at 8% 10%, rgba(255, 92, 53, 0.24), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(156, 255, 212, 0.2), transparent 46%);
  box-shadow:
    0 22px 58px rgba(255, 92, 53, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.landing-product-card span,
.landing-product-card strong,
.landing-product-card small {
  display: block;
}

.landing-product-card span {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-product-card strong {
  font-size: 22px;
  line-height: 1.08;
}

.landing-product-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.flight-stepper {
  margin: 0 0 14px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.flight-stepper span {
  position: relative;
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #98a0a8;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.flight-stepper span::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -10px;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: rgba(8, 118, 104, 0.1);
}

.flight-stepper span.active {
  color: #053f35;
}

.flight-stepper span.done {
  color: #087668;
}

.flight-stepper span.done::after {
  background: rgba(8, 118, 104, 0.34);
}

.flight-stepper span.active::after {
  background: linear-gradient(90deg, #087668, #48d49c);
}

.flight-results-panel,
.fare-panel,
.passenger-payment-grid article {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 244, 0.66));
  box-shadow:
    0 24px 70px rgba(255, 92, 53, 0.12),
    0 18px 52px rgba(73, 167, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.flight-results-head {
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 138, 34, 0.16);
}

.flight-results-head h2 {
  margin: 2px 0 4px;
  font-size: 30px;
  letter-spacing: 0;
}

.flight-results-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.flight-sort-pill {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff6ee;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

.flight-date-rail {
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  background: linear-gradient(90deg, rgba(229, 244, 255, 0.72), rgba(255, 246, 230, 0.72));
}

.flight-date-chip {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: #182025;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.flight-date-chip span,
.flight-date-chip strong {
  display: block;
}

.flight-date-chip strong {
  color: #087668;
}

.flight-date-chip.active {
  color: #fff;
  background: linear-gradient(180deg, #0d5f4f, #073f35);
}

.flight-date-chip.active strong {
  color: #fff;
}

.flight-columns {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
}

.flight-list-card,
.flight-checkout-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 138, 34, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.flight-list-head {
  padding: 18px 18px 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.flight-list-head h3 {
  margin: 0;
  font-size: 22px;
}

.flight-list-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.flight-list-head.inline {
  padding: 4px 6px 10px;
}

.flight-option-list {
  padding: 8px;
  display: grid;
  gap: 10px;
}

.selected-flight-summary {
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 255, 244, 0.92), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(8, 118, 104, 0.22);
}

.selected-flight-summary span,
.selected-flight-summary small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.selected-flight-summary strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
}

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

.selected-itinerary-compact > div {
  padding: 14px 16px;
  border: 1px solid rgba(8, 118, 104, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(232, 255, 244, 0.68));
}

.selected-itinerary-compact span,
.selected-itinerary-compact small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.selected-itinerary-compact strong {
  display: block;
  margin: 4px 0;
  font-size: 17px;
  font-weight: 950;
}

.flight-option-card {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  display: grid;
  grid-template-columns: 54px 1.3fr 0.8fr 0.8fr 0.8fr 0.9fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #152025;
  text-align: left;
}

.flight-option-card.selected {
  border-color: rgba(255, 92, 53, 0.56);
  box-shadow: 0 0 0 2px rgba(255, 92, 53, 0.12);
}

.airline-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #ecfff8, #ffffff);
  color: #12a64f;
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.flight-option-card strong,
.flight-option-card small {
  display: block;
}

.flight-option-card strong {
  font-size: 15px;
  font-weight: 950;
}

.flight-option-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

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

.flight-expanded-detail {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 1.4fr) 1fr;
  gap: 18px;
  align-items: center;
  border-top: 1px dashed rgba(16, 24, 32, 0.14);
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.82), rgba(255, 255, 255, 0.92));
  border-radius: 0 0 14px 14px;
}

.flight-expanded-detail strong,
.flight-expanded-detail small {
  display: block;
}

.flight-line-mini {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.flight-line-mini i {
  position: relative;
  color: #087668;
  font-style: normal;
  font-weight: 950;
}

.flight-line-mini i::before,
.flight-line-mini i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: rgba(255, 92, 53, 0.5);
}

.flight-line-mini i::before {
  right: calc(100% + 8px);
}

.flight-line-mini i::after {
  left: calc(100% + 8px);
}

.flight-price em {
  display: inline-block;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8fff4;
  color: #087668;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.flight-checkout-card {
  padding: 20px;
  align-self: start;
  position: sticky;
  top: 112px;
}

.flight-checkout-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.flight-checkout-card p {
  color: var(--muted);
  font-weight: 750;
}

.flight-continue-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a22, #ff5c35);
  color: #fff;
  font-weight: 950;
}

.flight-continue-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.25);
}

.fare-panel {
  margin: 0 24px 22px;
  overflow: hidden;
}

.section-heading.slim {
  min-height: auto;
  padding: 18px 20px;
}

.section-heading.slim span {
  color: var(--muted);
  font-weight: 800;
}

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

.fare-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
}

.fare-card.recommended {
  border-color: rgba(8, 118, 104, 0.38);
  background: linear-gradient(180deg, rgba(231, 255, 244, 0.9), rgba(255, 255, 255, 0.76));
}

.fare-grid.inline {
  padding: 4px;
}

.fare-card.selected {
  border-color: rgba(255, 92, 53, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 92, 53, 0.12);
}

.fare-card strong,
.passenger-payment-grid strong {
  display: block;
  font-size: 22px;
}

.fare-card p,
.passenger-payment-grid p {
  color: var(--muted);
  font-weight: 750;
}

.fare-card span {
  color: var(--brand-dark);
  font-weight: 950;
}

.passenger-payment-grid {
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.passenger-payment-grid article {
  padding: 20px;
}

.passenger-form-mock,
.payment-mock {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 138, 34, 0.18);
}

.passenger-form-mock h3,
.payment-mock h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

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

.mock-form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mock-form-grid input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.mock-form-grid select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.traveler-stack {
  display: grid;
  gap: 14px;
}

.traveler-card {
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.traveler-card-head {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(244, 250, 255, 0.84);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.traveler-card-head strong,
.traveler-card-head small {
  display: block;
}

.traveler-card-head small {
  color: var(--muted);
  font-weight: 750;
}

.passenger-fields {
  padding: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-form-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
}

.contact-form-block h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.payment-total-card {
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #0d5f4f, #073f35);
}

.payment-total-card span,
.payment-total-card small,
.payment-total-card strong {
  display: block;
}

.payment-total-card strong {
  margin: 8px 0;
  font-size: 36px;
}

.payment-options {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-options span {
  padding: 14px;
  border-radius: 14px;
  background: #fff6ee;
  color: var(--brand-dark);
  font-weight: 950;
}

@media (max-width: 980px) {
  .flight-stepper,
  .flight-date-rail,
  .flight-columns,
  .fare-grid,
  .passenger-payment-grid,
  .mock-form-grid,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .flight-option-card {
    grid-template-columns: 46px 1fr;
  }

  .app-shell[data-mode="flights"] .topbar-search,
  .app-shell[data-mode="packages"] .topbar-search {
    width: min(100%, calc(100vw - 24px));
  }

  .app-shell[data-mode="flights"] .search-core {
    grid-template-columns: 1fr;
  }

  .passenger-popover {
    left: 0;
    right: auto;
    width: min(360px, calc(100vw - 48px));
  }

  .flight-duration,
  .flight-stops,
  .flight-emissions,
  .flight-price,
  .flight-expanded-detail {
    grid-column: 2;
    text-align: left;
  }

  .flight-expanded-detail,
  .flight-line-mini,
  .passenger-fields {
    grid-template-columns: 1fr;
  }
}

/* Landing airline-style hero: Deviaje orange edition. */
.aero-nav,
.aero-alert,
.aero-hero-copy {
  display: none;
}

.app-shell.is-landing .topbar {
  min-height: 610px;
  padding: 0 30px 46px;
  display: block;
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.42) 0 12%, transparent 13%),
    radial-gradient(circle at 78% 44%, rgba(255, 92, 53, 0.52) 0 13%, transparent 14%),
    linear-gradient(120deg, rgba(255, 92, 53, 0.96), rgba(255, 132, 49, 0.9) 42%, rgba(255, 190, 88, 0.82));
  border-bottom: 0;
  box-shadow: inset 0 -90px 120px rgba(255, 255, 255, 0.32);
}

.app-shell.is-landing .topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 18% 100%),
    radial-gradient(circle at 80% 62%, rgba(28, 82, 69, 0.18), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 18px);
  mix-blend-mode: soft-light;
}

.app-shell.is-landing .brand {
  display: none;
}

.app-shell.is-landing .aero-nav {
  position: relative;
  z-index: 3;
  height: 70px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  color: #fff;
}

.aero-nav-links,
.aero-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(110, 40, 0, 0.22);
}

.aero-nav-links .pill {
  padding: 7px 12px;
  color: #ff5c35;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  text-shadow: none;
}

.aero-nav-brand {
  display: grid;
  place-items: center;
}

.aero-nav-brand img {
  width: clamp(178px, 18vw, 280px);
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 14px 26px rgba(118, 42, 0, 0.28));
}

.aero-nav-actions {
  justify-content: flex-end;
}

.aero-nav-actions span {
  padding: 10px 15px;
  color: #ff5c35;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  text-shadow: none;
}

.aero-nav-actions button {
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  color: #fff;
  font: inherit;
  background: #0d7f64;
  box-shadow: 0 12px 28px rgba(0, 91, 67, 0.28);
}

.app-shell.is-landing .aero-alert {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100vw - 60px));
  min-height: 42px;
  margin: 8px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: linear-gradient(90deg, #1598dc, #27b1ef);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 93, 146, 0.24);
}

.aero-alert strong,
.aero-alert em {
  font-style: normal;
  font-weight: 950;
}

.app-shell.is-landing .aero-hero-copy {
  position: relative;
  z-index: 2;
  display: block;
  width: min(1180px, calc(100vw - 60px));
  margin: 34px auto 0;
  color: #fff;
}

.aero-hero-logo {
  display: block;
  width: clamp(190px, 22vw, 320px);
  max-height: 74px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: brightness(0) invert(1) drop-shadow(0 14px 30px rgba(118, 42, 0, 0.28));
}

.aero-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 46px rgba(105, 38, 0, 0.26);
}

.aero-hero-copy p {
  max-width: 610px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.app-shell.is-landing .top-actions {
  position: absolute;
  z-index: 5;
  right: 28px;
  top: 88px;
}

.app-shell.is-landing .topbar-search {
  position: absolute;
  z-index: 4;
  left: 50%;
  right: auto;
  bottom: -56px;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 60px));
}

.app-shell.is-landing .topbar-search .search-form {
  display: grid;
  gap: 0;
  padding: 16px 22px 22px;
  max-width: none;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 72px rgba(114, 50, 0, 0.22);
  backdrop-filter: blur(20px);
}

.app-shell.is-landing .product-tabs {
  justify-self: start;
  margin: 0 0 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.app-shell.is-landing .product-tabs button {
  min-width: 134px;
  min-height: 44px;
  border-radius: 999px;
}

.app-shell.is-landing .product-tabs button.active {
  background: linear-gradient(180deg, #ff9b38, #ff5c35);
  box-shadow: 0 12px 26px rgba(255, 92, 53, 0.24);
}

.app-shell.is-landing .search-core {
  min-height: 82px;
  border-radius: 24px;
  border: 1px solid rgba(255, 149, 93, 0.3);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  overflow: visible;
}

.app-shell.is-landing[data-mode="flights"] .search-core {
  grid-template-columns: 170px minmax(270px, 1.35fr) minmax(250px, 1fr) 170px 180px;
}

.app-shell.is-landing[data-mode="packages"] .search-core {
  grid-template-columns: 160px minmax(240px, 1fr) minmax(240px, 1fr) 150px 130px 170px;
}

.app-shell.is-landing .search-core .form-row {
  min-height: 82px;
  padding: 12px 18px;
}

.app-shell.is-landing .search-core label {
  font-size: 12px;
}

.app-shell.is-landing .filter-button,
.app-shell.is-landing .date-range-button {
  min-height: 40px;
  font-size: 16px;
}

.app-shell.is-landing .primary-button {
  width: 100%;
  height: 58px;
  min-height: 58px;
  margin: 12px 0 12px;
  border-radius: 28px;
  box-shadow: 0 14px 30px rgba(255, 92, 53, 0.22);
}

.app-shell.is-landing .primary-button::after {
  content: "Buscar";
  font-size: 17px;
  margin-left: 10px;
}

.app-shell.is-landing .layout {
  padding-top: 94px;
}

.app-shell.is-landing .landing-content {
  display: block;
  width: min(1180px, calc(100vw - 60px));
  margin: 0 auto 26px;
}

.app-shell.is-landing .landing-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-shell.is-landing .landing-product-card {
  min-height: 124px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(91, 45, 0, 0.08);
}

.app-shell.is-landing .landing-product-card.active {
  border-color: rgba(255, 92, 53, 0.7);
}

.app-shell.is-active-flow .aero-nav,
.app-shell.is-active-flow .aero-alert,
.app-shell.is-active-flow .aero-hero-copy {
  display: none !important;
}

.app-shell.is-active-flow .topbar {
  min-height: 132px;
}

@media (max-width: 1080px) {
  .app-shell.is-landing .topbar {
    min-height: 720px;
    padding-inline: 18px;
  }

  .app-shell.is-landing .aero-nav {
    grid-template-columns: 1fr auto;
    height: auto;
    padding-top: 14px;
    row-gap: 10px;
  }

  .aero-nav-brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .aero-nav-links,
  .aero-nav-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .app-shell.is-landing .aero-alert,
  .app-shell.is-landing .aero-hero-copy,
  .app-shell.is-landing .topbar-search,
  .app-shell.is-landing .landing-content {
    width: min(100% - 24px, 760px);
  }

  .app-shell.is-landing .topbar-search {
    bottom: -76px;
  }

  .app-shell.is-landing[data-mode="flights"] .search-core,
  .app-shell.is-landing[data-mode="packages"] .search-core {
    grid-template-columns: 1fr;
  }

  .app-shell.is-landing .primary-button {
    margin: 8px 0 0;
  }

  .app-shell.is-landing .layout {
    padding-top: 118px;
  }

  .app-shell.is-landing .landing-product-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff8f3 34%, #f0fbff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

h1,
h2,
p,
figure,
blockquote {
  margin: 0;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  min-height: 76px;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 241, 0.88));
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 12px 30px rgba(255, 92, 53, 0.08);
}

.brand,
.top-actions,
.topnav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: auto;
  max-width: 178px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.brand-fallback {
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #ff8a45 0%, var(--brand) 48%, #d83516 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark::after,
.public-mark::after {
  content: "";
  position: absolute;
  inset: 5px 7px auto 7px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.brand h1 {
  font-size: 19px;
  line-height: 1.1;
  font-weight: 900;
}

#providerLine {
  display: none;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.topnav {
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--aero-glass-strong), rgba(255, 255, 255, 0.72));
  box-shadow: 0 12px 30px rgba(47, 140, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.topnav a {
  min-height: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #4b4f55;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.topnav a.active {
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff, #fff1ea);
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgba(255, 92, 53, 0.12);
}

.top-actions {
  justify-content: flex-end;
  gap: 10px;
  position: relative;
}

.view-menu {
  position: relative;
}

.view-menu summary {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: transparent;
  cursor: pointer;
  list-style: none;
  font-size: 0;
  font-weight: 900;
}

.view-menu summary::-webkit-details-marker {
  display: none;
}

.view-menu summary::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 -8px 0 var(--ink), 0 8px 0 var(--ink);
}

.view-menu-panel {
  min-width: 190px;
  padding: 10px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.agent-email {
  max-width: 190px;
  margin-bottom: 8px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 850;
}

.menu-action {
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  border-radius: 8px;
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.docs-link,
button {
  min-height: 38px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.docs-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  font-weight: 900;
}

.layout {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 24px 28px 40px;
  display: grid;
  gap: 18px;
}

.search-panel {
  position: relative;
  z-index: 80;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.search-copy {
  display: grid;
  gap: 8px;
}

.search-copy span {
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #fff, var(--brand-soft));
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(var(--brand-rgb), 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-copy h2 {
  max-width: 700px;
  font-size: 24px;
  line-height: 1.14;
  font-weight: 900;
}

.search-form {
  width: min(100%, 980px);
  display: grid;
  gap: 10px;
}

.origin-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.origin-chip {
  min-height: 32px;
  min-width: 56px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, #fff, #fff7f0);
  color: #3b3f45;
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.origin-chip.active {
  background:
    linear-gradient(145deg, var(--brand), #ff934e);
  border-color: rgba(var(--brand-rgb), 0.65);
  color: #fff;
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.origin-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.search-core {
  width: 100%;
  max-width: 980px;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(170px, 1.22fr) minmax(228px, 1.16fr) minmax(108px, 0.66fr) minmax(82px, 0.5fr) minmax(98px, 0.62fr) 54px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 248, 0.84));
  box-shadow:
    0 18px 46px rgba(47, 140, 255, 0.08),
    0 12px 28px rgba(var(--brand-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.search-core .form-row {
  min-height: 54px;
  padding: 7px 14px;
  align-content: center;
  border-right: 1px solid var(--line);
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
}

.form-row {
  display: grid;
  gap: 4px;
  min-width: 0;
}

label,
.check-row span {
  color: #282828;
  font-size: 11px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input,
select {
  height: 38px;
  padding: 0 10px;
}

.search-core input,
.search-core select {
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.date-inputs span {
  width: 16px;
  height: 1px;
  background: var(--muted);
  opacity: 0.55;
}

.date-range-field {
  position: relative;
  z-index: 120;
}

.date-range-picker {
  position: relative;
  min-width: 0;
}

.date-range-button {
  width: 100%;
  min-height: 36px;
  padding: 0;
  display: grid;
  gap: 1px;
  justify-items: start;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.date-range-button span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 850;
}

.date-range-button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.date-range-popover {
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 4000;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.date-range-popover::before {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
}

.date-picker-head,
.date-picker-monthbar,
.date-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.date-picker-head {
  margin-bottom: 12px;
}

.date-picker-head strong {
  display: block;
  font-size: 15px;
  font-weight: 950;
}

.date-picker-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.date-month-shortcuts {
  display: flex;
  gap: 5px;
  padding: 0 0 10px;
  margin-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.month-chip {
  min-width: 42px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #fff, #f6fdff);
  color: #55595f;
  font-size: 11px;
  font-weight: 900;
}

.month-chip.current {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.month-chip.active {
  background: linear-gradient(145deg, #ff9a4f, var(--brand));
  border-color: var(--brand);
  color: #fff;
}

.icon-button {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.date-picker-monthbar {
  min-height: 36px;
  margin-bottom: 10px;
}

.date-picker-monthbar strong {
  font-size: 14px;
  font-weight: 950;
  text-transform: capitalize;
}

.date-weekdays,
.date-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.date-weekdays {
  margin-bottom: 5px;
}

.date-weekdays span {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.date-cell {
  min-width: 0;
  min-height: 42px;
  padding: 4px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.date-cell strong {
  font-size: 13px;
  font-weight: 900;
}

.date-cell span {
  color: inherit;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.date-cell.muted {
  color: #a7a299;
}

.date-cell.today {
  border-color: var(--line-strong);
}

.date-cell.in-range {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.date-cell.selected {
  background: var(--brand);
  color: #fff;
}

.date-cell:hover {
  border-color: var(--brand);
}

.date-picker-footer {
  margin-top: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
}

.search-core input:focus,
.search-core select:focus {
  box-shadow: none;
}

.check-row {
  min-height: 34px;
  width: fit-content;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.compact-check {
  margin-top: 2px;
}

.hidden-config {
  display: none;
}

.primary-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0 8px 0 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #ff9f51 0%, var(--brand) 52%, #d93618 100%);
  color: #fff;
  font-size: 0;
  font-weight: 900;
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.26);
}

.primary-button:hover,
.secondary-button:hover,
.docs-link:hover {
  transform: translateY(-1px);
}

.primary-button::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  flex: 0 0 auto;
  border: 3px solid #fff;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}

.primary-button::after {
  content: "";
  width: 8px;
  height: 3px;
  display: block;
  flex: 0 0 auto;
  margin-left: -3px;
  margin-top: 13px;
  background: #fff;
  border-radius: 999px;
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
}

.secondary-button,
.row-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f7fdff);
  color: var(--ink);
  border-color: var(--line-strong);
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(47, 140, 255, 0.06);
}

.row-button {
  background: linear-gradient(145deg, #1f2328, #0d0f12);
  color: #fff;
  border-color: #0d0f12;
}

.opportunity-card .row-button {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

.compact {
  min-height: 32px;
  padding: 0 12px;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.workspace {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.metrics {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12px;
}

.metrics,
.market-strip {
  display: none;
}

.metric,
.market-strip,
.data-section,
.quote-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 248, 0.86));
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.metric {
  min-height: 78px;
  padding: 14px 16px;
}

.metric span,
.market-strip span,
.section-heading span,
.all-options-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 900;
}

.market-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.market-strip div {
  min-width: 0;
  padding: 16px;
  background: linear-gradient(180deg, #fff, var(--surface-soft));
}

.market-strip strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
}

.metrics,
.market-strip {
  display: none;
}

.data-section,
.quote-section {
  overflow: hidden;
}

.section-heading {
  min-height: 62px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 240, 0.48));
}

.section-heading h2 {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.section-actions,
.quote-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.opportunity-section-actions {
  max-width: min(760px, 72vw);
  flex-wrap: wrap;
}

.opportunity-section-actions #statusLine {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stop-view-toggle {
  flex: 0 0 auto;
}

.package-context {
  max-width: min(680px, 58vw);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.context-box {
  min-height: 36px;
  padding: 5px 9px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff, #f7fdff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.context-box small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.context-box strong {
  max-width: 150px;
  overflow: hidden;
  color: #2c3035;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 950;
}

.context-empty,
#packageSource {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f4fbff);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.client-switch {
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f7fdff);
  color: var(--ink);
  cursor: pointer;
}

.client-switch input {
  width: 34px;
  height: 20px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #d8d5cf;
  position: relative;
  transition: background 0.2s ease;
}

.client-switch input::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.client-switch input:checked {
  background: var(--brand);
}

.client-switch input:checked::after {
  transform: translateX(14px);
}

.client-switch span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid #ece9e4;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #4b4f55;
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 900;
}

td {
  color: #252525;
}

tbody tr:hover {
  background: #fffafa;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 12px;
}

.opportunity-calendar-shell {
  display: grid;
  gap: 10px;
}

.opportunity-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 8px;
}

.opportunity-calendar-head div:first-child {
  display: grid;
  gap: 2px;
}

.opportunity-calendar-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.opportunity-calendar-head span,
.calendar-legend span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
}

.legend-good {
  background: #0f766e;
}

.legend-mid {
  background: #d97706;
}

.legend-high {
  background: #be123c;
}

.legend-empty {
  background: #d9d5ce;
}

.opportunity-months {
  display: grid;
  gap: 14px;
}

.opportunity-month {
  display: grid;
  gap: 7px;
}

.opportunity-month h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.opportunity-calendar-weekdays,
.opportunity-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.opportunity-calendar-weekdays span {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
}

.calendar-spacer {
  min-height: 62px;
}

.calendar-day {
  min-width: 0;
  min-height: 62px;
  padding: 9px;
  display: grid;
  align-content: space-between;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.calendar-day strong {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.calendar-hot {
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(255, 92, 53, 0.3));
}

.calendar-day span {
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
}

.calendar-day small {
  color: currentColor;
  opacity: 0.72;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
}

.calendar-day em {
  margin-left: 4px;
  padding: 1px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.calendar-day.price-good {
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ecfdf5, #d1fae5);
  color: #065f46;
}

.calendar-day.price-mid {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  color: #92400e;
}

.calendar-day.price-high {
  border-color: #fecdd3;
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  color: #9f1239;
}

.calendar-day.no-hotel {
  border-style: dashed;
  background: #f7f5f1;
  color: #6b6257;
}

.calendar-day.empty {
  background: #f8f7f4;
  color: #a19b92;
}

.calendar-day.selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.calendar-day:disabled {
  cursor: not-allowed;
}

.opportunity-card {
  min-width: 0;
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.opportunity-card.selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), var(--shadow-md);
}

.opportunity-topline,
.opportunity-meta,
.package-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.market-badge {
  min-height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #fff, #eef9ff);
  color: #55595f;
  font-size: 10px;
  font-weight: 900;
  border: 1px solid rgba(88, 199, 221, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.market-badge.good {
  background: linear-gradient(180deg, #f8fffb, var(--teal-soft));
  color: var(--teal);
}

.market-badge.warn {
  background: linear-gradient(180deg, #fff, var(--amber-soft));
  color: var(--amber);
}

.market-badge.bad {
  background: linear-gradient(180deg, #fff, var(--clay-soft));
  color: var(--clay);
}

.opportunity-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.opportunity-dates div,
.opportunity-price,
.opportunity-inventory {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.opportunity-dates span,
.opportunity-price span,
.opportunity-inventory span,
.opportunity-meta span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.opportunity-dates strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 950;
}

.opportunity-price strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 950;
}

.opportunity-inventory {
  display: grid;
  gap: 3px;
}

.opportunity-inventory strong {
  font-size: 12px;
  font-weight: 950;
}

.opportunity-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.empty-cell,
.empty-block {
  color: var(--muted);
  text-align: center;
}

.empty-block {
  padding: 30px;
}

.empty-block.wide {
  grid-column: 1 / -1;
}

.status-pill {
  min-height: 28px;
  min-width: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fffb, var(--teal-soft));
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(15, 107, 87, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.status-pill.warn {
  background: linear-gradient(180deg, #fff, var(--amber-soft));
  color: var(--amber);
}

.status-pill.bad {
  background: linear-gradient(180deg, #fff, var(--clay-soft));
  color: var(--clay);
}

.promo-inline {
  width: fit-content;
  min-height: 20px;
  margin-top: 5px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.inventory-cell {
  display: grid;
  gap: 4px;
  min-width: 180px;
}

.inventory-cell strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.inventory-cell span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.package-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 246, 0.9));
  box-shadow:
    0 16px 36px rgba(47, 140, 255, 0.08),
    0 12px 28px rgba(var(--brand-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.hotel-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f1efeb, #fff);
  overflow: hidden;
}

.hotel-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hotel-image.placeholder {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.package-card-body {
  display: grid;
  gap: 12px;
  padding: 0 16px;
}

.package-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.package-label {
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--brand-dark);
  background:
    linear-gradient(180deg, #fff, var(--brand-soft));
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid rgba(var(--brand-rgb), 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.package-price {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}

.price-stack {
  display: grid;
  justify-items: end;
  gap: 4px;
  line-height: 1.05;
}

.price-stack strong {
  font-size: inherit;
  line-height: 1;
}

.price-stack span {
  min-height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.package-title {
  min-height: 38px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.rating-badge {
  width: fit-content;
  max-width: calc(100% - 32px);
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #f8fffb, var(--teal-soft));
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  border: 1px solid rgba(15, 107, 87, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rating-badge.muted {
  background: linear-gradient(180deg, #fff, #eef9ff);
  color: var(--muted);
}

.hotel-content {
  display: grid;
  gap: 8px;
  color: #4e5359;
  font-size: 12px;
  line-height: 1.45;
}

.hotel-content blockquote {
  padding-left: 10px;
  border-left: 3px solid var(--line-strong);
  color: #30343a;
}

.hotel-content span {
  color: var(--teal);
  font-weight: 900;
}

.hotel-content a {
  width: fit-content;
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.package-meta {
  margin-left: 16px;
  margin-right: 16px;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.package-reason {
  margin-left: 16px;
  margin-right: 16px;
  padding-bottom: 16px;
  color: #30343a;
  font-size: 13px;
  line-height: 1.42;
}

.package-actions {
  margin: 0 16px 16px;
  justify-content: flex-start;
}

.all-options-panel {
  border-top: 1px solid var(--line);
  background: #fff;
}

.all-options-heading {
  min-height: 52px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.all-options-heading strong {
  display: block;
  font-size: 15px;
}

.all-options-heading span {
  display: block;
  margin-top: 4px;
}

.all-options-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.all-options-controls select {
  width: auto;
  min-width: 138px;
  height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.filter-toggle {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.filter-toggle input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
}

.filter-toggle span {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.view-toggle {
  min-height: 34px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
}

.view-toggle button {
  min-height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.view-toggle button.active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.all-options-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  max-height: 540px;
  overflow: auto;
}

.all-options-list.table-view {
  display: block;
}

.options-table-wrap {
  width: 100%;
  overflow: auto;
}

.options-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 12px;
  table-layout: fixed;
}

.options-table th,
.options-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.options-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  background: var(--surface-soft);
}

.options-table td strong,
.options-table td span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.options-table th:nth-child(1),
.options-table td:nth-child(1) {
  width: 27%;
}

.options-table th:nth-child(2),
.options-table td:nth-child(2) {
  width: 10%;
}

.options-table th:nth-child(3),
.options-table td:nth-child(3) {
  width: 9%;
}

.options-table th:nth-child(4),
.options-table td:nth-child(4) {
  width: 8%;
}

.options-table th:nth-child(5),
.options-table td:nth-child(5) {
  width: 11%;
}

.options-table th:nth-child(6),
.options-table td:nth-child(6) {
  width: 22%;
}

.options-table th:last-child,
.options-table td:last-child {
  width: 190px;
  text-align: right;
}

.options-table td strong {
  font-size: 13px;
  font-weight: 950;
}

.options-table td span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.option-card {
  min-width: 0;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.option-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f1efeb, #fff);
  overflow: hidden;
}

.option-card-image img,
.thumb-placeholder {
  width: 100%;
  height: 100%;
}

.option-card-image img {
  display: block;
  object-fit: cover;
}

.thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.option-card .option-index {
  position: absolute;
  top: 10px;
  left: 10px;
}

.option-card-body {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.option-card-body header {
  min-height: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.package-label.mini {
  min-height: 22px;
  padding: 0 8px;
  font-size: 10px;
}

.option-card-title {
  min-height: 34px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.option-card-price {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
}

.option-card-price.price-stack span {
  font-size: 9px;
}

.option-card .rating-badge {
  max-width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 0 8px;
  font-size: 11px;
}

.option-card-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.option-card-meta span {
  color: var(--muted);
}

.slot-selectors {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.options-table .slot-selectors {
  justify-content: flex-end;
  margin-bottom: 7px;
}

.slot-selector {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.slot-selector:hover,
.slot-selector.active {
  border-color: rgba(255, 92, 53, 0.55);
  background: linear-gradient(180deg, #fff9f3, #ffefe8);
  color: var(--brand-dark);
}

.option-row {
  display: grid;
  grid-template-columns: 40px minmax(210px, 1.7fr) minmax(100px, 0.75fr) minmax(130px, 0.9fr) minmax(110px, 0.65fr);
  gap: 12px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid #ece9e4;
}

.option-index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 12px;
}

.option-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.option-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.option-main span,
.option-meta span {
  color: var(--muted);
  font-size: 12px;
}

.option-meta {
  display: grid;
  gap: 4px;
}

.option-price {
  color: var(--ink);
  font-weight: 950;
  text-align: right;
}

.client-input {
  width: 190px;
}

#quoteText {
  display: block;
  width: 100%;
  min-height: 240px;
  resize: vertical;
  padding: 18px;
  border: 0;
  border-radius: 0;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  background: #fffdf9;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-line {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ece9e4, #f8f7f4, #ece9e4);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton-line.short {
  width: 42%;
}

.skeleton-line.tall {
  height: 44px;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 220% 0;
  }
  100% {
    background-position: -220% 0;
  }
}

.detail-modal {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.detail-modal::backdrop {
  background: rgba(18, 18, 18, 0.42);
}

.detail-shell {
  position: relative;
  max-height: calc(100vh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
}

.detail-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  width: fit-content;
  min-height: 34px;
  margin: 12px 12px -46px auto;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.detail-body {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.detail-option-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-option-button {
  min-width: 0;
  min-height: 62px;
  padding: 9px 11px;
  display: grid;
  gap: 2px;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.detail-option-button.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.detail-option-button span {
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-option-button strong {
  font-size: 16px;
  font-weight: 950;
}

.detail-option-button small {
  width: 100%;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.detail-hero.no-media {
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
}

.detail-gallery {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-soft);
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-gallery img:first-child {
  grid-row: 1 / -1;
}

.detail-gallery.empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.detail-summary {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.detail-summary-head > div {
  min-width: 0;
}

.detail-summary h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 950;
}

.detail-price {
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
}

.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-facts span {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #454a50;
  font-size: 12px;
  font-weight: 850;
}

.stay-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.stay-summary-grid div {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.stay-summary-grid span,
.commercial-breakdown span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.stay-summary-grid strong,
.commercial-breakdown strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
}

.provider-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.provider-action {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fdff);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.provider-action.google {
  border-color: rgba(47, 140, 255, 0.28);
  color: #1c5fb8;
}

.provider-action.beds {
  border-color: rgba(var(--brand-rgb), 0.26);
  color: var(--brand-dark);
  background: linear-gradient(180deg, #fff, var(--brand-soft));
}

.provider-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 18, 18, 0.08);
}

.capture-client-button {
  min-height: 42px;
  border-radius: 8px;
  border-color: rgba(var(--brand-rgb), 0.34);
  background:
    linear-gradient(145deg, #ff9f51 0%, var(--brand) 52%, #d93618 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(var(--brand-rgb), 0.22);
}

.capture-client-button:disabled {
  cursor: wait;
}

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

.detail-grid section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.detail-grid h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 950;
}

.detail-grid dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-grid dl div {
  display: grid;
  gap: 3px;
}

.detail-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-grid dd {
  margin: 0;
  color: #2c3035;
  font-size: 13px;
  line-height: 1.35;
}

.flight-detail {
  grid-column: 1 / -1;
}

.airline-header {
  margin-bottom: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.airline-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.airline-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.airline-logo b {
  display: none;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.airline-logo.fallback b {
  display: block;
}

.airline-header div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.airline-header div strong,
.airline-header b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.airline-header div span,
.airline-header > span:not(.airline-logo) {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.airline-header > span:not(.airline-logo) {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.detail-section-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-section-head h4 {
  margin: 0;
}

.detail-section-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.flight-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.flight-summary-grid span,
.flight-fallback {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: #2c3035;
  font-size: 12px;
  font-weight: 850;
}

.flight-summary-grid small,
.flight-fallback small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.flight-segments {
  display: grid;
  gap: 10px;
}

.flight-leg-overview {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.flight-leg-card {
  display: grid;
  gap: 10px;
}

.flight-leg-card header {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.flight-leg-overview article {
  min-width: 0;
  padding: 11px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flight-leg-overview span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.flight-leg-overview strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.flight-leg-overview small {
  color: #4b4f55;
  font-size: 12px;
  font-weight: 850;
}

.flight-segments.in-leg {
  gap: 8px;
}

.flight-leg-empty {
  min-height: 42px;
  padding: 11px 12px;
  display: grid;
  align-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.flight-segment-card {
  display: grid;
  grid-template-columns: 28px minmax(56px, 0.5fr) minmax(105px, 1fr) minmax(80px, 0.8fr) minmax(105px, 1fr) minmax(56px, 0.5fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.segment-index {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
}

.segment-times,
.segment-route {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.segment-times strong,
.segment-route strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 950;
}

.segment-times span,
.segment-route span,
.segment-meta span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}

.segment-line {
  display: grid;
  gap: 5px;
  justify-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.segment-line i {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--line-strong), var(--brand), var(--line-strong));
}

.segment-meta {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.segment-meta span,
.flight-notes span {
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
}

.segment-layover {
  margin: -2px 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed rgba(var(--brand-rgb), 0.32);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf5, var(--brand-soft));
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
}

.segment-layover span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.segment-layover strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 950;
}

.segment-layover small {
  margin-left: auto;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
}

.flight-fallback {
  margin-top: 8px;
}

.flight-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.flight-notes span {
  color: #4b4f55;
  font-size: 11px;
  font-weight: 850;
}

.tripadvisor-detail,
.commercial-detail {
  grid-column: span 1;
}

.commercial-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.commercial-breakdown div {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.rating-bars {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.rating-bar div {
  height: 7px;
  border-radius: 999px;
  background: #e4e0d8;
  overflow: hidden;
}

.rating-bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--teal);
}

.detail-reviews {
  display: grid;
  gap: 10px;
}

.detail-reviews blockquote {
  display: grid;
  gap: 4px;
  padding-left: 10px;
  border-left: 3px solid var(--teal);
  color: #30343a;
  font-size: 12px;
  line-height: 1.4;
}

.detail-reviews strong {
  font-size: 12px;
  font-weight: 950;
}

.muted-copy {
  color: var(--muted);
}

.detail-link {
  width: fit-content;
  margin-top: 12px;
  display: inline-flex;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.public-page,
.login-page {
  background:
    linear-gradient(180deg, #fffaf6 0%, #eefcff 100%);
}

.public-nav {
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.14);
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(16px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.public-brand.compact {
  width: fit-content;
}

.public-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #ff9f51, var(--brand) 52%, #d93618);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.public-brand strong {
  font-size: 20px;
  font-weight: 950;
}

.public-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.public-nav a {
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #343941;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.public-nav .agent-link {
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  color: var(--brand-dark);
  background: linear-gradient(180deg, #fff, #fff2eb);
}

.public-hero {
  min-height: min(760px, calc(100vh - 76px));
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #121212;
}

.public-hero picture,
.public-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.public-hero img {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.public-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.62)),
    linear-gradient(90deg, rgba(255, 92, 53, 0.58), rgba(69, 214, 238, 0.18) 56%, rgba(18, 18, 18, 0.08));
}

.public-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 28%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 250, 246, 0.16)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.public-hero-content {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(42px, 10vh, 100px);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  color: #fff;
}

.public-hero-content p {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-hero-content h1 {
  font-size: clamp(56px, 12vw, 148px);
  line-height: 0.88;
  font-weight: 950;
  text-shadow: 0 10px 34px rgba(18, 18, 18, 0.34);
}

.public-hero-content span {
  max-width: 660px;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.18;
  font-weight: 850;
}

.public-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.public-primary,
.public-secondary {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.public-primary {
  border: 1px solid var(--brand);
  background:
    linear-gradient(145deg, #ffa250, var(--brand) 54%, #d93618);
  color: #fff;
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.public-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(14px);
}

.public-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 76px) 0;
}

.public-section-head {
  max-width: 760px;
  display: grid;
  gap: 10px;
}

.public-section-head span {
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  border: 1px solid rgba(var(--brand-rgb), 0.16);
}

.public-section-head h2,
.public-contact h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 950;
}

.public-destination-grid,
.public-feature-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.public-destination-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-destination-grid article {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
  box-shadow: 0 18px 36px rgba(47, 140, 255, 0.1);
}

.public-destination-grid img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.public-destination-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.05), rgba(18, 18, 18, 0.62));
}

.public-destination-grid div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}

.public-destination-grid span {
  font-size: 12px;
  font-weight: 900;
}

.public-destination-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 950;
}

.public-engine {
  border-top: 1px solid var(--line);
}

.public-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-feature-grid article {
  min-height: 210px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 252, 255, 0.76)),
    var(--surface);
  box-shadow: 0 16px 36px rgba(47, 140, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.public-feature-grid span {
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fff0ea);
  color: var(--brand-dark);
  font-weight: 950;
}

.public-feature-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
}

.public-feature-grid p,
.public-contact p {
  color: #464b52;
  font-size: 15px;
  line-height: 1.45;
}

.public-contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 38px;
  padding: clamp(28px, 6vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 92, 53, 0.14), rgba(69, 214, 238, 0.18)),
    #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.18);
}

.public-contact span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.login-shell {
  width: min(1060px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 18px;
}

.login-visual,
.login-card {
  min-height: 620px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.login-visual {
  position: relative;
  display: grid;
  align-items: end;
  background: #121212;
}

.login-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.68)),
    linear-gradient(90deg, rgba(255, 92, 53, 0.52), rgba(88, 199, 221, 0.1));
}

.login-visual div {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 5vw, 42px);
  color: #fff;
}

.login-visual span {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.login-visual h1 {
  max-width: 560px;
  margin-top: 10px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 950;
}

.login-visual p {
  max-width: 440px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.login-card {
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.login-card h2 {
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.login-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
}

.login-form input {
  height: 46px;
  padding: 0 12px;
}

.login-error {
  min-height: 20px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    display: none;
  }

  .search-core {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 8px;
    overflow: visible;
  }

  .search-core .form-row {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-core .form-row:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .primary-button {
    width: auto;
    margin: 10px 12px;
    grid-column: 1 / -1;
  }

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

  .package-list {
    grid-template-columns: 1fr;
  }

  .detail-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-option-nav {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    min-height: 260px;
  }

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

  .airline-header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .airline-header > span:not(.airline-logo) {
    display: none;
  }

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

  .flight-leg-card header {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .flight-segment-card {
    grid-template-columns: 26px minmax(68px, 0.6fr) minmax(0, 1fr) minmax(70px, 0.6fr);
  }

  .segment-line {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .segment-route:nth-of-type(2) {
    grid-column: 3;
  }

  .segment-meta {
    grid-column: 2 / -1;
  }

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

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual,
  .login-card {
    min-height: auto;
  }

  .login-visual {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .landing-content {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .landing-hero-copy {
    min-height: auto;
    padding: 24px;
  }

  .landing-product-card {
    min-height: 108px;
  }

  .selected-itinerary-compact {
    grid-template-columns: 1fr;
  }

  .topbar,
  .layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar {
    min-height: 66px;
    position: sticky;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand h1 {
    font-size: 17px;
  }

  #providerLine {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-actions {
    gap: 6px;
  }

  .docs-link {
    display: none;
  }

  .topnav {
    min-height: 54px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 70;
    border-radius: 999px;
    box-shadow: 0 18px 46px rgba(18, 18, 18, 0.18);
  }

  .topnav a {
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
  }

  .app-shell {
    padding-bottom: 76px;
  }

  .origin-picker {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .search-copy h2 {
    font-size: 22px;
  }

  .search-core,
  .search-filters,
  .metrics,
  .market-strip {
    grid-template-columns: 1fr;
  }

  .search-core .form-row:nth-child(2n) {
    border-left: 0;
  }

  .search-core .form-row {
    min-height: 62px;
  }

  .primary-button {
    width: calc(100% - 24px);
    height: 48px;
    border-radius: 999px;
  }

  .date-range-popover {
    width: min(390px, calc(100vw - 22px));
    left: 50%;
    right: auto;
    transform: none;
    transform: translateX(-50%);
  }

  .date-range-popover::before {
    left: 50%;
    transform: rotate(45deg);
  }

  .opportunity-calendar-shell {
    overflow-x: auto;
  }

  .opportunity-calendar-weekdays,
  .opportunity-calendar {
    min-width: 720px;
  }

  .metric {
    min-height: 70px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-actions,
  .quote-actions,
  .all-options-controls {
    width: 100%;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .package-context {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .quote-actions button,
  .client-input,
  .all-options-controls select,
  .filter-toggle {
    flex: 1 1 140px;
  }

  .opportunity-grid,
  .package-list,
  .all-options-list {
    padding: 12px;
  }

  .detail-body {
    padding: 12px;
  }

  .detail-summary h3 {
    font-size: 23px;
  }

  .detail-summary-head,
  .stay-summary-grid,
  .commercial-breakdown {
    grid-template-columns: 1fr;
  }

  .airline-header {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .airline-header b {
    grid-column: 2;
  }

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

  .flight-segment-card {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .segment-times,
  .segment-route,
  .segment-line,
  .segment-meta {
    grid-column: 2;
  }

  .segment-line {
    justify-items: stretch;
  }

  .option-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .option-meta,
  .option-price {
    grid-column: 2;
    text-align: left;
  }

  .public-nav {
    min-height: 66px;
    padding: 12px 16px;
  }

  .public-brand strong {
    font-size: 18px;
  }

  .public-nav nav {
    gap: 2px;
  }

  .public-nav nav a:not(.agent-link) {
    display: none;
  }

  .public-hero {
    min-height: 680px;
  }

  .public-hero-content {
    padding-bottom: 36px;
  }

  .public-hero-actions,
  .public-contact {
    grid-template-columns: 1fr;
  }

  .public-primary,
  .public-secondary {
    width: 100%;
  }

  .public-destination-grid,
  .public-feature-grid {
    grid-template-columns: 1fr;
  }

  .public-destination-grid article {
    min-height: 260px;
  }

  .public-contact {
    padding: 24px;
  }

  .login-shell {
    width: min(100% - 24px, 520px);
    padding: 12px 0;
  }

  .login-visual {
    min-height: 280px;
  }

  .login-card {
    padding: 22px;
  }
}

/* Final Aero override: keep this as the last visual layer. */
body {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 241, 223, 0.94) 44%, rgba(234, 255, 251, 0.96) 100%),
    linear-gradient(90deg, rgba(255, 138, 34, 0.12), rgba(99, 230, 255, 0.12));
}

.topbar,
.public-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 242, 230, 0.58));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 16px 42px rgba(255, 92, 53, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.brand-logo,
.public-logo {
  filter:
    drop-shadow(0 6px 14px rgba(255, 92, 53, 0.18))
    saturate(1.06);
}

.public-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 210px;
  object-fit: contain;
}

.search-core {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 238, 0.62));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 24px 72px rgba(255, 92, 53, 0.18),
    0 18px 48px rgba(73, 167, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -12px 24px rgba(255, 138, 34, 0.06);
}

.primary-button,
.public-primary,
.origin-chip.active,
.month-chip.active,
.topnav a.active {
  background:
    linear-gradient(180deg, #ffc15c, #ff7a2e 48%, #ff5c35);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 16px 34px rgba(255, 92, 53, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.check-row.compact-check {
  display: none !important;
}

.data-section,
.quote-section,
.metric,
.market-strip,
.package-card,
.option-card,
.detail-panel,
.login-card,
.public-feature-grid article,
.public-contact {
  border-color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 244, 0.6));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 26px 72px rgba(255, 92, 53, 0.12),
    0 16px 52px rgba(73, 167, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.section-heading {
  border-bottom: 1px solid rgba(255, 138, 34, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 243, 232, 0.42));
}

.calendar-day {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.74));
  box-shadow:
    0 8px 18px rgba(18, 18, 18, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.calendar-day.price-good {
  border-color: rgba(91, 255, 197, 0.72);
  background: linear-gradient(145deg, #ecfff7 0%, #caffea 50%, #9cffd4 100%);
  color: #066252;
}

.calendar-day.price-mid {
  border-color: rgba(255, 205, 77, 0.78);
  background: linear-gradient(145deg, #fffcef 0%, #fff1b8 52%, #ffd66a 100%);
  color: #8a4300;
}

.calendar-day.price-high {
  border-color: rgba(255, 128, 142, 0.66);
  background: linear-gradient(145deg, #fff0f0 0%, #ffdfe4 52%, #ffb4ba 100%);
  color: #9b1238;
}

.calendar-day.no-hotel,
.calendar-day.empty {
  border-color: rgba(180, 172, 160, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(238, 235, 229, 0.6));
  color: #8a837a;
}

.calendar-day.selected {
  border-color: rgba(255, 92, 53, 0.86);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(255, 92, 53, 0.82),
    0 18px 36px rgba(255, 92, 53, 0.22);
}

.date-range-popover {
  z-index: 90;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.88));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 26px 70px rgba(255, 92, 53, 0.18),
    0 18px 46px rgba(73, 167, 255, 0.12);
}

.legacy-search-panel {
  display: none !important;
}

.topbar {
  min-height: 104px;
  grid-template-columns: minmax(150px, 210px) minmax(760px, 1000px) auto;
  align-items: center;
  gap: 16px;
  padding: 8px 24px 10px;
}

.topbar-search {
  width: 100%;
  justify-self: center;
  gap: 8px;
}

.topbar-search .search-form {
  width: 100%;
  max-width: 1000px;
  gap: 8px;
}

.topbar-search .origin-picker {
  padding-left: 2px;
}

.topbar-search .origin-chip {
  min-height: 26px;
  min-width: 42px;
  padding: 0 10px;
  font-size: 11px;
}

.topbar-search .origin-chip[data-origin="MEX"] {
  min-width: 54px;
}

.topbar-search .search-core {
  min-height: 54px;
  grid-template-columns: minmax(154px, 0.82fr) minmax(260px, 1.2fr) minmax(260px, 1.2fr) 52px;
  border-radius: 19px;
}

.embedded-filter-row {
  display: none !important;
}

.topbar-search .destination-menu-panel {
  width: min(760px, calc(100vw - 36px));
  max-height: none;
  overflow: visible;
}

.destination-menu-grid {
  display: grid;
  grid-template-columns: minmax(310px, 1fr) 210px;
  gap: 12px;
  align-items: start;
}

.destination-list-section {
  min-width: 0;
}

.destination-list {
  max-height: 302px;
  padding-right: 4px;
  overflow: auto;
  overscroll-behavior: contain;
}

.destination-filter-rail {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 8px;
}

.destination-filter-rail .filter-section {
  padding: 12px;
  border: 1px solid rgba(255, 138, 34, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 236, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(255, 92, 53, 0.06);
}

.destination-filter-rail .filter-section:first-child {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 138, 34, 0.16);
}

.destination-filter-rail .filter-section-options.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-section {
  padding: 8px 4px 4px;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 138, 34, 0.16);
}

.filter-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.filter-section-title {
  padding: 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.filter-section-options {
  display: grid;
  gap: 5px;
}

.filter-section-options.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filter-section-options.compact .filter-option {
  min-height: 34px;
  justify-content: center;
  text-align: center;
}

.filter-section-options.compact .filter-option span {
  justify-self: center;
}

.topbar-search .origin-row .origin-picker {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.topbar-search .search-core .form-row {
  min-height: 54px;
  padding: 6px 12px;
}

.topbar-search .primary-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin-right: 6px;
  border-radius: 14px;
}

.select-row {
  position: relative;
}

.filter-button,
.date-range-button {
  width: 100%;
  min-height: 26px;
  padding: 0;
  border: 0;
  justify-content: flex-start;
  background: transparent;
  color: #111827;
  font-size: 13px;
  font-weight: 950;
  text-align: left;
}

.filter-button span,
.date-range-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid #151515;
  border-bottom: 2px solid #151515;
  transform: rotate(45deg) translateY(-2px);
}

.filter-popover {
  width: max(220px, 100%);
  max-height: 330px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.9));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 26px 70px rgba(255, 92, 53, 0.18),
    0 18px 46px rgba(73, 167, 255, 0.12);
}

.filter-popover::before {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: -6px;
  left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.94);
  transform: rotate(45deg);
}

.filter-option {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.filter-option:hover,
.filter-option.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 240, 230, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filter-option strong {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

.filter-option span {
  min-width: 0;
  overflow: hidden;
  color: #151515;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 850;
}

.filter-option.multi i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 92, 53, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
}

.filter-option.multi.active i {
  border-color: var(--brand);
  background:
    linear-gradient(180deg, #ffc15c, #ff5c35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .brand-logo {
    max-width: 148px;
    height: 40px;
  }

  .public-logo {
    height: 38px;
    max-width: 170px;
  }

  .topbar {
    min-height: auto;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .topbar-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .topbar-search .search-core {
    grid-template-columns: 1fr;
  }

  .topbar-search .search-core .form-row {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 138, 34, 0.18);
  }

  .topbar-search .primary-button {
    width: calc(100% - 12px);
    margin: 6px;
    border-radius: 999px;
  }

  .opportunity-section-actions {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .opportunity-section-actions #statusLine {
    width: 100%;
  }

  .topbar-search .destination-menu-panel {
    width: min(520px, calc(100vw - 24px));
    max-height: 70vh;
    overflow: auto;
  }

  .destination-menu-grid {
    grid-template-columns: 1fr;
  }

  .destination-list {
    max-height: 240px;
  }

  .destination-filter-rail {
    position: static;
  }
}

/* Flight landing final pass: airline-like orange shell. */
.app-shell[data-mode="flights"] .topbar {
  min-height: 150px;
  padding: 18px 28px 22px;
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(620px, 1fr) minmax(90px, 150px);
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 190, 77, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 224, 0.72));
}

.app-shell[data-mode="flights"] .brand {
  align-self: center;
}

.app-shell[data-mode="flights"] .brand-logo {
  width: auto;
  max-width: 180px;
  height: 62px;
  object-fit: contain;
}

.app-shell[data-mode="flights"] .topbar-search {
  width: min(980px, 100%);
  justify-self: center;
}

.app-shell[data-mode="flights"] .topbar-search .search-form {
  max-width: none;
  display: grid;
  gap: 10px;
}

.app-shell[data-mode="flights"] .product-tabs {
  margin: 0 auto 2px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.82);
}

.app-shell[data-mode="flights"] .product-tabs button {
  min-width: 112px;
  min-height: 40px;
  font-size: 14px;
}

.app-shell[data-mode="flights"] .search-core {
  min-height: 70px;
  grid-template-columns: 170px minmax(230px, 1.05fr) minmax(250px, 1.15fr) 170px 64px;
  border-radius: 22px;
}

.app-shell[data-mode="flights"] .search-core .form-row {
  min-height: 70px;
  padding: 10px 14px;
}

.app-shell[data-mode="flights"] .filter-button,
.app-shell[data-mode="flights"] .date-range-button {
  min-height: 34px;
  font-size: 14px;
}

.app-shell[data-mode="flights"] .primary-button {
  width: 52px;
  height: 52px;
  min-height: 52px;
  margin-right: 8px;
  border-radius: 16px;
}

.app-shell[data-mode="packages"] .embedded-filter-row {
  display: grid !important;
}

.app-shell[data-mode="packages"] .topbar-search {
  width: min(1080px, 100%);
  justify-self: center;
}

.app-shell[data-mode="packages"] .search-core {
  min-height: 70px;
  grid-template-columns: 160px minmax(220px, 1.15fr) minmax(250px, 1.15fr) 130px 116px 64px;
  align-items: stretch;
  overflow: visible;
}

.app-shell[data-mode="packages"] .search-core .form-row {
  min-height: 70px;
  padding: 10px 14px;
}

.app-shell[data-mode="packages"] .filter-button,
.app-shell[data-mode="packages"] .date-range-button {
  min-height: 34px;
  font-size: 14px;
}

.app-shell[data-mode="packages"] .embedded-filter-row .filter-button {
  justify-content: space-between;
}

.app-shell[data-mode="packages"] .package-stops-row {
  display: none !important;
}

.landing-content {
  width: min(1160px, calc(100vw - 48px));
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.landing-hero-copy,
.landing-product-grid {
  min-width: 0;
}

.landing-product-card {
  min-width: 0;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.landing-product-card span,
.landing-product-card strong,
.landing-product-card small {
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.landing-product-card strong {
  font-size: clamp(22px, 2.2vw, 28px);
}

.landing-product-card small {
  max-width: 360px;
  font-size: 14px;
}

.fare-grid.inline {
  padding: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.fare-card {
  min-width: 0;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
}

.fare-card strong,
.fare-card p,
.fare-card span {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.fare-card strong {
  font-size: 24px;
  line-height: 1;
}

.fare-card p {
  font-size: 13px;
  line-height: 1.35;
}

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

.passenger-fields .birthdate-field {
  grid-column: 1 / -1;
}

.mock-form-grid input[type="date"] {
  color: var(--ink);
}

@media (max-width: 980px) {
  .app-shell[data-mode="flights"] .topbar {
    min-height: auto;
    grid-template-columns: 1fr auto;
    padding: 12px 14px 16px;
  }

  .app-shell[data-mode="flights"] .brand-logo {
    height: 48px;
    max-width: 170px;
  }

  .app-shell[data-mode="flights"] .topbar-search {
    grid-column: 1 / -1;
    width: 100%;
  }

  .app-shell[data-mode="flights"] .search-core {
    grid-template-columns: 1fr;
  }

  .app-shell[data-mode="packages"] .search-core {
    grid-template-columns: 1fr;
  }

  .landing-content {
    width: min(100% - 24px, 720px);
    grid-template-columns: 1fr;
  }

  .fare-grid.inline,
  .passenger-fields {
    grid-template-columns: 1fr;
  }
}

/* Final winning hero layer: Deviaje airline landing. */
.aero-nav,
.aero-alert,
.aero-hero-copy {
  display: none;
}

.app-shell.is-landing[data-mode] .topbar {
  min-height: 610px;
  padding: 0 30px 46px;
  display: block;
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.42) 0 12%, transparent 13%),
    radial-gradient(circle at 78% 44%, rgba(255, 92, 53, 0.52) 0 13%, transparent 14%),
    linear-gradient(120deg, rgba(255, 92, 53, 0.96), rgba(255, 132, 49, 0.9) 42%, rgba(255, 190, 88, 0.82));
  border-bottom: 0;
  box-shadow: inset 0 -90px 120px rgba(255, 255, 255, 0.32);
}

.app-shell.is-landing[data-mode] .topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 18% 100%),
    radial-gradient(circle at 80% 62%, rgba(28, 82, 69, 0.18), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 18px);
  mix-blend-mode: soft-light;
}

.app-shell.is-landing[data-mode] .brand {
  display: none;
}

.app-shell.is-landing[data-mode] .aero-nav {
  position: relative;
  z-index: 3;
  height: 70px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  color: #fff;
}

.aero-nav-links,
.aero-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(110, 40, 0, 0.22);
}

.aero-nav-links .pill {
  padding: 7px 12px;
  color: #ff5c35;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  text-shadow: none;
}

.aero-nav-brand {
  display: grid;
  place-items: center;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: lowercase;
  text-shadow: 0 16px 34px rgba(118, 42, 0, 0.26);
}

.aero-nav-actions {
  justify-content: flex-end;
}

.aero-nav-actions span {
  padding: 10px 15px;
  color: #ff5c35;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  text-shadow: none;
}

.aero-nav-actions button {
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  color: #fff;
  font: inherit;
  background: #0d7f64;
  box-shadow: 0 12px 28px rgba(0, 91, 67, 0.28);
}

.app-shell.is-landing[data-mode] .aero-alert {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100vw - 60px));
  min-height: 42px;
  margin: 8px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: linear-gradient(90deg, #1598dc, #27b1ef);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 93, 146, 0.24);
}

.aero-alert strong,
.aero-alert em {
  font-style: normal;
  font-weight: 950;
}

.app-shell.is-landing[data-mode] .aero-hero-copy {
  position: relative;
  z-index: 2;
  display: block;
  width: min(1180px, calc(100vw - 60px));
  margin: 34px auto 0;
  color: #fff;
}

.aero-hero-copy span {
  display: block;
  margin-bottom: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.aero-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 46px rgba(105, 38, 0, 0.26);
}

.aero-hero-copy p {
  max-width: 610px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.app-shell.is-landing[data-mode] .top-actions {
  position: absolute;
  z-index: 5;
  right: 28px;
  top: 88px;
}

.app-shell.is-landing[data-mode] .topbar-search {
  position: absolute;
  z-index: 4;
  left: 50%;
  right: auto;
  bottom: -56px;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 60px));
}

.app-shell.is-landing[data-mode] .topbar-search .search-form {
  display: grid;
  gap: 0;
  padding: 16px 22px 22px;
  max-width: none;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 72px rgba(114, 50, 0, 0.22);
  backdrop-filter: blur(20px);
}

.app-shell.is-landing[data-mode] .product-tabs {
  justify-self: start;
  margin: 0 0 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.app-shell.is-landing[data-mode] .product-tabs button {
  min-width: 134px;
  min-height: 44px;
  border-radius: 999px;
}

.app-shell.is-landing[data-mode] .product-tabs button.active {
  background: linear-gradient(180deg, #ff9b38, #ff5c35);
  box-shadow: 0 12px 26px rgba(255, 92, 53, 0.24);
}

.app-shell.is-landing[data-mode] .search-core {
  min-height: 82px;
  border-radius: 24px;
  border: 1px solid rgba(255, 149, 93, 0.3);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  overflow: visible;
}

.app-shell.is-landing[data-mode="flights"] .search-core {
  grid-template-columns: 170px minmax(270px, 1.35fr) minmax(250px, 1fr) 170px 180px;
}

.app-shell.is-landing[data-mode="packages"] .search-core {
  grid-template-columns: 160px minmax(240px, 1fr) minmax(240px, 1fr) 150px 130px 170px;
}

.app-shell.is-landing[data-mode] .search-core .form-row {
  min-height: 82px;
  padding: 12px 18px;
}

.app-shell.is-landing[data-mode] .filter-button,
.app-shell.is-landing[data-mode] .date-range-button {
  min-height: 40px;
  font-size: 16px;
}

.app-shell.is-landing[data-mode] .primary-button {
  width: 100%;
  height: 58px;
  min-height: 58px;
  margin: 12px 0 12px;
  border-radius: 28px;
  box-shadow: 0 14px 30px rgba(255, 92, 53, 0.22);
}

.app-shell.is-landing[data-mode] .primary-button::after {
  content: "Buscar";
  font-size: 17px;
  margin-left: 10px;
}

.app-shell.is-landing[data-mode] .layout {
  padding-top: 94px;
}

.app-shell.is-landing[data-mode] .landing-content {
  display: block;
  width: min(1180px, calc(100vw - 60px));
  margin: 0 auto 26px;
}

.app-shell.is-landing[data-mode] .landing-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-shell.is-landing[data-mode] .landing-product-card {
  min-height: 124px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(91, 45, 0, 0.08);
}

.app-shell.is-landing[data-mode] .landing-product-card.active {
  border-color: rgba(255, 92, 53, 0.7);
}

.app-shell.is-landing[data-mode="flights"] .landing-content {
  display: none;
}

.app-shell.is-active-flow[data-mode] .aero-nav,
.app-shell.is-active-flow[data-mode] .aero-alert,
.app-shell.is-active-flow[data-mode] .aero-hero-copy {
  display: none !important;
}

.app-shell.is-active-flow[data-mode] .topbar {
  min-height: 132px;
}

@media (max-width: 1080px) {
  .app-shell.is-landing[data-mode] .topbar {
    min-height: 720px;
    padding-inline: 18px;
  }

  .app-shell.is-landing[data-mode] .aero-nav {
    grid-template-columns: 1fr auto;
    height: auto;
    padding-top: 14px;
    row-gap: 10px;
  }

  .aero-nav-brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .aero-nav-links,
  .aero-nav-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .app-shell.is-landing[data-mode] .aero-alert,
  .app-shell.is-landing[data-mode] .aero-hero-copy,
  .app-shell.is-landing[data-mode] .topbar-search,
  .app-shell.is-landing[data-mode] .landing-content {
    width: min(100% - 24px, 760px);
  }

  .app-shell.is-landing[data-mode] .topbar-search {
    bottom: -76px;
  }

  .app-shell.is-landing[data-mode="flights"] .search-core,
  .app-shell.is-landing[data-mode="packages"] .search-core {
    grid-template-columns: 1fr;
  }

  .app-shell.is-landing[data-mode] .primary-button {
    margin: 8px 0 0;
  }

  .app-shell.is-landing[data-mode] .layout {
    padding-top: 118px;
  }

  .app-shell.is-landing[data-mode] .landing-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Final visibility and flight date rail polish */
.app-shell[data-mode="flights"] .landing-content,
.app-shell.is-active-flow[data-mode] .landing-content,
.landing-content[hidden] {
  display: none !important;
}

.flight-date-chip {
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
}

.flight-date-chip .flight-date-day {
  color: #182025;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.05;
}

.flight-date-chip .flight-date-price {
  color: #087668;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.flight-date-chip.active .flight-date-day,
.flight-date-chip.active .flight-date-price {
  color: #fff;
}

/* Public-facing copy/search polish */
.product-tabs .product-disabled {
  opacity: 0.55;
  cursor: default;
}

.primary-button,
.topbar-search .primary-button,
.app-shell.is-landing[data-mode] .primary-button {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 56px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: transparent;
  font-size: 0;
}

.primary-button > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.app-shell.is-landing[data-mode] .primary-button::after,
.primary-button::after {
  content: "";
  width: 10px;
  height: 3px;
  display: block;
  flex: 0 0 auto;
  margin-left: -3px;
  margin-top: 14px;
  background: #fff;
  border-radius: 999px;
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
}

.app-shell[data-mode="packages"] .landing-content,
.app-shell[data-mode="hotels"] .landing-content {
  display: none !important;
}

.app-shell[data-mode="hotels"] .package-only-row,
.app-shell[data-mode="hotels"] .origin-row {
  display: none !important;
}

.app-shell[data-mode="hotels"] .search-core {
  min-height: 70px;
  grid-template-columns: minmax(340px, 1.4fr) minmax(260px, 1fr) minmax(180px, 0.65fr) 64px;
  align-items: stretch;
}

.app-shell[data-mode="hotels"] .search-core .form-row {
  min-height: 70px;
  padding: 10px 14px;
}

.app-shell[data-mode="hotels"] .flight-only-row label::before {
  content: "Habitaciones";
  font-size: 12px;
}

.app-shell[data-mode="hotels"] .flight-only-row label {
  font-size: 0;
}

.hotel-workspace {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto 26px;
}

.hotel-results-panel {
  border: 1px solid rgba(255, 138, 34, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(80, 43, 0, 0.08);
}

.hotel-placeholder-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hotel-placeholder-grid article {
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(255, 138, 34, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 236, 0.74));
}

.hotel-placeholder-grid strong,
.hotel-placeholder-grid span {
  display: block;
}

.hotel-placeholder-grid strong {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 950;
}

.hotel-placeholder-grid span {
  color: var(--muted);
  font-weight: 750;
}

/* Final visual polish: public hero/search should read cleanly and never overlap. */
.app-shell.is-landing[data-mode] .topbar {
  min-height: 600px !important;
  padding-bottom: 132px !important;
}

.app-shell.is-landing[data-mode] .aero-hero-copy {
  margin-top: 26px !important;
}

.app-shell.is-landing[data-mode] .aero-hero-copy h1 {
  max-width: 760px !important;
  font-size: clamp(48px, 5.8vw, 78px) !important;
  line-height: 0.98 !important;
}

.app-shell.is-landing[data-mode] .aero-hero-copy p {
  max-width: 690px !important;
  margin-top: 18px !important;
}

.app-shell.is-landing[data-mode] .topbar-search {
  bottom: -12px !important;
}

.app-shell.is-landing[data-mode] .primary-button,
.app-shell.is-landing[data-mode] .topbar-search .primary-button,
.topbar-search .primary-button {
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 58px !important;
  margin: 12px 0 !important;
  border-radius: 18px !important;
}

.app-shell.is-landing[data-mode] .search-core {
  grid-template-columns: 170px minmax(270px, 1.35fr) minmax(250px, 1fr) 170px 64px !important;
}

.app-shell.is-landing[data-mode="packages"] .search-core {
  grid-template-columns: 160px minmax(240px, 1fr) minmax(240px, 1fr) 150px 130px 64px !important;
}

.flight-expanded-detail {
  grid-template-columns: minmax(170px, 1fr) minmax(320px, 1.35fr) minmax(190px, 0.9fr);
}

.flight-line-mini {
  grid-template-columns: minmax(88px, max-content) minmax(92px, 1fr) minmax(88px, max-content);
  gap: 14px;
  min-width: 0;
}

.flight-line-mini b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.flight-line-mini i {
  min-width: 88px;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .app-shell[data-mode="hotels"] .search-core {
    grid-template-columns: 1fr;
  }

  .hotel-placeholder-grid {
    grid-template-columns: 1fr;
  }

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

  .flight-line-mini {
    grid-template-columns: minmax(76px, max-content) minmax(80px, 1fr) minmax(76px, max-content);
  }
}

/* Hotels search + equal product tabs */
.product-tabs,
.app-shell[data-mode="flights"] .product-tabs,
.app-shell.is-landing[data-mode] .product-tabs {
  display: flex;
  align-items: center;
}

.product-tabs button,
.app-shell[data-mode="flights"] .product-tabs button,
.app-shell.is-landing[data-mode] .product-tabs button {
  flex: 0 0 126px;
  width: 126px;
  min-width: 126px;
  max-width: 126px;
  padding-inline: 0;
  text-align: center;
}

.hotel-status {
  padding: 18px 24px 0;
  color: var(--muted);
  font-weight: 800;
}

.hotel-inline-search {
  position: relative;
  margin: 18px 24px 0;
  display: grid;
  gap: 7px;
}

.hotel-inline-search label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hotel-inline-search input {
  width: min(560px, 100%);
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 138, 34, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 240, 0.84));
  color: var(--ink);
  font-weight: 850;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hotel-inline-search input:focus {
  border-color: rgba(255, 92, 53, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 92, 53, 0.12);
}

.hotel-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  width: min(560px, 100%);
  padding: 8px;
  border: 1px solid rgba(255, 138, 34, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 70px rgba(16, 24, 32, 0.14);
}

.hotel-suggestions button {
  width: 100%;
  min-height: 54px;
  padding: 8px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "image title"
    "image subtitle";
  align-items: center;
  gap: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.hotel-suggestions button:hover {
  background: rgba(255, 92, 53, 0.08);
}

.hotel-suggestions img,
.hotel-suggestions button > span {
  grid-area: image;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 138, 34, 0.12);
}

.hotel-suggestions strong {
  grid-area: title;
  font-size: 14px;
  font-weight: 950;
}

.hotel-suggestions small {
  grid-area: subtitle;
  color: var(--muted);
  font-weight: 760;
}

.hotel-suggestion-empty {
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.hotel-suggestion-empty strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.hotel-suggestion-empty small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hotel-results-grid {
  padding: 22px 24px 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hotel-result-card {
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 138, 34, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 245, 0.9)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(44, 28, 16, 0.08);
}

.hotel-result-card figure {
  height: 190px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 242, 231, 0.82), rgba(244, 252, 247, 0.82));
}

.hotel-result-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-result-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}

.hotel-result-body header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hotel-result-body header strong {
  display: block;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 950;
}

.hotel-result-body header small,
.hotel-result-body p {
  color: var(--muted);
  font-weight: 760;
}

.hotel-result-body header b {
  white-space: nowrap;
  font-size: 20px;
  font-weight: 950;
}

.hotel-result-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #08735f;
  font-weight: 900;
}

.hotel-result-rating span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(4, 130, 101, 0.09);
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hotel-amenities span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hotel-result-card .secondary-button {
  margin-top: auto;
  align-self: flex-start;
}

.hotel-result-card.skeleton figure,
.hotel-result-card.skeleton strong,
.hotel-result-card.skeleton small,
.hotel-result-card.skeleton b,
.hotel-result-card.skeleton p,
.hotel-result-card.skeleton .hotel-amenities span {
  color: transparent;
  background: linear-gradient(90deg, rgba(255, 231, 213, 0.55), rgba(255, 255, 255, 0.95), rgba(255, 231, 213, 0.55));
  background-size: 240% 100%;
  animation: hotelPulse 1.25s ease-in-out infinite;
}

.hotel-result-card.skeleton strong,
.hotel-result-card.skeleton small,
.hotel-result-card.skeleton b,
.hotel-result-card.skeleton p {
  display: block;
  min-height: 16px;
  border-radius: 10px;
}

@keyframes hotelPulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.hotel-detail-panel {
  padding: 8px 4px 24px;
}

.hotel-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.hotel-detail-hero figure {
  min-height: 320px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 242, 231, 0.82), rgba(244, 252, 247, 0.82));
  color: var(--muted);
  font-weight: 900;
}

.hotel-detail-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-detail-hero h2 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hotel-detail-hero p {
  color: var(--muted);
  font-weight: 800;
}

.hotel-amenities.large {
  margin-top: 18px;
}

.hotel-detail-section {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 138, 34, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.hotel-detail-section h3 {
  margin: 0 0 12px;
}

.hotel-offer-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 850;
}

.hotel-offer-row:first-of-type {
  border-top: 0;
}

.hotel-offer-row a {
  color: #d83a16;
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hotel-results-grid,
  .hotel-detail-hero {
    grid-template-columns: 1fr;
  }
}
