/* ==========================================================================
   Lucho al Desnudo - landing
   Tema oscuro de club de comedia, sacado del afiche: negro, rojo de marquesina
   y dorado de bombillas. Los colores de localidad son los mismos que usaba el
   bundle React anterior (palco dorado #F2CB05, VIP verde #7ED321), para que
   quien ya vio el mapa lo reconozca.
   Tipografia: Anton para titulos (la del afiche), Barlow para texto.
   Radios: contenedores 14px, interactivos pill.
   ========================================================================== */

:root {
    --bg: #0B0806;
    --bg-soft: #100D09;
    --card: #191410;
    --ink: #F6F0E4;
    --ink-soft: #A2957F;
    --line: rgba(246, 240, 228, 0.12);
    --line-fuerte: rgba(246, 240, 228, 0.3);

    --gold: #F2CB05;
    --brand: #E23127;          /* rojo de marquesina: el CTA */
    --brand-dark: #B71F16;

    /* localidades, con los colores del mapa anterior */
    --palco: #F2CB05;
    --palco-dark: #C4A400;
    --vip: #7ED321;
    --vip-dark: #5DA317;
    --sold: #2A2118;

    --radius: 14px;
    --sombra: 0 2px 3px rgba(0, 0, 0, 0.4), 0 12px 34px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* La plantilla de fondo sale del afiche: el arte es negro con el telon rojo y
   el resplandor calido de la marquesina detras del titulo. Los tonos estan
   muestreados del propio archivo (#762B13 el telon, #5F1C0C su sombra), no
   inventados. Va fija para que no se corte por secciones. */
body {
    font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    background-image:
        /* pliegues del telon */
        repeating-linear-gradient(90deg,
            rgba(118, 43, 19, 0.055) 0 3px,
            transparent 3px 38px),
        /* resplandor de la marquesina, arriba */
        radial-gradient(1100px 640px at 50% -6%, rgba(118, 43, 19, 0.5) 0%, transparent 64%),
        /* rescoldo al pie */
        radial-gradient(900px 500px at 50% 104%, rgba(95, 28, 12, 0.32) 0%, transparent 62%);
    background-attachment: fixed;
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .btn-cta, .legend-name, .legend-price, .titulo {
    font-family: "Anton", "Arial Narrow", sans-serif;
}

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

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

.tx-c { text-align: center; }

/* ============ HEADER ============ */

#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    background: rgba(11, 8, 6, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-logo img { height: 26px; }

.header-right { display: flex; align-items: center; gap: 10px; }

.btn-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1.5px solid var(--line-fuerte);
    color: var(--ink);
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-cart:hover { border-color: var(--brand); background: rgba(246, 240, 228, 0.07); }

.btn-cta {
    display: inline-block;
    background: var(--brand);
    color: #FFF8F0;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.01em;
    padding: 15px 34px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(226, 49, 39, 0.35);
    transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
}

.btn-cta:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 24px var(--line-fuerte); }
.btn-cta:active { transform: translateY(0); }

.btn-cta.disabled, .btn-cta[disabled] {
    background: var(--sold);
    color: #7A6A5C;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-cta-small { font-size: 14px; padding: 10px 20px; }

@media (max-width: 560px) {
    .btn-cart span { display: none; }
    .btn-cart { padding: 9px 12px; }
}

/* ============ HERO ============ */

.hero {
    position: relative;
    padding: 108px clamp(16px, 5vw, 64px) 70px;
    /* sobre la plantilla del afiche, solo el brillo calido del centro */
    background:
        radial-gradient(720px 400px at 24% 10%, rgba(226, 49, 39, 0.2) 0%, transparent 62%),
        radial-gradient(600px 360px at 88% 80%, rgba(242, 203, 5, 0.09) 0%, transparent 60%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.hero-kicker {
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

/* el titulo imita la marquesina del afiche: rojo con contorno dorado y el
   "al" en una pastilla, como en el arte oficial */
.hero-titulo {
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 16px;
}

.hero-titulo span {
    display: block;
    font-size: clamp(46px, 8.5vw, 92px);
    color: var(--brand);
    letter-spacing: 0.01em;
    text-shadow:
        0 0 0 var(--gold),
        2px 2px 0 rgba(242, 203, 5, 0.85),
        0 0 26px rgba(226, 49, 39, 0.45);
}

.hero-titulo .hero-al {
    display: inline-block;
    font-size: clamp(20px, 2.6vw, 30px);
    background: var(--gold);
    color: #14100B;
    padding: 2px 16px 4px;
    border-radius: 999px;
    margin: 6px 0;
    text-shadow: none;
    letter-spacing: 0.08em;
}

.hero-tagline {
    font-size: clamp(15px, 1.7vw, 18px);
    font-style: italic;
    color: var(--ink-soft);
    margin-bottom: 22px;
}

.hero-fecha {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-fecha span { font-size: 14px; line-height: 1.2; letter-spacing: 0.1em; color: var(--ink-soft); }
.hero-fecha b { font-size: 60px; line-height: 0.85; font-weight: 400; color: var(--gold); }

.hero-nota {
    margin-top: 16px;
    font-size: 13px;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
}

.hero-arte img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--line-fuerte);
}

@media (max-width: 900px) {
    .hero { padding-top: 92px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-fecha { justify-content: center; }
    .hero-arte { order: -1; max-width: 360px; margin: 0 auto 8px; }
}

/* ============ TITULOS ============ */

.titulo {
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 14px;
}

.marcador {
    position: relative;
    white-space: nowrap;
    color: var(--gold);
}

.marcador::after {
    content: "";
    position: absolute;
    left: -2px; right: -2px; bottom: 0.02em;
    height: 0.16em;
    background: var(--gold);
    z-index: -1;
    border-radius: 2px;
}

.marcador { z-index: 0; }

/* ============ EL CARTEL ============ */

.cartel {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(56px, 8vw, 88px) clamp(16px, 5vw, 32px);
    text-align: center;
}

.cartel-intro {
    max-width: 680px;
    margin: 0 auto 40px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.cartel-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.artista {
    flex: 1 1 240px;
    max-width: 320px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 18px;
    box-shadow: var(--sombra);
}

.artista h3 { font-size: 21px; font-weight: 700; line-height: 1.2; }
.artista p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }

.artista-head {
    flex: 1 1 100%;
    max-width: none;
    background: linear-gradient(140deg, rgba(226, 49, 39, 0.9), rgba(140, 22, 16, 0.9));
    border-color: rgba(242, 203, 5, 0.45);
    color: var(--ink);
    padding: 34px 24px;
}

.artista-head h3 { font-size: clamp(32px, 6vw, 52px); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
.artista-head p { color: rgba(246, 240, 228, 0.6); text-transform: none; letter-spacing: 0; font-size: 15px; margin-top: 10px; }

.artista-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 700;
}

@media (max-width: 720px) {
    .cartel-grid { grid-template-columns: 1fr; }
}

/* los videos del cartel: una tarjeta por artista */
.videos {
    display: grid;
    /* el tope de 400px evita que un solo video se estire a toda la seccion */
    grid-template-columns: repeat(auto-fit, minmax(260px, 400px));
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
}

.video-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    padding: 12px 12px 14px;
    text-align: left;
}

.video-artista {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 2px 2px 10px;
}

.video-artista span {
    font-family: "Barlow", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    flex: none;
}

.video-artista b {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ink);
}

/* caratula: la miniatura de YouTube; el iframe entra al tocarla */
.video-tapa {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.video-tapa img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;   /* la miniatura viene en 4:3 */
    display: block;
    transition: transform 0.3s, filter 0.2s;
}

.video-tapa:hover img, .video-tapa:focus-visible img {
    transform: scale(1.04);
    filter: brightness(1.1);
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 42px;
    color: #FFFFFF;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    transition: transform 0.2s;
}

.video-tapa:hover .video-play { transform: scale(1.1); }

.video-frame { border-radius: 10px; overflow: hidden; }

/* ============ BOLETERIA ============ */

.boleteria {
    /* translucida: la plantilla del afiche tiene que verse debajo */
    background: rgba(16, 13, 9, 0.72);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: clamp(48px, 7vw, 80px) clamp(14px, 4vw, 48px) clamp(56px, 8vw, 90px);
}

.boleteria-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.boleteria-head p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* --- leyenda / atajos de localidad --- */

.legend {
    max-width: 840px;
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.legend-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 5px solid var(--sold);
    border-radius: var(--radius);
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: transform 0.12s, box-shadow 0.2s, border-color 0.2s;
}

.legend-card:hover { transform: translateY(-2px); box-shadow: var(--sombra); }

.legend-dot { display: none; }

.legend-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.legend-price { font-size: 24px; font-weight: 400; font-family: "Anton", sans-serif; color: var(--gold); line-height: 1.2; }
.legend-sub { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.02em; }

.legend-P { border-left-color: var(--palco); }
.legend-vip { border-left-color: var(--vip); }

.legend-card.agotada { opacity: 0.55; }
.legend-card.agotada .legend-price { color: var(--ink-soft); }

@media (max-width: 720px) {
    .legend { grid-template-columns: 1fr; }
    .legend-card { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
    .legend-name { flex: 1 1 auto; }
    .legend-sub { flex: 1 1 100%; }
}

/* --- mapa + panel --- */

/* el plano de esta sala es angosto: en vez de estirar la columna izquierda a
   todo lo ancho, se fija el par plano+panel y se centra en la seccion */
.mapa-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 480px) 340px;
    justify-content: center;
    gap: 20px;
    align-items: start;
}

.mapa-wrap {
    position: relative;
    /* el plano es angosto (viewBox 460x500): la tarjeta se ajusta a el en vez
       de estirarse por toda la columna */
    max-width: 480px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 14px 8px;
    box-shadow: var(--sombra);
}

#mapa-viewport {
    overflow: hidden;
    border-radius: 10px;
    max-width: 430px;
    margin: 0 auto;
}

#mapa { width: 100%; height: auto; display: block; touch-action: pan-y; }

.mapa-controles {
    position: absolute;
    top: 22px; right: 22px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mapa-controles button {
    width: 34px; height: 34px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: rgba(25, 20, 16, 0.92);
    color: var(--brand);
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s;
}

.mapa-controles button:hover { background: rgba(242, 203, 5, 0.16); border-color: var(--gold); }

#mapa-tooltip {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s;
    background: rgba(11, 8, 6, 0.97);
    color: var(--ink);
    border: 1px solid var(--line-fuerte);
    font-size: 12.5px;
    line-height: 1.35;
    padding: 7px 11px;
    border-radius: 8px;
    max-width: 200px;
    z-index: 4;
}

#mapa-tooltip strong { display: block; font-weight: 700; }

.mapa-nota {
    font-size: 12.5px;
    color: var(--ink-soft);
    text-align: center;
    padding: 10px 6px 4px;
    line-height: 1.5;
}

/* --- SVG del plano --- */

.piso { fill: #100C08; stroke: var(--line); stroke-width: 1; }

.escenario { fill: #1C1610; stroke: var(--gold); stroke-width: 1.5; }
.escenario-label {
    fill: var(--gold);
    font-family: "Anton", sans-serif;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-anchor: middle;
}

.mapa-tag {
    fill: var(--ink-soft);
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-anchor: middle;
}

.palco { cursor: pointer; }
.palco rect { fill: var(--palco); transition: filter 0.15s; }
.palco.cat-P rect { fill: var(--palco); }
.palco:hover rect { filter: brightness(1.09); }

.palco-num {
    fill: #14100B;
    font-family: "Barlow", sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-anchor: middle;
    pointer-events: none;
}

.palco-silla { fill: rgba(11, 8, 6, 0.3); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
#mapa.zoomed .palco-silla { opacity: 1; }

.palco.agotado rect, .palco.no-disponible rect { fill: url(#rayasAgotado); }
.palco.agotado .palco-num, .palco.no-disponible .palco-num { fill: var(--ink-soft); }
.palco.agotado, .palco.no-disponible { cursor: default; }
.palco.no-disponible { opacity: 0.75; }

.palco.selected rect {
    stroke: var(--ink);
    stroke-width: 3;
    filter: brightness(1.06);
}

.zona { cursor: pointer; transition: filter 0.15s; }
.zona:hover { filter: brightness(1.05); }
.zona-vip { fill: var(--vip); }
.zona.agotada { fill: var(--sold); }
.zona.selected { stroke: var(--ink); stroke-width: 3; }

.zona-label {
    fill: #10160A;
    font-family: "Anton", sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-anchor: middle;
    pointer-events: none;
}

.zona-precio {
    fill: rgba(11, 8, 6, 0.8);
    font-family: "Barlow", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-anchor: middle;
    pointer-events: none;
}

.zona-label-mini { font-size: 15px; }
.zona-precio-mini { font-size: 12px; }

/* una zona agotada se pinta gris claro: el rotulo pasa a tinta para seguir
   siendo legible encima */
.zona-txt.apagado .zona-label { fill: var(--ink-soft); }
.zona-txt.apagado .zona-precio { fill: var(--ink-soft); }

/* --- panel lateral / hoja movil --- */

#panel-backdrop { display: none; }

.panel {
    position: sticky;
    top: 84px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    padding: 22px 20px;
    min-height: 260px;
}

.panel-handle, .panel-cerrar { display: none; }

.panel-empty {
    text-align: center;
    color: var(--ink-soft);
    padding: 46px 10px;
}

.panel-empty i { font-size: 28px; color: var(--line-fuerte); margin-bottom: 14px; display: block; }
.panel-empty p { font-size: 14.5px; line-height: 1.6; }

.panel-zona-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.panel h3 { font-size: 25px; font-weight: 700; line-height: 1.15; }
.panel-sub { font-size: 14px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

.panel-stock {
    display: inline-block;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.panel-stock.ok { background: rgba(242, 203, 5, 0.14); color: var(--brand); }
.panel-stock.pocas { background: rgba(226, 49, 39, 0.22); color: var(--brand); }
.panel-stock.agotado { background: var(--sold); color: var(--ink-soft); }

.panel-precios {
    margin: 18px 0 16px;
    border-top: 1px solid var(--line);
}

.panel-precio-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 14.5px;
    border-bottom: 1px solid var(--line);
}

.panel-precio-row span { color: var(--ink-soft); }
.panel-precio-row strong { font-weight: 700; white-space: nowrap; }

.panel-precio-row.total {
    border-bottom: 0;
    padding-top: 12px;
    font-size: 16px;
}

.panel-precio-row.total span { color: var(--ink); font-weight: 700; }
.panel-precio-row.total strong { font-size: 22px; color: var(--gold); font-family: "Anton", sans-serif; }

.panel .btn-cta { width: 100%; text-align: center; font-size: 16px; padding: 14px 20px; }

.qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.qty-label { flex: 1; font-size: 14px; color: var(--ink-soft); }

.qty button {
    width: 36px; height: 36px;
    border-radius: 999px;
    border: 1.5px solid var(--line-fuerte);
    background: none;
    color: var(--brand);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.qty button:hover:not(:disabled) { background: rgba(242, 203, 5, 0.16); }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-num { min-width: 30px; text-align: center; font-size: 18px; font-weight: 700; }

.palco-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    max-height: 190px;
    overflow-y: auto;
}

.palco-chip {
    border: 1px solid var(--line-fuerte);
    background: none;
    color: var(--brand);
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.palco-chip:hover { background: var(--brand); color: var(--ink); }

@media (max-width: 960px) {
    .mapa-layout { grid-template-columns: 1fr; }

    #panel-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.68);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
        z-index: 95;
    }

    #panel-backdrop.abierto { opacity: 1; pointer-events: auto; }

    .panel {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        top: auto;
        z-index: 96;
        border-radius: 20px 20px 0 0;
        transform: translateY(110%);
        transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
        max-height: 88vh;
        overflow-y: auto;
        padding: 14px 20px 26px;
        box-shadow: 0 -10px 40px rgba(226, 49, 39, 0.35);
    }

    .panel.abierto { transform: translateY(0); }

    .panel-handle {
        display: block;
        width: 44px; height: 4px;
        border-radius: 999px;
        background: var(--line-fuerte);
        margin: 2px auto 14px;
    }

    .panel-cerrar {
        display: block;
        position: absolute;
        top: 12px; right: 14px;
        width: 34px; height: 34px;
        border-radius: 999px;
        border: 0;
        background: var(--bg-soft);
        color: var(--ink);
        cursor: pointer;
    }

    .panel-empty { display: none; }
}

/* ============ TABLA DE PRECIOS ============ */


.tabla-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    overflow: hidden;
}

.tabla-precios { width: 100%; border-collapse: collapse; font-size: 15px; }

.tabla-precios th {
    text-align: left;
    font-family: "Barlow", sans-serif;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    font-weight: 700;
    padding: 14px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}

.tabla-precios td { padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tabla-precios tr:last-child td { border-bottom: 0; }

.fila-precio { cursor: pointer; transition: background 0.15s; }
.fila-precio:hover, .fila-precio:focus-visible { background: rgba(242, 203, 5, 0.07); outline: none; }
.fila-precio.activa { background: rgba(242, 203, 5, 0.12); }

.fila-localidad { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }

.fila-dot { width: 11px; height: 11px; border-radius: 3px; background: var(--sold); flex: none; }
.dot-cat-P { background: var(--palco); }
.dot-vip { background: var(--vip); }

.fila-tag {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(242, 203, 5, 0.12);
    color: var(--brand);
    white-space: nowrap;
}

.fila-tag.agotada { background: var(--sold); color: var(--ink-soft); }
.fila-agotada { color: var(--ink-soft); }
.fila-agotada strong { font-weight: 600; }

.td-acomodacion { color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; }

.tabla-cargando td, .tabla-vacia td { text-align: center; color: var(--ink-soft); padding: 28px 16px; }

@media (max-width: 760px) {
    .tabla-precios thead { display: none; }
    .tabla-precios tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
    .tabla-precios tr:last-child { border-bottom: 0; }
    .tabla-precios td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 6px 16px; }
    .tabla-precios td::before {
        content: attr(data-label);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--ink-soft);
        font-weight: 700;
        flex: none;
    }
    .td-acomodacion { text-align: right; }
}

/* ============ BLOQUES DESPLEGABLES ============ */
/* La tabla de precios y la ficha del evento comparten esta caja: son
   referencia, no lo primero que hay que leer, asi que van cerradas. */

.desplegable {
    max-width: 1000px;
    margin: clamp(36px, 5vw, 56px) auto 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    overflow: hidden;
}

.desplegable summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    font-family: "Anton", sans-serif;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.desplegable summary::-webkit-details-marker { display: none; }

.desplegable summary:hover { background: rgba(127, 127, 127, 0.06); }

.desplegable + .desplegable { margin-top: 14px; }

/* el titulo lleva debajo una linea que dice que hay dentro, para que se pueda
   decidir si vale la pena abrirlo sin abrirlo */
.desplegable-titulo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.desplegable-titulo small {
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--ink-soft);
    letter-spacing: 0;
}

.desplegable-cuerpo { padding: 0 16px 16px; }

.desplegable-cuerpo .tabla-wrap { box-shadow: none; }

.evento-info-icono {
    width: 30px; height: 30px;
    border-radius: 999px;
    background: rgba(242, 203, 5, 0.16);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 13px;
    flex: none;
}

.evento-info-flecha { margin-left: auto; color: var(--ink-soft); font-size: 14px; transition: transform 0.2s; }
.desplegable[open] .evento-info-flecha { transform: rotate(180deg); }

.evento-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2px;
    background: var(--line);
    border-top: 1px solid var(--line);
}

.evento-info-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: var(--card);
}

.evento-info-item i { color: var(--brand); font-size: 14px; margin-top: 3px; width: 16px; text-align: center; flex: none; }
.evento-info-item b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 700; }
.evento-info-item span { font-size: 14.5px; line-height: 1.45; }

/* ============ INFO PRACTICA ============ */

.info {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(56px, 8vw, 90px) clamp(16px, 5vw, 32px);
}

.info .titulo { margin-bottom: 32px; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.info-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--sombra);
}

.icono-sticker {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(242, 203, 5, 0.14);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 17px;
    margin-bottom: 14px;
}

.info-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.info-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ============ FOOTER ============ */

footer {
    background: #060403;
    border-top: 2px solid var(--gold);
    color: rgba(246, 240, 228, 0.6);
    text-align: center;
    padding: 48px clamp(16px, 5vw, 32px) 40px;
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-marca {
    font-family: "Anton", sans-serif;
    font-size: clamp(26px, 4vw, 38px);
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-shadow: 1.5px 1.5px 0 rgba(242, 203, 5, 0.8);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-bottom: 20px;
}

.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(246, 240, 228, 0.28); padding-bottom: 2px; }
.footer-links a:hover { border-bottom-color: var(--ink); }

.footer-eventu { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.footer-eventu img { height: 18px; }

.footer-legal {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 240, 228, 0.14);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: rgba(246, 240, 228, 0.42);
}

/* ============ BOTON WHATSAPP ============ */

/* el mismo boton flotante que en CARIBE SOUND FEST: circulo verde abajo a la
   izquierda. Va por debajo del panel movil (95) y del carrito (100+) para no
   taparlos cuando estan abiertos */
.wa-float {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s, opacity 0.2s;
}

.wa-float:hover { transform: scale(1.05); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (hover: none) {
    .wa-float:hover { transform: none; }
}

/* en movil el panel de compra es un sheet que sube desde abajo y vive dentro
   del contexto de apilamiento de su seccion, asi que no puede quedar por
   encima de un fijo del body: con el sheet abierto el boton taparia su
   "Agregar al carrito", y por eso se esconde mientras dure */
@media (max-width: 960px) {
    body.panel-abierto .wa-float {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }
}

/* ============ REVEAL ============ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
