.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Hero Slider (full-bleed) ===== */
.hero-section {
    position: relative;
    width: 100%;
    margin: 0;
    background: #0b1220;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 7rem;
    background: linear-gradient(
        180deg,
        rgba(248, 250, 252, 0) 0%,
        rgba(248, 250, 252, 0.18) 45%,
        rgba(248, 250, 252, 0.55) 75%,
        #f8fafc 100%
    );
    pointer-events: none;
    z-index: 15;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: min(78vh, 640px);
    min-height: 380px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #0f766e 100%);
}

.hero-slider--empty {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0f766e 100%);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.85s ease;
    display: block;
    color: inherit;
    text-decoration: none;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 10;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transform: scale(1.04);
    transition: transform 9s ease-out;
    filter: brightness(0.92) contrast(1.06) saturate(1.04);
}

.hero-slide.is-active .hero-slide-bg img {
    transform: scale(1.1);
}

.hero-slide-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f766e, #1e3a8a, #7c3aed);
}

/* Texto legible a la izquierda; imagen protagonista a la derecha */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(2, 8, 20, 0.88) 0%,
            rgba(2, 8, 20, 0.72) 26%,
            rgba(2, 8, 20, 0.38) 48%,
            rgba(2, 8, 20, 0.12) 68%,
            rgba(2, 8, 20, 0.04) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.22) 0%,
            transparent 30%,
            transparent 62%,
            rgba(0, 0, 0, 0.45) 100%
        );
    pointer-events: none;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.25rem 1.25rem 4rem;
    color: #fff;
    box-sizing: border-box;
}

.hero-slide-content > .hero-title,
.hero-slide-content > .hero-meta,
.hero-slide-content > .hero-cta,
.hero-slide-content > .hero-kicker {
    max-width: 34rem;
}

.hero-slide-content--empty {
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-slide-content {
        padding: 3rem 2.5rem 4.5rem;
    }
}

.hero-title {
    font-size: clamp(2.15rem, 5.4vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55),
        0 14px 36px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(14px);
}

.hero-slide.is-active .hero-title,
.hero-slider--empty .hero-title {
    animation: hero-rise 0.7s ease 0.08s forwards;
}

.hero-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.hero-meta {
    margin: 0 0 1.6rem;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(12px);
}

.hero-slide.is-active .hero-meta {
    animation: hero-rise 0.7s ease 0.18s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    padding: 0.95rem 1.7rem;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, var(--brand-primary, #14b8a6), var(--brand-secondary, #0d9488));
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.4);
    transition: transform .2s ease, box-shadow .2s ease;
    opacity: 0;
    transform: translateY(12px);
}

.hero-cta svg {
    transition: transform .25s ease;
}

.hero-slide.is-active .hero-cta {
    animation: hero-rise 0.7s ease 0.28s forwards;
}

.hero-slide:hover .hero-cta {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(13, 148, 136, 0.5);
}

.hero-slide:hover .hero-cta svg {
    transform: translateX(4px);
}

@keyframes hero-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.35);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-arrow--prev { left: 0.85rem; }
.hero-arrow--next { right: 0.85rem; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
    cursor: pointer;
    transition: all .25s ease;
}

.hero-dot.is-active {
    width: 1.65rem;
    background: #fff;
}

@media (max-width: 640px) {
    .hero-slider {
        height: min(70vh, 520px);
        min-height: 340px;
    }

    .hero-arrow {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.35rem;
    }

    .hero-arrow--prev { left: 0.5rem; }
    .hero-arrow--next { right: 0.5rem; }
}

/* ===== Event cards (Planes Imperdibles) ===== */
.event-cards-track {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .event-cards-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .event-cards-track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.event-card {
    display: block;
    background: #fff;
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    border-color: #e2e8f0;
}

.event-card-image {
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    overflow: hidden;
    position: relative;
}

.event-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.28) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.event-card:hover .event-card-image::after {
    opacity: 1;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.08);
}

.event-card-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f766e, #1e40af);
}

.event-card-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    background: #fff;
}

.event-date-tag {
    background: var(--brand-primary, #14b8a6);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    padding: 0.55rem 0.7rem;
    min-width: 3.4rem;
    text-align: center;
    line-height: 1.15;
}

.event-place {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #64748b;
    font-size: 0.8rem;
    padding-right: 0.75rem;
}

.event-card-body {
    padding: 0.85rem 1rem 1.05rem;
}

.event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.event-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.event-card-price-label {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.2;
}

.event-card-price-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.event-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-primary, #0d9488);
    white-space: nowrap;
}

.event-card-cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform .2s ease;
}

.event-card:hover .event-card-cta svg {
    transform: translateX(3px);
}

/* ===== Cinta Agotado (esquina superior izquierda) ===== */
.soldout-ribbon {
    position: absolute;
    top: 14px;
    left: -38px;
    z-index: 3;
    width: 140px;
    padding: 0.35rem 0;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.soldout-ribbon--lg {
    top: 22px;
    left: -42px;
    width: 170px;
    font-size: 0.82rem;
    padding: 0.45rem 0;
}

.hero-slide-bg,
.concert-hero-media {
    overflow: hidden;
}

.hero-slide.is-soldout {
    cursor: default;
}

.hero-cta.is-soldout {
    background: rgba(220, 38, 38, 0.92);
    pointer-events: none;
}

.event-card.is-soldout {
    cursor: not-allowed;
    opacity: 0.92;
}

.event-card.is-soldout:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-color: #f1f5f9;
}

.event-card.is-soldout:hover .event-card-image img {
    transform: none;
}

.event-card.is-soldout:hover .event-card-image::after {
    opacity: 0;
}

.event-card-cta.is-soldout {
    color: #dc2626;
}

.date-card.is-soldout {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.date-card.is-soldout:hover {
    transform: none;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.events-empty {
    border: 1px dashed #cbd5e1;
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.events-empty-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.events-empty-text {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Detalle de concierto ===== */
.concert-hero {
    position: relative;
    min-height: 280px;
}

.concert-hero--compact {
    min-height: 220px;
}

@media (min-width: 768px) {
    .concert-hero {
        min-height: 360px;
    }
    .concert-hero--compact {
        min-height: 260px;
    }
}

@media (min-width: 1024px) {
    .concert-hero {
        min-height: 420px;
    }
    .concert-hero--compact {
        min-height: 300px;
    }
}

.concert-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0f172a;
}

.concert-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) saturate(1.05);
}

.concert-hero-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f766e, #1e3a8a 55%, #0f172a);
}

.concert-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2,12,27,.25) 0%, rgba(2,12,27,.35) 40%, rgba(2,12,27,.88) 100%);
}

.concert-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: inherit;
}

.concert-type-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(94, 234, 212, 0.35);
    color: #99f6e4;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.concert-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.date-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.date-card:hover {
    border-color: var(--brand-primary, #14b8a6);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.12);
    transform: translateY(-2px);
}

.date-card-day {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: rgba(20, 184, 166, 0.12);
    color: var(--brand-primary, #0d9488);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.date-card-num {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.date-card-mon {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

.info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(20, 184, 166, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.concert-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: 0.85rem;
    background: linear-gradient(90deg, var(--brand-primary, #14b8a6), var(--brand-secondary, #0d9488));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.3);
    transition: transform .2s ease, box-shadow .2s ease;
}

.concert-buy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(13, 148, 136, 0.4);
    color: #fff;
}

.concert-buy-btn:disabled,
.concert-buy-btn.is-soldout {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #dc2626;
    color: #fff;
}

/* ===== Selección de zonas ===== */
.zone-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.zone-card.is-selected {
    border-color: var(--brand-primary, #14b8a6);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.zone-card.is-soldout {
    opacity: 0.55;
}

.zone-soldout-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.7rem;
    font-weight: 700;
}

.zone-qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}

.zone-qty-btn:hover {
    background: #f1f5f9;
}

.zone-qty {
    width: 3rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #0f172a;
    padding: 0;
    -moz-appearance: textfield;
}

.zone-qty::-webkit-outer-spin-button,
.zone-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Checkout ===== */
.checkout-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.35rem;
}

.checkout-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: #fff;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--brand-primary, #14b8a6);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.wa-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 50;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform .15s ease;
}

.wa-float:hover {
    transform: scale(1.06);
    color: #fff;
}

.events-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .events-toolbar {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.events-toolbar-copy {
    min-width: 0;
    flex-shrink: 0;
}

.events-toolbar-title {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.15;
}

.events-toolbar-count {
    margin: 0.3rem 0 0;
    font-size: 0.95rem;
    color: #64748b;
}

.event-filters-scroll {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    min-width: 0;
    max-width: 100%;
    padding: 0.1rem 0;
    scrollbar-width: none;
}

@media (min-width: 768px) {
    .event-filters-scroll {
        justify-content: flex-end;
        flex: 1 1 auto;
    }
}

.event-filters-scroll::-webkit-scrollbar {
    display: none;
}

.event-filters-scroll .event-filter-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.event-filter-pill {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.event-filter-pill:hover {
    background: #f8fafc;
}

.event-filter-pill.is-active {
    background: var(--brand-primary, #0d9488);
    border-color: var(--brand-primary, #0d9488);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28);
}

.event-card.hidden {
    display: none !important;
}

/* ===== Header público ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.site-header-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    max-width: 160px;
}

.site-logo img {
    height: 2.25rem;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.site-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.discover-wrap {
    position: relative;
}

.discover-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.55rem;
    border: 0;
    background: transparent;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    cursor: pointer;
    border-radius: 0.5rem;
}

.discover-trigger:hover,
.discover-wrap.is-open .discover-trigger {
    background: #f1f5f9;
}

.discover-chevron {
    width: 1rem;
    height: 1rem;
    transition: transform .15s ease;
}

.discover-wrap.is-open .discover-chevron {
    transform: rotate(180deg);
}

.discover-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    width: min(46rem, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 1rem 1.15rem 1.15rem;
    z-index: 60;
}

.discover-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.discover-all:hover {
    color: var(--brand-primary, #0d9488);
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 1.5rem;
}

@media (min-width: 768px) {
    .discover-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.discover-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.15rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 0.35rem;
}

.discover-item:hover {
    color: var(--brand-primary, #0d9488);
}

.discover-empty {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.header-search-trigger {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 28rem;
    margin-left: auto;
    padding: 0.7rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.header-search-trigger:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.header-search-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-search-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: #64748b;
}

.site-header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.header-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.header-link:hover {
    color: var(--brand-primary, #0d9488);
}

.header-login-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border: 1.5px solid #0f172a;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
}

.header-login-btn:hover {
    background: #0f172a;
    color: #fff;
}

.header-login-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1.5px solid #0f172a;
    border-radius: 999px;
    color: #0f172a;
    text-decoration: none;
    flex-shrink: 0;
}

.header-login-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.header-login-icon:hover {
    background: #0f172a;
    color: #fff;
}

@media (max-width: 767px) {
    .site-header-right .header-link {
        display: none;
    }

    .header-search-trigger span {
        display: none;
    }

    .header-search-trigger {
        flex: 0 0 auto;
        width: 2.6rem;
        height: 2.6rem;
        padding: 0;
        justify-content: center;
        margin-left: auto;
        border-radius: 999px;
    }

    .header-login-btn--desktop {
        display: none;
    }

    .header-login-icon {
        display: inline-flex;
    }
}

/* Modal búsqueda */
body.search-modal-open {
    overflow: hidden;
}

.search-modal[hidden] {
    display: none !important;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4.5rem 1rem 2rem;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}

.search-modal-panel {
    position: relative;
    width: min(40rem, 100%);
    background: #fff;
    border-radius: 1rem;
    padding: 1.35rem 1.25rem 1.25rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.search-field {
    position: relative;
    margin-bottom: 1rem;
}

.search-field-label {
    position: absolute;
    left: 1rem;
    top: -0.55rem;
    background: #fff;
    padding: 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    z-index: 1;
}

.search-field-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}

.search-field-inner:focus-within {
    border-color: var(--brand-primary, #0d9488);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.search-field-inner input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
    min-width: 0;
}

.search-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.search-chips::-webkit-scrollbar {
    display: none;
}

.search-chips .search-chip {
    flex: 0 0 auto;
}

.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border: 0;
    border-radius: 0.65rem;
    background: #e8eef5;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.search-chip svg {
    width: 1rem;
    height: 1rem;
}

.search-chip.is-active {
    background: #cfe0f0;
    outline: 2px solid var(--brand-primary, #0d9488);
}

.search-filter-panel {
    margin-bottom: 0.85rem;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.search-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.search-filter-row label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.search-filter-row input {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.95rem;
    color: #0f172a;
    background: #fff;
}

.search-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    max-height: 12rem;
    overflow: auto;
}

.search-option {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: #1e293b;
    cursor: pointer;
    padding: 0.25rem 0;
}

.search-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.search-btn-cancel,
.search-btn-go {
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.search-btn-cancel {
    background: #fff;
    border: 1.5px solid #0f172a;
    color: #0f172a;
}

.search-btn-go {
    border: 0;
    background: var(--brand-primary, #0d9488);
    color: #fff;
}

.search-btn-go:hover {
    filter: brightness(0.95);
}

/* ===== Intereses ===== */
.interests-section {
    padding: 0.5rem 0 2rem;
    background: #f8fafc;
}

.interests-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.1rem;
    padding: 1.35rem 1.25rem 1.25rem;
}

.interests-heading {
    margin-bottom: 1rem;
}

.interests-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-primary, #0d9488);
    line-height: 1.2;
}

.interests-title {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0.25rem 0 0;
}

.interests-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.interest-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.interest-chip:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.interest-chip-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #e8eef5;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.interest-chip-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.interest-chip-label {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.interests-more-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

.interests-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 0;
    background: color-mix(in srgb, var(--brand-primary, #0d9488) 16%, #fff);
    color: #134e4a;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter .15s ease;
}

.interests-more-btn:hover {
    filter: brightness(0.97);
}

/* ===== CTA home ===== */
.home-cta {
    position: relative;
    padding: 4.5rem 0 5rem;
    background: #f8fafc;
    overflow: hidden;
}

.home-cta-glow {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 28rem;
    height: 28rem;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(124, 58, 237, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.home-cta-gradient {
    background: linear-gradient(90deg, var(--brand-primary, #3b82f6), #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-primary, #3b82f6), #7c3aed);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(59, 130, 246, 0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    color: #fff;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

/* ===== Footer oscuro ===== */
.site-footer {
    background: #0f172a;
    color: #fff;
    margin-top: 0;
}

.site-footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color .15s ease;
}

.site-footer-link:hover {
    color: #fff;
}

.checkout-mock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 600;
}

.checkout-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(2px);
    border-radius: 1rem;
}

.checkout-loading.hidden {
    display: none;
}

.checkout-loading-card {
    width: 100%;
    max-width: 280px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.checkout-loading-spinner {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--brand-primary, #7c3aed);
    animation: checkout-spin 0.75s linear infinite;
}

.checkout-loading-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.checkout-loading-text {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #64748b;
}

#checkoutPayArea.is-locked .checkout-input,
#checkoutPayArea.is-locked .concert-buy-btn {
    pointer-events: none;
}

@keyframes checkout-spin {
    to { transform: rotate(360deg); }
}

.checkout-event-card {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.checkout-event-thumb {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.checkout-event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-event-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #1e40af);
    color: rgba(255,255,255,.7);
    font-size: 1.25rem;
}

/* Diálogos propios (alert / confirm) */
.site-dialog {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}
.site-dialog[hidden] { display: none !important; }
.site-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}
.site-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    padding: 1.35rem 1.3rem 1.2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    animation: siteDialogIn .18s ease-out;
}
@keyframes siteDialogIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.site-dialog-title {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}
.site-dialog-msg {
    margin: 0 0 1.2rem;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.45;
}
.site-dialog-actions {
    display: flex;
    gap: 0.6rem;
}
.site-dialog-btn {
    flex: 1;
    min-height: 48px;
    border: 0;
    border-radius: 0.85rem;
    background: var(--brand-primary, #0d9488);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
}
.site-dialog-btn:hover { filter: brightness(0.96); }
.site-dialog-btn--ghost {
    background: #fff;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.site-dialog-btn--danger {
    background: #e11d48;
    color: #fff;
}
body.site-dialog-open { overflow: hidden; }
