/**
 * Regiticket landing — rojo cereza + negro, profundidad tipo 3D (sombras y perspectiva).
 */
:root {
    --rt-cherry: #b91830;
    --rt-cherry-light: #d42440;
    --rt-cherry-deep: #7d0f22;
    --rt-black: #070707;
    --rt-black-soft: #121212;
    --rt-gray: #a3a3a3;
    --rt-card-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(185, 24, 48, 0.15);
    --rt-card-shadow-hover: 0 28px 56px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(185, 24, 48, 0.35);
    --rt-header-safe: 5.75rem;
}

body.rt-landing {
    background: var(--rt-black);
    color: #f5f5f5;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.rt-header {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(185, 24, 48, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
}

.rt-header--fixed {
    z-index: 1050;
    background: rgba(4, 4, 4, 0.78);
    border-bottom: 1px solid rgba(185, 24, 48, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.rt-header-logo {
    max-height: 54px;
    width: auto;
}

.rt-page-under-fixed-nav {
    padding-top: var(--rt-header-safe);
}

.rt-header .navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(185, 24, 48, 0.35));
}

.rt-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.rt-header .navbar-toggler-icon {
    filter: invert(1);
}

.rt-nav-link {
    color: #e5e5e5 !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.375rem;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.rt-nav-link:hover {
    color: #fff !important;
    background: rgba(185, 24, 48, 0.15);
}

/* Botones primarios: public/css/rt-buttons.css (.btn.rt-btn-cherry) */

.rt-btn-cart {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(185, 24, 48, 0.45);
    color: #fff !important;
    border-radius: 999px;
    padding: 0.45rem 1rem !important;
    transition: background 0.2s, transform 0.2s;
}

.rt-btn-cart:hover {
    background: rgba(185, 24, 48, 0.25);
    color: #fff !important;
}

/* ——— Hero Swiper: pantalla completa (primera vista) ——— */
.rt-hero-swiper-section {
    position: relative;
    height: 100dvh;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.rt-swiper-hero {
    width: 100%;
    height: 100%;
}

.rt-swiper-hero .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100dvh;
    min-height: 100svh;
}

.rt-slide-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.rt-slide-bg {
    position: absolute;
    inset: -6%;
    background-image: var(--rt-slide-img);
    background-size: cover;
    background-position: center;
    transform: scale(1);
    will-change: transform;
}

.swiper-slide-active .rt-slide-bg {
    animation: rtKenBurns 14s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes rtKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.rt-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        125deg,
        rgba(0, 0, 0, 0.91) 0%,
        rgba(10, 10, 10, 0.45) 42%,
        rgba(185, 24, 48, 0.28) 72%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}

.rt-slide-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.rt-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 100dvh;
    min-height: 100svh;
    padding-top: clamp(5.5rem, 14vh, 8rem);
    padding-bottom: clamp(5rem, 10vh, 7rem);
}

.rt-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: #fb7185;
    text-shadow: 0 0 24px rgba(185, 24, 48, 0.45);
}

.rt-hero-title {
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-shadow: 0 6px 32px rgba(0, 0, 0, 0.85), 0 0 48px rgba(185, 24, 48, 0.2);
}

.rt-hero-sub {
    color: #c4c4c4;
    max-width: 38rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.rt-hero-meta {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.65rem !important;
}

.rt-btn-shine {
    position: relative;
    overflow: hidden;
}

.rt-btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );
    animation: rtShine 4.5s ease-in-out infinite;
}

@keyframes rtShine {
    0% {
        left: -120%;
    }
    40%,
    100% {
        left: 160%;
    }
}

/* Swiper por defecto usa azul (--swiper-theme-color); lo anclamos al rojo Regiticket */
.rt-swiper-hero,
.rt-hero-swiper-section {
    --swiper-theme-color: #b91830;
    --swiper-navigation-color: #fecaca;
    --swiper-navigation-size: 1.25rem;
}

.rt-swiper-pagination.swiper-pagination-progressbar {
    top: auto !important;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 0;
}

.rt-hero-swiper-section .swiper-pagination-progressbar-fill,
.rt-swiper-pagination .swiper-pagination-progressbar-fill,
span.swiper-pagination-progressbar-fill {
    background: linear-gradient(90deg, var(--rt-cherry-deep), var(--rt-cherry-light)) !important;
    box-shadow: 0 0 16px rgba(185, 24, 48, 0.55);
}

.rt-swiper-nav {
    width: 3rem !important;
    height: 3rem !important;
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.38) !important;
    border: 1px solid rgba(185, 24, 48, 0.35);
    color: #fecaca !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.rt-swiper-nav:hover {
    background: rgba(185, 24, 48, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.rt-swiper-nav::after {
    font-size: 0.95rem !important;
    font-weight: 800;
}

.rt-swiper-nav--prev {
    left: 1rem !important;
}

.rt-swiper-nav--next {
    right: 1rem !important;
}

.rt-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: rtFloatHint 2.4s ease-in-out infinite;
}

.rt-scroll-hint__label {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.rt-scroll-hint__icon {
    width: 1.35rem;
    height: 1.35rem;
    border-right: 2px solid rgba(185, 24, 48, 0.85);
    border-bottom: 2px solid rgba(185, 24, 48, 0.85);
    transform: rotate(45deg);
    margin-top: 0.15rem;
    opacity: 0.9;
}

@keyframes rtFloatHint {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .swiper-slide-active .rt-slide-bg {
        animation: none;
    }

    .rt-btn-shine::after {
        animation: none;
    }

    .rt-scroll-hint {
        animation: none;
    }
}

.rt-events-after-hero {
    scroll-margin-top: var(--rt-header-safe);
}

.rt-section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rt-events-grid {
    perspective: 1200px;
}

.rt-event-card {
    position: relative;
    background: linear-gradient(165deg, #141414 0%, #0a0a0a 100%);
    border: 1px solid rgba(185, 24, 48, 0.22);
    border-radius: 1rem;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease,
        border-color 0.3s ease;
    box-shadow: var(--rt-card-shadow);
}

.rt-event-card:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(-2deg);
    box-shadow: var(--rt-card-shadow-hover);
    border-color: rgba(185, 24, 48, 0.45);
}

.rt-date-badge {
    background: linear-gradient(145deg, var(--rt-cherry), var(--rt-cherry-deep));
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
    text-align: center;
    min-width: 3.5rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateZ(12px);
    align-self: flex-start; /* Evita que se estire verticalmente en contenedores flex */
    height: fit-content;
}

/* Ocultar iconos de calendario nativos en toda la landing */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none !important;
}

.rt-date-badge .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.95;
}

.rt-date-badge .day {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.rt-badge-featured {
    background: rgba(185, 24, 48, 0.15);
    color: #fecaca;
    border: 1px solid rgba(185, 24, 48, 0.35);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.rt-footer {
    border-top: 1px solid rgba(185, 24, 48, 0.2);
    background: #050505;
}

/* Banda experiencia — misma gramática que .rt-event-card (3D + cereza) */
.rt-experience-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 55% at 50% -30%, rgba(185, 24, 48, 0.14), transparent 55%),
        linear-gradient(180deg, #0c0c0c 0%, #060606 45%, #050505 100%);
}

.rt-experience-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(185, 24, 48, 0.06), transparent 55%);
    pointer-events: none;
}

.rt-experience-band > .container {
    position: relative;
    z-index: 1;
}

.rt-experience-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #fecaca;
    opacity: 0.95;
}

.rt-experience-grid {
    perspective: 1200px;
}

.rt-service-card {
    position: relative;
    height: 100%;
    background: linear-gradient(165deg, #141414 0%, #0a0a0a 100%);
    border: 1px solid rgba(185, 24, 48, 0.22);
    border-radius: 1rem;
    overflow: hidden;
    transform-style: preserve-3d;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    box-shadow: var(--rt-card-shadow);
}

.rt-service-card:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(-2deg);
    box-shadow: var(--rt-card-shadow-hover);
    border-color: rgba(185, 24, 48, 0.45);
}

.rt-service-card__media {
    border-bottom: 1px solid rgba(185, 24, 48, 0.18);
}

.rt-service-card__body {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.9) 0%, rgba(6, 6, 6, 0.98) 100%);
}

.rt-service-card__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(145deg, var(--rt-cherry-light), var(--rt-cherry-deep));
    border-radius: 0.55rem;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateZ(10px);
}

.rt-service-card__title {
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

@media (max-width: 767.98px) {
    .rt-swiper-nav {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    .rt-swiper-nav--prev {
        left: 0.45rem !important;
    }

    .rt-swiper-nav--next {
        right: 0.45rem !important;
    }

    .rt-scroll-hint {
        bottom: 1rem;
        font-size: 0.62rem;
    }

    .rt-event-card:hover {
        transform: translateY(-6px);
    }

    .rt-service-card:hover {
        transform: translateY(-8px) rotateX(2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-service-card {
        transition: none;
    }

    .rt-service-card:hover {
        transform: none;
    }
}

/* Catálogo / detalle público: portada tipo hero sin swiper */
.rt-events-catalog-hero {
    position: relative;
    min-height: 42vh;
    overflow: hidden;
}

.rt-events-catalog-hero .rt-events-catalog-hero__bg.rt-slide-bg {
    inset: 0;
    animation: none;
}

.rt-events-catalog-hero .rt-slide-scrim,
.rt-events-catalog-hero .rt-slide-noise {
    z-index: 2;
}

.rt-events-catalog-hero > .container {
    z-index: 3;
}

/* Detalle evento: layout 2 columnas (info + imagen) */
.rt-event-header {
    background:
        radial-gradient(ellipse 900px 520px at 15% 50%, rgba(185, 24, 48, 0.13), transparent 55%),
        radial-gradient(ellipse 600px 380px at 85% 50%, rgba(185, 24, 48, 0.06), transparent 55%),
        linear-gradient(180deg, #0b0b0b 0%, #070707 100%);
    border-bottom: 1px solid rgba(185, 24, 48, 0.18);
    min-height: calc(100dvh - var(--rt-header-safe));
    display: flex;
    align-items: center;
}

.rt-event-header > .container {
    width: 100%;
}

.rt-event-header-title {
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
}

.rt-event-header-info-inner {
    position: relative;
}

@media (min-width: 992px) {
    .rt-event-header-info-inner {
        padding-left: 1.75rem;
        border-left: 2px solid rgba(183, 47, 39, 0.55);
    }
}

.rt-event-breadcrumb {
    color: rgba(255, 255, 255, 0.30);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.rt-event-breadcrumb a {
    color: rgba(255, 255, 255, 0.40);
    text-decoration: none;
    transition: color 0.2s;
}

.rt-event-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.rt-event-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(185, 24, 48, 0.15);
    border: 1px solid rgba(185, 24, 48, 0.40);
    color: #fca5a5;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
}

.rt-event-available-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(22, 163, 74, 0.10);
    border: 1px solid rgba(22, 163, 74, 0.28);
    color: #4ade80;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
}

.rt-event-available-pill::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.65);
    flex-shrink: 0;
    animation: rtDotPulse 2s ease-in-out infinite;
}

@keyframes rtDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.rt-event-header-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.rt-event-header-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #b0b0b0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.rt-event-header-meta-item .bi {
    color: #b72f27;
    font-size: 1rem;
    margin-top: 0.12rem;
    flex-shrink: 0;
}

/* Botón «Ver ubicación» en cabecera del evento (SweetAlert2 + mapa embebido) */
.rt-event-header-map-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rt-event-header-map-btn:hover {
    background: rgba(183, 47, 39, 0.28);
    border-color: rgba(183, 47, 39, 0.55);
    color: #fff;
}

.rt-event-header-map-btn:focus-visible {
    outline: 2px solid rgba(183, 47, 39, 0.75);
    outline-offset: 2px;
}

.rt-swal-venue-map-popup {
    border-radius: 0.75rem;
}

.rt-event-header-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 1.5rem 0 0;
}

.rt-event-platform-stamp {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.38rem 0.9rem;
}

.rt-event-platform-stamp-label {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rt-event-platform-logo {
    height: 16px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.55;
}

.rt-event-hero-media-card {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.70),
        0 0 0 1px rgba(185, 24, 48, 0.14);
    overflow: hidden;
    height: 100%;
}

.rt-event-hero-media-frame {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #000;
    height: 100%;
}

.rt-event-hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.rt-event-hero-media-card:hover .rt-event-hero-media-img {
    transform: scale(1.03);
}

@media (min-width: 992px) {
    .rt-event-header .rt-event-header-row {
        min-height: max(400px, calc(100dvh - var(--rt-header-safe) - 5rem));
    }

    .rt-event-hero-media-frame {
        aspect-ratio: unset;
        height: 100%;
        min-height: 400px;
    }
}

@media (max-width: 991.98px) {
    .rt-event-header {
        min-height: unset;
        display: block;
    }

    .rt-event-hero-media-card {
        border-radius: 12px;
        margin-top: 1.5rem;
    }

    .rt-event-hero-media-frame {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }
}

.rt-landing-prose a {
    color: #fecaca;
}

.rt-landing-prose a:hover {
    color: #fff;
}

/* ─────────────────────────────────────────────────────────
   Checkout público: lista de tickets + footer + modal
   Estructura inspirada en Tribe / Event Tickets Plus.
   ───────────────────────────────────────────────────────── */
[x-cloak],
[v-cloak] {
    display: none !important;
}

body.rt-modal-open {
    overflow: hidden;
}

.rt-tickets-wrapper {
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--rt-card-shadow);
    position: sticky;
    top: calc(var(--rt-header-safe) + 1rem);
}

.rt-tickets-wrapper--empty {
    color: var(--rt-gray);
}

.rt-tickets-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.rt-tickets-title {
    color: #fff;
    letter-spacing: -0.01em;
}

.rt-tickets-list {
    display: flex;
    flex-direction: column;
}

.rt-tickets-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "main extra"
        "qty qty";
    gap: 0.5rem 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rt-tickets-item:last-child {
    border-bottom: 0;
}

.rt-tickets-item--soldout {
    opacity: 0.55;
    filter: grayscale(40%);
}

.rt-tickets-item-main { grid-area: main; }
.rt-tickets-item-extra {
    grid-area: extra;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}
.rt-tickets-item-quantity {
    grid-area: qty;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.25rem 0.4rem;
    width: max-content;
}

.rt-tickets-item-title {
    line-height: 1.25;
}

.rt-tickets-item-desc {
    line-height: 1.4;
    margin-top: 0.15rem;
}

.rt-tickets-item-price {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.rt-tickets-qty-btn {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-tickets-qty-btn:hover:not(:disabled) {
    background: rgba(185, 24, 48, 0.18);
    border-color: rgba(185, 24, 48, 0.55);
}

.rt-tickets-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rt-tickets-qty-input {
    width: 3rem;
    text-align: center;
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    -moz-appearance: textfield;
}

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

.rt-tickets-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rt-tickets-footer-summary {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.rt-tickets-footer-value {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.rt-tickets-buy-btn {
    grid-column: 1 / -1;
    width: 100%;
}

.rt-tickets-disclaimer {
    text-align: center;
}

/* Checkout: aspecto SweetAlert2 (solo CSS oficial + teleport Alpine; no Swal.fire con html del form) */
.rt-checkout-swal-wrap.swal2-container {
    z-index: 1090;
    padding: calc(var(--rt-header-safe) + 1rem) 0.75rem 1.5rem;
}

.rt-checkout-swal-popup.swal2-popup {
    width: min(96vw, 920px) !important;
    max-width: 920px;
    padding: 0 1rem 1rem !important;
    color: #333;
}

.rt-checkout-swal-popup .swal2-title {
    color: #333 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 1rem 2.75rem 0.35rem 1rem !important;
    margin: 0 !important;
}

.rt-checkout-swal-html.swal2-html-container {
    max-height: min(72vh, 760px);
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 0.35rem 0.25rem !important;
}

.rt-checkout-swal-popup .rt-checkout-form {
    padding: 0;
}

@media (max-width: 575.98px) {
    .rt-checkout-swal-html.swal2-html-container {
        max-height: min(78vh, 640px);
    }
}

/* Modal de asistentes (legacy overlay; reservado por si se reutiliza) */
.rt-checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 1080;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: calc(var(--rt-header-safe) + 1rem) 1rem 2rem;
    overflow-y: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rt-checkout-modal {
    width: 100%;
    max-width: 680px;
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 0 rgba(183, 47, 39, 0.65), 0 24px 64px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.rt-checkout-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    background: #111;
}

.rt-checkout-modal-header .h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
}

.rt-checkout-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    transition: background 0.15s;
}

.rt-checkout-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.rt-checkout-form {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rt-checkout-ticket-block {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: #fafafa;
}

.rt-checkout-ticket-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111 !important;
    margin-bottom: 0.6rem;
}

.rt-checkout-ticket-title .text-secondary {
    color: #aaa !important;
}

.rt-checkout-attendee {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    padding: 0.85rem;
    margin-top: 0.6rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rt-checkout-attendee-legend {
    padding: 0 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    color: #999;
}

.rt-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rt-form-label {
    color: #333;
    font-size: 0.84rem;
    font-weight: 600;
}

.rt-form-required {
    color: #b72f27;
    margin-left: 0.15rem;
}

.rt-form-control {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.rt-form-control:focus {
    outline: 0;
    border-color: rgba(183, 47, 39, 0.55);
    box-shadow: 0 0 0 3px rgba(183, 47, 39, 0.12);
}

textarea.rt-form-control {
    resize: vertical;
    min-height: 4rem;
}

.rt-form-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.rt-form-radio,
.rt-form-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #333;
    font-size: 0.9rem;
}

.rt-checkout-summary {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 0.85rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rt-checkout-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.9rem;
}

.rt-checkout-summary-row .text-secondary {
    color: #888 !important;
}

.rt-checkout-summary-row .text-white {
    color: #111 !important;
}

.rt-checkout-summary-row--total {
    font-weight: 700;
    font-size: 1.05rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.5rem;
    margin-top: 0.15rem;
}

.rt-checkout-summary-row--total .text-white {
    color: #111 !important;
}

.rt-checkout-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

@media (max-width: 575.98px) {
    .rt-tickets-wrapper {
        position: static;
    }

    .rt-checkout-modal-overlay {
        padding: var(--rt-header-safe) 0 0;
        align-items: flex-start;
    }

    .rt-checkout-modal {
        border-radius: 0;
        min-height: calc(100vh - var(--rt-header-safe));
        max-width: 100%;
    }

    .rt-tickets-item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "extra"
            "qty";
    }

    .rt-tickets-item-extra {
        align-items: flex-start;
        text-align: left;
    }
}

/* ─────────────────────────────────────────────────────────
   Sección artículo (descripción + tickets): fondo blanco
   ───────────────────────────────────────────────────────── */
.rt-event-body {
    background: #fff;
    border-top: 3px solid #b72f27;
    color: #111;
}

/* Prosa / descripción */
.rt-event-body .lead {
    color: #1a1a1a;
    font-weight: 500;
}

.rt-event-body .rt-landing-prose {
    color: #3a3a3a;
}

.rt-event-body .rt-landing-prose a {
    color: #b72f27;
}

.rt-event-body .rt-landing-prose a:hover {
    color: #8c1a16;
}

.rt-event-body .rt-landing-prose strong {
    color: #111;
    font-weight: 700;
}

.rt-event-body .rt-landing-prose ul,
.rt-event-body .rt-landing-prose ol {
    color: #3a3a3a;
}

.rt-event-body .rt-landing-prose em {
    color: #555;
}

/* ── Widget de tickets: rediseño profesional en fondo blanco ── */
.rt-event-body .rt-tickets-wrapper {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 0 rgba(183, 47, 39, 0.7), 0 4px 32px rgba(0, 0, 0, 0.10);
    padding: 0;
    overflow: hidden;
}

.rt-event-body .rt-tickets-wrapper--empty {
    padding: 1.5rem;
}

.rt-event-body .rt-tickets-wrapper--empty p {
    color: #777 !important;
}

/* Cabecera: negro dramático con acento rojo */
.rt-event-body .rt-tickets-header {
    background: #111;
    border-bottom: none;
    padding: 1.25rem 1.5rem 1rem;
    margin: 0;
}

.rt-event-body .rt-tickets-title {
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 700;
}

.rt-event-body .rt-tickets-subtitle {
    color: rgba(255, 255, 255, 0.50) !important;
    font-size: 0.8rem !important;
}

/* Lista de tickets: filas planas con separadores (estilo minimalista) */
.rt-event-body .rt-tickets-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rt-event-body .rt-tickets-item {
    background: transparent;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 0 !important;
    padding: 0.9rem 1.5rem;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "main extra qty";
    gap: 0 1rem;
    align-items: center;
    transition: background 0.15s;
}

.rt-event-body .rt-tickets-item:last-child {
    border-bottom: none !important;
}

.rt-event-body .rt-tickets-item:hover {
    background: rgba(183, 47, 39, 0.025) !important;
    box-shadow: none;
}

/* Sobrescribir text-white / text-secondary de Bootstrap en la lista (no en el modal) */
.rt-event-body .rt-tickets-header .text-white,
.rt-event-body .rt-tickets-list .text-white,
.rt-event-body .rt-tickets-footer .text-white {
    color: #111 !important;
}

.rt-event-body .rt-tickets-header .text-secondary,
.rt-event-body .rt-tickets-list .text-secondary,
.rt-event-body .rt-tickets-footer .text-secondary {
    color: #888 !important;
}


.rt-event-body .rt-tickets-item-title {
    font-size: 0.9rem !important;
    font-weight: 600;
    color: #111 !important;
    line-height: 1.3;
}

.rt-event-body .rt-tickets-item-desc {
    font-size: 0.78rem !important;
    color: #888 !important;
    line-height: 1.4;
    margin-top: 0.1rem;
}

.rt-event-body .rt-tickets-item-price {
    color: #b72f27 !important;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rt-event-body .rt-tickets-item-available {
    font-size: 0.72rem !important;
    color: #aaa !important;
}

/* Selector de cantidad: pill compacto inline */
.rt-event-body .rt-tickets-item-quantity {
    background: #f5f5f5;
    border: 1.5px solid rgba(0, 0, 0, 0.10);
    border-radius: 999px;
    padding: 0.15rem 0.35rem;
    width: max-content;
}

.rt-event-body .rt-tickets-qty-btn {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    transition: background 0.15s, color 0.15s;
}

.rt-event-body .rt-tickets-qty-btn:hover:not(:disabled) {
    background: #b72f27;
    color: #fff;
}

.rt-event-body .rt-tickets-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.rt-event-body .rt-tickets-qty-input {
    color: #111;
    font-weight: 700;
    font-size: 0.92rem;
    width: 2.25rem;
}

/* Footer: totales + CTA */
.rt-event-body .rt-tickets-footer {
    background: #f7f7f7;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin: 0;
    padding: 0.85rem 1.5rem 1.1rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.rt-event-body .rt-tickets-footer-label {
    color: #888 !important;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rt-event-body .rt-tickets-footer-value {
    color: #111 !important;
    font-size: 1.25rem;
    font-weight: 800;
}

.rt-event-body .rt-tickets-buy-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem !important;
}

@media (max-width: 575.98px) {
    .rt-event-body .rt-tickets-item {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "main extra"
            "qty  qty";
        padding: 0.8rem 1rem;
        gap: 0.3rem 0.5rem;
        align-items: start;
    }

    .rt-event-body .rt-tickets-item-extra {
        align-items: flex-end;
    }

    .rt-event-body .rt-tickets-footer {
        padding: 0.85rem 1rem 1rem;
    }
}

/* ─────────────────────────────────────────────────────────
   Confirmación de compra (post-checkout): aspecto “recibo”
   ───────────────────────────────────────────────────────── */
.rt-checkout-confirmation {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 45%);
    color: #1a1a1a;
}

.rt-checkout-confirmation .rt-cc-breadcrumb {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.rt-checkout-confirmation .rt-cc-page-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
    line-height: 1.2;
}

.rt-checkout-confirmation .rt-cc-status-card {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 1.35rem 1.5rem;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.rt-checkout-confirmation .rt-cc-status-card--success {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 55%);
}

.rt-checkout-confirmation .rt-cc-status-card--pending {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 55%);
}

.rt-checkout-confirmation .rt-cc-status-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rt-checkout-confirmation .rt-cc-status-icon--ok {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.rt-checkout-confirmation .rt-cc-status-icon--pay {
    background: var(--rt-cherry);
    color: #fff;
    box-shadow: 0 8px 20px rgba(185, 24, 48, 0.28);
}

.rt-checkout-confirmation .rt-cc-order-ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e5e7eb;
}

.rt-checkout-confirmation .rt-cc-event-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
}

.rt-checkout-confirmation .rt-cc-event-card-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.rt-checkout-confirmation .rt-cc-event-meta {
    font-size: 0.875rem;
    color: #4b5563;
}

.rt-checkout-confirmation .rt-cc-email-hint {
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    padding: 1rem 1.15rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
}

.rt-checkout-confirmation .rt-cc-email-hint i {
    color: var(--rt-cherry);
}

.rt-checkout-confirmation .rt-cc-pay-panel {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 1.35rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.rt-checkout-confirmation .rt-cc-pay-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.rt-checkout-confirmation .rt-cc-receipt {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.07);
}

.rt-checkout-confirmation .rt-cc-receipt-header {
    padding: 1.25rem 1.35rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.rt-checkout-confirmation .rt-cc-receipt-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
}

.rt-checkout-confirmation .rt-cc-line {
    padding: 0.85rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.rt-checkout-confirmation .rt-cc-line:last-child {
    border-bottom: none;
}

.rt-checkout-confirmation .rt-cc-total-strip {
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
    padding: 1.15rem 1.35rem;
    border-top: 1px solid #e5e7eb;
}

.rt-checkout-confirmation .rt-cc-total-amount {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--rt-cherry);
}

.rt-checkout-confirmation .rt-cc-actions {
    padding: 1rem 1.35rem 1.25rem;
    border-top: 1px solid #f3f4f6;
}

.rt-checkout-confirmation .rt-cc-trust {
    font-size: 0.8rem;
    color: #64748b;
}

.rt-checkout-confirmation .btn.rt-cc-btn-primary {
    background: var(--rt-cherry);
    border-color: var(--rt-cherry);
    font-weight: 700;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
}

.rt-checkout-confirmation .btn.rt-cc-btn-primary:hover {
    background: var(--rt-cherry-deep);
    border-color: var(--rt-cherry-deep);
}

@media (max-width: 991.98px) {
    .rt-checkout-confirmation .rt-cc-status-card {
        margin-bottom: 1rem;
    }
}
