/* ===== Módulo de ofertas: popup y franja superior ===== */

/* El encabezado del sitio baja cuando hay franja */
.header { top: var(--oferta-banner-h, 0px); }

/* ----- Franja superior ----- */
.oferta-banner {
  position: relative;
  z-index: 15;
  display: flex;
  align-items: center;
  background: var(--gold);
  color: var(--ink);
}
.oferta-banner__link {
  flex: 1;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 14px;
  padding: 10px 48px 10px 16px;
  font-size: 14px;
  text-align: center;
}
.oferta-banner__link.is-activa { display: flex; animation: oferta-fade 0.4s ease; }
@keyframes oferta-fade { from { opacity: 0; } to { opacity: 1; } }
.oferta-banner__link strong { font-weight: 500; letter-spacing: 0.04em; }
.oferta-banner__link em { font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.oferta-banner__cerrar {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border: 0; background: none;
  font-size: 22px; line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

/* ----- Ventana emergente ----- */
.oferta-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 17, 16, 0.6);
  opacity: 0;
  transition: opacity 0.25s;
}
.oferta-popup.is-visible { opacity: 1; }
.oferta-popup__caja {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(12px);
  transition: transform 0.25s;
}
.oferta-popup.is-visible .oferta-popup__caja { transform: none; }
.oferta-popup__ventana { position: relative; overflow: hidden; }
.oferta-popup__pista { display: flex; transition: transform 0.35s ease; }
.oferta-popup__slide { flex: 0 0 100%; min-width: 0; }
.oferta-popup__flecha {
  position: absolute;
  top: 34%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 249, 245, 0.92);
  color: var(--ink);
  font-size: 26px; line-height: 1;
  cursor: pointer;
}
.oferta-popup__flecha--ant { left: 10px; }
.oferta-popup__flecha--sig { right: 10px; }
.oferta-popup__puntos { display: flex; justify-content: center; gap: 10px; padding: 0 0 22px; }
.oferta-popup__punto {
  width: 9px; height: 9px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.oferta-popup__punto.is-activo { background: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .oferta-popup__pista { transition: none; }
}
.oferta-popup__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.oferta-popup__cuerpo { padding: 28px 28px 32px; text-align: center; }
.oferta-popup__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.oferta-popup__titulo {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
}
.oferta-popup__texto { margin: 0 0 24px; color: var(--muted); }
.oferta-popup__cerrar {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 1;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 249, 245, 0.92);
  font-size: 22px; line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
