/* ============================================================
   STBMadrid — Hoja de estilos principal
   Negro #0a0a0a · Dorado #d4a017 · Rojo #c0392b
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #d4a017;
  --gold-light: #f0c040;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --red: #c0392b;
  --white: #ffffff;
  --grey: #888888;
  --grey-light: #cccccc;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --section-pad: 5rem 1.5rem;
  --radius: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Tipografía --- */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}
.gold { color: var(--gold); }

/* --- Botones --- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

.btn-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-sm:hover { background: var(--gold-light); }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
/* Safety net — no romper si JS falla */
.reveal[data-split] { opacity: 1; transform: none; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.15);
  transition: all var(--transition);
}

.header-logo img {
  height: 50px;
  width: auto;
}

#main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#main-nav a {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color var(--transition);
  position: relative;
}
#main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
#main-nav a:hover { color: var(--gold); }
#main-nav a:hover::after { transform: scaleX(1); }

/* Selector de idioma ES/EN (solo web de usuario) */
.lang-toggle {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-title, inherit);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: 0.75rem;
  flex: 0 0 auto;
  z-index: 101;
}
.lang-toggle:hover { background: var(--gold); color: #0a0a0a; }
.lang-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  /* #menu-toggle y #main-nav son hermanos dentro de #header — cuando el menú
     móvil se abre a pantalla completa (z-index:99, ver media query), sin esto
     el propio botón que lo abre/cierra quedaba tapado debajo (z-index implícito
     0), así que se podía desplegar pero no replegar. */
  position: relative;
  z-index: 101;
}
#menu-toggle span {
  display: block;
  width: 25px; height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}
/* El botón se convierte visualmente en una "✕" mientras el menú está abierto —
   confirma que ahora sirve para cerrar, no solo para abrir. */
#menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, #1a1200 0%, #0a0a0a 70%);
  z-index: 0;
}
.hero-bg.has-flyer {
  background-size: cover;
  /* Ancla arriba: los flyers llevan el elemento clave (eclipse / sol) en la parte
     superior; con 'center' el hero recortaba solo el centro (la espalda del oso). */
  background-position: center top;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 160, 23, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(192, 57, 43, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Logo de marca — transparente, sin caja/aro (versión definitiva).
   Se usa en la esquina (cabecera), en el footer y como sello a la
   izquierda del título de cada sección. El logo giratorio antiguo y el
   medallón central del hero se eliminaron. */
.header-logo img,
.footer-logo img {
  object-fit: contain;
  background: transparent;
}
.header-logo img { width: 46px; height: 46px; }
.footer-logo img { width: 84px; height: 84px; }

/* Sello de marca a la izquierda del título de CADA sección.
   Tamaño en em -> escala solo con el título (responsive móvil/escritorio). */
.section-title h2::before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
  vertical-align: -0.42em;
  background: url(../assets/logo/logo-oso-palmera.png) center/contain no-repeat;
}

.hero-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  color: var(--grey-light);
}
.hero-meta strong { color: var(--gold); }

#countdown {
  display: flex;
  gap: 0.5rem 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.cd-num {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.cd-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.3rem;
}
.cd-sep {
  font-size: 2rem;
  color: var(--gold);
  align-self: flex-start;
  padding-top: 0.5rem;
  opacity: 0.5;
}
.countdown-live { color: var(--gold); font-size: 1.5rem; font-weight: 700; }

/* Live banner */
.live-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #b71c1c, #c62828);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  flex-wrap: wrap;
  text-align: center;
  animation: livePulse 2s infinite;
}
@keyframes livePulse { 0%,100%{ opacity:1; } 50%{ opacity:0.85; } }
.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 0 0 rgba(255,82,82,0.7);
  animation: dotPulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes dotPulse { 0%{ box-shadow:0 0 0 0 rgba(255,82,82,0.7); } 70%{ box-shadow:0 0 0 10px rgba(255,82,82,0); } 100%{ box-shadow:0 0 0 0 rgba(255,82,82,0); } }
.live-wa-btn {
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
}
.live-wa-btn:hover { background: rgba(255,255,255,0.3); }
/* No-event banner */
.no-event-banner {
  background: rgba(212,160,23,0.08);
  border-bottom: 1px solid rgba(212,160,23,0.2);
  color: var(--grey-light);
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  text-align: center;
}
.no-event-banner a { color: var(--gold); font-weight: 700; text-decoration: none; }
/* Share button */
.btn-share-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 2px solid #25d366;
  border-radius: 50px;
  color: #25d366;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  transition: background 0.2s;
}
.btn-share-wa:hover { background: rgba(37,211,102,0.1); }
/* Urgencia de entradas */
.ticket-urgency {
  margin: 0 auto 2rem;
  max-width: 500px;
  text-align: center;
}
.urgency-label { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.urgency-pct   { font-size: 0.78rem; color: var(--grey); font-weight: 400; }
.urgency-track { background: rgba(255,255,255,0.08); border-radius: 50px; height: 8px; overflow: hidden; }
.urgency-fill  { height: 100%; border-radius: 50px; transition: width 0.8s ease; }
/* Footer admin link */
.footer-admin-link {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.15);
  font-size: 0.72rem;
  margin-top: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-admin-link:hover { color: var(--gold); }

.hero-ticket-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.hero-ticket-badge.available   { background: rgba(76,175,80,0.15);  color: #81c784; border: 1px solid rgba(76,175,80,0.3); }
.hero-ticket-badge.almost-gone { background: rgba(255,152,0,0.15);  color: #ffb74d; border: 1px solid rgba(255,152,0,0.4); }
.hero-ticket-badge.sold-out    { background: rgba(192,57,43,0.15);  color: #e57373; border: 1px solid rgba(192,57,43,0.3); }

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '↓';
  font-size: 1.2rem;
  color: var(--gold);
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ============================================================
   CINTA DE EVENTOS (varios eventos publicados a la vez)
   ============================================================ */
.events-ticker {
  margin-top: 78px;
  overflow: hidden;
  background: var(--dark-2, #111);
  border-bottom: 1px solid rgba(212,160,23,0.15);
  position: relative;
  z-index: 5;
}
.events-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.events-ticker:hover .events-ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.et-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  transition: background var(--transition);
}
.et-card:hover { background: rgba(212,160,23,0.08); }
.et-flyer {
  width: 44px; height: 44px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.et-flyer-empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--dark-4);
  font-size: 1.2rem;
}
.et-info { display: flex; flex-direction: column; gap: 0.1rem; }
.et-info strong { font-size: 0.85rem; color: var(--white); }
.et-info span { font-size: 0.72rem; color: var(--grey); }
.et-countdown { color: var(--gold) !important; font-weight: 700; }

/* ============================================================
   PROGRAMA
   ============================================================ */
#programa {
  background: var(--dark-2);
}

#schedule-list {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
#schedule-list::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.schedule-item {
  display: grid;
  grid-template-columns: 80px 40px 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
}
.schedule-item + .schedule-item { border-top: 1px solid rgba(255,255,255,0.05); }

.schedule-time {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  text-align: right;
  padding-top: 0.2rem;
}
.schedule-icon {
  font-size: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.schedule-info strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.schedule-info p { font-size: 0.85rem; color: var(--grey); }

/* ============================================================
   ENTRADAS
   ============================================================ */
#entradas {
  padding: var(--section-pad);
  background: var(--dark);
}

#tickets-grid {
  max-width: 1000px;
  margin: 0 auto;
}
.tickets-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tickets-event-tabs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.tickets-event-tab {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.12);
  color: var(--grey-light);
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.tickets-event-tab.active, .tickets-event-tab:hover { border-color: var(--gold); color: var(--gold); }

.ticket-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.ticket-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(212, 160, 23, 0.3);
}

.ticket-highlighted {
  border-color: var(--gold);
  background: linear-gradient(135deg, #1a1400 0%, var(--dark-3) 100%);
  box-shadow: 0 0 40px rgba(212, 160, 23, 0.15);
  padding-top: 2.8rem;
}
.ticket-highlighted::before {
  content: '⭐ Más popular';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-title);
  letter-spacing: 0.05em;
  padding: 0.3rem 1rem;
  border-radius: 0 0 50px 50px;
  white-space: nowrap;
}

.ticket-emoji {
  font-size: 2.3rem;
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(212, 160, 23, 0.28), rgba(212, 160, 23, 0.04));
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(212, 160, 23, 0.14);
}
.ticket-name { font-size: 1.7rem; color: var(--gold); text-align: center; font-family: var(--font-title); }
.ticket-access { font-size: 0.85rem; color: var(--grey); text-align: center; margin-top: -0.4rem; }

.ticket-price { display: flex; align-items: baseline; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
/* Precio antiguo tachado con línea DIAGONAL (no horizontal) para que se vea mejor
   el descuento — pedido del usuario. Se dibuja con un pseudo-elemento rotado. */
.price-old {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--grey);
  position: relative;
  display: inline-block;
  padding: 0 0.1em;
}
.price-old::after {
  content: "";
  position: absolute;
  left: -0.12em; right: -0.12em;
  top: 50%;
  height: 2.5px;
  background: var(--red);
  border-radius: 3px;
  transform: translateY(-50%) rotate(-16deg);
  pointer-events: none;
}
.price-new { font-size: 2.6rem; font-weight: 800; font-family: var(--font-title); color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,0.35); }
.price-saving {
  align-self: center;
  margin: 0.1rem auto 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.4);
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-label {
  font-size: 0.7rem;
  background: var(--red);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-weight: 700;
}

.ticket-includes { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding-top: 0.4rem; }
.ticket-includes li {
  font-size: 0.92rem;
  color: var(--grey-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ticket-includes .inc-ico {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-radius: 50%;
}

/* Aviso de barra/snacks + medio de pago en el recinto (comida/BBQ va incluida en el pase) */
.ticket-extra-note {
  margin-top: 0.9rem;
  padding: 0.6rem 0.75rem;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.06);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--grey-light);
}
.ticket-extra-note span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 700;
  color: var(--gold);
}
.ticket-extra-note .note-warn { color: var(--red); }

/* Regalo del pase (ej. gafas de eclipse) — se muestra APARTE de "incluye" a propósito:
   es un obsequio hasta agotar existencias, no un servicio contratado con la entrada. */
.ticket-gift {
  margin-top: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.18), rgba(212, 160, 23, 0.05));
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gold-light);
  text-align: center;
}

/* Enlace de normas/información del evento bajo la tarjeta del pase */
.ticket-info-link {
  display: block;
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.ticket-info-link:hover { color: var(--gold-light); }

/* Etiqueta que dice de QUÉ evento es el programa mostrado (solo con 2+ eventos a la
   venta a la vez, si no sobra). */
.schedule-event-label {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  margin: 0 0 1.5rem;
}

/* Recuadro de pago alternativo: Bizum por WhatsApp directo (debajo de los pases) */
.bizum-wa-box {
  max-width: 460px;
  margin: 2.5rem auto 0;
  background: #131313;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.bizum-wa-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.bizum-wa-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.bizum-wa-sub { color: var(--grey); font-size: 0.9rem; line-height: 1.55; margin-bottom: 1.3rem; }
.bizum-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #0a3d1f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.bizum-wa-btn:hover { background: #1fb457; transform: translateY(-1px); }
.bizum-wa-num { color: var(--grey); font-size: 0.8rem; margin-top: 0.9rem; }

.btn-buy {
  display: block;
  background: var(--gold);
  color: var(--dark);
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem;
  border-radius: 50px;
  transition: all var(--transition);
  margin-top: auto;
}
.btn-buy:hover { background: var(--gold-light); transform: scale(1.02); }

/* ============================================================
   GALERÍA
   ============================================================ */
#galeria {
  padding: var(--section-pad);
  background: var(--dark-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ============================================================
   TIENDA
   ============================================================ */
#tienda {
  padding: var(--section-pad);
  background: var(--dark);
}

.bizum-box {
  background: var(--dark-3);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  margin: 0 auto 3rem;
}
.bizum-box h4 { color: var(--gold); margin-bottom: 0.5rem; }
.bizum-box p { color: var(--grey); font-size: 0.9rem; margin-bottom: 1rem; }
.bizum-placeholder {
  width: 180px; height: 180px;
  background: var(--white);
  margin: 0 auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}
.bizum-number { font-weight: 700; font-size: 1.1rem; color: var(--gold); margin-top: 0.5rem; }

#shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.shop-item {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.shop-item:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.shop-item img { width: 100%; height: 200px; object-fit: cover; }
.shop-placeholder {
  width: 100%; height: 200px;
  background: var(--dark-4);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.shop-info { padding: 1.5rem; }
.shop-info h4 { margin-bottom: 0.5rem; }
.shop-info p { font-size: 0.85rem; color: var(--grey); margin-bottom: 1rem; }
.shop-price { font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.shop-sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.size-btn {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--grey);
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--gold); color: var(--gold); }

.btn-buy-qr {
  width: 100%;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-buy-qr:hover { background: var(--gold); color: var(--dark); }

/* ── Modal QR ── */
#qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.qr-modal-box {
  background: var(--dark-3);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
}
.qr-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--grey);
  font-size: 1.5rem;
  cursor: pointer;
}
.qr-close:hover { color: var(--white); }
.qr-modal-box h3 { color: var(--gold); margin-bottom: 0.5rem; }
.qr-product-price { color: var(--grey); font-size: 0.9rem; margin-bottom: 1.5rem; }
.qr-modal-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  outline: none;
  transition: border-color var(--transition);
}
.qr-modal-box input:focus { border-color: var(--gold); }
#qr-canvas { margin: 0 auto; border-radius: 8px; }
.qr-note { font-size: 0.8rem; color: var(--grey); margin-top: 1rem; }

/* ============================================================
   PRÓXIMOS EVENTOS
   ============================================================ */
#proximos {
  padding: var(--section-pad);
  background: var(--dark-2);
}

#upcoming-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.upcoming-item {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: border-color var(--transition);
}
.upcoming-item:hover { border-color: rgba(212, 160, 23, 0.3); }
.upcoming-date {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  min-width: 140px;
}
.upcoming-info { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.upcoming-info strong { font-size: 1rem; }
.upcoming-info span { font-size: 0.85rem; color: var(--grey); }
.upcoming-info em { font-size: 0.8rem; color: var(--gold); font-style: normal; }

/* Cuenta atrás de desbloqueo de venta (eventos futuros en "Próximas fechas") */
.upcoming-unlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 150px;
  padding: 0.5rem 0.9rem;
  border: 1px dashed rgba(212,160,23,0.45);
  border-radius: 10px;
  background: rgba(212,160,23,0.06);
}
.upcoming-unlock-label { font-size: 0.72rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; }
.upcoming-countdown { font-family: var(--font-title); font-weight: 800; color: var(--gold); font-size: 1.05rem; line-height: 1.1; }
.upcoming-unlock-date { font-size: 0.72rem; color: var(--grey); }

/* ============================================================
   ENCUESTA DE FECHAS + SUGERENCIAS + WHATSAPP GRUPO
   ============================================================ */
#encuesta {
  padding: var(--section-pad);
  background: var(--dark);
}

/* -- Encuesta -- */
.poll-container {
  max-width: 600px;
  margin: 0 auto 3rem;
  background: var(--dark-3);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius);
  padding: 2rem;
}
.poll-question {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--grey-light);
}

/* -- Calendario -- */
.cal-header {
  text-align: center;
  margin-bottom: 1rem;
}
.cal-month-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cal-month-section { margin-bottom: 2.5rem; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
}
.cal-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0;
}
.cal-weekday.weekend { color: var(--gold); }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: default;
  position: relative;
  gap: 2px;
}
.cal-day.empty { background: transparent; }
.cal-day.weekday {
  background: var(--dark-4);
  color: var(--grey);
  opacity: 0.4;
}
.cal-day.past {
  background: transparent;
  color: var(--grey);
  opacity: 0.2;
}
.cal-day.weekend-soon {
  background: var(--dark-4);
  color: var(--grey);
  opacity: 0.55;
  border: 2px dashed rgba(255,255,255,0.1);
}
.cal-day.weekend-day {
  background: var(--dark-4);
  color: var(--white);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.cal-day.weekend-day:hover {
  border-color: var(--gold);
  background: rgba(212,160,23,0.1);
  transform: scale(1.05);
}
.cal-day.voted {
  border-color: var(--gold);
  background: rgba(212,160,23,0.2);
  box-shadow: 0 0 12px rgba(212,160,23,0.3);
  color: var(--gold);
}
.cal-day.event-day {
  border-color: var(--red) !important;
  background: rgba(192,57,43,0.2) !important;
  color: var(--white) !important;
}
.cal-day.event-day::after {
  content: '🎉';
  font-size: 0.55rem;
  position: absolute;
  bottom: 2px;
}
.cal-day .cal-votes-badge {
  font-size: 0.55rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

/* -- Selector de tipo de evento al votar un día -- */
/* .cal-day tiene position:relative pero (correctamente) sin z-index propio, así que
   por sí sola no crea su propio "stacking context" — cuando el popover del selector
   se sale de la celda hacia abajo, las celdas de la fila siguiente (más adelante en
   el DOM) lo tapaban por completo pese al z-index:20 del propio popover. Esta clase,
   añadida solo mientras el popover está abierto (ver openTypePicker/closePopover en
   main-poll.js), eleva la celda entera por encima de sus vecinas. */
.cal-day.picker-open { z-index: 30; }
.cal-type-picker {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  z-index: 20;
  background: var(--dark-3, #1a1a1a);
  border: 1px solid rgba(212,160,23,0.4);
  border-radius: 8px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 150px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.cal-type-option {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: all var(--transition);
}
.cal-type-option:hover { border-color: var(--gold); background: rgba(212,160,23,0.15); }
.cal-type-option.voted { border-color: var(--gold); background: rgba(212,160,23,0.25); color: var(--gold); }

/* -- Resultados -- */
.poll-results { margin-top: 1.5rem; display: none; }
.poll-results.visible { display: block; }
.poll-results-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-light);
  margin-bottom: 0.8rem;
  font-family: var(--font-title);
}
.poll-bar-row { display: grid; grid-template-columns: 150px 1fr 50px; gap: 0.6rem; align-items: center; font-size: 0.8rem; color: var(--grey-light); margin-bottom: 0.5rem; }
.poll-bar-track { height: 6px; background: var(--dark-4); border-radius: 50px; overflow: hidden; }
.poll-bar-fill { height: 100%; border-radius: 50px; background: var(--gold); transition: width 0.5s ease; }
.poll-pct { font-weight: 700; color: var(--gold); text-align: right; font-size: 0.8rem; }
.poll-note { font-size: 0.78rem; color: var(--grey); text-align: center; margin-top: 1rem; }

/* ============================================================
   EVENTOS PRIVADOS
   ============================================================ */
.private-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.pf-step {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.pf-step-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.pf-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Fecha */
.pf-date-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.pf-date-input {
  appearance: none;
  background: var(--dark);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.1rem;
  width: 100%;
  max-width: 260px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.pf-date-input:focus { outline: none; border-color: var(--gold); }
.pf-date-input::-webkit-calendar-picker-indicator { filter: invert(1) brightness(0.7); cursor: pointer; }
.pf-date-hint { font-size: 0.82rem; color: var(--grey); margin: 0; }
.pf-date-hint.ok  { color: #4caf50; }
.pf-date-hint.err { color: var(--red); }
/* Invitados y servicios */
.pf-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
}
.pf-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
}
.pf-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.8rem;
  background: var(--dark);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: 0.88rem;
  color: var(--grey-light);
  user-select: none;
}
.pf-option:hover { border-color: rgba(212,160,23,0.5); color: var(--white); }
.pf-option.selected {
  border-color: var(--gold);
  background: rgba(212,160,23,0.12);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(212,160,23,0.15);
}
.pf-option input { display: none; }
.pf-option-icon { font-size: 1.5rem; }
/* Contacto */
.pf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.pf-input {
  background: var(--dark);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--transition);
}
.pf-input:focus { outline: none; border-color: var(--gold); }
.pf-input::placeholder { color: var(--grey); }
.pf-textarea { grid-column: 1 / -1; resize: vertical; min-height: 80px; }
/* Error */
.pf-error { color: var(--red); font-size: 0.85rem; text-align: center; min-height: 1.2em; margin: 0; }
/* Acciones */
.pf-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pf-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-secondary {
  background: transparent;
  border-color: #25d366;
  color: #25d366;
}
.btn-secondary:hover { background: rgba(37,211,102,0.1); }
/* Éxito */
.pf-success {
  text-align: center;
  padding: 2rem;
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: var(--radius);
}
.pf-success-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
/* Responsive */
@media (max-width: 480px) {
  .pf-contact-grid { grid-template-columns: 1fr; }
  .pf-actions { flex-direction: column; }
  .pf-btn { width: 100%; justify-content: center; }
  .pf-date-input { max-width: 100%; }
}

/* -- Sugerencias -- */
.suggestions-box {
  max-width: 600px;
  margin: 0 auto 3rem;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem;
}
.suggestions-box h3 { margin-bottom: 0.5rem; }
.suggestions-box textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 0.5rem;
}
.suggestions-box textarea:focus { border-color: var(--gold); }
.suggestions-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.char-count { font-size: 0.8rem; color: var(--grey); }
.suggestions-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; max-height: 300px; overflow-y: auto; }
.suggestion-item {
  background: var(--dark-4);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--grey-light);
  border-left: 3px solid var(--gold);
  position: relative;
}
.suggestion-item time { display: block; font-size: 0.75rem; color: var(--grey); margin-top: 0.4rem; }

/* -- WhatsApp grupo -- */
.whatsapp-group-box {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0a1f0f 0%, var(--dark-3) 100%);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.wg-icon { font-size: 3rem; flex-shrink: 0; }
.wg-info h3 { color: #25d366; margin-bottom: 0.5rem; }
.wg-info p { color: var(--grey-light); font-size: 0.9rem; margin-bottom: 1.2rem; }
.wg-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.btn-wa-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: var(--dark);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-wa-group:hover { background: #1ebe5a; transform: translateY(-2px); }
.wg-note { font-size: 0.75rem; color: var(--grey); }
.wg-note code { background: var(--dark-4); padding: 0.1rem 0.4rem; border-radius: 4px; color: var(--gold); font-size: 0.75rem; }

@media (max-width: 500px) {
  .whatsapp-group-box { flex-direction: column; }
  .poll-bar-row { grid-template-columns: 80px 1fr 40px; }
}

/* ============================================================
   CÓMO LLEGAR
   ============================================================ */
#llegar {
  padding: var(--section-pad);
  background: var(--dark);
}

.arrive-map {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.arrive-map iframe { width: 100%; height: 350px; border: none; display: block; }

.arrive-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.arrive-buttons a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.btn-maps { background: #4285f4; color: var(--white); }
.btn-maps:hover { background: #3367d6; }
.btn-waze { background: #33ccff; color: var(--dark); }
.btn-waze:hover { background: #00aadd; }

.arrive-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.arrive-tab {
  padding: 0.6rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: none;
  color: var(--grey);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.arrive-tab.active, .arrive-tab:hover { border-color: var(--gold); color: var(--gold); }

.arrive-panel { display: none; max-width: 600px; margin: 0 auto; }
.arrive-panel.active { display: block; }
.arrive-panel ul { display: flex; flex-direction: column; gap: 0.8rem; }
.arrive-panel li {
  padding: 1rem;
  background: var(--dark-3);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--grey-light);
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}
.arrive-panel li b { color: var(--gold); font-weight: 700; }
.arrive-panel li a { color: var(--gold); text-decoration: underline; }
.arrive-panel li a:hover { opacity: 0.8; }

/* --- Opciones desplegables (acordeón) --- */
.arrive-acc-list { max-width: 600px; margin: 0 auto; }
.arrive-acc {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  margin-bottom: 0.7rem;
  background: var(--dark-3);
  overflow: hidden;
}
.arrive-acc > summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--grey-light);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  transition: color var(--transition);
}
.arrive-acc > summary::-webkit-details-marker { display: none; }
.arrive-acc > summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.arrive-acc[open] > summary::after { content: '−'; }
.arrive-acc > summary:hover,
.arrive-acc[open] > summary { color: var(--gold); }
.arrive-acc[open] > summary { border-bottom: 1px solid rgba(255,255,255,0.08); }
.arrive-acc > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.arrive-acc ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
}
.arrive-acc li {
  padding: 0.9rem 1rem;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--grey-light);
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}
.arrive-acc li b { color: var(--gold); font-weight: 700; }
.arrive-acc li a { color: var(--gold); text-decoration: underline; }
.arrive-acc li a:hover { opacity: 0.8; }

.arrive-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ============================================================
   TIEMPO
   ============================================================ */
#tiempo {
  padding: var(--section-pad);
  background: var(--dark-2);
  text-align: center;
}
.weather-widget { max-width: 760px; margin: 0 auto; }
.weather-note { font-size: 0.85rem; color: var(--grey); margin-top: 1rem; }

/* Previsión del tiempo — widget propio (open-meteo) */
.weather-days {
  display: flex; gap: 0.6rem; overflow-x: auto; justify-content: center;
  padding: 0.9rem 0.2rem 0.4rem; scroll-behavior: smooth;
}
.wday {
  flex: 0 0 auto; min-width: 82px; position: relative;
  background: var(--dark-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 0.85rem 0.65rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.22rem;
}
.wday-dow { font-weight: 800; font-size: 0.98rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; }
.wday-date { font-size: 0.82rem; color: var(--grey-light); font-weight: 600; }
.wday-ico { font-size: 2rem; line-height: 1; margin: 0.2rem 0; }
.wday-max { font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.wday-min { font-size: 0.85rem; color: var(--grey); }
.wday.is-event {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,160,23,0.22), rgba(212,160,23,0.05));
  box-shadow: 0 0 0 1px var(--gold) inset, 0 6px 22px rgba(212,160,23,0.18);
}
.wday-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #0a0a0a; font-size: 0.6rem; font-weight: 800;
  padding: 2px 8px; border-radius: 10px; letter-spacing: 0.5px; white-space: nowrap;
}
.weather-loading { color: var(--grey-light); text-align: center; padding: 1.2rem; margin: 0; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
#newsletter {
  padding: var(--section-pad);
  background: linear-gradient(135deg, #0d0d00 0%, var(--dark) 100%);
  text-align: center;
}
#newsletter .section-title { margin-bottom: 1rem; }
#newsletter p { color: var(--grey); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.2rem;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--grey); }
.newsletter-success { display: none; color: var(--gold); font-weight: 700; margin-top: 1rem; }
.newsletter-error { display: none; color: #e05555; font-weight: 700; margin-top: 1rem; }

/* ============================================================
   CONTACTO & REDES
   ============================================================ */
#contacto {
  padding: var(--section-pad);
  background: var(--dark-3);
  text-align: center;
}

[data-social-list] {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.social-instagram:hover { border-color: #e1306c; color: #e1306c; }
.social-whatsapp:hover { border-color: #25d366; color: #25d366; }
.social-tiktok:hover { border-color: #ee1d52; color: #ee1d52; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  padding: 2rem 1.5rem;
  text-align: center;
}
.footer-logo img { margin: 0 auto 1rem; }
.footer-tagline { color: var(--grey); font-size: 0.85rem; margin-bottom: 1.5rem; }
.footer-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--grey); }
.footer-stat strong { color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}
#whatsapp-float svg { width: 30px; height: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  #menu-toggle { display: flex; }

  #main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    /* top/left/right/bottom:0 con position:fixed debería bastar, pero en Android
       (barra de direcciones que aparece/desaparece al hacer scroll) y algunos
       iPhone deja huecos o corta contenido — 100dvh usa la altura real visible
       en cada momento en vez de la altura "completa" teórica. Con fallback a
       100vh para navegadores que no soporten dvh todavía. */
    height: 100vh;
    height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    overflow-y: auto;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }
  #main-nav a { font-size: 1.2rem; }
  #main-nav.open { display: flex; }

  .schedule-item { grid-template-columns: 60px 35px 1fr; gap: 0.5rem; }
  #schedule-list::before { left: 60px; }

  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-form input { width: 100%; }

  #whatsapp-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }

  .arrive-map iframe { height: 250px; }
}

/* ══════════════════════════════════════════════════════════
   TICKET BUY BUTTONS (two-button layout)
   ══════════════════════════════════════════════════════════ */
.ticket-buy-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-decoration: none;
  border: none;
  width: 100%;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.btn-buy:active { transform: translateY(0); }

.btn-buy-card {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
}
.btn-buy-bizum {
  background: linear-gradient(135deg, #065f46, #059669);
  color: #fff;
}
/* Venta vía plataforma externa (lasalsadelbaile) — botón único y protagonista */
.btn-buy-platform {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #1a1a1a;
}
/* Aviso bajo el botón cuando la venta va SOLO por Bizum (enlace de tienda pendiente) */
.btn-buy-note {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--grey-light);
}
.btn-buy-note strong { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   MASCOTA STB — stickers decorativos del oso (PNG/WebP recortado)
   Absolute + pointer-events:none → NO afectan el flujo ni la interacción,
   solo dan personalidad. Se apoyan en un borde de cada sección y se
   reducen/ocultan en móvil para no estorbar.
   ══════════════════════════════════════════════════════════ */
#entradas, #contacto, #llegar, #proximos { position: relative; }
.stb-mascot {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.45));
}
.stb-mascot--entradas { top: 6px;    right: clamp(4px,3vw,54px); width: clamp(78px,9.5vw,138px); transform: rotate(3deg); }
.stb-mascot--proximos { top: 8px;    right: clamp(4px,3vw,48px); width: clamp(70px,8vw,118px);   transform: rotate(4deg); }
.stb-mascot--llegar   { bottom: 8px; right: clamp(4px,3vw,48px); width: clamp(70px,8vw,118px);   transform: rotate(-3deg); }
.stb-mascot--contacto { bottom: 6px; left:  clamp(4px,3vw,50px); width: clamp(64px,8vw,110px);   transform: rotate(-4deg); }
@media (max-width: 820px) {
  .stb-mascot--entradas { width: 74px; right: 2px; top: 2px; }
  .stb-mascot--proximos { width: 68px; right: 2px; }
  .stb-mascot--llegar   { width: 68px; right: 2px; }
  .stb-mascot--contacto { width: 62px; left: 2px; }
}
/* En móvil pequeño dejamos solo el de Entradas para no recargar */
@media (max-width: 520px) { .stb-mascot--proximos, .stb-mascot--llegar, .stb-mascot--contacto { display: none; } }

/* ══════════════════════════════════════════════════════════
   GALERÍA INSTALACIONES — carrusel horizontal auto + arrastrable
   ══════════════════════════════════════════════════════════ */
.gallery-strip {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.5rem 1.5rem 1.2rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;      /* Firefox */
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip.dragging { cursor: grabbing; }
.gallery-strip img {
  /* Tamaño FIJO (no width:auto): una imagen lazy sin cargar mide 0px de ancho,
     y con área cero el navegador nunca la considera visible → nunca la carga
     (pescadilla que se muerde la cola, visto en la verificación local). Con
     tamaño fijo el lazy-load funciona y la cinta no da saltos al cargar. */
  width: 340px;
  height: 255px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
  background: #151515;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none; /* evita el arrastre nativo de la imagen; el drag lo gestiona el contenedor */
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
  .gallery-strip img { width: 250px; height: 188px; border-radius: 10px; }
  .gallery-strip { gap: 0.6rem; padding: 0.4rem 1rem 1rem; }
}

/* ══════════════════════════════════════════════════════════
   MODAL BIZUM
   ══════════════════════════════════════════════════════════ */
.bizum-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}
.bizum-modal-box {
  background: #12122a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.bizum-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
  padding: 0 0 0 0.5rem;
  flex-shrink: 0;
}
.bizum-close:hover { color: #fff; }

.bizum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}
.bizum-logo-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}
.bizum-ticket-badge {
  background: linear-gradient(135deg, var(--gold), #c8860a);
  color: #000;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.bizum-info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.bizum-qr-section { text-align: center; }
.bizum-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  border: 3px solid rgba(255,255,255,0.15);
}
.bizum-qr-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; }

.bizum-number-section {}
.bizum-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 0.3rem; }
.bizum-number-display {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}
.bizum-copy-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 0.8rem;
}
.bizum-copy-btn:hover { background: rgba(255,255,255,0.14); }
.bizum-concept-label,
.bizum-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.6rem 0 0.4rem;
}
.bizum-qty-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.bizum-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bizum-qty-ctrl span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}
.bizum-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.5);
  background: rgba(212,160,23,0.1);
  color: #d4a017;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.bizum-qty-btn:hover { background: rgba(212,160,23,0.25); }

.bizum-price-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin: 0.2rem 0;
  font-weight: 600;
}
.bizum-price { color: #4ade80; font-size: 1.1rem; }

.bizum-account-label {
  background: rgba(212,160,23,0.15);
  color: #d4a017;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4rem;
}
.bizum-no-account {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  text-align: center;
  margin: 0.5rem 0;
}

.bizum-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  margin: 1.2rem 0;
}
.bizum-divider::before,
.bizum-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

.bizum-form {}
.bizum-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.bizum-field { display: flex; flex-direction: column; gap: 0.3rem; }
.bizum-field label { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.bizum-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  color: #fff;
  font-size: 0.9rem;
  transition: border-color 0.15s;
  font-family: var(--font-body);
}
.bizum-field input:focus { outline: none; border-color: var(--gold); }

.phone-input-row { display: flex; gap: 0; }
.phone-input-row select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0.6rem 0.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  flex-shrink: 0;
}
.phone-input-row select:focus { outline: none; border-color: var(--gold); }
.phone-input-row input {
  border-radius: 0 8px 8px 0 !important;
  flex: 1;
}

.bizum-privacy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.8rem;
  text-align: center;
}
.bizum-error {
  color: #f87171;
  font-size: 0.82rem;
  min-height: 1.2em;
  margin-bottom: 0.5rem;
}
.bizum-submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--gold), #c8860a);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-head);
  transition: transform 0.15s, box-shadow 0.15s;
}
.bizum-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,134,10,0.4); }

.bizum-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
  gap: 0.8rem;
}
.bizum-success-icon { font-size: 3rem; }
.bizum-success h3 { color: #4ade80; margin: 0; }
.bizum-success p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.bizum-order-id { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.bizum-close-success {
  margin-top: 0.5rem;
  padding: 0.6rem 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  :root { --section-pad: 3.5rem 1rem; }
  h1 { font-size: 2.2rem; }
  .ticket-card { padding: 1.5rem; }
  .bizum-info-row { grid-template-columns: 1fr; text-align: center; }
  .bizum-form-grid { grid-template-columns: 1fr; }
  .bizum-modal-box { padding: 1.2rem; width: 100%; box-sizing: border-box; }
  .bizum-modal-overlay { padding: 0.5rem; align-items: flex-start; padding-top: 2rem; }
  .bizum-number-display { font-size: 1.3rem; }
  .bizum-submit-btn { font-size: 0.85rem; padding: 0.8rem 0.5rem; }
}

/* ══════════════════════════════════════════════════════
   SECCIONES COLAPSABLES
   ══════════════════════════════════════════════════════ */
.collapsible-section {
  padding: var(--section-pad);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.collapse-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-t);
  cursor: pointer;
  padding: 0;
  gap: 1rem;
  text-align: left;
}
.collapse-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.collapse-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
}
.collapse-icon { font-size: 1.4rem; flex-shrink: 0; }

.collapse-chevron {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.35s ease;
  transform: rotate(0deg);
}
.collapsible-section:not(.collapsed) .collapse-chevron {
  transform: rotate(180deg);
}

/* Cuerpo colapsable con animación de altura */
.collapse-body {
  display: none;
}
.collapse-body.is-open {
  display: block;
  animation: collapseIn 0.35s ease both;
}
@keyframes collapseIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Separación entre trigger y contenido cuando está abierto */
.collapsible-section:not(.collapsed) .collapse-trigger {
  margin-bottom: 1.5rem;
}

/* Hint visual "Toca para ver" en estado plegado */
.collapse-trigger::after {
  content: 'Toca para ver';
  font-size: 0.72rem;
  font-family: var(--font-b);
  color: var(--gold);
  opacity: 0.7;
  white-space: nowrap;
  font-weight: 400;
}
.collapsible-section:not(.collapsed) .collapse-trigger::after {
  content: '';
}

/* ── Timer Bizum ── */
.bizum-timer-section {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.bizum-timer-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
  text-align: center;
}
.bizum-timer-display {
  font-weight: 800;
  font-size: 1.1rem;
  color: #4ade80;
  letter-spacing: 0.04em;
  transition: color 0.3s;
  animation: timerBlink 1.4s ease infinite alternate;
}
.bizum-timer-display.timer-urgent {
  color: #e53935;
  animation: timerPulse 0.45s ease infinite alternate;
}
@keyframes timerBlink {
  from { opacity: 1; }
  to   { opacity: 0.6; }
}
@keyframes timerPulse {
  from { opacity: 1; transform: scale(1.04); }
  to   { opacity: 0.35; transform: scale(1); }
}
.bizum-timer-track {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.bizum-timer-bar {
  height: 100%;
  width: 100%;
  background: #4ade80;
  border-radius: 3px;
  transition: width 0.5s linear, background 0.5s;
}

/* ── Estado expirado ── */
.bizum-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  text-align: center;
}
.bizum-expired-icon { font-size: 2.5rem; }
.bizum-expired p { color: rgba(255,255,255,0.65); margin: 0; font-size: 0.9rem; }

/* ── QR container dinámico ── */
.bizum-qr-container {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.bizum-qr-container canvas,
.bizum-qr-container img { display: block; }
.bizum-qr-fallback {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
  display: none;
}
@media (max-width: 480px) {
  .bizum-qr-fallback { display: block; }
}

/* ── SOLD OUT por tipo de entrada ── */
.ticket-card {
  position: relative;
}
.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}
.sold-out-text {
  font-family: var(--font-b);
  font-weight: 900;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  color: #e53935;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: soldOutBlink 1s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(229,57,53,0.6);
}
@keyframes soldOutBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* ── TIENDA SHOP ── */
#shop-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1.5rem; margin-top:1rem; }
.shop-item { background:var(--card-bg); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; border:1px solid rgba(255,255,255,0.07); transition:transform 0.2s; position:relative; }
.shop-item:hover { transform:translateY(-3px); }
.shop-item img { width:100%; height:180px; object-fit:cover; }
.shop-placeholder { height:180px; background:rgba(255,255,255,0.04); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.shop-info { padding:1.2rem; flex:1; display:flex; flex-direction:column; gap:0.5rem; }
.shop-info h4 { font-size:1rem; font-weight:700; color:var(--text-primary); margin:0; }
.shop-info p { font-size:0.85rem; color:var(--text-secondary); margin:0; }
.shop-price { font-size:1.4rem; font-weight:800; color:var(--gold); }
.shop-stock { font-size:0.75rem; font-weight:600; }
.shop-stock.zero { color:#e53935; }
.shop-stock.low  { color:#ff9800; }
.shop-sizes { display:flex; gap:0.4rem; flex-wrap:wrap; margin:0.25rem 0; }
.size-btn { padding:0.2rem 0.55rem; border:1px solid rgba(255,255,255,0.2); border-radius:6px; font-size:0.78rem; cursor:pointer; background:transparent; color:var(--text-secondary); transition:all 0.15s; }
.size-btn.selected, .size-btn:hover { border-color:var(--gold); color:var(--gold); background:rgba(212,175,55,0.1); }
.shop-buy-btns { display:flex; flex-direction:column; gap:0.5rem; margin-top:auto; padding-top:0.75rem; }
.btn-shop-bizum { background:var(--gold); color:#000; border:none; border-radius:10px; padding:0.65rem 1rem; font-weight:700; font-size:0.9rem; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:0.5rem; transition:opacity 0.2s; }
.btn-shop-bizum:hover { opacity:0.88; }
.btn-shop-bizum:disabled { opacity:0.4; cursor:not-allowed; }
.shop-size-required { font-size:0.8rem; color:#ff9800; text-align:center; min-height:1.2em; }
