/* 
 * Ticketera Aura - Main Style Tokens 
 * Premium Dark Mode & Glassmorphism 
 */

:root {
    /* Colors */
    --tl-bg: #0f172a;               /* Dark Slate */
    --tl-surface: rgba(30, 41, 59, 0.6); /* Translucent Slate */
    --tl-surface-hover: rgba(51, 65, 85, 0.8);
    --tl-primary: #3b82f6;          /* Vivid Blue */
    --tl-primary-hover: #2563eb;
    --tl-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --tl-text: #f8fafc;
    --tl-text-muted: #94a3b8;
    
    /* Layout */
    --tl-radius: 16px;
    --tl-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --tl-glass-blur: blur(12px);
    
    /* Fonts */
    --tl-font-body: 'Inter', -apple-system, sans-serif;
    --tl-font-heading: 'Outfit', -apple-system, sans-serif;
}

/* Base Styles */
body {
    background-color: var(--tl-bg);
    color: var(--tl-text);
    font-family: var(--tl-font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /* Soft ambient gradient behind the main dark mode */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.05), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tl-font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
}

a {
    color: var(--tl-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--tl-primary-hover);
}

/* Layout Container */
.tl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NUEVAS CLASES PARA EL TICKET DIGITAL --- */
.tl-ticket-card {
    background: linear-gradient(180deg, rgba(35, 40, 56, 0.95) 0%, rgba(20, 24, 35, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Efecto de sierra (Sawtooth) para parecer boleto en los bordes top y bottom */
.tl-ticket-sawtooth-top,
.tl-ticket-sawtooth-bottom {
    display: block;
    height: 12px;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 2;
}
.tl-ticket-sawtooth-top {
    top: -6px;
    background-image: radial-gradient(circle at 10px 0, transparent 11px, rgba(35, 40, 56, 0.95) 12px);
    background-size: 20px 100%;
    /* In this setup, we actually want the background to be transparent and punch holes into the top/bottom */
}

/* El método súper limpio de mask-image para perforaciones top y bottom */
.tl-ticket-card-perforated {
    background: linear-gradient(180deg, #1c2130 0%, #11141e 100%);
    position: relative;
    border-radius: 12px;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Dientes circulares transparentes a los extremos top y bottom */
    -webkit-mask-image: radial-gradient(circle at 12px 0px, transparent 6px, black 6.5px),
                        radial-gradient(circle at 12px 100%, transparent 6px, black 6.5px);
    -webkit-mask-size: 24px 51%;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-position: top, bottom;
    mask-image: radial-gradient(circle at 12px 0px, transparent 6px, black 6.5px), 
                radial-gradient(circle at 12px 100%, transparent 6px, black 6.5px);
    mask-size: 24px 51%;
    mask-repeat: repeat-x;
    mask-position: top, bottom;
    /* Un borde opcional muy sutil por dentro se maneja con box-shadow */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.tl-ticket-card-content {
    padding: 24px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tl-ticket-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0; /* Las puntas las define el ticket general, pero el interior es recto en la foto */
    border-bottom: 2px solid rgba(255,255,255,0.05);
}
.tl-ticket-thumbnail-wrapper {
    margin: 12px 12px 0 12px; /* Margen para encuadrar la foto dentro del ticket como en Nitro Kids */
    border-radius: 12px;
    overflow: hidden;
}

.tl-ticket-thumbnail-inner {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tl-ticket-card-perforated:hover .tl-ticket-thumbnail-inner {
    transform: scale(1.05);
}

/* El botón Neon vibrante */
.tl-btn-neon {
    background: linear-gradient(90deg, #ff0a54 0%, #ff477e 100%);
    color: #ffffff !important;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 10, 84, 0.45);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.tl-btn-neon:hover {
    box-shadow: 0 10px 25px rgba(255, 10, 84, 0.7);
    transform: translateY(-2px);
    background: linear-gradient(90deg, #ff1a60 0%, #ff5c8e 100%);
}

.tl-ticket-meta-row {
    display: flex;
    width: 100%;
    gap: 12px;
    margin-bottom: 20px;
}
.tl-ticket-qr-dummy {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}
.tl-ticket-qr-dummy svg {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    color: #ffffff;
}

.tl-ticket-meta-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.tl-ticket-meta-text p {
    margin: 0 !important;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tl-ticket-meta-text strong {
    color: #e2e8f0;
    font-weight: 500;
}

/* Hover Lift Genérico */
.tl-hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.tl-hover-lift:hover {
    transform: translateY(-5px);
}

/* --- FIN CLASES TICKET DIGITAL --- */

/* ============================================
   CARRUSEL NEÓN HORIZONTAL (HERO SLIDER)
   ============================================ */

/* Track: scroll horizontal con snap */
.tl-neon-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 30px 30px;
    /* Ocultar scrollbar en todos los browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tl-neon-slider-track::-webkit-scrollbar { display: none; }

/* Cada slide: tarjeta vertical ancha */
.tl-neon-slide {
    flex: 0 0 300px;
    min-width: 300px;
    height: 420px;
    border-radius: 20px;
    scroll-snap-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                flex 0.4s ease;
    /* Borde rojo neón por defecto (inactivo: sutil) */
    border: 2px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.15), inset 0 0 30px rgba(0,0,0,0.4);
}

/* Slide ACTIVO: más ancho + borde rojo incandescente */
.tl-neon-slide.tl-slide-active {
    flex: 0 0 380px;
    min-width: 380px;
    border: 2px solid #e53e3e;
    box-shadow:
        0 0 0 1px rgba(229, 62, 62, 0.5),
        0 0 20px rgba(229, 62, 62, 0.5),
        0 0 50px rgba(229, 62, 62, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-6px);
}

/* Hover: cualquier slide se ilumina un poco */
.tl-neon-slide:hover {
    border-color: #e53e3e;
    box-shadow:
        0 0 0 1px rgba(229, 62, 62, 0.4),
        0 0 18px rgba(229, 62, 62, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

/* Chip de ciudad (arriba izquierda) */
.tl-slide-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

/* Cuerpo del slide (parte inferior, encima del gradiente) */
.tl-slide-body {
    padding: 20px;
    position: relative;
    z-index: 5;
}

.tl-slide-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}
.tl-slide-title a {
    color: #ffffff;
    text-decoration: none;
}
.tl-slide-title a:hover { color: #fca5a5; }

.tl-slide-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 0.82rem;
}
.tl-slide-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Botón COMPRAR ENTRADAS – Cian Brillante */
.tl-btn-cyan {
    display: inline-block;
    background: transparent;
    color: #00e5ff !important;
    border: 2px solid #00e5ff;
    padding: 11px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    white-space: nowrap;
}
.tl-btn-cyan:hover {
    background: #00e5ff;
    color: #0a0a14 !important;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 40px rgba(0, 229, 255, 0.3);
}

/* Dots de paginación */
.tl-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 0;
}
.tl-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.tl-slider-dot.tl-dot-active {
    background: #e53e3e;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(229, 62, 62, 0.7);
}

/* Responsive: en móvil las tarjetas son más delgadas */
@media (max-width: 600px) {
    .tl-neon-slide { flex: 0 0 260px; min-width: 260px; height: 370px; }
    .tl-neon-slide.tl-slide-active { flex: 0 0 300px; min-width: 300px; }
    .tl-slide-title { font-size: 1.1rem; }
}

/* ============================================
   FIN CARRUSEL NEÓN
   ============================================ */

/* Utilities */
.tl-muted {
    color: var(--tl-text-muted);
}

/* Reusable Glassmorphism Panels */
.tl-glass-panel {
    background: var(--tl-surface);
    backdrop-filter: var(--tl-glass-blur);
    -webkit-backdrop-filter: var(--tl-glass-blur);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
}

.tl-hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.tl-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Header */
.tl-glass-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tl-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.tl-glass-header .tl-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding img, 
.site-branding img.custom-logo {
    max-width: 250px;
    height: auto;
    display: block;
}

.site-branding .site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #fff;
    background: linear-gradient(135deg, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Menu */
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.main-navigation li a {
    color: var(--tl-text-muted);
    font-weight: 500;
    font-size: 15px;
}

.main-navigation li a:hover {
    color: #fff;
}

/* Header User Link */
.tl-header-actions .tl-myaccount-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--tl-border);
}

.tl-header-actions .tl-myaccount-link:hover {
    background: var(--tl-primary);
    border-color: var(--tl-primary);
}

/* WooCommerce Overrides base */
/* Force WooCommerce parts to respect Dark mode Glass */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: var(--tl-surface);
    backdrop-filter: var(--tl-glass-blur);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    color: #fff;
    font-family: var(--tl-font-heading);
    font-size: 18px;
    padding: 10px 0;
}

.woocommerce ul.products li.product .price {
    color: var(--tl-text-muted) !important;
    font-weight: 600;
    font-size: 16px;
}

.woocommerce span.onsale {
    background-color: var(--tl-primary) !important;
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 20px;
    border: none;
    font-family: var(--tl-font-heading);
}

/* Override WooCommerce Buttons wrapper */
.woocommerce a.button {
    background-color: var(--tl-primary) !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    padding: 10px 25px !important;
    font-family: var(--tl-font-body) !important;
    transition: all 0.2s ease !important;
}

.woocommerce a.button:hover {
    background-color: var(--tl-primary-hover) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Single Product */
.tl-aura-shop-layout {
    padding: 40px 0;
}

.woocommerce div.product div.images img {
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--tl-primary) !important;
    font-size: 24px !important;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs {
    margin-top: 50px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--tl-border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--tl-primary) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--tl-text-muted) !important;
    font-family: var(--tl-font-heading);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: var(--tl-surface);
    backdrop-filter: var(--tl-glass-blur);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
    padding: 30px;
    color: var(--tl-text-muted);
}

/* Checkout / Cart overrides */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details, 
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    background: var(--tl-surface);
    backdrop-filter: var(--tl-glass-blur);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
    padding: 30px;
    margin-bottom: 20px;
}

.woocommerce table.shop_table {
    border: none;
    background: transparent;
}

.woocommerce table.shop_table th, .woocommerce table.shop_table td {
    border-color: var(--tl-border) !important;
    color: var(--tl-text);
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--tl-border) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
}

.woocommerce form .form-row input.input-text:focus {
    border-color: var(--tl-primary) !important;
    outline: none !important;
}

/* WooCommerce messages (info, err, success) */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    background: rgba(30, 41, 59, 0.8) !important;
    border-top-color: var(--tl-primary) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
}

.woocommerce-error { border-top-color: #ef4444 !important; }
.woocommerce-success { border-top-color: #10b981 !important; }

/* Footer Premium */
.tl-dark-footer {
    padding: 80px 0 0;
    margin-top: 80px;
    border-top: 1px solid var(--tl-border);
    background: linear-gradient(180deg, #0b1120 0%, #070b14 100%);
    color: var(--tl-text-muted);
}

.tl-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.tl-footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.tl-footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--tl-primary);
}

.tl-footer-brand .site-logo-footer {
    max-width: 180px;
    margin-bottom: 20px;
}

.tl-footer-brand .site-logo-footer img,
.tl-footer-brand .custom-logo-link img {
    max-width: 180px !important;
    height: auto !important;
    display: block;
}

.site-title-footer {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tl-footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Footer Menus */
.tl-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tl-footer-col ul li {
    margin-bottom: 12px;
}

.tl-footer-col ul li a {
    color: var(--tl-text-muted);
    transition: all 0.3s ease;
    display: inline-block;
}

.tl-footer-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Info */
.tl-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tl-footer-contact svg {
    color: var(--tl-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

/* Newsletter Glassmorphism */
.tl-newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--tl-border);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.tl-newsletter-box p {
    font-size: 14px;
    margin-bottom: 15px;
}

.tl-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tl-newsletter-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--tl-border) !important;
    color: #fff !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    font-size: 14px;
    width: 100%;
}

.tl-btn-footer-subscribe {
    background: var(--tl-primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tl-btn-footer-subscribe:hover {
    background: var(--tl-primary-hover);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Footer Bottom */
.tl-footer-bottom {
    border-top: 1px solid var(--tl-border);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tl-copyright {
    font-size: 14px;
}

.tl-social-links {
    display: flex;
    gap: 15px;
}

.tl-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tl-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tl-text-muted);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tl-social-icon:hover {
    background: var(--tl-primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    border-color: var(--tl-primary);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .tl-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .tl-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tl-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ============================================
   CHECKOUT ATTENDEE FIELDS - PREMIUM LOOK
   ============================================ */
.tl-checkout-attendees-section {
    background: var(--tl-surface);
    backdrop-filter: var(--tl-glass-blur);
    -webkit-backdrop-filter: var(--tl-glass-blur);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--tl-shadow);
}

.tl-checkout-header h3 {
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tl-checkout-header p {
    color: var(--tl-text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.tl-checkout-product-group {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--tl-primary);
}

.tl-checkout-product-group h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.tl-checkout-product-group h4 small {
    color: var(--tl-text-muted);
    font-weight: 400;
}

.tl-checkout-field-row {
    margin-bottom: 15px;
}

.tl-checkout-field-row label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--tl-text-muted);
}

.tl-checkout-input {
    width: 100% !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--tl-border) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    transition: border-color 0.2s ease;
}

.tl-checkout-input:focus {
    border-color: var(--tl-primary) !important;
    outline: none;
}

/* ============================================
   MY ACCOUNT - TICKETS GRID & CARDS
   ============================================ */
.tl-my-tickets-header {
    margin-bottom: 30px;
}

.tl-my-tickets-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.tl-my-tickets-header p {
    color: var(--tl-text-muted);
}

.tl-tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.tl-ticket-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    border: 1px solid var(--tl-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid var(--tl-border);
    border-radius: 8px;
    color: var(--tl-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--tl-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: rgba(10, 10, 20, 0.6);
}

/* Pagination Styles */
.tl-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.tl-pagination .nav-links {
    display: flex;
    gap: 8px;
    background: var(--tl-surface);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--tl-border);
}

.tl-pagination a.page-numbers,
.tl-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    color: var(--tl-muted);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tl-pagination a.page-numbers:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tl-pagination span.page-numbers.current {
    background: var(--tl-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.tl-pagination span.page-numbers.dots {
    min-width: auto;
    padding: 0 5px;
}

.tl-ticket-card:hover {
    transform: translateY(-8px);
    border-color: var(--tl-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Pseudo-perforation effect */
.tl-ticket-card::before, .tl-ticket-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--tl-bg); /* Match background to punch hole */
    border-radius: 50%;
    z-index: 10;
    top: 75px; 
}

.tl-ticket-card::before { left: -10px; }
.tl-ticket-card::after { right: -10px; }

.tl-card-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px dashed var(--tl-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tl-card-id {
    font-family: monospace;
    font-weight: 700;
    color: var(--tl-primary);
    font-size: 1.1rem;
}

.tl-card-body {
    padding: 25px 20px;
    flex-grow: 1;
}

.tl-card-event-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tl-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.tl-detail-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--tl-text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.tl-detail-value {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.tl-card-qr {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.tl-card-qr img {
    max-width: 120px;
    height: auto;
    display: block;
}

.tl-card-footer {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--tl-border);
}

.tl-btn-download {
    display: block;
    width: 100%;
    background: var(--tl-primary);
    color: #fff !important;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.tl-btn-download:hover {
    background: var(--tl-primary-hover);
}

.tl-status-badge {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}

.tl-status-badge.used {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tl-ticket-card.is-used {
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Empty State */
.tl-empty-state-card {
    text-align: center;
    padding: 60px 40px;
    background: var(--tl-surface);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
}

.tl-empty-state-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tl-empty-state-card p {
    color: var(--tl-text-muted);
    margin-bottom: 30px;
}

.tl-btn-primary {
    display: inline-block;
    background: var(--tl-primary);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
}

/* ============================================
   EVENT LANDING PAGE (single-tl_event.php)
   ============================================ */

.tl-event-page-wrapper {
    margin-top: -85px; /* Pull up to go behind transparent header if needed */
}

.tl-event-hero {
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-bottom: 80px;
    position: relative;
    border-bottom: 1px solid var(--tl-border);
}

.tl-event-hero-meta {
    max-width: 800px;
}

.tl-event-category-badge {
    display: inline-block;
    background: var(--tl-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.tl-event-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.tl-event-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.tl-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.tl-meta-item svg {
    color: var(--tl-primary);
}

/* Layout Grid */
.tl-event-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: -50px; /* Overlap with hero for modern feel */
    position: relative;
    z-index: 10;
    margin-bottom: 100px;
}

.tl-event-details-content {
    padding: 40px;
}

.tl-section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    border-left: 4px solid var(--tl-primary);
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-entry-content {
    font-size: 1.1rem;
    color: var(--tl-text-muted);
}

.tl-entry-content p {
    margin-bottom: 1.5em;
}

/* Purchase Card */
.tl-purchase-sticky-card {
    position: sticky;
    top: 110px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tl-price-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.tl-price-label {
    font-size: 0.9rem;
    color: var(--tl-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.tl-price-value {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--tl-font-heading);
}

.tl-divider {
    border: 0;
    border-top: 1px dashed var(--tl-border);
    margin: 25px 0;
}

.tl-purchase-footer {
    margin-top: 25px;
    text-align: center;
    color: var(--tl-text-muted);
    font-size: 0.85rem;
}

/* Features Mini */
.tl-event-features-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.tl-feat-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.tl-feat-icon {
    font-size: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.tl-feat-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.tl-feat-card p {
    font-size: 0.85rem;
    color: var(--tl-text-muted);
    margin: 0;
}

/* Modal View Improvements */
.tl-map-modal-view {
    animation: tl-fade-in 0.3s ease;
}

@keyframes tl-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tl-map-container {
    animation: tl-slide-up 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes tl-slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive fixes */
@media (max-width: 991px) {
    .tl-event-layout-grid {
        grid-template-columns: 1fr;
    }
    .tl-event-purchase-col {
        order: -1; /* Compra primero en móvil */
    }
    .tl-purchase-sticky-card {
        position: relative;
        top: 0;
    }
}
/* ============================================
   EVENT LANDING PAGE V2.1 (REORGANIZED & PREMIUM)
   ============================================ */

:root {
    --tl-ev-header-height: 80vh;
    --tl-ev-border: 1px solid rgba(255, 255, 255, 0.1);
    --tl-card-bg: rgba(15, 23, 42, 0.7);
    --tl-card-glass: rgba(255, 255, 255, 0.03);
}

.tl-event-page-v2 {
    margin-top: -85px; /* Pull behind global header */
    background: #020617;
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
}

/* HERO SECTION */
.tl-ev-header {
    height: var(--tl-ev-header-height);
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 85px;
}

.tl-ev-hero-content {
    max-width: 850px;
    position: relative;
    z-index: 10;
    animation: tl-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.tl-ev-badge-group {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tl-ev-badge-premium {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.tl-ev-badge-status {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.tl-ev-title {
    font-size: clamp(3.5rem, 9vw, 6rem);
    line-height: 0.95;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -3px;
    color: #fff;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.tl-ev-hero-meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.tl-ev-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tl-ev-meta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tl-ev-meta-text .tl-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.tl-ev-meta-text .tl-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* LAYOUT GRID */
.tl-ev-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    margin-top: -100px;
    position: relative;
    z-index: 20;
    padding-bottom: 150px;
}

.tl-ev-card {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
    border: var(--tl-ev-border);
    background: var(--tl-card-bg);
}

.tl-card-header {
    padding: 30px 40px 0;
}

.tl-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.tl-card-body {
    padding: 30px 40px 40px;
}

.tl-entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #94a3b8;
}

/* GALLERY COLLAGE */
.tl-ev-gallery-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.tl-collage-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.tl-collage-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tl-collage-item:nth-child(2) { grid-column: span 2; }

.tl-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tl-collage-item:hover { transform: scale(0.98); }
.tl-collage-item:hover img { transform: scale(1.1); }

/* STICKY PURCHASE BOX (THE TICKET) */
.sticky-card {
    position: sticky;
    top: 100px;
}

.tl-purchase-ticket {
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
}

.tl-ticket-stub {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px;
    text-align: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Punch holes for the stub look */
.tl-ticket-stub::before, .tl-ticket-stub::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 30px;
    background: #020617;
    border-radius: 50%;
}
.tl-ticket-stub::before { left: -15px; }
.tl-ticket-stub::after { right: -15px; }

.tl-stub-label {
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 4px;
    margin-bottom: 12px;
    display: block;
}

.tl-stub-price {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.tl-ticket-body {
    padding: 40px 30px;
}

.tl-security-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.tl-security-pills span {
    font-size: 10px;
    background: rgba(255,255,255,0.05);
    padding: 5px 12px;
    border-radius: 50px;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
}

.tl-ticket-footer {
    padding: 30px;
    background: rgba(0,0,0,0.3);
    text-align: center;
}

.tl-barcode {
    height: 40px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.tl-barcode-lines {
    width: 2px; height: 100%; background: #fff; opacity: 0.2;
}
.tl-barcode-lines:nth-child(2) { width: 4px; opacity: 0.15; }
.tl-barcode-lines:nth-child(3) { width: 8px; opacity: 0.1; }

/* MOBILE ONLY BAR */
.tl-ev-mobile-purchase {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: tl-fade-up 0.5s ease;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .tl-ev-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tl-ev-side-col {
        order: -1;
    }
    
    .sticky-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .tl-ev-header { height: 60vh; }
    .tl-ev-title { font-size: 3rem; }
    .tl-ev-hero-meta { gap: 20px; }
    .tl-ev-meta-text { display: none; }
    
    .tl-ev-gallery-collage {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes tl-fade-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   TICKET PRINTER LOADER (ANIMATION)
   ============================================ */
/* ============================================
   AURA LASER PRINTER LOADER (NEON FUCHSIA)
   ============================================ */
:root {
    --tl-neon-fuchsia: #ff007a;
    --tl-neon-fuchsia-glow: rgba(255, 0, 122, 0.6);
    --tl-printer-glass: rgba(15, 23, 42, 0.9);
}

.tl-printer-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.98), #020617);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tl-printer-loader.active {
    display: flex;
    opacity: 1;
}

.tl-printer-container {
    position: relative;
    width: 360px;
    height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The Slot / Printer Head */
.tl-printer-slot {
    width: 300px;
    height: 32px;
    background: var(--tl-surface);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    position: relative;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.8),
        inset 0 1px 1px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.tl-printer-status-light {
    width: 8px;
    height: 8px;
    background: var(--tl-neon-fuchsia);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tl-neon-fuchsia);
    animation: tl-pulse-fuchsia 1.5s infinite;
}

.tl-aura-scanner-bar {
    position: absolute;
    bottom: 4px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #000;
    border-radius: 10px;
}

/* Ticket Paper */
.tl-ticket-paper {
    width: 260px;
    height: 400px;
    background: linear-gradient(180deg, #1c2130 0%, #0a0e17 100%);
    border-radius: 4px;
    position: absolute;
    top: 15px;
    z-index: 50;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-90%);
    animation: ticketPrintLaser 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    display: flex;
    flex-direction: column;
    padding: 40px 25px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.tl-ticket-paper::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 16px;
    background-image: radial-gradient(circle at 12px 0px, transparent 7px, #0a0e17 7.5px);
    background-size: 24px 100%;
}

/* Internal Content */
.tl-ticket-header {
    text-align: center;
    margin-bottom: 40px;
}

.tl-ticket-paper .logo-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 122, 0.05);
    border: 1px solid var(--tl-neon-fuchsia);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tl-neon-fuchsia);
    margin: 0 auto;
    filter: drop-shadow(0 0 5px var(--tl-neon-fuchsia-glow));
}

.tl-ticket-paper .line-placeholder {
    height: 6px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 20px;
    border-radius: 10px;
}
.tl-ticket-paper .line-placeholder.short { width: 40%; }
.tl-ticket-paper .line-placeholder.mid { width: 70%; }
.tl-ticket-paper .line-placeholder.long { width: 100%; }

.tl-ticket-data-grid {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tl-ticket-data-grid .data-box {
    flex: 1;
    height: 30px;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
}

.tl-qr-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 0, 122, 0.3);
    border-radius: 12px;
    margin: 20px auto 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-inner-glow {
    width: 40px;
    height: 40px;
    background: var(--tl-neon-fuchsia);
    filter: blur(25px);
    opacity: 0.15;
}

/* THE NEON LASER */
.tl-scanner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tl-neon-fuchsia);
    box-shadow: 
        0 0 15px var(--tl-neon-fuchsia),
        0 0 30px var(--tl-neon-fuchsia-glow),
        0 0 50px var(--tl-neon-fuchsia-glow);
    z-index: 1000;
    opacity: 0;
    animation: laserScanMove 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Loader Text */
.tl-loader-text-container {
    margin-top: 60px;
    text-align: center;
    animation: tl-fade-in 1s ease;
}

.tl-loader-title {
    color: #fff;
    font-family: var(--tl-font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.tl-loader-subtitle {
    color: var(--tl-text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.tl-loader-subtitle span {
    animation: tl-blink 1.4s infinite;
}

/* Keyframes */
@keyframes ticketPrintLaser {
    0% { transform: translateY(-90%); }
    20% { transform: translateY(-80%); }
    80% { transform: translateY(0%); }
    100% { transform: translateY(15%); opacity: 0; }
}

@keyframes laserScanMove {
    0% { transform: translateY(0); opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(400px); opacity: 1; }
    81% { transform: translateY(400px); opacity: 0; }
    100% { transform: translateY(400px); opacity: 0; }
}

@keyframes tl-pulse-fuchsia {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 20px var(--tl-neon-fuchsia); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes tl-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes tl-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .tl-printer-container { width: 300px; height: 450px; }
    .tl-printer-slot { width: 260px; }
    .tl-ticket-paper { width: 220px; height: 340px; }
    .tl-loader-title { font-size: 1.1rem; }
}

/* WhatsApp Float */
.tl-whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.tl-whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    transform: translateY(-5px) scale(1.05);
}
.tl-whatsapp-float svg {
    margin-top: 2px;
}
@media (max-width: 768px) {
    .tl-whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    }
    .tl-whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   PREMIUM ZONE SELECTOR
   ============================================ */
.tl-custom-zones-ui {
    margin-bottom: 25px;
}
.tl-zone-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tl-text-muted);
    margin-bottom: 12px;
}
.tl-zone-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tl-zone-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.tl-zone-card:hover:not(.tl-out-of-stock) {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.tl-zone-card.is-active {
    background: rgba(0, 229, 255, 0.1);
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2), inset 0 0 10px rgba(0, 229, 255, 0.1);
}
.tl-zone-card.is-active .tl-z-name {
    color: #00e5ff;
}
.tl-zone-card.tl-out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}
.tl-zone-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tl-z-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}
.tl-z-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}
.tl-z-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.tl-z-price del {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-right: 8px;
    opacity: 0.7;
}
.tl-has-custom-zones table.variations {
    display: none !important; /* Hide native dropdowns */
}
/* Ocultar el precio extra generado por WooCommerce cuando selecciona una variación */
.tl-has-custom-zones .woocommerce-variation-price,
.tl-has-custom-zones .woocommerce-variation-availability {
    display: none !important;
}

/* Estilo para el botón de Añadir al carrito nativo y la cantidad, modo Neón */
.tl-has-custom-zones .woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.tl-has-custom-zones .quantity {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: fit-content;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.tl-has-custom-zones .quantity:hover {
    border-color: rgba(255, 0, 122, 0.4);
    background: rgba(255, 255, 255, 0.08);
}
.tl-has-custom-zones .quantity input.qty {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    text-align: center;
    padding: 12px 18px !important;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    width: 70px;
    outline: none !important;
}
.tl-has-custom-zones button.single_add_to_cart_button {
    background: linear-gradient(135deg, #ff007a 0%, #7e22ce 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 28px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(255, 0, 122, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    width: 100%;
    margin-top: 5px;
}
.tl-has-custom-zones button.single_add_to_cart_button:hover {
    box-shadow: 0 12px 35px rgba(255, 0, 122, 0.6) !important;
    transform: translateY(-3px) scale(1.02) !important;
}
.tl-has-custom-zones button.single_add_to_cart_button:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Checkout Countdown Timer */
#tl-checkout-timer {
    animation: slideDownIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideDownIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; text-shadow: 0 0 0 rgba(255, 0, 122, 0); }
    50% { transform: scale(1.05); opacity: 0.8; text-shadow: 0 0 10px rgba(255, 0, 122, 0.5); }
    100% { transform: scale(1); opacity: 1; text-shadow: 0 0 0 rgba(255, 0, 122, 0); }
}

.tl-bacs-accounts {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* FOMO Toast Styles */
.tl-fomo-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    z-index: 10000;
    max-width: 350px;
    transform: translateX(-150%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tl-fomo-toast.active {
    transform: translateX(0);
}

.tl-fomo-icon {
    background: #10b981;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.tl-fomo-content {
    flex-grow: 1;
}

.tl-fomo-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tl-fomo-subtitle {
    color: #94a3b8;
    font-size: 0.75rem;
}

.tl-fomo-time {
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 600;
}




