/**
 * Checkout Aether â layout compacto, totales corporativos (#E40046 / --primary).
 * Inspirado en Lyra checkout; evita font-display en cifras (burbujas).
 */

/* ââ Layout checkout: borde intermedio (como resultados) ââ */
.aether-checkout-wrap {
  --aether-panel-border: 0 0% 84%;
}

.aether-checkout-wrap .aether-checkout-section,
.aether-checkout-wrap .aether-payment-card,
.aether-checkout-wrap .aether-ticket-card {
  border-color: hsl(var(--aether-panel-border));
}

.aether-checkout-wrap .aether-ticket-card__flight .aether-flight-leg-card {
  border-color: hsl(var(--aether-panel-border));
}

/* Usa el ancho de .clic-section (hasta 80rem); en mÃ³vil va al 100%. */
.aether-checkout-wrap {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2rem;
}

/* Pantallas grandes: dos columnas en resumen/pago y extras */
@media (min-width: 1024px) {
  .aether-checkout-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 1rem 1.25rem;
    align-items: start;
    transition: grid-template-columns 0.35s ease;
  }

  .aether-checkout-wrap.aether-checkout--pago-focus .aether-checkout-columns {
    grid-template-columns: minmax(0, 0.42fr) minmax(360px, 1.15fr);
  }

  .aether-checkout-col-side {
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }

  /* Evita que la card sticky tape el desglose mientras el widget DEUNA está abierto */
  .aether-checkout-wrap.aether-checkout--pago-focus .aether-checkout-col-side {
    position: static;
  }

  /* Alinear card de pago con la de desglose (sin banner de total duplicado) */
  .aether-checkout-col-side .aether-checkout-section:first-child {
    margin-top: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .aether-checkout-wrap.aether-checkout--pago-focus .aether-checkout-columns {
    grid-template-columns: 1fr;
  }
  .aether-checkout-wrap.aether-checkout--pago-focus .aether-checkout-col-side {
    order: -1;
  }
}

/* Al elegir Tarjeta/PSE/Efectivo: desglose y pasajeros se compactan */
.aether-checkout--pago-focus .aether-checkout-col-main .aether-checkout-section {
  padding: 0.55rem 0.65rem;
}

.aether-checkout--pago-focus .aether-checkout-col-main .aether-checkout-section-head {
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
}

.aether-checkout--pago-focus .aether-checkout-col-main .aether-cart-table,
.aether-checkout--pago-focus .aether-checkout-col-main .aether-pax-list {
  font-size: 0.75rem;
  max-height: 9.5rem;
  overflow: auto;
}

.aether-checkout--pago-focus .aether-checkout-col-main .aether-cart-table th,
.aether-checkout--pago-focus .aether-checkout-col-main .aether-cart-table td {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.aether-checkout--pago-focus .aether-checkout-col-side .aether-checkout-section {
  box-shadow: 0 4px 16px hsl(var(--foreground) / 0.04);
}

.aether-precio-aceptacion {
  padding: 0.75rem 0.85rem;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--muted) / 0.35);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.aether-precio-aceptacion.is-attention,
.aether-exchange-consent.is-attention {
  border-color: hsl(var(--destructive, 0 72% 51%));
  box-shadow: 0 0 0 3px hsl(var(--destructive, 0 72% 51%) / 0.18);
}
.aether-precio-aceptacion.is-pulse .form-check-input {
  animation: aether-chk-pulse 1.25s ease-in-out infinite;
}
.aether-required-mark {
  color: hsl(var(--destructive, 0 72% 51%));
  font-weight: 700;
  margin-left: 0.15rem;
}
@keyframes aether-chk-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 hsl(var(--primary) / 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px hsl(var(--primary) / 0);
    transform: scale(1.08);
  }
}
.aether-pago-panel.is-precio-locked .aether-btn-pagar.is-disabled,
.aether-btn-pagar:disabled,
.aether-btn-pagar[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.aether-pago-panel.is-precio-locked [data-aether-pago-metodos] {
  display: none !important;
}
.aether-payment-option.is-disabled,
.aether-payment-option[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.aether-deuna-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aether-deuna-method.is-selected .aether-payment-card {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.aether-deuna-active__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.aether-deuna-active__label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.aether-deuna-active__back {
  text-decoration: none;
  white-space: nowrap;
  padding: 0;
}

.aether-pago-legacy {
  border-top: 1px solid hsl(var(--border));
  padding-top: 0.65rem;
}

.aether-pago-legacy__summary {
  cursor: pointer;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  list-style: none;
}

.aether-pago-legacy__summary::-webkit-details-marker {
  display: none;
}

.aether-pago-legacy__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.aether-payment-icon--deuna-pse {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.aether-payment-icon--deuna-cash {
  background: linear-gradient(135deg, #15803d, #166534);
}

.aether-payment-icon--deuna-ctp {
  background: linear-gradient(135deg, #111827, #ea580c);
}

.aether-payment-marks {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.25rem;
  padding: 0 0.45rem;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  flex-shrink: 0;
}

.aether-payment-marks img {
  height: 1.05rem;
  width: auto;
  max-width: 2.4rem;
  object-fit: contain;
  display: block;
}

.aether-payment-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 3px;
  box-sizing: border-box;
}

.aether-payment-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.aether-payment-mark--wide {
  width: auto;
  min-width: 2.25rem;
  padding: 3px 6px;
}

.aether-payment-mark--wide img {
  height: 1.15rem;
  width: auto;
  max-width: 4.75rem;
}

@media (min-width: 1280px) {
  .aether-extras-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  }
}

.aether-checkout-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.aether-checkout-header h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.aether-checkout-header .aether-checkout-meta {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.aether-checkout-meta strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

/* ââ Stepper compacto ââ */
.aether-checkout-stepper {
  margin-bottom: 1rem;
}

.aether-checkout-stepper .ae-flex {
  gap: 0.35rem 0.5rem;
}

.aether-checkout-stepper .aether-step-line {
  width: 1.25rem;
  height: 2px;
  background: hsl(var(--border));
  flex-shrink: 0;
}

.aether-checkout-stepper .aether-step-active,
.aether-checkout-stepper .aether-step-muted,
.aether-checkout-stepper .aether-step-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
}

.aether-checkout-stepper .aether-step-muted {
  border: 2px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card));
}

.aether-checkout-stepper .aether-step-active {
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.aether-checkout-stepper .aether-step-done {
  border: 2px solid hsl(var(--success));
  background: hsl(var(--success));
  color: #fff;
}

.aether-checkout-stepper .aether-step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
}

.aether-checkout-stepper .aether-step-link.aether-step-active {
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.aether-checkout-stepper .aether-step-link.aether-step-done {
  border: 2px solid hsl(var(--success));
  background: hsl(var(--success));
  color: #fff;
}

.aether-checkout-stepper .aether-step-link.aether-step-muted {
  border: 2px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card));
}

/* ââ NavegaciÃ³n entre pasos (arriba, compacta) ââ */
.aether-checkout-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}

.aether-btn-checkout-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1.5px solid hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.04);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: 'Inter', system-ui, sans-serif;
}

.aether-btn-checkout-outline:hover {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

button.aether-btn-checkout-outline {
  appearance: none;
}

.aether-btn-checkout-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: 'Inter', system-ui, sans-serif;
}

.aether-btn-checkout-ghost:hover {
  color: hsl(var(--primary));
}

.aether-btn-extras-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsl(var(--primary-foreground, #fff));
  background: #E40046;
  background-image: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  transition: filter 0.15s, transform 0.1s;
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.25);
}

.aether-btn-extras-skip:hover {
  filter: brightness(1.05);
  color: hsl(var(--primary-foreground, #fff));
}

.aether-checkout-nav-hint {
  flex: 1 1 100%;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 480px) {
  .aether-checkout-nav-hint {
    flex: 1 1 auto;
    margin-left: auto;
    text-align: right;
  }
}

/* ââ Secciones tipo Lyra ââ */
.aether-checkout-section {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.04);
}

.aether-checkout-section--flush {
  padding: 0.75rem 1rem;
}

.aether-checkout-section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.aether-checkout-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ââ Tabla resumen (Lyra cart-table) ââ */
.aether-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.aether-cart-table th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
}

.aether-cart-table th.text-end,
.aether-cart-table td.text-end {
  text-align: right;
}

.aether-cart-table td {
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  vertical-align: top;
  color: hsl(var(--foreground));
}

.aether-cart-table tr:last-child td {
  border-bottom: none;
}

.aether-cart-table .aether-cart-product {
  font-weight: 600;
  font-size: 0.8125rem;
}

.aether-cart-table .aether-cart-sub {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  font-weight: 400;
}

.aether-cart-table tr.aether-cart-total-row td {
  border-top: 2px solid hsl(var(--primary));
  border-bottom: none;
  padding-top: 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.aether-cart-table tr.aether-cart-total-row td:last-child {
  color: hsl(var(--primary));
}

.aether-cart-total-row--sin-promo td {
  border-top: 1px solid hsl(var(--border));
  padding-top: 0.5rem;
  padding-bottom: 0.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground)) !important;
}

.aether-cart-descuento-row td {
  border-top: 1px dashed hsl(var(--border));
  padding-top: 0.45rem;
  padding-bottom: 0.25rem;
}

.aether-cart-descuento-value {
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums lining-nums;
  color: hsl(var(--primary)) !important;
}

.aether-cart-total-row--sin-promo .aether-total-sin-promo {
  text-decoration: line-through;
  color: hsl(var(--muted-foreground)) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.aether-cart-total-row--promo td {
  border-top: 2px solid hsl(var(--primary));
  padding-top: 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ââ Totales: SIEMPRE Inter + rojo corporativo, sin burbujas ââ */
.ae-orden-total,
.ae-orden-total *,
.ae-orden-total-value,
#aether-extras-total,
.aether-checkout-total-banner .aether-checkout-total-amount,
.aether-cart-table tr.aether-cart-total-row td:last-child {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  font-variant-numeric: tabular-nums lining-nums !important;
  font-feature-settings: 'tnum' 1, 'lnum' 1 !important;
  font-variant-ligatures: none !important;
  letter-spacing: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: hsl(var(--primary)) !important;
}

.aether-cart-table tr.aether-cart-total-row--sin-promo td,
.aether-cart-table tr.aether-cart-total-row--sin-promo td:last-child,
.aether-cart-table tr.aether-cart-total-row--sin-promo .aether-total-sin-promo {
  color: hsl(var(--muted-foreground)) !important;
}

.ae-orden-total-value,
#aether-extras-total,
.aether-checkout-total-banner .aether-checkout-total-amount {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.ae-orden-total-moneda {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground)) !important;
  margin-left: 0.25rem;
}

.aether-checkout-total-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.75rem;
  background: hsl(var(--muted) / 0.35);
  border-radius: 8px;
  font-size: 0.8125rem;
}

.aether-checkout-total-banner .aether-checkout-total-label {
  color: hsl(var(--muted-foreground));
}

/* ââ Pasajeros compactos ââ */
.aether-pax-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.aether-pax-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.aether-pax-list li:last-child {
  border-bottom: none;
}

.aether-pax-list .aether-pax-type {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}

/* ââ MÃ©todos de pago (Lyra) ââ */
.aether-payment-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aether-payment-option {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 0;
  background: none;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.aether-payment-option--btn {
  appearance: none;
  -webkit-appearance: none;
}

.aether-payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--card));
  transition: border-color 0.2s, background 0.2s;
}

.aether-payment-option:hover .aether-payment-card {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.04);
}

.aether-payment-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.aether-payment-icon--ptp {
  background: linear-gradient(135deg, #00c9a7, #00a3e0);
}

.aether-payment-icon--deuna {
  background: linear-gradient(135deg, #0f766e, #115e59);
}

.aether-payment-icon--addi {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--wine, 346 80% 35%)));
}

.aether-payment-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.aether-payment-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.35;
}

.aether-payment-arrow {
  color: hsl(var(--primary));
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.aether-payment-note {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin: 0.5rem 0 0;
  line-height: 1.4;
}

.aether-btn-pagar {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.28);
}
.aether-btn-pagar:hover,
.aether-btn-pagar:focus {
  box-shadow: 0 6px 18px hsl(var(--primary) / 0.35);
}
.aether-pago-metodos[hidden] {
  display: none !important;
}
.aether-pago-metodos {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: grid-template-rows 0.38s ease, opacity 0.32s ease, margin-top 0.32s ease;
}
.aether-pago-metodos.is-visible {
  /* `auto` (no 1fr): permite que el iframe DEUNA crezca sin quedar clipado */
  grid-template-rows: auto;
  opacity: 1;
  margin-top: 0.75rem;
  overflow: visible;
}
.aether-pago-metodos__inner {
  min-height: 0;
  overflow: hidden;
}
.aether-pago-metodos.is-visible .aether-pago-metodos__inner,
.aether-checkout--pago-focus .aether-pago-metodos__inner {
  overflow: visible;
  min-height: auto;
}

.aether-checkout--pago-focus .aether-pago-panel,
.aether-checkout--pago-focus .aether-checkout-section,
.aether-checkout--pago-focus .aether-payment-stack,
.aether-checkout--pago-focus #aether-deuna-active {
  overflow: visible;
}

.aether-deuna-reload {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
}
.aether-deuna-reload[hidden] {
  display: none !important;
}
.aether-deuna-reload .aether-btn-gradient {
  min-width: 12rem;
}

.aether-deuna-widget {
  min-height: 12rem;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.aether-deuna-widget.is-loading {
  min-height: 16rem;
}

.aether-deuna-widget[data-deuna-method="click_to_pay"] {
  min-height: 650px;
}

.aether-deuna-widget[data-deuna-method="addi"] {
  min-height: 32rem;
  overflow: visible;
}

.aether-deuna-widget-wrap:has([data-deuna-method="addi"]) {
  overflow: visible;
}

.aether-deuna-widget[data-deuna-method="efectivo"],
.aether-deuna-widget[data-deuna-method="voucher"] {
  max-height: min(640px, calc(100vh - 8rem));
  overflow: hidden;
}

.aether-deuna-widget-wrap:has([data-deuna-method="efectivo"]),
.aether-deuna-widget-wrap:has([data-deuna-method="voucher"]) {
  max-height: min(640px, calc(100vh - 8rem));
  overflow: hidden;
}

.aether-deuna-voucher {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: #fff;
}

.aether-deuna-voucher__title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.aether-deuna-voucher__code {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 0.25rem 0 0.5rem;
}

.aether-deuna-widget iframe,
.aether-deuna-widget deuna-loader,
#deuna-payment-widget iframe {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

.aether-deuna-widget.is-loading::before {
  content: 'Cargando formulario de pago…';
  display: block;
  padding: 1.25rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.aether-deuna-widget-wrap {
  position: relative;
  width: 100%;
}

.aether-deuna-amount-lock {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: center;
}

.aether-deuna-amount-lock[hidden] {
  display: none;
}

/* Cubre el botón pagar (abajo) y deja escribir el número de tarjeta (arriba). */
.aether-deuna-amount-lock.is-pay-zone {
  top: auto;
  height: 50%;
  min-height: 8.5rem;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 16px rgba(255, 255, 255, 0.85);
}
.aether-pago-metodos__hint {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-align: center;
}

/* ââ Extras: sidebar resumen ââ */
.aether-extras-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 992px) {
  .aether-extras-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }
  .aether-extras-layout > aside.aether-extras-summary {
    align-self: start;
    position: sticky;
    top: 5rem;
  }
}

.aether-extras-summary {
  padding: 0.85rem 1rem;
}

.aether-extras-summary .aether-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  padding: 0.2rem 0;
}

.aether-price-breakdown__row {
  padding: 0.1rem 0;
}
.aether-price-breakdown__total {
  border-top: 1px dashed hsl(var(--border));
  padding-top: 0.35rem;
}

.aether-extras-summary hr {
  margin: 0.5rem 0;
}

.aether-extras-summary .aether-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.aether-extras-summary .aether-summary-total-row span:first-child {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* ââ Paso 2: formulario ââ */
.aether-checkout-form-card {
  padding: 1rem 1.15rem;
}

.aether-checkout-form-card .form-label {
  font-size: 0.8125rem;
  margin-bottom: 0.2rem;
}

.aether-checkout-form-card .row.g-3 {
  --bs-gutter-y: 0.65rem;
  --bs-gutter-x: 0.65rem;
}

.aether-checkout-pax-block {
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
  border: 1px solid hsl(var(--aether-panel-border, var(--border)));
  border-radius: 12px;
  background: hsl(var(--background));
  overflow: hidden;
}
.aether-checkout-pax-block:not(.is-collapsed) {
  overflow: visible;
}

.aether-checkout-pax-block:last-of-type {
  margin-bottom: 0;
}

.aether-checkout-pax-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 0.35rem;
}

.aether-checkout-pax-head:hover {
  background: hsl(var(--muted) / 0.45);
}

.aether-checkout-pax-head .aether-checkout-section-head {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  line-height: 1.5rem;
}

.aether-checkout-pax-title {
  display: inline-flex;
  align-items: center;
  line-height: 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(1px);
}

.aether-checkout-billing .form-control,
.aether-checkout-billing .form-select,
.aether-checkout-pax-block .form-control,
.aether-checkout-pax-block .form-select {
  border-radius: 0.5rem;
  min-height: 2.4rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.aether-checkout-billing {
  padding: 0.85rem 0.95rem;
  border: 1px solid hsl(var(--aether-panel-border, var(--border)));
  border-radius: 12px;
  background: hsl(var(--background));
}

.aether-checkout-pax-head-meta {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aether-checkout-pax-chevron {
  flex: 0 0 auto;
  font-size: 0.95rem;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.aether-checkout-pax-block:not(.is-collapsed) .aether-checkout-pax-chevron {
  transform: rotate(180deg);
}

.aether-checkout-pax-body {
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.aether-checkout-pax-block.is-collapsed .aether-checkout-pax-body {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.aether-checkout-pax-block:not(.is-collapsed) .aether-checkout-pax-body {
  max-height: none;
  opacity: 1;
  overflow: visible;
}

.aether-checkout-form .form-control:focus,
.aether-checkout-form .form-select:focus,
.aether-checkout-pax-block .form-control:focus,
.aether-checkout-pax-block .form-select:focus,
.aether-checkout-billing .form-control:focus,
.aether-checkout-billing .form-select:focus {
  border-color: hsl(var(--primary));
  outline: none;
  box-shadow: 0 0 0 0.18rem hsl(var(--primary) / 0.22);
}

.aether-checkout-pax-block .aether-combobox .aether-autocomplete {
  z-index: 30;
}

.aether-checkout-pax-block.is-collapsed .aether-checkout-pax-head {
  margin-bottom: 0;
}

.aether-checkout-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.aether-status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

/* ââ Tarjeta de tiquete post-pago ââ */
.aether-ticket-card {
  margin-top: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--aether-panel-border, var(--border)));
  box-shadow:
    0 1px 0 hsl(var(--primary) / 0.12),
    0 12px 32px hsl(var(--primary) / 0.1);
}

.aether-checkout-col-side > .aether-ticket-card {
  border-top: 3px solid hsl(var(--primary));
}

.aether-ticket-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem 0.85rem;
  border-bottom: 1px dashed hsl(var(--border) / 0.75);
  background: linear-gradient(
    90deg,
    hsl(var(--primary) / 0.07) 0%,
    transparent 70%
  );
}

.aether-ticket-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  font-size: 1.15rem;
  flex-shrink: 0;
}

.aether-ticket-card__title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.aether-ticket-card__subtitle {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.aether-ticket-card__body {
  padding: 0.85rem 1.15rem 1rem;
}

.aether-ticket-card__reserva--sep {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed hsl(var(--border) / 0.6);
}

.aether-ticket-card__leg-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.aether-ticket-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.75rem;
}

.aether-ticket-card__meta dt {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.1rem;
}

.aether-ticket-card__meta dd {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.aether-ticket-card__flight {
  margin-top: 0.35rem;
}

.aether-ticket-card__flight .aether-flight-leg-card {
  background: hsl(var(--background) / 0.65);
  border: 1px solid hsl(var(--border) / 0.45);
  box-shadow: none;
}

.aether-ticket-card__emds {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed hsl(var(--border) / 0.55);
}

.aether-ticket-card__emds-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.5rem;
}

.aether-ticket-card__emds-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.aether-ticket-card__emds-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.aether-ticket-card__emds-svc {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
}

.aether-ticket-card__emds-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  font-variant-numeric: tabular-nums;
}

.aether-ticket-card__footer {
  padding: 0.65rem 1.15rem;
  border-top: 1px dashed hsl(var(--border) / 0.6);
  background: hsl(var(--muted) / 0.2);
  text-align: center;
}

/* Menor solo CHD — atención al cliente */
.aether-minor-callcenter {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: hsl(var(--muted) / 0.45);
  border: 1px solid hsl(var(--border) / 0.8);
}
.aether-minor-callcenter__lead {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: hsl(var(--foreground));
  margin: 0 0 0.85rem;
}
.aether-minor-callcenter__icon {
  flex: 0 0 auto;
  color: hsl(var(--primary));
  font-size: 1.05rem;
  line-height: 1.35;
}
.aether-minor-callcenter__grid {
  display: grid;
  gap: 0.85rem 1.25rem;
  margin: 0;
}
@media (min-width: 640px) {
  .aether-minor-callcenter__grid {
    grid-template-columns: 1fr 1fr;
  }
  .aether-minor-callcenter__hours {
    grid-column: 1 / -1;
  }
}
.aether-minor-callcenter__grid dt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.35rem;
}
.aether-minor-callcenter__grid dt .bi {
  font-size: 0.85rem;
  color: hsl(var(--primary));
}
.aether-minor-callcenter__grid dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.aether-minor-callcenter__grid a {
  color: hsl(var(--primary));
  text-decoration: none;
}
.aether-minor-callcenter__grid a:hover {
  text-decoration: underline;
}
.aether-minor-callcenter__hours dd {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

/* HOLD post-pago: aviso de vencimiento en extras */
.aether-hold-expiry-banner {
  background: hsl(var(--primary) / 0.06);
  border-color: hsl(var(--primary) / 0.22);
}

/* Tipo de pasajero bloqueado por cotización */
select.form-select[data-aether-tipo-locked="1"],
select[data-aether-tipo-locked="1"] {
  opacity: 0.85;
  cursor: not-allowed;
  background-color: hsl(var(--muted) / 0.35);
}
