/* =====================================================================
   Aether — Clic Air design system (Lovable parity, plain CSS)
   Tokens: HSL components only in custom properties (no hsl() in vars)
   Build: 20260519-v18
   ===================================================================== */
@import url("unbounded.css");
@import url("cms_font_sizes.css");
@import url("aether-flight-loader.css");

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 8%;
  --surface: 0 0% 100%;
  --surface-foreground: 0 0% 8%;
  --beige: 36 45% 93%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 8%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 8%;
  --primary: 346 100% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 8%;
  --secondary-foreground: 0 0% 100%;
  --wine: 351 98% 25%;
  --wine-foreground: 0 0% 100%;
  --muted: 36 30% 95%;
  --muted-foreground: 0 0% 43%;
  --accent: 36 45% 96%;
  --accent-foreground: 0 0% 8%;
  --destructive: 0 84% 50%;
  --destructive-foreground: 0 0% 100%;
  --success: 152 60% 35%;
  --success-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 346 100% 45%;
  --radius: 0.875rem;
  --shadow-soft: 0 6px 24px -10px hsl(0 0% 8% / 0.18);
  --shadow-elevated: 0 18px 48px -18px hsl(351 98% 25% / 0.25);
  --gradient-brand: linear-gradient(135deg, hsl(346 100% 45%), hsl(351 98% 25%));
  --gradient-soft: linear-gradient(180deg, hsl(0 0% 100%), hsl(36 45% 97%));
  /* ATR: el SVG mira ~NE; 42° deja la nariz al este (origen → destino) sin bajar. */
  --aether-atr-size: 2.75rem;
  --aether-atr-rotate: 42deg;
}

html.dark {
  --background: 0 0% 8%;
  --foreground: 36 45% 93%;
  --surface: 0 0% 12%;
  --surface-foreground: 36 45% 93%;
  --card: 0 0% 12%;
  --card-foreground: 36 45% 93%;
  --popover: 0 0% 12%;
  --popover-foreground: 36 45% 93%;
  --primary: 346 100% 55%;
  --primary-foreground: 0 0% 8%;
  --secondary: 36 45% 93%;
  --secondary-foreground: 0 0% 8%;
  --wine: 351 98% 32%;
  --wine-foreground: 0 0% 100%;
  --muted: 0 0% 18%;
  --muted-foreground: 36 10% 70%;
  --accent: 0 0% 18%;
  --accent-foreground: 36 45% 93%;
  --border: 0 0% 22%;
  --input: 0 0% 22%;
  --ring: 346 100% 55%;
  --gradient-soft: linear-gradient(180deg, hsl(0 0% 8%), hsl(0 0% 12%));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body.aether-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Unbounded', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
  /* Inter ss01/cv11 + Unbounded dibuja dígitos en círculo (①). */
  font-feature-settings: normal;
  font-variant-ligatures: none;
  overflow: visible;
  line-height: 1.28;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: hsl(var(--primary));
  text-decoration: none;
}
a:hover {
  color: hsl(var(--wine));
}

/* ── Layout primitives (non-Tailwind names) ─────────────────────── */
.clic-section {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .clic-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.clic-wide {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .clic-wide {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.ae-flex { display: flex; }
.ae-inline-flex { display: inline-flex; }
.ae-grid { display: grid; }
.ae-block { display: block; }
.ae-inline-block { display: inline-block; }
.ae-hidden { display: none !important; }

.ae-items-start { align-items: flex-start; }
.ae-items-center { align-items: center; }
.ae-items-end { align-items: flex-end; }
.ae-justify-start { justify-content: flex-start; }
.ae-justify-center { justify-content: center; }
.ae-justify-between { justify-content: space-between; }
.ae-justify-end { justify-content: flex-end; }
.ae-flex-wrap { flex-wrap: wrap; }
.ae-flex-col { flex-direction: column; }
.ae-flex-1 { flex: 1 1 0%; }
.ae-shrink-0 { flex-shrink: 0; }

.ae-gap-1 { gap: 0.25rem; }
.ae-gap-2 { gap: 0.5rem; }
.ae-gap-3 { gap: 0.75rem; }
.ae-gap-4 { gap: 1rem; }
.ae-gap-5 { gap: 1.25rem; }
.ae-gap-6 { gap: 1.5rem; }

.ae-text-center { text-align: center; }
.ae-text-right { text-align: right; }
.ae-text-left { text-align: left; }

.ae-w-full { width: 100%; }
.ae-min-w-0 { min-width: 0; }
.ae-relative { position: relative; }
.ae-absolute { position: absolute; }
.ae-fixed { position: fixed; }
.ae-inset-0 { inset: 0; }
.ae-z-10 { z-index: 10; }
.ae-z-20 { z-index: 20; }
.ae-z-40 { z-index: 40; }
.ae-z-50 { z-index: 50; }
.ae-z-60 { z-index: 60; }

.ae-rounded-full { border-radius: 9999px; }
.ae-rounded-xl { border-radius: var(--radius); }
.ae-rounded-2xl { border-radius: 1.25rem; }
.ae-rounded-3xl { border-radius: 1.75rem; }

.ae-border-0 { border: 0 !important; }
.ae-border-2 { border-width: 2px; border-style: solid; }

.ae-p-2 { padding: 0.5rem; }
.ae-p-3 { padding: 0.75rem; }
.ae-p-4 { padding: 1rem; }
.ae-p-5 { padding: 1.25rem; }
.ae-p-6 { padding: 1.5rem; }
.ae-p-8 { padding: 2rem; }
.ae-py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.ae-py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.ae-py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.ae-py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.ae-py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.ae-py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.ae-py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.ae-py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.ae-py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.ae-px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.ae-px-4 { padding-left: 1rem; padding-right: 1rem; }
.ae-px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.ae-px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.ae-mt-2 { margin-top: 0.5rem; }
.ae-mt-3 { margin-top: 0.75rem; }
.ae-mt-4 { margin-top: 1rem; }
.ae-mt-5 { margin-top: 1.25rem; }
.ae-mt-6 { margin-top: 1.5rem; }
.ae-mt-8 { margin-top: 2rem; }
.ae-mt-10 { margin-top: 2.5rem; }
.ae-mt-12 { margin-top: 3rem; }
.ae-mt-14 { margin-top: 3.5rem; }
.ae-mt-16 { margin-top: 4rem; }
.ae-mt-20 { margin-top: 5rem; }
.ae-mt-24 { margin-top: 6rem; }
.ae-mb-4 { margin-bottom: 1rem; }
.ae-mb-6 { margin-bottom: 1.5rem; }
.ae-mb-8 { margin-bottom: 2rem; }
.ae-mb-10 { margin-bottom: 2.5rem; }
.ae-mb-12 { margin-bottom: 3rem; }
.ae-mb-16 { margin-bottom: 4rem; }
.ae-mb-0 { margin-bottom: 0; }
.ae-mb-2 { margin-bottom: 0.5rem; }
.ae-mb-3 { margin-bottom: 0.75rem; }
.ae-mb-4 { margin-bottom: 1rem; }
.ae-mb-20 { margin-bottom: 5rem; }
.ae-mx-auto { margin-left: auto; margin-right: auto; }
.ae-ml-auto { margin-left: auto; }

.ae-space-y-1 > * + * { margin-top: 0.25rem; }
.ae-space-y-2 > * + * { margin-top: 0.5rem; }
.ae-space-y-3 > * + * { margin-top: 0.75rem; }

/* ── Semantic colors (utilities) ─────────────────────────────────── */
.bg-background { background-color: hsl(var(--background)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-surface { background-color: hsl(var(--surface)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-wine { background-color: hsl(var(--wine)); }
.bg-success { background-color: hsl(var(--success)); }
.bg-gradient-brand { background-image: var(--gradient-brand); }
.bg-gradient-soft { background-image: var(--gradient-soft); }

.text-background { color: hsl(var(--background)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-surface-foreground { color: hsl(var(--surface-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-wine { color: hsl(var(--wine)); }
.text-success { color: hsl(var(--success)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }
.text-success-foreground { color: hsl(var(--success-foreground)); }

.border-border { border-color: hsl(var(--border)); }
.border-foreground-15 { border-color: hsl(var(--foreground) / 0.15); }
.border-background-25 { border-color: hsl(var(--background) / 0.25); }

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-elevated { box-shadow: var(--shadow-elevated); }

/* ── Components ─────────────────────────────────────────────────── */
.clic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.clic-card {
  border-radius: 1.25rem;
  background: hsl(var(--surface));
  color: hsl(var(--surface-foreground));
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border) / 0.6);
}

html:not(.dark) .clic-card,
html[data-aether-theme="light"] .clic-card {
  border-color: hsl(var(--primary) / 0.25);
}

.ae-card {
  border-radius: 1.25rem;
  border: 1px solid hsl(var(--border) / 0.6);
}

html:not(.dark) .ae-card,
html[data-aether-theme="light"] .ae-card {
  border-color: hsl(var(--primary) / 0.25);
}

.clic-card-muted {
  background: hsl(var(--muted) / 0.4);
}

/* Aviso del sitio, luego franja STAGE/KIU, luego la barra negra. */
.aether-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.aether-chrome > .aether-news-banner { order: 1; }
.aether-chrome > .aether-testmode { order: 2; }
.aether-chrome > .aether-topbar { order: 3; }

/* Topbar — mismo fondo que footer (siempre oscuro, texto blanco) */
.aether-topbar {
  position: relative;
  top: auto;
  z-index: 1;
  width: 100%;
  border-bottom: 1px solid hsl(0 0% 22%);
  background: hsl(0 0% 8%);
  color: hsl(0 0% 100%);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.aether-chrome > .aether-testmode,
.aether-topbar .aether-testmode {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid hsl(var(--wine) / 0.35);
}
.aether-news-banner {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.aether-topbar-inner {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: none;
  overflow: visible;
  position: relative;
  flex-wrap: nowrap;
}

.aether-topbar-left {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  margin-left: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
}

.aether-topbar-brand-slot {
  position: relative;
  flex: 0 0 10.5rem;
  width: 10.5rem;
  display: block;
  height: 4.5rem;
  padding: 0;
  margin: 0;
  overflow: visible;
  z-index: 2;
}

.aether-topbar-nav-gap {
  position: relative;
  z-index: 2;
  margin-left: 1.35rem;
  flex-shrink: 0;
}

.aether-topbar a {
  color: hsl(0 0% 100% / 0.88);
}
.aether-topbar a:hover {
  color: hsl(346 100% 55%);
}

.aether-topbar-navlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: hsl(0 0% 100% / 0.92);
  padding: 0.35rem 0.15rem;
}
.aether-topbar-navlink i {
  font-size: 1.1rem;
  opacity: 0.95;
}
.aether-topbar-navlink:hover {
  color: hsl(346 100% 55%);
}

.aether-topbar-navlink--checkin {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: hsl(0 0% 100%) !important;
}
.aether-topbar-navlink--checkin:hover {
  color: hsl(0 0% 100% / 0.82) !important;
}

.aether-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.22);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  color: hsl(0 0% 100% / 0.92);
  cursor: pointer;
}
.aether-topbar-pill:hover {
  border-color: hsl(346 100% 55%);
  color: hsl(346 100% 55%);
}

[data-aether-dropdown="cur"].is-currency-locked .aether-topbar-pill {
  cursor: default;
  opacity: 0.92;
}
[data-aether-dropdown="cur"].is-currency-locked .aether-topbar-pill:hover {
  border-color: hsl(0 0% 100% / 0.22);
  color: hsl(0 0% 100% / 0.92);
}
[data-aether-dropdown="cur"].is-currency-locked .aether-dropdown-item.is-disabled,
[data-aether-dropdown="cur"].is-currency-locked .aether-dropdown-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.aether-topbar-right {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.aether-topbar-iconbtn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.22);
  background: transparent;
  color: hsl(0 0% 100% / 0.92);
  cursor: pointer;
}
.aether-topbar-iconbtn:hover {
  border-color: hsl(346 100% 55%);
  color: hsl(346 100% 55%);
}

.aether-topbar .aether-dropdown-item {
  color: hsl(var(--foreground));
}

.ae-logo-mask {
  display: inline-block;
  line-height: 0;
  border-radius: 0.35rem;
}

html:not(.dark) .ae-logo-mask,
html[data-aether-theme="light"] .ae-logo-mask {
  background: #fff;
  mix-blend-mode: multiply;
}

html.dark .ae-logo-mask,
html[data-aether-theme="dark"] .ae-logo-mask {
  background: transparent;
  mix-blend-mode: normal;
}

/* Topbar oscura: logo rojo fijo (mismo aspecto que en tema dark) */
.aether-topbar .ae-logo-mask {
  background: transparent !important;
  mix-blend-mode: normal !important;
  width: 10.5rem;
  height: auto;
  overflow: visible;
  display: block;
  line-height: 0;
}

.aether-topbar-logo-link {
  position: absolute;
  left: 0;
  /* Ancla al fondo de la barra y baja un poco para que no se corte arriba */
  bottom: -1.6rem;
  z-index: 2;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
  height: auto;
  width: 10.5rem;
  pointer-events: auto;
  overflow: visible;
}

.aether-topbar .aether-topbar-logo-link .ae-logo {
  display: block;
  height: 2.9rem;
  width: auto;
  max-width: none;
  max-height: none;
  transform: scale(2.35);
  transform-origin: left bottom;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 3px 10px hsl(346 100% 45% / 0.35));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.aether-topbar .aether-topbar-logo-link:hover .ae-logo {
  transform: scale(2.42);
  filter: drop-shadow(0 5px 14px hsl(346 100% 50% / 0.45));
}

.ae-logo {
  display: block;
  height: 3.75rem;
  width: auto;
  max-width: 10.5rem;
  object-fit: contain;
}

.aether-dropdown-panel {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 11rem;
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.aether-dropdown-panel--wide {
  width: 12rem;
}

.aether-dropdown-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.aether-dropdown-item:hover {
  background: hsl(var(--muted));
}

.aether-search-pop {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  border-top: 1px solid hsl(0 0% 90%);
  background: #fff;
  color: #1a1a1a;
  overflow: visible;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
  box-shadow: 0 18px 40px -16px hsl(0 0% 8% / 0.35);
  border-radius: 0 0 1rem 1rem;
}

html:not(.dark) .aether-search-pop,
html[data-aether-theme="light"] .aether-search-pop,
html.dark .aether-search-pop {
  background: #fff;
  border-top-color: hsl(var(--primary) / 0.14);
  color: #1a1a1a;
}

.aether-search-pop[hidden] {
  display: none !important;
}

.aether-search-pop:not([hidden]) {
  display: block;
}

.aether-search-pop.is-open {
  opacity: 1;
  transform: translateY(0);
}

.aether-search-pop input[type="search"],
.aether-search-pop .text-foreground {
  color: #1a1a1a !important;
}
.aether-search-pop .text-muted-foreground {
  color: #5c6578 !important;
}
.aether-search-pop .bg-background {
  background: #fff !important;
}
.aether-search-close {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 94%);
  color: #1a1a1a;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
.aether-search-close:hover {
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}
.aether-error-hero {
  text-align: center;
  padding: 4.5rem 1.25rem 5rem;
  max-width: 36rem;
  margin-inline: auto;
}
.aether-error-code {
  margin: 0;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: hsl(var(--primary));
  line-height: 1;
}
.aether-error-title {
  margin: 0.6rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
}
.aether-error-lead {
  margin: 0.75rem 0 0;
  font-size: 1.02rem;
}
.aether-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.aether-search-pop.is-closing {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms ease-in, transform 200ms ease-in;
}

/* Lupa: resultados site_search (Ayuda v1) — overlay compacto */
.aether-site-search-results {
  max-width: 42rem;
  margin: 0.65rem auto 0.85rem;
  max-height: min(52vh, 380px);
  overflow: auto;
  padding: 0;
  background: transparent;
}
.aether-site-search-results:empty {
  display: none;
  margin: 0;
  max-height: 0;
}
.aether-site-search-results:not(:empty) {
  background: #fff;
  border: 1px solid hsl(0 0% 90%);
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px -14px hsl(0 0% 8% / 0.28);
  padding: 0.55rem 0.65rem 0.45rem;
}
.aether-site-search-group { margin-bottom: 0.55rem; }
.aether-site-search-group:last-of-type { margin-bottom: 0.15rem; }
.aether-site-search-group__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5c6578 !important;
  margin-bottom: 0.35rem;
  padding-inline: 0.25rem;
}
.aether-site-search-item {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 0.55rem;
  text-decoration: none;
  color: #1a1a1a !important;
  background: #f7f8fa;
  border: 1px solid transparent;
  margin-bottom: 0.3rem;
}
.aether-search-pop a.aether-site-search-item,
.aether-topbar a.aether-site-search-item {
  color: #1a1a1a !important;
}
.aether-site-search-item:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: #fff;
  color: #1a1a1a !important;
}
.aether-topbar a.aether-site-search-item:hover {
  color: hsl(var(--primary)) !important;
}
.aether-site-search-item__title { font-weight: 700; font-size: 0.88rem; color: #1a1a1a; }
.aether-site-search-item__meta {
  font-size: 0.72rem;
  color: hsl(var(--primary));
  font-weight: 700;
}
.aether-site-search-item__sub {
  font-size: 0.78rem;
  color: #5c6578;
}
.aether-site-search-footer { text-align: center; padding: 0.35rem; }
.aether-site-search-footer a {
  font-size: 0.84rem;
  font-weight: 700;
  color: hsl(var(--primary)) !important;
  text-decoration: none;
}
.aether-site-search-empty {
  text-align: center;
  color: #5c6578;
  font-size: 0.84rem;
  padding: 0.65rem;
}

.aether-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.aether-drawer-overlay[hidden] {
  display: none;
}

.aether-drawer-overlay:not([hidden]) {
  display: block;
}

.aether-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(0 0% 0% / 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.aether-drawer-overlay.is-open .aether-drawer-backdrop {
  opacity: 1;
}

.aether-drawer-overlay.is-closing .aether-drawer-backdrop {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.aether-drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 88%;
  max-width: 24rem;
  background: hsl(0 0% 8%);
  color: hsl(0 0% 100%);
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.aether-drawer-overlay.is-open .aether-drawer {
  transform: translateX(0);
  opacity: 1;
}

.aether-drawer-overlay.is-closing .aether-drawer {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Footer — siempre oscuro, esquinas superiores redondeadas (inferiores cuadradas) */
.aether-footer {
  margin-top: 5rem;
  border-top: 1px solid hsl(0 0% 22%);
  background: hsl(0 0% 8%);
  color: hsl(0 0% 100%);
  border-radius: 0;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}
.aether-footer-inner {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .aether-footer-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
.aether-footer a {
  color: hsl(0 0% 100% / 0.72);
}
.aether-footer a:hover {
  color: hsl(346 100% 55%);
}
.aether-footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(0 0% 100%);
  margin: 0 0 1rem;
}
.aether-footer-logo {
  display: block;
  height: 7.15rem;
  width: auto;
  max-width: 22rem;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.aether-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.aether-footer-social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: hsl(0 0% 100% / 0.1);
  color: hsl(0 0% 100%);
}
.aether-footer-social a:hover {
  background: hsl(346 100% 45%);
  color: hsl(0 0% 100%);
}
.aether-footer-supertransporte__logo {
  display: block;
  height: 4rem;
  width: auto;
  max-width: min(100%, 16rem);
  opacity: 0.95;
}

.aether-footer-grid {
  display: grid;
  width: 100%;
  gap: 2.5rem;
  padding: 3.5rem 0;
  justify-items: start;
}
@media (min-width: 768px) {
  .aether-footer-grid {
    grid-template-columns: minmax(16rem, 1.5fr) repeat(auto-fit, minmax(9rem, 1fr));
  }
}

.aether-footer-links {
  list-style: none;
  padding: 0;
  color: hsl(0 0% 100% / 0.7);
}

.aether-drawer-link {
  color: hsl(0 0% 100% / 0.92);
  border-bottom: 1px solid hsl(0 0% 100% / 0.06);
}

.aether-drawer-link--toggle {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid hsl(0 0% 100% / 0.06);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.aether-drawer-link--toggle .aether-drawer-chevron {
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.aether-drawer-group.is-open .aether-drawer-chevron {
  transform: rotate(180deg);
}

.aether-drawer-submenu {
  background: hsl(0 0% 100% / 0.04);
  border-bottom: 1px solid hsl(0 0% 100% / 0.06);
}

.aether-drawer-link--child {
  padding-left: 2.75rem;
  font-weight: 500;
  opacity: 0.92;
}

.aether-drawer-link--text {
  opacity: 0.75;
  cursor: default;
  white-space: pre-line;
  line-height: 1.45;
}

.aether-footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  opacity: 0.85;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.aether-footer-text-line {
  display: block;
}
.aether-footer-text-line.is-blank {
  min-height: 1.5rem;
}
.cms-rich-content [data-aether-cms-btn-wrap],
.aether-vlog-body [data-aether-cms-btn-wrap] {
  display: block;
}
.cms-rich-content [data-aether-cms-btn-wrap] .aether-cms-btn,
.aether-vlog-body [data-aether-cms-btn-wrap] .aether-cms-btn {
  display: inline-block;
}
.cms-rich-content [data-aether-cms-btn-wrap][data-align],
.aether-vlog-body [data-aether-cms-btn-wrap][data-align],
.accordion-body [data-aether-cms-btn-wrap][data-align] {
  text-align: inherit !important;
}
.cms-rich-content [data-aether-cms-btn-wrap][data-align] .aether-cms-btn,
.aether-vlog-body [data-aether-cms-btn-wrap][data-align] .aether-cms-btn,
.accordion-body [data-aether-cms-btn-wrap][data-align] .aether-cms-btn {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.cms-rich-content [data-aether-cms-btn-wrap][data-align="left"] .aether-cms-btn,
.aether-vlog-body [data-aether-cms-btn-wrap][data-align="left"] .aether-cms-btn,
.accordion-body [data-aether-cms-btn-wrap][data-align="left"] .aether-cms-btn {
  margin-left: 0;
  margin-right: auto;
}
.cms-rich-content [data-aether-cms-btn-wrap][data-align="center"] .aether-cms-btn,
.aether-vlog-body [data-aether-cms-btn-wrap][data-align="center"] .aether-cms-btn,
.accordion-body [data-aether-cms-btn-wrap][data-align="center"] .aether-cms-btn {
  margin-left: auto;
  margin-right: auto;
}
.cms-rich-content [data-aether-cms-btn-wrap][data-align="right"] .aether-cms-btn,
.aether-vlog-body [data-aether-cms-btn-wrap][data-align="right"] .aether-cms-btn,
.accordion-body [data-aether-cms-btn-wrap][data-align="right"] .aether-cms-btn {
  margin-left: auto;
  margin-right: 0;
}

.aether-footer-copy {
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(0 0% 100% / 0.55);
}

/* Main */
.aether-main {
  flex: 1;
}

/* Test mode strip */
.aether-testmode {
  background: hsl(var(--wine));
  color: hsl(var(--wine-foreground));
  text-align: center;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
}

/* Search engine */
.aether-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.aether-search-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: hsl(var(--muted) / 0.6);
  color: hsl(var(--muted-foreground));
}
.aether-search-tab:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}
.aether-search-tab.is-active {
  background: hsl(var(--surface));
  color: hsl(var(--primary));
  border-color: hsl(var(--border));
  border-bottom-color: transparent;
  box-shadow: var(--shadow-soft);
}

.aether-search-card {
  border-radius: 0 1.25rem 1.25rem 1.25rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-elevated);
}

/* Cambio de vuelo — buscador ultra-compacto (columna, tipografía chica) */
.aether-exchange-search-wrap {
  overflow: visible;
}
.aether-exchange-search-card {
  padding: 0.7rem 0.85rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid hsl(var(--primary) / 0.22) !important;
  background: hsl(var(--surface)) !important;
  box-shadow: 0 2px 10px hsl(var(--primary) / 0.06);
  overflow: visible;
}
.aether-exchange-search-head {
  margin-bottom: 0.5rem !important;
}
.aether-exchange-search-head h3 {
  font-size: 0.85rem;
}
.aether-exchange-search-head p {
  font-size: 0.72rem;
  line-height: 1.35;
}
.aether-exchange-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.18);
}
/* Columna fija: origen/destino con el mismo ancho (lista sin cortar) */
.aether-exchange-search-grid.aether-search-grid,
.aether-exchange-search-grid.aether-search-grid--ow,
.aether-exchange-search-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  grid-template-columns: none !important;
}
.aether-exchange-search-grid .aether-field {
  min-height: 0 !important;
  padding: 0.3rem 0.55rem !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.aether-exchange-search-grid .aether-field:has(input[type="date"]) {
  min-height: 0 !important;
  padding-bottom: 0.3rem !important;
}
.aether-exchange-search-grid .aether-field-label {
  font-size: 0.7rem;
  margin-bottom: 0.1rem;
  letter-spacing: 0.03em;
}
.aether-exchange-search-grid .form-control,
.aether-exchange-search-grid .aether-combobox-input,
.aether-exchange-search-grid .form-select,
.aether-exchange-search-grid .aether-field .form-control,
.aether-exchange-search-grid .aether-field .form-select {
  font-size: 0.84rem !important;
  font-weight: 600;
  min-height: 1.9rem !important;
  height: 1.9rem !important;
  line-height: 1.25 !important;
  padding: 0.15rem 0.5rem 0.15rem 1.7rem !important;
}
.aether-exchange-search-grid .aether-field input[type="date"] {
  min-height: 1.9rem !important;
  line-height: 1.9rem !important;
  font-size: 0.84rem !important;
}
.aether-exchange-search-grid .aether-field-row {
  min-height: 1.9rem !important;
  padding: 0.15rem 0.2rem !important;
}
.aether-exchange-search-grid .ae-search-icon {
  font-size: 0.85rem;
  left: 0.4rem;
}
.aether-exchange-search-grid .aether-autocomplete {
  position: absolute;
  z-index: 500;
  max-height: 11rem;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-y: auto;
  overflow-x: hidden;
  word-break: break-word;
  width: 100%;
  min-width: 100%;
  max-width: min(24rem, 94vw);
  left: 0;
  right: auto;
  box-sizing: border-box;
}
.aether-exchange-search-grid .aether-autocomplete [role="option"],
.aether-exchange-search-grid .aether-autocomplete .aether-ac-item,
.aether-exchange-search-grid .aether-autocomplete button {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  white-space: normal !important;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
  font-size: 0.8rem;
  height: auto;
  min-height: 0;
}
.aether-exchange-search-grid .aether-autocomplete .aether-airport-option-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}
.aether-exchange-search-grid .aether-autocomplete .iata,
.aether-exchange-search-grid .aether-autocomplete .iata--parens {
  flex: 0 0 auto;
  font-size: 0.8rem;
  min-width: 0;
}
.aether-exchange-search-grid .aether-combobox {
  position: relative;
  z-index: 20;
  overflow: visible;
  width: 100%;
  min-width: 0;
}
.aether-exchange-search-grid .aether-field:focus-within .aether-combobox {
  z-index: 60;
}
.aether-exchange-search-wrap,
.aether-exchange-search-card,
.aether-exchange-search-grid .aether-field,
.aether-exchange-search-grid .aether-field-row {
  overflow: visible;
}
.aether-exchange-search-grid .aether-swap-btn {
  display: none !important;
}
.aether-exchange-search-grid .aether-exchange-submit-slot {
  align-self: flex-start;
  display: flex;
  min-width: 0;
  margin-top: 0.15rem;
}
.aether-exchange-search-grid .aether-exchange-submit-slot .aether-btn-gradient {
  width: auto;
  min-height: 2rem;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  align-self: flex-start;
  border-radius: 9999px;
}
.aether-exchange-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  min-height: 2rem;
  padding: 0.35rem 1rem;
  border: none;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.aether-exchange-submit-btn:hover { background: #80021A; }
.aether-gr-panel[data-gr-panel="cambiar"] .clic-card {
  overflow: visible;
}

/* Chips pasajero / tiquete */
.aether-exchange-pax-chips,
.aether-exchange-seg-cards { margin-bottom: 0.5rem; }
.aether-exchange-pax-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}
.aether-exchange-pax-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.aether-exchange-pax-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--surface));
  font-size: 0.68rem;
  cursor: pointer;
}
.aether-exchange-pax-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.aether-exchange-pax-chip__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.aether-exchange-pax-chip__text small {
  font-size: 0.62rem;
  opacity: 0.75;
}
.aether-exchange-pax-chip__check { display: none; font-size: 0.85rem; }
.aether-exchange-pax-chip.is-active,
.aether-exchange-pax-chip:has(input:checked) {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: #fff;
}
.aether-exchange-pax-chip.is-active .aether-exchange-pax-chip__check,
.aether-exchange-pax-chip:has(input:checked) .aether-exchange-pax-chip__check { display: inline; }
.aether-exchange-pax-chip:has(input:checked) .bi-person { display: none; }

.aether-exchange-seg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}
@media (min-width: 560px) {
  .aether-exchange-seg-grid { grid-template-columns: 1fr 1fr; }
}
.aether-exchange-seg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  border: 2px solid hsl(var(--border));
  background: hsl(var(--surface));
  cursor: pointer;
  text-align: left;
}
.aether-exchange-seg-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.aether-exchange-seg-card.is-active,
.aether-exchange-seg-card:has(input:checked) {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.06);
}

.aether-exchange-flight-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.aether-exchange-flight-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 2px solid hsl(var(--border));
  background: hsl(var(--surface));
  margin: 0;
}
.aether-exchange-flight-card:hover { border-color: hsl(var(--primary) / 0.45); }
.aether-exchange-flight-card.is-selected {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--card)), 0 0 0 4px hsl(var(--primary));
}
.aether-exchange-flight-card__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.aether-exchange-flight-card__price { text-align: right; min-width: 8rem; }
.aether-exchange-flight-card__price-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
}
.aether-exchange-flight-card__amount {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: hsl(var(--primary));
  line-height: 1.2;
}
.aether-exchange-flight-card__break {
  list-style: none;
  padding: 0;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: hsl(var(--muted-foreground));
  text-align: right;
}
.aether-exchange-flight-card__cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  border: none;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.aether-exchange-flight-card__cta:hover { background: #80021A; }

.aether-exchange-flight .aether-fare-option-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.aether-exchange-flight .aether-fare-option-form > .aether-fare-option {
  flex: 1 1 auto;
  height: 100%;
}
.aether-exchange-flight .aether-fare-option {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.aether-exchange-fare-break {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: hsl(var(--muted-foreground));
}
.aether-fare-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.aether-exchange-flight.is-open,
.aether-exchange-flight.is-expanded {
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: 0 8px 24px hsl(var(--primary) / 0.08);
}
.aether-exchange-flight-list .aether-flight-card {
  margin-bottom: 0;
}
.aether-exchange-flight .aether-flight-price-hint {
  font-size: 0.62rem;
}
.aether-exchange-flight .aether-fare-select-btn {
  margin-top: auto;
}
.aether-exchange-seguir__itin {
  font-weight: 600;
  color: hsl(var(--foreground));
}
.aether-exchange-seguir .btn-aether-select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.aether-exchange-ticket-row {
  display: none;
}
@media (min-width: 520px) {
  .aether-exchange-ticket-row {
    display: none;
  }
}
@media (min-width: 900px) {
  .aether-exchange-search-grid .aether-exchange-submit-slot {
    min-width: 0;
  }
}
@media (min-width: 768px) {
  .aether-search-card {
    padding: 1.5rem;
  }
}

.aether-trip-chip {
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}
.aether-trip-chip:hover {
  background: hsl(var(--border));
}
.aether-trip-chip.is-active {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}
.aether-trip-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Todos los campos del buscador comparten la misma altura visual. */
.aether-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 4.25rem;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  padding: 0.45rem 0.875rem 0.4rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.aether-field:hover {
  border-color: hsl(var(--primary));
}
.aether-field:focus-within {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
}
.aether-field-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}
.aether-field-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
  min-height: 1.75rem;
  flex: 1 1 auto;
}
.aether-field .form-control,
.aether-field .form-select {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: hsl(var(--foreground));
  box-shadow: none !important;
  height: auto;
  min-height: 1.5rem;
}
.aether-field .form-control:focus,
.aether-field .form-select:focus {
  outline: none;
}
/* date inputs heredan tamaño/peso del resto sin agrandar el contenedor */
.aether-field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  letter-spacing: 0.01em;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  align-self: center;
  line-height: 1.5rem;
  min-height: 1.5rem;
  color-scheme: light dark;
  position: relative;
}
.aether-field-row--date {
  position: relative;
}
.aether-field input[type="date"].is-empty,
.aether-field input[type="date"]:required:invalid {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  caret-color: transparent;
}
.aether-field input[type="date"].is-empty::-webkit-datetime-edit,
.aether-field input[type="date"].is-empty::-webkit-datetime-edit-fields-wrapper,
.aether-field input[type="date"].is-empty::-webkit-datetime-edit-text,
.aether-field input[type="date"].is-empty::-webkit-datetime-edit-month-field,
.aether-field input[type="date"].is-empty::-webkit-datetime-edit-day-field,
.aether-field input[type="date"].is-empty::-webkit-datetime-edit-year-field,
.aether-field input[type="date"].is-empty::-webkit-date-and-time-value,
.aether-field input[type="date"]:required:invalid::-webkit-datetime-edit,
.aether-field input[type="date"]:required:invalid::-webkit-datetime-edit-fields-wrapper,
.aether-field input[type="date"]:required:invalid::-webkit-datetime-edit-text,
.aether-field input[type="date"]:required:invalid::-webkit-datetime-edit-month-field,
.aether-field input[type="date"]:required:invalid::-webkit-datetime-edit-day-field,
.aether-field input[type="date"]:required:invalid::-webkit-datetime-edit-year-field,
.aether-field input[type="date"]:required:invalid::-webkit-date-and-time-value {
  display: none !important;
  visibility: hidden !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 0 !important;
}
.aether-airport-face {
  display: none;
}
.aether-date-face {
  position: absolute;
  left: 1.85rem;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: hsl(var(--foreground));
  -webkit-text-fill-color: hsl(var(--foreground));
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aether-date-face.is-placeholder {
  font-weight: 600;
}
.aether-field-row--date:has(.aether-date-face) input[type="date"] {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  caret-color: transparent;
}
.aether-field-row--date:has(.aether-date-face)::after {
  content: none !important;
  display: none !important;
}
.aether-field-row--date:has(input[type="date"].is-empty)::after,
.aether-field-row--date:has(input[type="date"]:required:invalid)::after {
  content: attr(data-date-ph);
  position: absolute;
  left: 1.85rem;
  right: 2.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  -webkit-text-fill-color: hsl(var(--foreground));
  opacity: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aether-field input[type="date"]:focus {
  color: hsl(var(--foreground));
}
.aether-field input[type="date"]:focus::-webkit-datetime-edit {
  color: hsl(var(--foreground));
}
.aether-field-row--date:has(input[type="date"]:focus)::after {
  display: none;
}
.aether-field:has(input[type="date"]) .aether-field-label {
  margin-bottom: 0;
}
.aether-field input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  opacity: 0;
  width: 0;
  pointer-events: none;
  filter: invert(0);
}
@media (min-width: 768px) {
  /* En desktop usamos el popover propio; el icono Bootstrap ya indica fecha. */
  .aether-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    cursor: pointer;
  }
}
html.dark .aether-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

/* Calendario propio, también en el teléfono. */
.aether-datepicker {
  position: absolute;
  z-index: 80;
  top: calc(100% + 0.4rem);
  left: 0;
  width: min(18.5rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border-radius: 0.875rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  box-shadow: var(--shadow-elevated);
  color: hsl(var(--foreground));
}
.aether-datepicker--dual {
  width: min(38.5rem, calc(100vw - 1.5rem));
}
.aether-datepicker[hidden] {
  display: none !important;
}
.aether-datepicker__hint {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}
.aether-datepicker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.aether-datepicker__title,
.aether-datepicker__month-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  text-align: center;
}
.aether-datepicker__month-title {
  margin-bottom: 0.4rem;
}
.aether-datepicker__months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .aether-datepicker__months {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
.aether-datepicker__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  cursor: pointer;
}
.aether-datepicker__nav:hover {
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}
.aether-datepicker__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}
.aether-datepicker__dow span {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  padding: 0.2rem 0;
}
.aether-datepicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
}
.aether-datepicker__day {
  aspect-ratio: 1;
  min-height: 2rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: hsl(var(--foreground));
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.aether-datepicker__day:hover:not(:disabled):not(.is-selected) {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}
.aether-datepicker__day.is-outside {
  visibility: hidden;
  pointer-events: none;
  color: transparent;
}
.aether-datepicker__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px hsl(var(--primary) / 0.45);
}
.aether-datepicker__day.is-in-range:not(.is-selected) {
  background: hsl(var(--primary) / 0.18);
  border-radius: 0;
  color: hsl(var(--foreground));
}
.aether-datepicker__day.is-selected,
.aether-datepicker__day.is-range-start,
.aether-datepicker__day.is-range-end {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.aether-datepicker__day:disabled:not(.is-outside) {
  opacity: 0.35;
  cursor: not-allowed;
}
@media (max-width: 767.98px) {
  .aether-field .form-control,
  .aether-field .form-select,
  .aether-field .aether-combobox-input,
  .aether-field input[type="date"] {
    font-size: 16px !important;
    line-height: 1.35 !important;
    min-height: 1.75rem !important;
    height: auto !important;
  }
  .aether-field {
    min-height: 4.6rem;
    height: auto;
  }
  .aether-field-row {
    min-height: 2rem;
  }
  .aether-date-face {
    font-size: 16px;
    left: 1.65rem;
    right: 0.15rem;
  }
  .aether-field-row:not(.aether-field-row--date) {
    position: relative;
    align-items: flex-start;
  }
  .aether-airport-face {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: hsl(var(--foreground));
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .aether-airport-face.is-placeholder {
    font-weight: 600;
  }
  .aether-field-row:not(.aether-field-row--date):has(.aether-airport-face:not([hidden])) .aether-combobox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .aether-exchange-search-grid .form-control,
  .aether-exchange-search-grid .aether-combobox-input,
  .aether-exchange-search-grid .aether-field .form-control,
  .aether-exchange-search-grid .aether-field .form-select,
  .aether-exchange-search-grid .aether-field input[type="date"] {
    font-size: 16px !important;
    min-height: 1.75rem !important;
    height: auto !important;
    line-height: 1.35 !important;
    padding: 0.15rem 0.2rem !important;
  }
  .aether-datepicker {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
    max-height: min(78vh, 32rem);
    overflow: auto;
    z-index: 400;
  }
  .aether-datepicker--dual {
    width: auto;
  }
}

.aether-search-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .aether-search-grid--rt {
    grid-template-columns: 1fr auto 1fr 1fr 1fr auto;
    align-items: stretch;
  }
  .aether-search-grid--ow {
    grid-template-columns: 1fr auto 1fr 1fr auto;
    align-items: stretch;
  }
  .aether-search-grid .aether-swap-btn {
    align-self: center;
  }
}

.aether-swap-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  cursor: pointer;
  color: hsl(var(--foreground));
}
.aether-swap-btn:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.aether-search-grid [data-aether-grid-pax-slot] {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.aether-search-grid [data-aether-grid-pax-slot] > [data-aether-pax-anchor] {
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}
.aether-search-grid [data-aether-pax-anchor] {
  align-self: stretch;
  cursor: pointer;
}
.aether-search-grid [data-aether-pax-anchor]:hover,
.aether-search-grid [data-aether-pax-anchor]:focus-within {
  border-color: hsl(var(--primary));
}
.aether-pax-toggle {
  width: 100%;
  flex: 1 1 auto;
  min-height: 1.75rem;
  height: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.aether-pax-toggle .aether-field-row {
  margin-top: 0.15rem;
  min-height: 1.75rem;
  width: 100%;
}

.aether-pax-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 18rem;
  z-index: 30;
  padding: 1rem;
}
.aether-pax-panel[hidden] {
  display: none !important;
}

.aether-pax-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}
.aether-pax-counter:last-of-type {
  border-bottom: 0;
}
.aether-pax-counter button {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  cursor: pointer;
  line-height: 1;
}
.aether-pax-counter button:hover {
  border-color: hsl(var(--primary));
}

.aether-pax-panel .form-control {
  width: 2.75rem;
  min-width: 2.75rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  text-align: center;
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}
.text-foreground {
  color: hsl(var(--foreground));
}

.aether-btn-gradient {
  border-radius: 9999px;
  border: 0;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  background-color: #E40046;
  background-image: none;
  box-shadow: var(--shadow-elevated);
  cursor: pointer;
}
.aether-btn-gradient:hover {
  opacity: 0.92;
}
.aether-btn-gradient:disabled,
.aether-btn-gradient[aria-disabled="true"],
.aether-btn-gradient.is-soft-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a.aether-cms-btn {
  text-decoration: none;
}
.cms-rich-content [data-aether-cms-btn-wrap] .aether-cms-btn,
.aether-vlog-body [data-aether-cms-btn-wrap] .aether-cms-btn,
.accordion-body [data-aether-cms-btn-wrap] .aether-cms-btn {
  display: inline-block;
}

/* IATA autocomplete */
.aether-iata-wrap {
  position: relative;
}
.aether-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  max-height: 14rem;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--popover));
  color: hsl(var(--popover-foreground));
  box-shadow: var(--shadow-elevated);
  display: none;
}
.aether-autocomplete.open {
  display: block;
}
.aether-autocomplete button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 0.8125rem;
  color: inherit;
}
.aether-autocomplete button:last-child {
  border-bottom: 0;
}
.aether-autocomplete button:hover {
  background: hsl(var(--muted));
}
.aether-autocomplete .iata {
  font-weight: 800;
  color: hsl(var(--primary));
  min-width: 2.25rem;
}
.aether-autocomplete .iata--parens {
  min-width: 0;
}
.aether-autocomplete .aether-airport-option-label {
  font-weight: 600;
}

/* Price ticker */
.aether-ticker {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--wine)), hsl(var(--primary)));
  color: hsl(var(--primary-foreground));
  border-top: 1px solid hsl(var(--wine) / 0.4);
  border-bottom: 1px solid hsl(var(--wine) / 0.4);
  box-shadow: var(--shadow-soft);
}
.aether-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.aether-ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
  padding: 0.625rem 0;
}
.aether-ticker-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Hero carousel */
.aether-hero {
  position: relative;
  overflow: hidden;
  height: 360px;
}
@media (min-width: 768px) {
  .aether-hero {
    height: 460px;
  }
}
.aether-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.aether-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.aether-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Solo aparece si hay imagen de celular. Sin ella, el <img> de escritorio queda igual. */
.aether-pic {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}
.aether-pic-flow {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
}
@media (max-width: 767px) {
  .aether-fare-card-media .aether-pic img {
    object-position: center center;
  }
}
.aether-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    hsl(var(--foreground) / 0.7),
    hsl(var(--foreground) / 0.3),
    transparent
  );
}
.aether-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .aether-hero-content {
    padding: 0 4rem;
  }
}
/* CMS: paleta fija (= editor admin). No usar --primary/--accent del tema (son rosa/crema). */
.cms-c-primary { color: #e85d04; }
.cms-c-accent { color: #f97316; }
.cms-c-secondary { color: #fb7185; }
.cms-c-success { color: #16a34a; }
.cms-c-info { color: #0ea5e9; }
.cms-c-navy { color: #1e3a5f; }
.cms-c-warning { color: #ca8a04; }
.cms-c-danger { color: #dc2626; }
.cms-c-foreground { color: #1a1a2e; }
.cms-c-muted { color: #6b7280; }
.cms-c-white { color: #fff; }
.cms-c-inherit { color: inherit; }

html.dark .cms-c-foreground { color: hsl(var(--foreground)); }
html.dark .cms-c-navy { color: #93c5fd; }
html.dark .cms-c-muted { color: hsl(var(--muted-foreground)); }
html.dark .cms-rich-content .cms-c-foreground { color: hsl(var(--foreground)); }
html.dark .cms-rich-content .cms-c-navy { color: #93c5fd; }
html.dark .cms-rich-content .cms-c-muted { color: hsl(var(--muted-foreground)); }

/* Tablas en contenido enriquecido CMS */
.cms-rich-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
  table-layout: auto;
}
.cms-rich-content th,
.cms-rich-content td {
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  vertical-align: top;
  text-align: left;
}
.cms-rich-content th {
  font-weight: 600;
  background-color: #f3f4f6;
}
html.dark .cms-rich-content th,
html.dark .cms-rich-content td {
  border-color: hsl(var(--border, 220 13% 30%));
}
html.dark .cms-rich-content th {
  background-color: hsl(var(--muted, 220 13% 20%));
}

/* Hero: título base claro; colores cms-c-* siempre con hex de la paleta */
.aether-hero-content .cms-c-primary,
.aether-hero-title .cms-c-primary,
.aether-hero-sub .cms-c-primary,
.aether-hero-eyebrow .cms-c-primary { color: #e85d04 !important; }
.aether-hero-content .cms-c-accent,
.aether-hero-title .cms-c-accent,
.aether-hero-sub .cms-c-accent,
.aether-hero-eyebrow .cms-c-accent { color: #f97316 !important; }
.aether-hero-content .cms-c-secondary,
.aether-hero-title .cms-c-secondary { color: #fb7185 !important; }
.aether-hero-content .cms-c-success,
.aether-hero-title .cms-c-success { color: #4ade80 !important; }
.aether-hero-content .cms-c-info,
.aether-hero-title .cms-c-info { color: #38bdf8 !important; }
.aether-hero-content .cms-c-navy,
.aether-hero-title .cms-c-navy { color: #93c5fd !important; }
.aether-hero-content .cms-c-warning,
.aether-hero-title .cms-c-warning { color: #facc15 !important; }
.aether-hero-content .cms-c-danger,
.aether-hero-title .cms-c-danger { color: #f87171 !important; }
.aether-hero-content .cms-c-white,
.aether-hero-title .cms-c-white { color: #fff !important; }
.aether-hero-content .cms-c-foreground,
.aether-hero-title .cms-c-foreground { color: #f8fafc !important; }
.aether-hero-content .cms-c-muted,
.aether-hero-title .cms-c-muted { color: rgba(248, 250, 252, 0.85) !important; }
.aether-hero-content u,
.aether-hero-title u,
.aether-hero-sub u,
.aether-hero-eyebrow u {
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
}
/* Cursiva: Unbounded no inclina bien → DM Sans en todo el subárbol */
.aether-hero-title.cms-rich :is(em, i),
.aether-hero-sub.cms-rich :is(em, i),
.aether-hero-eyebrow.cms-rich :is(em, i),
.aether-hero-title :is(em, i),
.aether-hero-sub :is(em, i),
.aether-hero-eyebrow :is(em, i),
.aether-hero-title.cms-rich strong :is(em, i),
.aether-hero-title.cms-rich :is(em, i) strong,
.aether-hero-title.cms-rich u :is(em, i) {
  font-family: "Inter", system-ui, sans-serif !important;
  font-style: italic !important;
  font-weight: inherit;
  letter-spacing: normal;
}
.aether-hero-title strong,
.aether-hero-title b,
.aether-hero-sub strong,
.aether-hero-sub b {
  font-weight: 800;
}

.aether-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--background) / 0.9);
}
.aether-hero-title {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: hsl(var(--background));
}
@media (min-width: 768px) {
  .aether-hero-title {
    font-size: 3rem;
  }
}
.aether-hero-sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--background) / 0.9);
}
@media (min-width: 768px) {
  .aether-hero-sub {
    font-size: 1rem;
  }
}
.aether-hero-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.aether-hero-cta:hover {
  background: hsl(var(--wine));
  color: hsl(var(--wine-foreground));
}

.aether-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 0;
  background: hsl(var(--background) / 0.8);
  color: hsl(var(--foreground));
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.aether-hero-nav:hover {
  background: hsl(var(--background));
}
.aether-hero-nav--prev { left: 1rem; }
.aether-hero-nav--next { right: 1rem; }

.aether-hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.375rem;
}
.aether-hero-dot {
  height: 0.375rem;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: hsl(var(--background) / 0.5);
  width: 1rem;
  transition: width 0.2s ease, background 0.2s ease;
}
.aether-hero-dot.is-active {
  width: 2.5rem;
  background: hsl(var(--background));
}

/* Route / experience cards */
.ae-grid-routes {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ae-grid-routes > a,
.ae-grid-routes .aether-fare-card {
  min-width: 0;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1100px) {
  .ae-grid-routes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ae-grid-exp {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .ae-grid-exp {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.aether-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
}
.aether-card-media--exp {
  aspect-ratio: 4 / 5;
}
.aether-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 0;
}
.aether-card-hover:hover .aether-card-media img {
  transform: scale(1.05);
}
.aether-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    hsl(var(--foreground) / 0.7),
    hsl(var(--foreground) / 0.1),
    transparent
  );
  pointer-events: none;
}
.aether-card-media > .ae-absolute,
.aether-card-media > .clic-chip,
.aether-card-media > .aether-exp-card-text {
  z-index: 2;
  mix-blend-mode: normal;
  isolation: isolate;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

/* Tarifas destacadas — texto/CTA dentro de la foto */
.aether-fare-card,
.aether-fare-card.ae-block,
html:not(.dark) .clic-card.aether-fare-card,
html[data-aether-theme="light"] .clic-card.aether-fare-card {
  background: #0a0a0a;
  border: 0;
  box-shadow: none;
  color: #fff;
  overflow: hidden;
  container-type: inline-size;
  container-name: fare-card;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.aether-fare-card-media {
  aspect-ratio: 3 / 4;
  min-height: 16rem;
  overflow: hidden;
  max-width: 100%;
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  .aether-fare-card-media {
    aspect-ratio: 3 / 4;
    min-height: 18rem;
  }
}
@media (min-width: 1280px) {
  .aether-fare-card-media {
    aspect-ratio: 4 / 5;
    min-height: 16rem;
  }
}
.aether-fare-card-media img {
  object-position: center 28%;
}
.aether-fare-card-media::after {
  background: linear-gradient(
    to top,
    hsl(0 0% 0% / 0.96) 0%,
    hsl(0 0% 0% / 0.82) 22%,
    hsl(0 0% 0% / 0.42) 46%,
    hsl(0 0% 0% / 0.12) 68%,
    transparent 86%
  );
}
.aether-fare-card .aether-fare-badge {
  position: absolute;
  z-index: 3;
  top: 0.85rem;
  left: 0.85rem;
  right: auto;
  transform: none;
  width: max-content;
  max-width: calc(100% - 1.7rem);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: hsl(0 0% 0% / 0.48);
  border: 1px solid hsl(0 0% 100% / 0.18);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  white-space: nowrap;
}
.aether-fare-card.is-featured .aether-fare-badge {
  background: hsl(var(--primary) / 0.78);
  border-color: hsl(var(--primary) / 0.4);
  color: #fff;
}
.aether-fare-card-body {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.2rem 1.05rem 1.15rem;
  text-align: left;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.aether-fare-route {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.95;
  margin-bottom: 0.15rem;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.aether-fare-city {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.4rem;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.aether-fare-from {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
  text-transform: lowercase;
  color: #fff;
}
.aether-fare-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: hsl(var(--primary));
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-shadow: none;
}
.aether-fare-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid hsl(0 0% 100% / 0.92);
  border-radius: 9999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  filter: none;
}
.aether-fare-card .aether-fare-cta {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
  text-align: center;
  padding: 0.28rem 0.45rem;
}
.aether-fare-card .aether-fare-cta__txt {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.aether-fare-card.is-featured .aether-fare-cta {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: #fff;
}
.aether-fare-card:not(.is-featured) .aether-fare-cta {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
@media (max-width: 1099.98px) {
  .aether-fare-card-body {
    padding: 0.5rem 0.32rem 0.45rem;
  }
  .aether-fare-card .aether-fare-cta {
    padding: 0.16rem 0.22rem;
    font-size: clamp(0.42rem, 6.6cqw, 0.62rem);
  }
  .aether-fare-card .aether-fare-cta__arrow {
    display: none;
  }
}
@media (max-width: 430px) {
  .aether-fare-card-body {
    padding: 0.42rem 0.28rem 0.38rem;
  }
  .aether-fare-card .aether-fare-cta {
    padding: 0.12rem 0.16rem;
    font-size: clamp(0.4rem, 6.2cqw, 0.56rem);
  }
}
@container fare-card (max-width: 240px) {
  .aether-fare-card-body {
    padding: 0.45rem 0.32rem 0.4rem;
  }
  .aether-fare-card .aether-fare-cta {
    padding: 0.14rem 0.22rem;
    font-size: clamp(0.42rem, 6.8cqw, 0.58rem);
  }
}
.aether-fare-card .aether-fare-badge,
.aether-fare-card .aether-fare-badge * {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.aether-fare-card.is-featured .aether-fare-price,
.aether-fare-card .aether-fare-price,
.aether-fare-card .aether-fare-price * {
  color: hsl(var(--primary));
  -webkit-text-fill-color: hsl(var(--primary));
}

.aether-card-media .cms-c-white,
.aether-card-media .cms-c-white *,
.aether-card-media [style*="color:#fff"],
.aether-card-media [style*="color: #fff"],
.aether-card-media [style*="color:#ffffff"],
.aether-card-media [style*="color: #ffffff"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  opacity: 1 !important;
}
.aether-exp-card-sub {
  opacity: 1;
}

/* Resultados — borde intermedio (más visible en pantallas brillantes) */
#aether-results {
  --aether-panel-border: 0 0% 84%;
}
#aether-results > section.border-bottom {
  border-color: hsl(var(--aether-panel-border)) !important;
}
#aether-results [data-aether-edit-panel].clic-card-muted {
  background: hsl(var(--surface));
  border-color: hsl(var(--aether-panel-border)) !important;
}

.aether-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.aether-date-strip-carousel {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.aether-date-strip-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.aether-date-strip-nav {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: hsl(var(--primary));
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.aether-date-strip-nav:hover:not(:disabled) {
  opacity: 0.82;
}
.aether-date-strip-nav:disabled {
  opacity: 0.28;
  cursor: default;
}
.aether-date-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  gap: 0.5rem;
  overflow: visible;
  padding-bottom: 0.15rem;
}
.aether-date-strip button {
  flex: 1 1 0;
  min-width: 4.75rem;
  max-width: none;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--aether-panel-border, var(--border)));
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  text-align: center;
  font-size: 0.75rem;
}
.aether-date-strip button.is-past-fixed {
  opacity: 0.62;
  background: hsl(var(--muted) / 0.38);
  color: hsl(var(--muted-foreground));
  border-color: hsl(var(--aether-panel-border, var(--border)));
  cursor: not-allowed;
  pointer-events: none;
}
.aether-date-strip button.is-past-fixed .aether-date-strip__hint {
  color: hsl(var(--muted-foreground));
  font-weight: 600;
}
.aether-date-strip button.is-unavailable:not(.is-active):not(.is-past-fixed) {
  opacity: 0.72;
  background: hsl(var(--muted) / 0.22);
  cursor: not-allowed;
  pointer-events: none;
}
.aether-date-strip button.is-active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.aether-date-strip button.is-active .aether-date-strip__hint {
  color: hsl(var(--primary-foreground) / 0.85);
}
.aether-date-strip__hint {
  font-size: 0.625rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-top: 0.15rem;
}
.aether-date-strip__hint.has-price {
  color: hsl(var(--foreground));
  font-weight: 700;
}
.aether-date-strip__hint.is-unavailable {
  color: hsl(var(--muted-foreground));
  font-weight: 600;
}
.aether-date-strip button.is-active .aether-date-strip__hint.has-price {
  color: hsl(var(--primary-foreground) / 0.92);
}

/* Barra compacta de trayecto en resultados */
.aether-results-trip-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.aether-results-trip-bar__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: calc(100% - 10.5rem);
}
.aether-results-trip-bar__card {
  flex: 1 1 16rem;
  max-width: none;
  min-width: min(100%, 12rem);
  position: relative;
}
@media (min-width: 900px) {
  .aether-results-trip-bar {
    flex-wrap: nowrap;
  }
  .aether-results-trip-bar__cards {
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 11rem);
  }
  .aether-results-trip-bar__card {
    flex: 1 1 14rem;
    min-width: min(100%, 12rem);
  }
}
@media (max-width: 899px) {
  .aether-results-trip-bar__cards {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}
.aether-results-trip-bar__tag {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.2rem;
}
.aether-results-trip-bar__edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 1px solid #E40046;
  background: #E40046;
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.aether-results-trip-bar__edit:hover,
.aether-results-trip-bar__edit:focus-visible {
  border-color: #c2003b;
  background: #c2003b;
  color: #fff;
}
.aether-results-trip-bar__edit i {
  font-size: 0.95rem;
  line-height: 1;
}

.aether-flight-card {
  border-radius: 1.25rem;
  border: 1.5px solid hsl(var(--aether-panel-border, var(--border)));
  background: hsl(var(--surface));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.aether-flight-card.is-expanded {
  overflow: visible;
  border-color: hsl(var(--aether-panel-border, var(--border)));
  box-shadow: var(--shadow-elevated);
  background: hsl(var(--surface));
}
#aether-results .aether-flight-leg-card {
  border-color: hsl(var(--aether-panel-border));
}

.aether-flight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
}
.aether-flight-times {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  font-variant-numeric: normal !important;
}
.aether-flight-time-sep {
  color: hsl(var(--muted-foreground));
  font-weight: 400;
  font-size: 0.875rem;
}
.aether-flight-price-box {
  box-sizing: border-box;
  flex: 0 0 12.75rem;
  width: 12.75rem;
  min-width: 12.75rem;
  text-align: right;
  padding: 0.35rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--card));
}
.aether-flight-price-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}
.aether-flight-price-value,
.aether-flight-price-value * {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-variant-numeric: normal !important;
  font-feature-settings: normal !important;
  font-variant-ligatures: none !important;
  border-radius: 0 !important;
  background: none !important;
  color: hsl(var(--primary)) !important;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.15;
  white-space: nowrap;
}
.aether-flight-price-hint {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}
.aether-fare-panel {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--card));
  padding: 1rem 1.25rem 1.25rem;
  overflow: visible;
}
.aether-fare-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.6875rem;
}
.aether-fare-benefits li {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  margin-top: 0.35rem;
  color: hsl(var(--foreground));
}
.aether-fare-benefits li i {
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.aether-fare-benefits li.is-excluded {
  color: hsl(var(--muted-foreground));
}
.aether-fare-benefits li.is-excluded i {
  color: hsl(var(--muted-foreground));
}
.aether-fare-option .aether-fare-badge {
  position: absolute;
  top: 0;
  left: 0.65rem;
  right: auto;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem 0.18rem 0.35rem;
  border-radius: 0.4rem;
  background: hsl(var(--card));
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  white-space: nowrap;
  pointer-events: none;
}
.aether-fare-option .aether-fare-badge i {
  color: hsl(var(--primary));
  font-size: 0.62rem;
  line-height: 1;
}
@media (max-width: 767.98px) {
  .aether-fare-option .aether-fare-badge {
    left: 0.5rem;
    font-size: 0.5rem;
    padding: 0.14rem 0.38rem 0.14rem 0.3rem;
  }
}
/* Old radio circle — hidden; replaced by .aether-fare-select-btn */
.aether-fare-radio { display: none !important; }

/* Select / Selected button at bottom of fare card */
.aether-fare-select-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0.9rem 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid hsl(var(--primary));
  background: transparent;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  pointer-events: none; /* clicks go to parent button */
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.aether-fare-select-btn .aether-fare-selected-label { display: none; }
.aether-fare-select-btn .aether-fare-select-label { display: inline; }

.aether-fare-option.is-selected .aether-fare-select-btn {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: #fff;
  transform: scale(1.02);
}
.aether-fare-option.is-selected .aether-fare-select-btn .aether-fare-select-label { display: none; }
.aether-fare-option.is-selected .aether-fare-select-btn .aether-fare-selected-label { display: inline; }

.aether-fare-option:not(.is-selected):hover .aether-fare-select-btn {
  background: hsl(var(--primary) / 0.06);
}
@media (max-width: 767.98px) {
  .aether-fare-select-btn {
    margin: 0 0.45rem 0.55rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.65rem;
    max-width: calc(100% - 0.9rem);
    box-sizing: border-box;
  }
}
.aether-fare-option.is-sold-out {
  opacity: 0.58;
  filter: grayscale(0.55);
  cursor: not-allowed;
  pointer-events: none;
  border-color: hsl(var(--border));
  background: hsl(var(--muted) / 0.4);
  box-shadow: none;
}
.aether-fare-option.is-sold-out:hover {
  box-shadow: none;
  transform: none;
}
.aether-fare-option.is-sold-out .aether-fare-badge {
  color: hsl(var(--muted-foreground));
  border-color: hsl(var(--muted-foreground) / 0.5);
  background: hsl(var(--card));
}
.aether-fare-option.is-sold-out .aether-fare-badge i {
  color: hsl(var(--muted-foreground));
}
.aether-fare-option.is-sold-out .aether-fare-select-btn {
  display: none;
}
.aether-fare-option.is-sold-out .aether-fare-price-value {
  color: hsl(var(--muted-foreground));
}
.aether-fare-option {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: visible;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}
.aether-flight-meta {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.aether-fare-grid {
  display: grid;
  gap: 0.75rem;
  align-items: stretch;
  overflow: visible;
  padding-top: 0.7rem;
}
@media (min-width: 768px) {
  .aether-fare-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.aether-fare-grid[hidden] {
  display: none !important;
}

.aether-fare-option {
  border-radius: 1rem;
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--card));
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.aether-fare-option:hover {
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.12);
}
.aether-fare-option.is-popular {
  border-color: hsl(var(--primary));
  z-index: auto;
}
.aether-fare-option.is-selected {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--card)), 0 0 0 4px hsl(var(--primary));
  background: hsl(var(--card));
}
.aether-fare-head {
  position: relative;
  min-height: 4.5rem;
  display: block;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.85rem 0.85rem 0 0;
}
.aether-fare-head--color {
  background-color: var(--fare-head-bg, transparent);
}
.aether-fare-head--color,
.aether-fare-head--image {
  min-height: 5.5rem;
}
.aether-fare-head--image {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.aether-fare-head--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08) 0%, rgb(0 0 0 / 0.28) 100%);
}
.aether-fare-head--plain {
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}
.aether-fare-head-inner {
  position: relative;
  z-index: 1;
  padding: 0.85rem 0.9rem 0.75rem 0.9rem;
}
.aether-fare-option.is-popular .aether-fare-head-inner {
  padding-left: 0.9rem;
}
.aether-fare-head--plain .aether-fare-title {
  color: hsl(var(--primary));
}
.aether-fare-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.aether-fare-title.is-bold {
  font-weight: 800;
}
.aether-fare-subtitle {
  font-size: 0.6875rem;
  line-height: 1.35;
  margin-top: 0.25rem;
  opacity: 0.95;
}
.aether-fare-body {
  padding: 0.85rem 0.9rem 0.9rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.aether-fare-foot {
  margin-top: auto;
}
.aether-fare-foot-banner {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
}
.aether-fare-foot-banner--image {
  min-height: 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.aether-fare-foot-banner--text {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--card));
}
.aether-fare-foot-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}
.aether-fare-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.aether-fare-price-value {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-variant-numeric: normal !important;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  color: hsl(var(--primary)) !important;
  background: none !important;
  border-radius: 0 !important;
}
.aether-fare-price-ref {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.btn-aether-select {
  border: 1.5px solid hsl(var(--primary) / 0.35);
  background: #E40046;
  background-image: none;
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn-aether-select:hover {
  opacity: 0.92;
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary) / 0.55);
}
.aether-flight-card.is-expanded .btn-aether-select {
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
  box-shadow: none;
}

.aether-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: hsl(var(--card) / 0.92);
  backdrop-filter: blur(10px);
  border-top: 2px solid hsl(var(--primary));
  box-shadow: 0 -8px 24px hsl(var(--foreground) / 0.08);
}
.aether-bottom-bar__left {
  flex: 0 1 auto;
  min-width: 6rem;
}
.aether-bottom-bar__right {
  flex: 0 0 auto;
  margin-left: auto;
}
.aether-bottom-bar__checkout-cluster {
  flex: 0 1 auto;
  min-width: 0;
}
.aether-bottom-hold {
  flex: 0 1 auto;
  max-width: 24rem;
  min-width: 13rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid hsl(var(--primary));
  background: hsl(var(--surface, 0 0% 100%));
  box-shadow: none;
}
.aether-bottom-hold__label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0;
}
.aether-bottom-hold__text {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.aether-bottom-hold__text .bi {
  color: hsl(var(--primary));
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.08rem;
}
.aether-bottom-hold__check {
  flex-shrink: 0;
  margin: 0.1rem 0 0;
  width: 1.15rem;
  height: 1.15rem;
  cursor: pointer;
  border: 2px solid hsl(var(--aether-panel-border, 0 0% 72%));
  background-color: hsl(var(--surface));
  accent-color: hsl(var(--primary));
  box-shadow: inset 0 0 0 1px hsl(var(--surface));
}
.aether-bottom-hold__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid hsl(var(--border));
}
.aether-bottom-hold__hasta {
  width: auto;
  min-width: 9.5rem;
  max-width: 100%;
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
}
.aether-bottom-hold__preview {
  font-size: 0.7rem;
  font-weight: 700;
  color: hsl(var(--primary));
  white-space: nowrap;
}
.aether-legal-hold {
  flex: none;
  max-width: none;
  min-width: 0;
  width: 100%;
}
@media (max-width: 767.98px) {
  .aether-bottom-hold {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
  .aether-bottom-bar__checkout-cluster {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
  }
  .aether-bottom-bar__right {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
  }
}
.aether-bottom-label {
  color: hsl(var(--primary));
}
.aether-bottom-total,
.aether-bottom-total * {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  font-variant-numeric: normal !important;
  font-feature-settings: normal !important;
  font-variant-ligatures: none !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: hsl(var(--primary)) !important;
  font-weight: 800;
  letter-spacing: 0;
}
.aether-bottom-label {
  font-family: 'Inter', system-ui, sans-serif;
}
.aether-promo-bar {
  border: 1px solid hsl(var(--border) / 0.85);
}
.aether-results-main {
  padding-bottom: 8rem;
}

/* Términos legales en resultados (estilo Lyra) */
.aether-legal-terms .form-check-input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 2px solid hsl(var(--primary));
  accent-color: hsl(var(--primary));
  background-color: hsl(var(--surface));
  cursor: pointer;
}
.aether-legal-terms .form-check-input[type="checkbox"]:focus {
  box-shadow: 0 0 0 0.2rem hsl(var(--primary) / 0.22);
  border-color: hsl(var(--primary));
}
.aether-legal-terms .form-check-input[type="checkbox"]:checked {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}
.aether-legal-link {
  color: hsl(var(--primary));
  font-weight: 600;
  text-decoration: none;
}
.aether-legal-link:hover {
  text-decoration: underline;
  color: hsl(var(--primary));
}
.aether-legal-terms.is-highlight {
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2), 0 8px 24px hsl(var(--primary) / 0.12);
  transition: box-shadow 0.35s ease;
}
.aether-legal-terms .form-check-input.is-attention {
  animation: aether-check-attention 0.55s ease 4;
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.35);
}
@keyframes aether-check-attention {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.aether-dangergoods {
  border: 1px solid hsl(var(--border) / 0.9);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem 0.75rem;
  background: hsl(var(--muted) / 0.35);
}
.aether-dangergoods.is-open {
  background: hsl(var(--card));
  border-color: hsl(var(--primary) / 0.35);
}
.aether-dangergoods__title {
  display: inline;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.aether-required-mark {
  color: hsl(var(--destructive, 0 72% 51%));
  font-weight: 700;
  margin-left: 0.15rem;
}
.aether-dangergoods__lead {
  display: block;
  margin-top: 0.15rem;
  color: hsl(var(--muted-foreground));
}
.aether-dangergoods .form-check-input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border: 2px solid hsl(var(--primary));
  accent-color: hsl(var(--primary));
  background-color: hsl(var(--surface));
  cursor: pointer;
}
.aether-dangergoods .form-check-input[type="checkbox"]:checked {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}
.aether-dangergoods .form-check-input.is-attention {
  animation: aether-check-attention 0.55s ease 4;
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.35);
}
.aether-dangergoods__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.55rem 0 0 1.7rem;
  padding: 0;
  border: 0;
  background: none;
  color: hsl(var(--primary));
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.aether-dangergoods__toggle:hover {
  text-decoration: underline;
}
.aether-dangergoods.is-open .aether-dangergoods__toggle i {
  transform: rotate(180deg);
}
.aether-dangergoods__toggle i {
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}
.aether-dangergoods__body {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border) / 0.7);
}
.aether-dangergoods__intro,
.aether-dangergoods__note {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: hsl(var(--foreground));
}
.aether-dangergoods__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.6rem;
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
}
.aether-dangergoods__chips li {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.4rem 0.75rem;
  border-radius: 0.65rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.aether-dangergoods__note--emphasis {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Pasos checkout */
.aether-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.aether-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}
.aether-step.is-active {
  color: hsl(var(--primary));
}
.aether-step.is-done {
  color: hsl(var(--success));
}

/* Fullscreen loading page */
body.aether-page-loading .aether-topbar,
body.aether-page-loading .aether-footer,
body.aether-page-loading .aether-main > *:not(.aether-loading-screen) {
  display: none !important;
}
.aether-loading-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: hsl(var(--background));
}

.aether-spinner {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 3px solid hsl(var(--border));
  border-top-color: hsl(var(--primary));
  animation: aether-spin 0.85s linear infinite;
}

.aether-loading-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  max-width: min(96vw, 1280px);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .aether-loading-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }
}
@media (min-width: 1200px) {
  .aether-loading-grid {
    max-width: min(92vw, 1400px);
    gap: 3rem;
  }
}
.aether-loading-promo {
  width: 100%;
  min-width: 0;
}
.aether-loading-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin: 0;
}
.aether-loading-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0.75rem 0 0;
}
.aether-loading-lead {
  margin: 0.5rem 0 0;
}
.aether-plane-spinner {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  align-self: center;
  margin-inline: auto;
}
.aether-plane-spinner__ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid hsl(var(--primary) / 0.2);
  border-top-color: hsl(var(--primary));
  animation: aether-spin 0.9s linear infinite;
}
.aether-plane-spinner__icon {
  font-size: 1.25rem;
  color: hsl(var(--primary));
}
.aether-plane-spinner__atr {
  grid-row: 1;
  grid-column: 1;
  place-self: center;
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  z-index: 1;
  margin: 0;
  background: hsl(var(--primary));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform-origin: center center;
}
.aether-loading-wait {
  max-width: 100%;
}
.aether-loading-copy {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.aether-loading-progress {
  width: 100%;
  min-width: 12rem;
  align-self: stretch;
  height: 6px;
  border-radius: 9999px;
  background: hsl(var(--muted));
  overflow: hidden;
}
.aether-loading-progress__bar {
  height: 100%;
  width: 0;
  min-width: 0;
  background: hsl(var(--primary));
  animation: aether-loading-progress 45s linear forwards;
}
@keyframes aether-loading-progress {
  from { width: 0%; }
  to { width: 100%; }
}
.aether-loading-promo__card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: clamp(280px, 42vh, 520px);
  width: 100%;
  box-shadow: var(--shadow-elevated, 0 12px 40px hsl(0 0% 0% / 0.12));
}
@media (min-width: 768px) {
  .aether-loading-promo__card {
    min-height: clamp(320px, 50vh, 560px);
  }
}
@media (min-width: 1200px) {
  .aether-loading-promo__card {
    min-height: clamp(380px, 58vh, 640px);
  }
}
.aether-loading-promo__card--placeholder {
  background: linear-gradient(145deg, hsl(var(--primary) / 0.85), hsl(var(--foreground) / 0.9));
}
.aether-loading-promo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aether-loading-promo__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(
    hsl(0 0% 0% / 0.55),
    hsl(0 0% 0% / 0.4)
  );
  color: #fff;
}
.aether-loading-promo__card--placeholder .aether-loading-promo__overlay {
  position: relative;
  min-height: inherit;
  height: 100%;
}
.aether-loading-promo__title {
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  margin: 0;
  line-height: 1.15;
  max-width: 22ch;
}
.aether-loading-promo__text {
  margin: 0;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  opacity: 0.92;
  max-width: 34ch;
}
.aether-loading-promo__chip {
  width: fit-content;
  margin: 0;
}

/* Bootstrap alignment */
.aether-body .btn-primary {
  background-color: #E40046;
  background-image: none;
  border: 0;
  font-weight: 600;
}
.aether-body .btn-primary:hover {
  opacity: 0.92;
}

/* Animations */
@keyframes aether-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-up {
  animation: aether-fade-up 0.5s ease-out both;
}

@keyframes aether-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.animate-ticker {
  animation: aether-ticker 40s linear infinite;
}

@keyframes aether-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Utilities */
.ae-text-xs { font-size: 0.75rem; }
.ae-text-sm { font-size: 0.875rem; }
.ae-text-lg { font-size: 1.125rem; }
.ae-text-xl { font-size: 1.25rem; }
.ae-text-2xl { font-size: 1.5rem; }
.ae-text-3xl { font-size: 1.875rem; }
.ae-text-4xl { font-size: 2.25rem; }
.ae-font-bold { font-weight: 700; }
.ae-font-extrabold { font-weight: 800; }
.ae-uppercase { text-transform: uppercase; }
.ae-tracking-wider { letter-spacing: 0.08em; }
.ae-leading-tight { line-height: 1.25; }
.ae-max-w-3xl { max-width: 48rem; }
.ae-max-w-7xl { max-width: 80rem; }
.ae-overflow-hidden { overflow: hidden; }
.aether-home-search {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .aether-home-search {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Home: franja negra solo hasta los tabs; la card queda fuera. Topbar sí sticky. */
body.aether-home-page .aether-topbar {
  border-bottom: 0;
  box-shadow: 0 2px 0 0 hsl(0 0% 8%);
}
body.aether-home-page .aether-home-search {
  position: relative;
  z-index: 20; /* autocomplete/datepicker por encima del hero */
  background: transparent;
  padding-top: 0;
  padding-bottom: 1.35rem;
}
body.aether-home-page .aether-home-search .aether-search-tabs {
  gap: 0;
  margin-bottom: -1px;
  padding-top: 0.7rem;
  position: relative;
  z-index: 2;
}
/* Full-bleed negro detrás de Vuelos/Hospedaje/Tours (no bajo la card). */
body.aether-home-page .aether-home-search .aether-search-tabs::before {
  content: '';
  position: absolute;
  top: -3px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: hsl(0 0% 8%);
  z-index: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  /* Mismo inset logo + Vuelos; menos aire a la izquierda. */
  body.aether-home-page .aether-topbar .clic-wide.aether-topbar-inner,
  body.aether-home-page .aether-home-search .clic-wide {
    padding-left: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  /* Topbar móvil casi sin padding; el buscador sí tiene clic-wide 1rem. */
  body.aether-home-page .aether-topbar-inner {
    padding-inline: 1rem 0.35rem;
  }
  body.aether-home-page .aether-home-search .aether-search-tabs {
    padding-top: 0.55rem;
  }
}
body.aether-home-page .aether-home-search .aether-search-tab {
  position: relative;
  z-index: 1;
  border-radius: 0.75rem 0.75rem 0 0;
  border: 0;
  border-right: 1px solid hsl(0 0% 100% / 0.14);
  background: transparent;
  color: hsl(0 0% 100% / 0.92);
  box-shadow: none;
}
body.aether-home-page .aether-home-search .aether-search-tab:last-child {
  border-right: 0;
}
body.aether-home-page .aether-home-search .aether-search-tab:hover {
  background: hsl(0 0% 100% / 0.08);
  color: hsl(0 0% 100%);
}
body.aether-home-page .aether-home-search .aether-search-tab.is-active {
  background: hsl(var(--surface));
  color: hsl(var(--primary));
  z-index: 3;
  border-bottom: 1px solid hsl(var(--surface));
}
body.aether-home-page .aether-home-search .aether-search-tab.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  border-radius: 9999px;
  background: hsl(var(--primary));
}
body.aether-home-page .aether-home-search .aether-search-card {
  border-radius: 0 1.25rem 1.25rem 1.25rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 767.98px) {
  body.aether-home-page .aether-home-search .aether-search-tab {
    border-right: 0;
  }
}

.ae-grid-trust {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.ae-grid-trust .ae-trust-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}
@media (min-width: 768px) {
  .ae-grid-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ae-grid-banners {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .ae-grid-banners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Newsletter: SIEMPRE oscura (fondo negro corporativo + texto blanco),
   sin importar el modo. Antes usábamos bg-foreground/text-background y
   eso se invertía en dark → quedaba blanca con texto negro. */
.aether-newsletter-card {
  background: hsl(0 0% 8%) !important;
  color: hsl(0 0% 100%) !important;
  border: 1px solid hsl(346 100% 45% / 0.35) !important;
  box-shadow: var(--shadow-elevated);
  border-radius: 1.25rem;
}
.aether-newsletter-card h3,
.aether-newsletter-card p,
.aether-newsletter-card label,
.aether-newsletter-card .aether-newsletter-email,
.aether-newsletter-card .ae-text-sm,
.aether-newsletter-card i {
  color: hsl(0 0% 100%) !important;
}
.aether-newsletter-card .aether-newsletter-email-wrap {
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.28);
  border-radius: 9999px;
}
.aether-newsletter-card .aether-newsletter-email {
  background: transparent !important;
  border: none !important;
  outline: none !important;
}
.aether-newsletter-card .aether-newsletter-email::placeholder {
  color: hsl(0 0% 100% / 0.55) !important;
}
.aether-newsletter-card .aether-newsletter-submit {
  background: hsl(346 100% 45%);
  color: hsl(0 0% 100%);
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.aether-newsletter-card .aether-newsletter-submit:hover {
  background: hsl(351 98% 25%);
  transform: translateY(-1px);
}
.aether-newsletter-card .aether-newsletter-note {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: hsl(0 0% 100% / 0.14);
  color: #fff !important;
  font-size: 0.875rem;
  line-height: 1.35;
}

.aether-newsletter-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .aether-newsletter-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.ae-bg-transparent {
  background-color: transparent !important;
}

.ae-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ae-search-submit-row {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1rem;
}
.ae-search-submit-row .ae-search-help {
  display: none;
  margin-bottom: 0;
  max-width: none;
  white-space: normal;
}
@media (min-width: 768px) {
  .ae-search-submit-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
  }
  .ae-search-submit-row .ae-search-help {
    display: block;
    margin-right: auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    overflow: visible;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .ae-search-submit-row .ae-search-help {
    white-space: normal;
  }
}

.ae-text-gradient-brand {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 767px) {
  .aether-topbar-desktop-only {
    display: none !important;
  }

  .aether-topbar-inner {
    height: 4.5rem;
    justify-content: space-between;
    gap: 0.25rem;
    padding-inline: 0.15rem 0.35rem;
    overflow: visible;
  }

  .aether-topbar-left {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.15rem);
    justify-content: flex-start;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0;
    height: 100%;
  }

  .aether-topbar-brand-slot {
    flex: 0 0 auto;
    width: auto;
    max-width: 7.5rem;
    overflow: visible;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .aether-topbar-logo-link {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .aether-topbar .ae-logo-mask {
    width: auto;
    height: auto;
    overflow: visible;
    display: flex;
    align-items: center;
  }

  /* Wordmark completo, centrado en la barra, sin recortar bajo Check-in */
  .aether-topbar .aether-topbar-logo-link .ae-logo {
    height: 2.2rem;
    width: auto;
    max-width: 7.25rem;
    max-height: 2.4rem;
    transform: none;
    transform-origin: left center;
    object-fit: contain;
    object-position: left center;
  }

  .aether-topbar .aether-topbar-logo-link:hover .ae-logo {
    transform: none;
  }

  .aether-topbar-nav,
  .aether-topbar-nav-gap {
    gap: 0.4rem !important;
    margin-left: 0.15rem;
  }

  .aether-topbar-nav-checkin {
    margin-left: 0.25rem;
  }

  .aether-topbar-nav .aether-topbar-navlink {
    font-size: 0.78rem;
    gap: 0.3rem;
    padding: 0.25rem 0.2rem;
  }

  .aether-topbar-nav .aether-topbar-navlink i {
    font-size: 0.95rem;
  }
}

/*
  Nav progresiva según ancho:
  - <920: solo Check-in
  - 920–1099: Check-in + Gestionar (label corto)
  - ≥1100: Check-in + Gestionar reserva + CLIC PASS
*/
.aether-topbar-nav-gestionar,
.aether-topbar-nav-clicpass {
  display: none !important;
}

.aether-topbar-nav-gestionar .aether-topbar-nav-gestionar-full {
  display: none;
}
.aether-topbar-nav-gestionar .aether-topbar-nav-gestionar-short {
  display: inline;
}

@media (min-width: 920px) {
  .aether-topbar-nav-gestionar {
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .aether-topbar-mobile-only {
    display: none !important;
  }
}

@media (min-width: 1100px) {
  .aether-topbar-nav-clicpass {
    display: inline-flex !important;
  }

  .aether-topbar-nav-gestionar .aether-topbar-nav-gestionar-full {
    display: inline;
  }
  .aether-topbar-nav-gestionar .aether-topbar-nav-gestionar-short {
    display: none;
  }
}

/* —— Frontend polish (Aether): search icons, combobox, prices, motion —— */
.ae-search-icon {
  color: hsl(var(--primary));
  font-size: 1.05rem;
  flex-shrink: 0;
}

.aether-combobox {
  position: relative;
}

.aether-combobox .aether-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  z-index: 50;
}
.aether-field .aether-combobox {
  z-index: 1;
}
.aether-field:focus-within .aether-combobox {
  z-index: 40;
}
.aether-autocomplete.open {
  z-index: 60;
}

.aether-autocomplete button.is-active {
  background: hsl(var(--muted));
}

.aether-autocomplete-hint {
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

.ae-route-warn {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: hsl(var(--destructive));
  min-height: 1rem;
}

.aether-fecha-vuelta-wrap.is-need-return {
  outline: 2px solid hsl(var(--destructive));
  outline-offset: 2px;
  border-radius: 12px;
  background: hsl(var(--destructive) / 0.06);
}

.ae-price {
  color: hsl(var(--primary));
}

/* Tarifas destacadas — precio en rojo corporativo */
.aether-route-price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: hsl(var(--primary));
  letter-spacing: -0.01em;
}

/* Enlaces «Ver todo →» de sección */
.aether-section-link {
  color: hsl(var(--primary)) !important;
  text-decoration: none;
}
.aether-section-link:hover {
  color: hsl(var(--wine)) !important;
  text-decoration: underline;
}

.aether-exp-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(320px, 78vw);
}
.aether-cms-embed {
  margin: 1.35rem 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  background: hsl(var(--card, 0 0% 100%));
  box-shadow: 0 10px 28px rgba(16, 16, 16, 0.06);
}
.aether-cms-form {
  margin: 0;
}
.aether-cms-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
.aether-cms-form__field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.aether-cms-form__field--half { grid-column: auto; }
.aether-cms-form__field:not(.aether-cms-form__field--half) { grid-column: 1 / -1; }
.aether-cms-form__input {
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}
.aether-cms-form__submit {
  margin-top: 0.9rem;
  background: #E40046;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}
.aether-cms-form__trap { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.aether-hs-embed { width: 100%; overflow: hidden; }
.aether-cms-form-result { max-width: 36rem; }
@media (max-width: 720px) {
  .aether-cms-form__grid { grid-template-columns: 1fr; }
  .aether-cms-form__field--half { grid-column: 1 / -1; }
}

/* =====================================================================
   Precios de cards Clic Experiencias y Tarifas destacadas.
   Estructura mínima: un solo <div class="ae-exp-price"> contenedor con
   dos <span> hijos. Sin flex/grid: garantiza que NUNCA aparezcan los
   números como "burbujas" o caracteres en círculos.
   ===================================================================== */
.ae-exp-price,
.ae-exp-price * {
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding-left: 0;
  padding-right: 0;
  font-variant-numeric: normal !important;
  font-feature-settings: normal !important;
  font-variant-ligatures: none !important;
}
.ae-exp-price {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
}
.ae-exp-price .ae-exp-price-label {
  display: inline;
  margin-right: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(var(--muted-foreground));
}
.ae-exp-price .ae-exp-price-value {
  display: inline;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  color: hsl(var(--primary));
}

/* Vuelo + hotel: padding lateral como tarjetas de ruta */
.ae-grid-exp .ae-exp-price--card {
  padding: 1rem !important;
  text-align: left;
}

/* Total en resumen de orden / checkout (sin gradiente ni “burbujas”) */
.ae-orden-total,
.ae-orden-total * {
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  font-variant-numeric: normal !important;
  font-feature-settings: normal !important;
}
.ae-orden-total-value {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: hsl(var(--primary));
  letter-spacing: 0;
}
.ae-orden-total-moneda {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-left: 0.35rem;
}

.aether-checkout-stepper .aether-step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}
.aether-checkout-stepper .aether-step-link.aether-step-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}
.aether-checkout-stepper .aether-step-link.aether-step-done {
  background: hsl(var(--success) / 0.15);
  border-color: hsl(var(--success));
  color: hsl(var(--success));
}

.aether-ticker-item .ae-font-extrabold.ae-tracking-wider,
.aether-ticker-price {
  color: #fff;
  text-shadow: 0 1px 2px hsl(0 0% 0% / 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .aether-drawer,
  .aether-drawer-backdrop,
  .aether-search-pop {
    transition-duration: 0ms !important;
  }
}

/* =====================================================================
   Dark mode: legibilidad de inputs, placeholders y selects nativos
   ===================================================================== */
html.dark input::placeholder,
html.dark textarea::placeholder,
html.dark .form-control::placeholder {
  color: hsl(0 0% 100% / 0.55) !important;
  opacity: 1;
}
html.dark input,
html.dark textarea,
html.dark select,
html.dark .form-control,
html.dark .form-select {
  color: hsl(var(--foreground));
  background-color: hsl(var(--surface));
  border-color: hsl(var(--border));
}
html.dark .form-control:focus,
html.dark .form-select:focus {
  color: hsl(var(--foreground));
  background-color: hsl(var(--surface));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 0.15rem hsl(var(--primary) / 0.2);
}
html.dark .aether-field {
  background: hsl(var(--surface));
  border-color: hsl(var(--border));
}
html.dark .aether-field input,
html.dark .aether-field select {
  color: hsl(var(--foreground)) !important;
  background: transparent !important;
}
html.dark .aether-autocomplete {
  background: hsl(var(--popover));
  color: hsl(var(--popover-foreground));
  border-color: hsl(var(--border));
}
/* La newsletter siempre es oscura, así que sus inputs ya están bien
   manejados arriba con !important. */

/* Buscador: placeholder origen/destino igual de legible que fechas (gana sobre reglas globales) */
.aether-field .aether-combobox-input::placeholder,
.aether-field .aether-combobox-input::-webkit-input-placeholder {
  color: hsl(var(--foreground)) !important;
  opacity: 1 !important;
  font-weight: 600;
  -webkit-text-fill-color: hsl(var(--foreground));
}
html.dark .aether-field .aether-combobox-input::placeholder,
html.dark .aether-field .aether-combobox-input::-webkit-input-placeholder {
  color: hsl(var(--foreground)) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: hsl(var(--foreground));
}

/* Homepage — acceso rápido a check-in (fijo, esquina inferior derecha) */
.aether-checkin-fab {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 3.35rem;
  padding: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(350 62% 38%));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 22px hsl(var(--primary) / 0.38);
  overflow: hidden;
  transition: max-width 0.38s ease, padding 0.38s ease, gap 0.38s ease, box-shadow 0.2s ease, opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, right 0.28s ease;
}
/* Kiut bubble is bottom-right — check-in announcement sits above it */
.aether-has-kiut-widget .aether-checkin-fab {
  right: 1.35rem;
  bottom: calc(8.75rem + env(safe-area-inset-bottom, 0px));
}
.aether-checkin-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

.aether-checkin-fab.is-expanded,
.aether-checkin-fab:hover,
.aether-checkin-fab:focus-visible {
  max-width: min(92vw, 26rem);
  padding: 0.75rem 1.15rem 0.75rem 0.9rem;
  gap: 0.65rem;
  color: #fff;
  box-shadow: 0 8px 28px hsl(var(--primary) / 0.45);
}

.aether-checkin-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: hsl(var(--primary) / 0.35);
  animation: aether-checkin-fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes aether-checkin-fab-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.aether-checkin-fab__icon {
  position: relative;
  z-index: 1;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.aether-checkin-fab__text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.22s ease, max-width 0.38s ease;
}

.aether-checkin-fab.is-expanded .aether-checkin-fab__text,
.aether-checkin-fab:hover .aether-checkin-fab__text,
.aether-checkin-fab:focus-visible .aether-checkin-fab__text {
  opacity: 1;
  max-width: min(86vw, 23rem);
  white-space: normal;
  line-height: 1.35;
}

.aether-checkin-fab__kw {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

.aether-checkin-fab__close {
  display: none;
  margin-left: 0.35rem;
  padding: 0.15rem 0.35rem;
  border: 0;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.18);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
}
.aether-checkin-fab__close:hover {
  background: hsl(0 0% 100% / 0.3);
}

.aether-checkin-fab.is-expanded .aether-checkin-fab__close,
.aether-checkin-fab:hover .aether-checkin-fab__close,
.aether-checkin-fab:focus-visible .aether-checkin-fab__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .aether-checkin-fab {
    bottom: 1rem;
    right: 1rem;
  }
  .aether-has-kiut-widget .aether-checkin-fab {
    right: 1rem;
    bottom: calc(8.25rem + env(safe-area-inset-bottom, 0px));
  }
  body.aether-kiut-hide-narrow.aether-has-kiut-widget .aether-checkin-fab {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .aether-checkin-fab.is-expanded {
    max-width: min(94vw, 22rem);
    padding: 0.65rem 0.9rem;
    gap: 0.55rem;
  }
  .aether-checkin-fab.is-expanded .aether-checkin-fab__text {
    max-width: min(90vw, 19rem);
    font-size: 0.65rem;
    white-space: normal;
  }
}

/* —— Multidestino (buscador) —— */
.aether-md-legs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aether-md-leg-row {
  display: grid;
  gap: 0.75rem;
  align-items: end;
  grid-template-columns: auto 1fr auto 1fr 1fr auto;
  padding: 0.85rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.9rem;
  background: hsl(var(--surface));
}
.aether-md-leg-row .aether-field {
  position: relative;
  overflow: visible;
}
.aether-md-pax-slot {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  max-width: 100%;
}
.aether-md-pax-slot .aether-field {
  margin-bottom: 0;
}
.aether-md-pax-slot .aether-pax-toggle {
  width: 100%;
}
.aether-md-swap {
  justify-self: center;
  align-self: center;
}
@media (max-width: 899.98px) {
  .aether-search-grid .aether-swap-btn {
    justify-self: center;
    margin-inline: auto;
  }
}
@media (max-width: 767.98px) {
  .aether-md-leg-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .aether-md-leg-row .aether-md-leg-badge {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .aether-md-leg-row .aether-md-leg-remove {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }
  .aether-md-leg-row .aether-md-swap {
    justify-self: center;
    margin: 0.1rem auto;
  }
  .aether-md-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .aether-md-add-btn {
    justify-content: center;
  }
  .aether-md-pax-slot {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .aether-md-leg-row .aether-combobox-input,
  .aether-md-leg-row .aether-field .form-control {
    font-size: 0.8125rem;
  }
}
.aether-md-leg-badge {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: hsl(var(--muted) / 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}
.aether-md-leg-remove {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.aether-md-leg-remove:hover:not(:disabled) {
  border-color: hsl(var(--destructive));
  color: hsl(var(--destructive));
}
.aether-md-leg-remove:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.aether-md-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.aether-md-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed hsl(var(--border));
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}
.aether-md-add-btn:hover:not(:disabled) {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}
.aether-md-add-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.aether-search-grid--md {
  display: none !important;
}

.aether-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.aether-qty-stepper__btn {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 999px;
  background: #fff;
  line-height: 1;
  padding: 0;
}
.aether-qty-stepper__input {
  width: 2.5rem;
  text-align: center;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.5rem;
  height: 1.75rem;
}

/* ── ATR silhouette icon (reusable) ──
   El SVG mira ~NE; 42° deja la nariz al este (origen → destino, sin bajar). */
.aether-atr-icon {
  display: inline-block;
  width: var(--aether-atr-size, 2.75rem);
  height: var(--aether-atr-size, 2.75rem);
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask-image: url('/static/media/Atr_vector.svg');
  mask-image: url('/static/media/Atr_vector.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transform: rotate(var(--aether-atr-rotate, 42deg));
}
.aether-gr-plane.aether-atr-icon,
.aether-gr-plane--mid.aether-atr-icon {
  width: var(--aether-atr-size, 2.75rem);
  height: var(--aether-atr-size, 2.75rem);
  font-size: unset;
  line-height: 0;
  margin-bottom: 0;
  transform: rotate(var(--aether-atr-rotate, 42deg));
}

/* Kiut / CAPI: en checkout no tapa CTAs en ningún viewport. */
body.aether-kiut-hide-narrow #aether-kiut-widget,
body.aether-kiut-hide-narrow [id^="kiut"],
body.aether-kiut-hide-narrow [id*="Kiut"],
body.aether-kiut-hide-narrow [class*="kiut"],
body.aether-kiut-hide-narrow [class*="Kiut"],
body.aether-kiut-hide-narrow [id^="onservice"],
body.aether-kiut-hide-narrow [class*="onservice"],
body.aether-kiut-hide-narrow iframe[src*="kiut"],
body.aether-kiut-hide-narrow iframe[src*="onservice"],
body.aether-kiut-hide-narrow iframe[src*="onService"],
body.aether-kiut-hide-narrow #aether-capi-root,
body.aether-kiut-hide-narrow .aether-capi-root {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.aether-kiut-hide-narrow.aether-has-kiut-widget .aether-checkin-fab {
  right: 1.35rem;
  bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
}
