/* Aylesva Tickets · página del evento y compra. Fidelidad con el prototipo (proto.css / proto-movil.css).
   Se carga después de /estilos.css; usa solo las variables del tema, así que el tema claro sigue funcionando. */

/* Pastillas: debajo de la portada en celular; junto a «Atrás» en escritorio */
.evento-barra { justify-content: flex-start; gap: 10px 12px; }
.pastillas-movil { display: none; }
@media (max-width: 899px) {
  .pastillas-web { display: none; }
  .pastillas-movil { display: flex; margin: -6px 0 14px; }
  .evento-barra { padding-top: 14px; }
  .evento-barra .boton { min-height: 38px; }
}
.pastilla { height: 34px; padding: 0 15px; font-size: .84rem; }

/* Portada y botón de video (píldora oscura con círculo blanco) */
.portada-evento { border-radius: 28px; }
.ver-video { right: 14px; bottom: 14px; min-height: 42px; padding: 4px 16px 4px 5px; gap: 9px; font-size: .9rem; font-weight: 700; background: rgba(0, 0, 0, .6); border-color: rgba(255, 255, 255, .18); }
.ver-video span { width: 34px; height: 34px; background: #fff; color: #000; font-size: .72rem; padding-left: 3px; }

/* Título, «X presenta» y descripción */
.titulo-evento { margin-top: 4px; font-size: clamp(1.9rem, 8vw, 2.8rem); line-height: 1; letter-spacing: -.03em; overflow-wrap: anywhere; }
@media (min-width: 900px) { .titulo-evento { font-size: clamp(2.6rem, 4.4vw, 3.5rem); line-height: .96; } }
.presenta { margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.presenta a { color: inherit; text-decoration: none; }
.presenta a:hover { color: var(--tinta); }
.evento .descripcion { margin-top: 16px; font-size: 1.0625rem; line-height: 1.5; }
.evento .descripcion.recortada { -webkit-line-clamp: 4; line-clamp: 4; }
@media (min-width: 900px) { .evento .descripcion { font-size: 1rem; } }

/* Fecha y lugar: dos bloques con icono dorado; el calendario va como enlace de texto */
.evento .dato { margin-top: 20px; gap: 14px; }
.evento .dato svg { color: var(--dorado); }
.evento .dato b { font-weight: 800; }
.acciones-evento { display: inline; margin: 0; }
.acciones-evento a, .enlace-boton { color: var(--tinta-2); text-decoration: underline; text-underline-offset: 2px; font: inherit; }
.enlace-boton { background: none; border: 0; padding: 0; cursor: pointer; }
.acciones-evento a:hover, .enlace-boton:hover { color: var(--tinta); }

/* Títulos de sección con conteo a la derecha */
.evento div.titulo-seccion { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 12px; }
.evento .titulo-seccion h3 { font-size: 1.5rem; font-weight: 700; }
.evento .titulo-seccion .tenue { margin-left: 0; }

/* Artistas: con el mismo margen de la página; los avatares de iniciales, más suaves */
.evento .carrusel { padding-left: 0; scroll-padding-inline: 16px; scroll-snap-type: x proximity; }
.artista { width: 124px; }
.artista img, .artista .avatar { width: 124px; height: 155px; }
.artista > img { object-fit: cover; border-radius: 18px; background: var(--sup-2); }
.artista .logo { width: 124px; height: 155px; display: grid; place-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, var(--sup-2), color-mix(in srgb, var(--dorado) 10%, var(--sup-3))); overflow: hidden; }
.artista .logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; border: 0; background: none; }
.artista .logo { border: 1px solid var(--filete); }
.artista .avatar { font-size: 1.75rem; color: var(--tinta-2); background: linear-gradient(135deg, var(--sup-2), color-mix(in srgb, var(--dorado) 14%, var(--sup-3))); }
@media (max-width: 899px) { .evento .carrusel { margin: 0 -16px; padding-left: 16px; padding-right: 16px; } }

/* Fases: texto «Termina mañana · después $X» */
.tipo .etiqueta.ambar { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.tipo .sube { color: var(--ambar); font-weight: 600; }
.tipo .sube b { font-size: 1.15em; font-weight: 800; }
.tipo .quedan { color: var(--ambar); font-weight: 700; }

/* Caja de compra (escritorio): más ancha y con las filas respirando */
@media (min-width: 900px) {
  .evento { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .caja-compra { border-radius: 28px; }
  .caja-compra h2 { font-size: 1.6rem; margin-bottom: 4px; }
}
.tipo .monto { font-family: var(--exhibe); font-size: 1.35rem; font-weight: 800; }

/* Cajón: resumen como tarjeta, código con botón de vidrio, legales en tono tenue */
.cajon .resumen { margin: 0 0 12px; padding: 16px; border: 1px solid var(--filete); border-radius: 22px; background: var(--sup-2); }
.cajon .resumen .fila { padding: 3px 0; }
.cajon .resumen .fila.tenue { font-size: .84rem; }
.cajon .resumen .total { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--filete); font-size: 1.25rem; }
.para-quien { margin: 0 0 16px; padding: 0 4px; overflow-wrap: anywhere; }
.fila-codigo input { text-transform: uppercase; }
.fila-codigo .aplicar { background: var(--vidrio); color: var(--tinta); border: 1px solid var(--filete); }
.fila-codigo .aplicar:hover { background: var(--suave); }
#msg-codigo { font-weight: 700; }
.pie-legal { margin-top: 14px; font-size: .8125rem; }
.cajon .medios { gap: 10px; }
.cajon .medios .boton { min-height: 50px; }
.cajon-cab h2 { font-family: var(--exhibe); font-weight: 800; }

/* Barra fija inferior: precio grande y botón alto */
.barra-fija b { font-size: 1.75rem; font-weight: 800; }
.barra-fija small { font-size: .875rem; }
.barra-fija .boton { max-width: none; min-height: 52px; padding-block: 14px; }
@media (max-width: 899px) { body.con-barra-fija { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ═══════════════════════════════════════════════════════════════════════════
   ESCRITORIO (≥1024 px): banda hero + talón de boletos. El celular (<1024) no cambia:
   todo lo nuevo está oculto o neutro fuera de este bloque.
   ═══════════════════════════════════════════════════════════════════════════ */
.heroe-ev, .solo-esc, .evento div.titulo-seccion.solo-esc, .info-esc { display: none; }
.talon-lista { display: contents; }

@media (min-width: 1024px) {
  /* Lo que ahora vive en la banda se oculta de la columna (en celular sigue igual) */
  .evento-fondo, .evento-barra, .evento article .portada-caja, .evento article .titulo-evento, .evento article .presenta, .evento article > .dato { display: none; }
  main.con-fondo .envoltura { max-width: 1180px; padding-inline: 24px; }

  /* ——— Banda hero ——— */
  .heroe-ev {
    display: block; position: relative; isolation: isolate; overflow: hidden; background: #09090B; color: #F5F5F2;
    --tinta: #F5F5F2; --tinta-2: #D8D8DD; --tenue: #A9A9B2; --filete: rgba(255, 255, 255, .16); --campo-borde: rgba(255, 255, 255, .3);
    --dorado: #C5A47E; --dorado-hover: #D9BE98; --sobre-dorado: #0A0A0C; --sup-3: #26262B; --suave: rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .heroe-fondo { position: absolute; inset: -70px; z-index: -2; background-size: cover; background-position: center; filter: blur(46px) saturate(1.35); opacity: .6; transform: translateZ(0); }
  .heroe-ev::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(900px 420px at 78% 0%, color-mix(in srgb, var(--dorado) 16%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(9, 9, 11, .5), rgba(9, 9, 11, .88)); }
  .heroe-cont { max-width: 1180px; margin: 0 auto; padding: 22px 24px 132px; min-height: 600px; }
  .heroe-atras { background: rgba(255, 255, 255, .1); color: #F5F5F2; }
  .heroe-atras:hover { background: rgba(255, 255, 255, .18); }
  .heroe-rejilla { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 30px; }
  .heroe-rejilla.sin-cartel { grid-template-columns: minmax(0, 1fr); }
  /* Foto horizontal (no póster vertical): el cartel pasa a ser la mitad de la banda y se ve completo */
  /* Mismas columnas que la página (1fr + 420 px, hueco de 56 px): el texto y el botón quedan alineados con la caja de BOLETOS de abajo */
  .heroe-rejilla.cartel-ancho { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; }
  .heroe-rejilla.cartel-ancho .heroe-titulo { font-size: clamp(2.1rem, 3.2vw, 3rem); }
  .heroe-rejilla.cartel-ancho .heroe-acciones { align-self: stretch; justify-self: stretch; width: 100%; }
  .heroe-rejilla.cartel-ancho .heroe-cta { width: 100%; }
  .heroe-rejilla.cartel-ancho .heroe-cartel { width: 100%; }
  .heroe-rejilla.cartel-ancho .heroe-cartel img { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; }

  .heroe-cartel { position: relative; width: 340px; border-radius: 26px; overflow: hidden; background: rgba(0, 0, 0, .35);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12); }
  .heroe-cartel img { width: 100%; height: auto; max-height: 470px; object-fit: contain; aspect-ratio: auto 1 / 1; margin: 0 auto; }


  .heroe-datos { display: grid; gap: 14px; justify-items: start; min-width: 0; }
  .heroe-org { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 16px 0 13px; border-radius: 999px; text-decoration: none;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F5F5F2; max-width: 100%; }
  .heroe-org i { width: 8px; height: 8px; border-radius: 50%; background: var(--dorado); flex: none; }
  .heroe-org:hover { background: rgba(255, 255, 255, .18); }
  .heroe-titulo { font: 900 clamp(2.6rem, 4.3vw, 4.1rem)/.95 var(--exhibe); letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: anywhere; color: #fff; text-wrap: balance; }
  .heroe-lugar, .heroe-fila { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
  .heroe-lugar svg, .heroe-fila svg { flex: none; color: var(--dorado); }
  .heroe-lugar svg { width: 30px; height: 30px; margin-top: 2px; }
  .heroe-fila svg { width: 24px; height: 24px; margin-top: 1px; }
  .heroe-lugar b { display: block; font: 800 1.55rem/1.15 var(--exhibe); letter-spacing: -.02em; }
  .heroe-lugar span, .heroe-lugar a { display: block; margin-top: 3px; font-size: .95rem; color: var(--tenue); }
  .heroe-lugar a { display: inline-block; margin-top: 5px; font-weight: 700; color: var(--dorado); text-decoration: none; }
  .heroe-lugar a:hover { color: var(--dorado-hover); text-decoration: underline; }
  .heroe-fila b { display: block; font-size: 1.1rem; font-weight: 800; }
  .heroe-fila span { display: block; font-size: .9rem; color: var(--tenue); }
  .heroe-fila a, .heroe-fila .enlace-boton { color: var(--tinta-2); }
  .heroe-fila a:hover, .heroe-fila .enlace-boton:hover { color: #fff; }
  .heroe-acciones { margin-top: 8px; }
  .heroe-cta { min-height: 56px; padding: 0 34px; font-size: 1.02rem; font-weight: 800; box-shadow: 0 14px 34px color-mix(in srgb, var(--dorado) 30%, transparent); }
  .heroe-cta span { transition: transform .2s; }
  .heroe-cta:hover span { transform: translateY(3px); }
  .heroe-ev a:focus-visible, .heroe-ev button:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; }

  /* ——— Dos columnas bajo la banda ——— */
  .evento { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; padding-top: 0; padding-bottom: 72px; align-items: start; }
  .evento article { padding-top: 40px; min-width: 0; }
  .caja-compra { margin-top: -96px; position: sticky; top: 84px; z-index: 4; } /* encima de la cinta de la experiencia (.x-cinta, z 3) */
  .evento.con-avisos .caja-compra { margin-top: 24px; }
  .evento div.titulo-seccion.solo-esc { display: flex; }
  .evento article > .titulo-seccion:first-child, .evento article > .solo-esc { margin-top: 0; }
  .evento .descripcion { margin-top: 0; font-size: 1.05rem; line-height: 1.6; }
  .evento .descripcion.recortada { -webkit-line-clamp: 6; line-clamp: 6; }
  .fases-tarjetas { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .artista { width: 140px; }
  .artista img, .artista .avatar, .artista .logo { width: 140px; height: 175px; border-radius: 22px; }

  .info-esc { display: block; }
  .info-cartas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
  .info-carta { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; border: 1px solid var(--filete); background: color-mix(in srgb, var(--papel) 80%, transparent); text-decoration: none; transition: border-color .2s, transform .2s; }
  a.info-carta:hover { border-color: var(--dorado); transform: translateY(-2px); }
  .info-carta svg { flex: none; width: 26px; height: 26px; color: var(--dorado); margin-top: 2px; }
  .info-carta small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
  .info-carta b { display: block; font: 800 1.1rem/1.2 var(--exhibe); margin-top: 3px; overflow-wrap: anywhere; }
  .info-carta span { display: block; margin-top: 4px; font-size: .85rem; color: var(--tenue); }

  /* ——— Talón de boleto: superficie crema con muescas y línea perforada ———
     Se redefinen las variables dentro de la tarjeta y todos los componentes (.tipo, .contador, .etiqueta, .aviso, .fase…) se adaptan solos. */
  .caja-compra {
    --papel: #F4EFE6; --sup-2: rgba(23, 19, 13, .035); --sup-3: #E3DBCB; --piedra: #F4EFE6;
    --tinta: #17130D; --tinta-2: #3A342A; --tenue: #6B614F;
    --filete: rgba(23, 19, 13, .16); --campo-borde: rgba(23, 19, 13, .34); --suave: rgba(23, 19, 13, .07); --vidrio: rgba(23, 19, 13, .06); --vidrio-2: rgba(23, 19, 13, .11);
    --dorado: #8A6A3E; --dorado-hover: #6F5430; --sobre-dorado: #FFF; --ambar: #8F5500; --rojo: #A81F33; --verde: #1B7448;
    --tinte-ambar: #F5E3BD; --tinte-rojo: #F6D9DE; --tinte-verde: #D9EDE1;
    background: none; border: 0; padding: 0; border-radius: 0; box-shadow: none; color: var(--tinta);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)) drop-shadow(0 6px 12px rgba(0, 0, 0, .2));
  }
  :root[data-tema="claro"] .caja-compra {
    --papel: #17171B; --sup-2: rgba(255, 255, 255, .05); --sup-3: #2C2C32; --piedra: #17171B;
    --tinta: #F5F2EA; --tinta-2: #D6D2C8; --tenue: #A5A199;
    --filete: rgba(255, 255, 255, .14); --campo-borde: rgba(255, 255, 255, .3); --suave: rgba(255, 255, 255, .08); --vidrio: rgba(255, 255, 255, .09); --vidrio-2: rgba(255, 255, 255, .16);
    --dorado: #C5A47E; --dorado-hover: #D9BE98; --sobre-dorado: #0A0A0C; --ambar: #E3A63B; --rojo: #E25469; --verde: #46C58A;
    --tinte-ambar: rgba(227, 166, 59, .2); --tinte-rojo: rgba(226, 84, 105, .2); --tinte-verde: rgba(70, 197, 138, .2);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .22)) drop-shadow(0 6px 12px rgba(0, 0, 0, .14));
  }
  .talon-lista, .caja-compra .barra-compra { display: block; background: var(--papel); }
  .talon-lista { padding: 28px 28px 24px; border-radius: 28px 28px 0 0; max-height: calc(100dvh - 230px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    -webkit-mask: radial-gradient(circle 15px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 15px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat; }
  .caja-compra .barra-compra { position: relative; margin: -1px 0 0; padding: 26px 28px 28px; border-radius: 0 0 28px 28px;
    -webkit-mask: radial-gradient(circle 15px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 15px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat; }
  .caja-compra .barra-compra::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; border-top: 2px dashed var(--campo-borde); opacity: .7; }
  .caja-compra h2 { font: 900 1.7rem/1 var(--exhibe); letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
  .caja-compra h2::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--campo-borde) 0 6px, transparent 6px 12px); opacity: .5; }
  .caja-compra .tipo { background: var(--sup-2); border-color: var(--filete); border-radius: 16px; }
  .caja-compra .contador button { background: var(--papel); }
  .caja-compra .boton { background: #17130D; color: #F2DDB5; min-height: 54px; font-size: 1rem; font-weight: 800; letter-spacing: .01em; }
  .caja-compra .boton:hover:not(:disabled) { background: #2B2417; }
  .caja-compra .boton:disabled { opacity: .4; }
  .caja-compra .boton.borde, .caja-compra .boton.chico { background: transparent; color: var(--tinta); border: 1px solid var(--campo-borde); min-height: 36px; font-size: .82rem; }
  .caja-compra .boton.borde:hover, .caja-compra .boton.chico:hover { background: var(--suave); }
  :root[data-tema="claro"] .caja-compra .boton:not(.borde):not(.chico) { background: var(--dorado); color: #0A0A0C; }
  :root[data-tema="claro"] .caja-compra .boton:hover:not(:disabled):not(.borde):not(.chico) { background: var(--dorado-hover); }
  .caja-compra .enlace-boton { color: var(--tinta-2); }
  .caja-compra .tipo .monto { font-size: 1.5rem; }
  .talon-lista > p.tenue:last-child, .talon-lista > .pequeno:last-child { margin-bottom: 6px; }
}

/* Franja de la promo automática (p. ej. «−15 % al comprar 2 boletos»): lo primero que se ve, arriba de la portada. Se quita sola al vencer. */
.franja-promo {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; padding: 14px 16px;
  border-radius: 16px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(110deg, #B3122B 0%, #D8253F 45%, #E0A33A 100%);
  box-shadow: 0 10px 30px rgba(179, 18, 43, .35);
}
.franja-promo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.18), transparent 55%); pointer-events: none; }
.franja-promo .fp-sello {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #B3122B; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  border: 3px solid #F3D27A; box-shadow: 0 4px 14px rgba(0,0,0,.25); transform: rotate(-8deg);
}
.franja-promo .fp-texto { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.franja-promo .fp-titulo { font-size: 1.18rem; line-height: 1.2; font-weight: 800; }
.franja-promo .fp-sub { font-size: .86rem; opacity: .95; }
.franja-promo .fp-cuenta { align-self: flex-start; margin-top: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: rgba(0,0,0,.25); padding: 3px 10px; border-radius: 999px; }
.franja-promo .fp-boton {
  flex: none; position: relative; z-index: 1; background: #fff; color: #8E0A1E; font-weight: 800; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; font-size: .9rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.franja-promo .fp-boton:hover { background: #FFF4D6; }
@media (max-width: 640px) {
  .franja-promo { flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px; }
  .franja-promo .fp-sello { width: 52px; height: 52px; font-size: .92rem; }
  .franja-promo .fp-titulo { font-size: 1.04rem; }
  .franja-promo .fp-boton { width: 100%; text-align: center; }
}

/* Una franja para celular (arriba de la portada) y otra dentro de la banda hero de escritorio; cada tamaño muestra la suya. */
.franja-promo.fp-esc { display: none; }
@media (min-width: 1024px) {
  .franja-promo.fp-movil { display: none; }
  .franja-promo.fp-esc { display: flex; margin: 14px 0 18px; }
}

/* «Ver boletos» de la franja (#tipos): que el encabezado fijo no tape el título de la tarjeta al bajar. */
#tipos, .caja-compra { scroll-margin-top: 110px; }

/* ——— Reserva de mesa en 3 pasos (mesa → arma tu noche → ¿qué celebramos?) y extras ——— */
.reserva.con-mesas .titulo-seccion { margin-bottom: 8px; }
.pasos-cinta { list-style: none; display: flex; gap: 6px; margin: 0 0 14px; padding: 0; flex-wrap: wrap; }
.pasos-cinta li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--filete);
  font-size: .78rem; font-weight: 700; color: var(--tenue); transition: background .25s, color .25s, border-color .25s; }
.pasos-cinta li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sup-3); color: var(--tinta); font-size: .72rem; font-weight: 800; }
.pasos-cinta li.hecho { border-color: var(--dorado); color: var(--tinta); background: color-mix(in srgb, var(--dorado) 14%, transparent); }
.pasos-cinta li.hecho span { background: var(--dorado); color: var(--sobre-dorado); font-size: 0; }
.pasos-cinta li.hecho span::before { content: "✓"; font-size: .78rem; }
.paso-titulo { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; scroll-margin-top: 80px; }
.paso-titulo .paso-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dorado); color: var(--sobre-dorado);
  font: 800 1rem/1 var(--exhibe, inherit); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dorado) 20%, transparent); }
.paso-titulo b { display: block; font-size: 1.08rem; }
.paso-titulo small { display: block; color: var(--tenue); font-size: .84rem; margin-top: 2px; }
.reserva .paso-titulo:first-of-type { margin-top: 4px; }

/* La mesa elegida «salta» */
.plano-svg .mesa { transform-box: fill-box; transform-origin: center; }
.plano-svg .mesa.elegida { animation: mesa-salta .45s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--dorado) 70%, transparent)); }
@keyframes mesa-salta { 0% { transform: scale(.85); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.mesa-elegida b { color: var(--dorado); }

/* Tarjetas de extras: grandes, fáciles de tocar */
.extras-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.extras-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.extra-carta { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1.5px solid var(--filete);
  background: var(--sup-2); transition: border-color .2s, background .2s, transform .15s; }
.extra-carta.elegido { border-color: var(--dorado); background: color-mix(in srgb, var(--dorado) 10%, var(--sup-2)); }
.extra-carta.agotado { opacity: .55; }
.extra-icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--dorado) 14%, var(--sup-3)); font-size: 1.75rem; line-height: 1; }
.extra-icono.rebote { animation: extra-rebote .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes extra-rebote { 0% { transform: scale(1); } 35% { transform: scale(1.3) rotate(-8deg); } 70% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
.extra-texto { min-width: 0; display: grid; gap: 2px; }
.extra-texto b { font-size: .98rem; line-height: 1.25; }
.extra-texto small { color: var(--tenue); font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.extra-precio { font-weight: 800; font-size: .95rem; color: var(--dorado); }
.extra-carta .contador button { width: 40px; height: 40px; }
.extra-carta .contador [data-extra-mas]:not(:disabled) { background: var(--dorado); color: var(--sobre-dorado); border-color: var(--dorado); }
.extras-cajon { margin: 4px 0 16px; }
.extras-cajon h3 { font-size: 1rem; margin: 0 0 10px; }
.extras-cajon .extra-carta { grid-template-columns: 44px 1fr auto; padding: 10px 12px; }
.extras-cajon .extra-icono { width: 44px; height: 44px; font-size: 1.45rem; }

/* ¿Qué celebramos? */
.ocasion { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-ocasion { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--campo-borde);
  background: var(--sup-2); color: var(--tinta); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; }
.chip-ocasion:hover { border-color: var(--dorado); }
.chip-ocasion[aria-pressed="true"] { background: var(--dorado); border-color: var(--dorado); color: var(--sobre-dorado); transform: scale(1.04); }
.ocasion-texto { flex: 1 1 100%; margin-top: 4px; }
#aviso-reserva { margin-top: 12px; }
.barra-fija.calculando b { opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  .plano-svg .mesa.elegida, .extra-icono.rebote { animation: none; }
  .chip-ocasion[aria-pressed="true"] { transform: none; }
}
#aviso-reserva[hidden] { display: none; }
