/*
Theme Name: LUMINO Premium
Author: Tu Nombre
Description: Tema oscuro y premium
Version: 6.0
*/

/* --- OCULTAR SCROLL DEL NAVEGADOR (Pero mantener el scroll) --- */
/* Para Firefox */
* {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
/* Para Chrome, Safari, Edge y Opera */
::-webkit-scrollbar {
    display: none; 
}
/* --- GENERAL --- */
body {
    background-color: #000000;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
}
a { color: #d4af37; text-decoration: none; }



/* --- CABECERA FLOTANTE (Transparente al inicio, Negra al bajar) --- */
.header-premium {
    background-color: transparent; /* Sin negro al inicio */
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent; /* Sin línea al inicio */
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999;
    transition: background-color 0.5s ease, border-color 0.5s ease, padding 0.3s ease;
}
/* Clase que activa el JS para ponerlo negro al bajar */
.header-premium.header-visible {
    background-color: #000000;
    border-bottom: 1px solid #1a1a1a;
    padding: 20px 50px; /* Se encoge un poquito al bajar */
}

/* El Logo (Blanco y fuente Playfair) */
.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #ffffff !important; /* Forzamos blanco */
    letter-spacing: 4px;
    font-weight: 700;
    text-decoration: none;
}

/* El Menú de navegación (Sin puntos y ordenado) */
.nav-premium ul { 
    list-style: none !important; /* ¡QUITA LOS PUNTOS! */
    padding: 0; 
    margin: 0; 
    display: flex;
    align-items: center;
}
.nav-premium ul li { 
    display: inline-block; 
    margin-left: 30px; 
    line-height: 40px; 
}
.nav-premium ul li a { 
    color: #aaaaaa !important; /* Color gris claro */
    text-transform: uppercase; 
    font-size: 0.85em; 
    letter-spacing: 1px; 
    transition: color 0.3s; 
    text-decoration: none;
}
.nav-premium ul li a:hover { color: #ffffff !important; }

/* Botón de Reservar (Sin dorado, transparente) */
.btn-nav-reserva { 
    border: none !important; /* Quita el aro dorado */
    background: transparent !important; /* Quita cualquier relleno */
    padding: 8px 25px; 
    border-radius: 30px; 
    color: #aaaaaa !important; /* Mismo color gris que el resto del menú */
}

/* --- INTRO CINEMATOGRÁFICA A PANTALLA COMPLETA --- */
#intro-lumino {
    position: fixed; /* Fijo por encima de toda la web */
    top: 0;
    left: 0;
    width: 100vw; /* Ocupa todo el ancho del monitor */
    height: 100vh; /* Ocupa todo el alto del monitor */
    background: #000;
    z-index: 9999; /* Por encima de la cabecera y el catálogo */
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out; /* Efecto de fundido */
}
#intro-lumino.intro-terminada {
    opacity: 0; /* Se vuelve invisible */
    visibility: hidden; /* Desaparece para que se pueda hacer clic en la web de abajo */
    pointer-events: none;
}
.texto-video-intro {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto; /* Centrado perfecto */
    text-align: center; /* Texto centrado */
    opacity: 0;
    transform: translateX(150vw); 
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Contenedor y Fotos de la intro */
.slider-intro {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.slide-intro {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.slide-intro.active {
    opacity: 1;
}


/* --- SECCIÓN VIDEO HERO --- */
.seccion-video-hero {
    position: relative;
    height: 100vh; /* Para ordenadores normales */
    height: 100dvh; /* ¡MAGIA MÓVIL! Evita que el video baile en el móvil */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* El video ocupando todo */
.video-intro-grande {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Capa oscura */
.overlay-video-intro {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

/* El texto (Deslizando desde la derecha) */
.texto-video-intro {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    padding: 0 50px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateX(100vw); /* Fuera de la pantalla a la derecha */
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.texto-video-intro.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Estilos de letra */
.subtitulo-hero { 
    display: block; color: #d4af37; text-transform: uppercase; 
    letter-spacing: 3px; font-size: 0.9em; margin-bottom: 20px; 
}
.texto-video-intro h2 { 
    font-family: 'Playfair Display', serif; font-size: 3.5em; color: #ffffff; 
    margin: 0 0 20px 0; line-height: 1.2; font-weight: 400; 
}
.texto-video-intro p { font-size: 1.1em; color: #cccccc; margin-bottom: 0; }

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .texto-video-intro { padding: 0 20px; }
    .texto-video-intro h2 { font-size: 2em; line-height: 1.3; } /* Letra más pequeña para que quepa */
    .texto-video-intro p { font-size: 1em; }
    /* En móvil oscurecemos más el centro para que el texto blanco se lea bien sobre el video */
    .overlay-video-intro { 
        background: radial-gradient(circle at center, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.95) 100%); 
    }
}

/* --- CATÁLOGO --- */
.catalogo-lumino { padding: 100px 50px; max-width: 1200px; margin: 0 auto; }
.titulo-seccion { text-align: center; margin-bottom: 80px; }
.titulo-seccion h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5em; 
    color: #ffffff; 
    margin: 0 0 10px 0; 
    font-weight: 400;
}
.titulo-seccion p { color: #666; font-size: 1em; }

.rejilla-lumino { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.no-hay { grid-column: 1/-1; text-align: center; color: #444; font-style: italic; }

.tarjeta-lumino {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 40px 30px;
    transition: border-color 0.3s ease;
}
.tarjeta-lumino:hover { border-color: #333333; }

.contenido-tarjeta { text-align: left; }
.contenido-tarjeta h3 { font-family: 'Playfair Display', serif; font-size: 1.5em; margin: 0 0 15px 0; }
.contenido-tarjeta h3 a { color: #ffffff; }
.contenido-tarjeta h3 a:hover { color: #d4af37; }
.contenido-tarjeta .extracto { color: #777; font-size: 0.95em; line-height: 1.6; margin-bottom: 25px; }

.boton-tarjeta {
    display: inline-block;
    color: #d4af37;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.boton-tarjeta:hover { color: #ffffff; }

/* --- FOOTER --- */
.footer-lumino {
    background: #000000;
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}
.logo-footer { font-family: 'Playfair Display', serif; font-size: 1.8em; color: #ffffff; letter-spacing: 4px; margin-bottom: 10px; }
.footer-lumino p { color: #444; font-size: 0.85em; margin: 0; }

/* --- PÁGINA DE RESERVA ESTILO SPACEX (MINIMALISTA) --- */
.contenedor-reserva {
    max-width: 700px;
    margin: 0 auto;
    padding: 120px 20px;
}
.form-lumino {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}
.campo-form { 
    margin-bottom: 50px; 
    position: relative;
}
.grupo-doble { display: flex; gap: 40px; }
.grupo-doble .campo-form { flex: 1; }

.form-lumino label {
    display: block;
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 400;
}
.form-lumino input, 
.form-lumino select, 
.form-lumino textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333; 
    border-radius: 0; 
    color: #ffffff;
    padding: 10px 0; 
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    box-shadow: none;
}
.form-lumino input::placeholder, .form-lumino textarea::placeholder {
    color: #444;
    font-style: normal;
}
.form-lumino input:focus, 
.form-lumino select:focus, 
.form-lumino textarea:focus {
    outline: none;
    border-bottom: 1px solid #ffffff; 
    background: transparent;
    box-shadow: none;
    color: #ffffff;
}
.form-lumino select option {
    background: #000000;
    color: #ffffff;
}
select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 30px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.4); 
    cursor: pointer;
}
.form-lumino button {
    width: 100%;
    cursor: pointer;
    border: 1px solid #ffffff;
    margin-top: 40px;
    padding: 20px;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0; 
    font-size: 0.85em;
    transition: all 0.3s ease;
}
.form-lumino button:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: none;
    transform: none;
}
.aviso-reserva {
    max-width: 700px;
    margin: 150px auto;
    text-align: center;
    padding: 50px 20px;
    background: transparent;
    border: none;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    color: #ffffff;
    font-size: 1.2em;
    box-shadow: none;
    letter-spacing: 1px;
}

/* --- CALENDARIO PREMIUM LUMINO (Limpio y Fijado) --- */
#ui-datepicker-div {
    display: none; /* Esto oculta el recuadro fantasma hasta que haga clic en la fecha */
    background: #0a0a0a !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9) !important;
    padding: 25px !important;
    font-family: 'Montserrat', sans-serif !important;
    width: 300px !important;
}
.ui-datepicker-header { 
    background: transparent !important; 
    border: none !important; 
    border-bottom: 1px solid #222 !important; 
    padding: 0 0 15px 0 !important; 
    margin: 0 0 15px 0 !important; 
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
}
.ui-datepicker-title { 
    color: #fff !important; 
    text-transform: uppercase !important; 
    letter-spacing: 2px !important; 
    font-size: 0.9em !important; 
    font-weight: 500 !important;
    flex: 1 !important;
    text-align: center !important;
}

/* Ocultar iconos y textos originales */
.ui-datepicker-prev span, 
.ui-datepicker-next span,
.ui-icon { 
    display: none !important; 
}

/* Flechas ancladas y fijas (Triángulos) */
.ui-datepicker-prev, .ui-datepicker-next { 
    cursor: pointer !important; 
    width: 20px !important;
    height: 20px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
}
.ui-datepicker-prev { left: 0 !important; }
.ui-datepicker-next { right: 0 !important; }

.ui-datepicker-prev::after, .ui-datepicker-next::after {
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
}
.ui-datepicker-prev::after { border-right: 7px solid #888 !important; }
.ui-datepicker-next::after { border-left: 7px solid #888 !important; }

.ui-datepicker-prev:hover::after { border-right-color: #ffffff !important; }
.ui-datepicker-next:hover::after { border-left-color: #ffffff !important; }

/* Menú desplegable de Mes (oculto o estilizado) */
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year {
    background: #050505 !important;
    color: #ffffff !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9em !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 5px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}
.ui-datepicker select.ui-datepicker-month:focus, 
.ui-datepicker select.ui-datepicker-year:focus {
    outline: none !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
}
.ui-datepicker select option {
    background: #050505 !important;
    color: #ffffff !important;
}
.ui-datepicker select option:checked,
.ui-datepicker select option:hover {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
}

/* Tabla de días */
.ui-datepicker-calendar { 
    width: 100% !important; 
    border-collapse: collapse !important; 
}
.ui-datepicker-calendar th { 
    color: #555 !important; 
    font-weight: 400 !important; 
    font-size: 0.7em !important; 
    text-transform: uppercase !important; 
    padding: 5px !important; 
    text-align: center !important; 
}
.ui-datepicker-calendar td { 
    padding: 4px !important; 
    text-align: center !important; 
}
.ui-datepicker-calendar td a, .ui-datepicker-calendar td span {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    text-align: center !important;
    padding: 8px !important;
    font-weight: 300 !important;
    display: block !important;
    transition: all 0.2s ease !important;
}
.ui-datepicker-calendar td a:hover { 
    background: #222 !important; 
    color: #ffffff !important; 
}
.ui-state-active { 
    background: #ffffff !important; 
    color: #000000 !important; 
    font-weight: 600 !important; 
}

/* Días pasados tachados */
.ui-datepicker-unselectable .ui-state-default {
    color: #444 !important;
    position: relative !important;
    overflow: hidden !important;
}
.ui-datepicker-unselectable .ui-state-default::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: -10% !important;
    width: 120% !important;
    height: 1px !important;
    background-color: #ffffff !important;
    transform: rotate(-45deg) !important;
    transform-origin: center !important;
    opacity: 0.7 !important;
}
/* --- BLOQUEAR EL MOVIMIENTO DE LA CAJA DE TEXTO --- */
.form-lumino textarea {
    resize: none !important; /* Prohíbe al usuario hacer la caja más grande */
}
/* --- QUITAR EL FONDO BLANCO DEL AUTOCOMPLETAR --- */
.form-lumino input:-webkit-autofill,
.form-lumino input:-webkit-autofill:hover,
.form-lumino input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important; /* Fuerza las letras en blanco */
    -webkit-box-shadow: 0 0 0px 1000px #000000 inset !important; /* Fuerza el fondo negro */
    transition: background-color 5000s ease-in-out 0s !important; /* Truco para que no parpadee */
}

/* --- FONDO NEÓN RESERVA (Lento y Fijo) --- */

 .fondo-neon {
    position: absolute; 
    top: 100px; /* Baja el fondo para que no toque la cabecera */
    left: 0;
    width: 100vw; 
    height: 150vh; 
    z-index: 0; 
    pointer-events: none; 
    overflow: hidden;
}

.cuadro-neon {
    position: absolute;
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid #222; 
    border-radius: 20px; 
    animation: pulso-neon 10s infinite ease-in-out; /* 10s = Mucho más lento */
}

/* Posiciones de los 12 cuadrados */
.c1 { width: 150px; height: 150px; top: 10%; left: 5%; animation-delay: 0s; }
.c2 { width: 250px; height: 250px; bottom: 15%; left: 8%; animation-delay: 1.2s; border-radius: 40px; }
.c3 { width: 100px; height: 100px; top: 20%; right: 10%; animation-delay: 2.4s; }
.c4 { width: 180px; height: 180px; bottom: 10%; right: 5%; animation-delay: 3.6s; border-radius: 30px; }
.c5 { width: 300px; height: 300px; top: 40%; left: 45%; animation-delay: 4.8s; opacity: 0.5; }
.c6 { width: 80px; height: 80px; top: 70%; right: 15%; animation-delay: 6s; }
.c7 { width: 200px; height: 200px; top: 5%; right: 35%; animation-delay: 7.2s; border-radius: 50px; }
.c8 { width: 120px; height: 120px; bottom: 35%; left: 18%; animation-delay: 8.4s; }
.c9 { width: 90px; height: 90px; top: 15%; left: 40%; animation-delay: 1.5s; }



@keyframes pulso-neon {
    0%, 100% { 
        border-color: #1a1a1a; 
        box-shadow: 0 0 5px rgba(255, 255, 255, 0); 
        background: rgba(255, 255, 255, 0.01);
    }
    50% { 
        border-color: #ffffff; 
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.1); 
        background: rgba(255, 255, 255, 0.05);
    }
}

.contenedor-reserva { position: relative; z-index: 2; }
.titulo-seccion { position: relative; z-index: 2; }
/* --- DEMOSTRACIÓN ENREDADERA TECNOLÓGICA --- */
#demo-lampara {
    background-color: #000000;
    padding: 80px 0 120px; /* Quitamos el padding horizontal para que ocupe todo */
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
    overflow: hidden;
    
    /* TRUCO: Hacer que ocupe TODO el ancho del monitor */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}



/* Contenedor principal (Ancho total absoluto) */
.contenedor-plano {
    position: relative;
    width: 100vw; /* Ancho total del monitor */
    max-width: 100vw;
    margin-left: calc(-50vw + 50%); /* Truco para centrarlo y romper márgenes */
    height: 80vh; 
    min-height: 600px;
}

/* La lámpara a la izquierda (Por delante de las líneas) */
.lampara-izquierda {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%; /* Gigante */
    width: auto;
    z-index: 2; /* Por delante del SVG */
    display: flex;
    align-items: center;
}
.lampara-izquierda img {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.9));
}

/* Las líneas SVG de la casa (A la izquierda) */
.svg-enredadera {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; /* Ocupa solo el 60% izquierdo */
    height: 100%;
    z-index: 1; 
    pointer-events: none;
    opacity: 0.8; 
}
.svg-enredadera path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.5; 
    stroke-linecap: round;
    stroke-linejoin: round;
    
    /* Animación */
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 3.5s ease-in-out; /* 3.5 segundos para dibujar todo el plano */
}

.svg-enredadera path.dibujar {
    stroke-dashoffset: 0;
}

    /* Al ser pathLength=1, la línea siempre mide 1 */
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

/* Clase que se activará con scroll para dibujar la línea */
.svg-lineas path.dibujar {
    stroke-dashoffset: 0; /* Pasa de 1 a 0, dibujándose entera */
}

/* Retardos para que se dibujen una detrás de otra */
.svg-lineas path:nth-child(1) { animation-delay: 0.3s; }
.svg-lineas path:nth-child(2) { animation-delay: 0.8s; }
.svg-lineas path:nth-child(3) { animation-delay: 1.3s; }
.svg-lineas path:nth-child(4) { animation-delay: 1.8s; }

@keyframes dibujar-linea {
    to { stroke-dashoffset: 0; } /* Termina de dibujarse */
}

/* Los puntos y textos a la derecha */
.hotspot {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 3;
}
.dot {
    width: 12px; height: 12px;
    background: #fff; border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
    animation: pulso-dot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulso-dot {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.tooltip {
    background: rgba(10,10,10,0.9);
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
    margin-left: 20px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.hotspot:hover .tooltip { opacity: 1; visibility: visible; }
.tooltip strong { color: #fff; display: block; font-family: 'Playfair Display', serif; font-size: 1.1em; }
.tooltip p { margin: 0; color: #d4af37; font-size: 0.85em; }

/* Posiciones de los puntos (Coinciden con el final de las líneas SVG) */
.pos-1 { top: 18.75%; left: 80%; transform: translate(-50%, -50%); }
.pos-2 { top: 43.75%; left: 80%; transform: translate(-50%, -50%); }
.pos-3 { top: 56.25%; left: 80%; transform: translate(-50%, -50%); }
.pos-4 { top: 81.25%; left: 80%; transform: translate(-50%, -50%); }

/* --- ADAPTACIÓN A MÓVILES --- */
@media (max-width: 768px) {
    .contenedor-plano { 
        height: auto; 
        display: flex;
        flex-direction: column;
    }
    .lampara-izquierda {
        position: relative;
        width: 70%; /* Más pequeña en móvil */
        height: 450px;
    }
    .lampara-izquierda img { height: 100%; }
    .svg-lineas { display: none; } /* Ocultamos las líneas en móvil */
    
    .hotspot {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        justify-content: center;
        margin: 25px 0;
    }
    .tooltip {
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent;
        border: none;
        margin-left: 15px;
    }
}
/* --- INTRO DIBUJANDO LUMINO --- */
.svg-intro-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto en la pantalla */
    width: 80%; /* Ocupa el 80% del ancho */
    max-width: 800px;
    height: auto;
    opacity: 0.9;
}
.svg-intro-texto path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2; /* Un poco más gruesas para que se lean bien */
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.5s ease-in-out;
}
.svg-intro-texto path.dibujar {
    stroke-dashoffset: 0;
}
/* --- TEXTO DEMO SECCIÓN INNOVACIÓN (A la derecha) --- */
.texto-demo {
    position: absolute;
    left: auto; /* Quitamos el centrado horizontal */
    right: 5%; /* Lo pegamos a la derecha */
    top: 50%;
    transform: translateY(-50%); /* Centrado vertical */
    width: 30%; /* Ocupa un 30% de la pantalla */
    min-width: 300px; /* Mínimo para que se lea bien en pantallas medianas */
    z-index: 3; 
    background: rgba(0, 0, 0, 0.7); 
    padding: 40px;
    border-left: 3px solid #d4af37; 
    backdrop-filter: blur(8px);
    text-align: left;
}
.texto-demo h3 { 
    font-family: 'Playfair Display', serif; 
    color: #ffffff; 
    font-size: 1.8em; 
    margin: 0 0 15px 0; 
    font-weight: 400;
}
.texto-demo p { 
    color: #aaaaaa; 
    font-size: 0.9em; 
    line-height: 1.6; 
    margin-bottom: 20px;
}
.texto-demo ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.texto-demo ul li { 
    color: #d4af37; 
    font-size: 0.9em; 
    margin-bottom: 10px; 
    padding-left: 15px; 
    position: relative;
}
.texto-demo ul li::before { 
    content: "—"; 
    position: absolute; 
    left: 0; 
    color: #ffffff;
}

/* --- ADAPTACIÓN A MÓVILES --- */
@media (max-width: 768px) {
    .texto-demo { 
        position: relative; 
        right: auto; 
        top: auto; 
        transform: none; 
        width: 90%; 
        margin: 0 auto 50px auto;
        background: transparent;
        border: none;
        backdrop-filter: none;
        text-align: center;
    }
    .texto-demo ul li { text-align: center; }
}
/* --- LÍNEA VERTICAL Y MENÚ DE NAVEGACIÓN --- */
.linea-progreso {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60vh; /* Más alta para que quepan bien los puntos */
    background: #222222;
    z-index: 9998;
    opacity: 0;
    transition: opacity 1s ease;
}
.linea-relleno {
    width: 100%;
    height: 0%;
    background: #ffffff;
}
.punto-progreso {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Contenedor de los puntos de menú */
.nav-puntos {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Los puntos cliqueables */
.punto-seccion {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #000000;
    border: 1px solid #555555;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.punto-seccion:hover {
    background: #d4af37;
    border-color: #d4af37;
    transform: translate(-50%, -50%) scale(1.4);
}

/* El texto (tooltip) que sale al pasar el ratón */
.punto-seccion::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.punto-seccion:hover::after {
    opacity: 1;
}

/* --- ADAPTACIÓN A MÓVILES (LÍNEA OCULTA) --- */
@media (max-width: 768px) {
    .linea-progreso, .nav-puntos {
        display: none !important; /* OCULTAMOS LA LÍNEA EN MÓVIL */
    }
}
/* --- ARREGLO MÓVIL SECCIÓN CASA Y TEXTO --- */
@media (max-width: 768px) {
    .contenedor-plano {
        height: auto; /* Quitamos la altura fija */
        display: flex;
        flex-direction: column; /* Los ponemos uno debajo del otro */
        gap: 40px;
        padding: 50px 0;
    }
    .svg-enredadera {
        position: relative; /* Quitamos el flotante */
        width: 100%;
        height: 350px; /* Le damos un tamaño fijo al dibujo */
        order: 1; /* El dibujo va primero */
    }
    .texto-demo {
        position: relative; /* Quitamos el flotante */
        right: auto;
        top: auto;
        transform: none;
        width: 90%;
        margin: 0 auto;
        background: transparent;
        border: none;
        backdrop-filter: none;
        text-align: center;
        order: 2; /* El texto va segundo */
    }
    .texto-demo ul {
        display: inline-block;
        text-align: left; /* La lista de características alineada a la izquierda */
    }
}
/* --- SECCIÓN INNOVACIÓN (CASA + LÁMPARAS) --- */
.seccion-reveal-lamparas {
    padding: 150px 20px;
    background: #000000;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}
.titulo-demo { margin-bottom: 100px; }
.titulo-demo h2 { 
    font-family: 'Playfair Display', serif; font-size: 3em; color: #ffffff; 
    margin: 10px 0 0 0; font-weight: 400; 
}

/* --- ESTILO DE LA CASA Y TEXTO --- */
.contenedor-plano {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto 150px auto; /* Margen abajo para separar de las lámparas */
    height: 80vh; 
    min-height: 600px;
}
.svg-enredadera {
    position: absolute;
    top: 0; left: 0;
    width: 60%; height: 100%;
    z-index: 1; pointer-events: none; opacity: 0.8; 
}
.svg-enredadera path {
    fill: none; stroke: #ffffff; stroke-width: 1.5; 
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 3.5s ease-in-out;
}
.svg-enredadera path.dibujar { stroke-dashoffset: 0; }

.texto-demo {
    position: absolute;
    left: auto; right: 5%; top: 50%;
    transform: translateY(-50%);
    width: 30%; min-width: 300px;
    z-index: 3; 
    background: rgba(0, 0, 0, 0.7); 
    padding: 40px;
    border-left: 3px solid #d4af37; 
    backdrop-filter: blur(8px);
    text-align: left;
}
.texto-demo h3 { font-family: 'Playfair Display', serif; color: #ffffff; font-size: 1.8em; margin: 0 0 15px 0; font-weight: 400;}
.texto-demo p { color: #aaaaaa; font-size: 0.9em; line-height: 1.6; margin-bottom: 20px;}
.texto-demo ul { list-style: none; padding: 0; margin: 0; }
.texto-demo ul li { color: #d4af37; font-size: 0.9em; margin-bottom: 10px; padding-left: 15px; position: relative; }
.texto-demo ul li::before { content: "—"; position: absolute; left: 0; color: #ffffff;}

/* --- EXTENSIÓN: LÁMPARAS REVEAL (Deslizamiento Lateral) --- */
.contenedor-lamparas-reveal {
    max-width: 1200px;
    margin: 0 auto;
}
.bloque-reveal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-bottom: 150px;
}
.bloque-reveal:last-child { margin-bottom: 0; }
.bloque-reveal.reverse { flex-direction: row-reverse; }

/* Animación de la IMAGEN */
.reveal-img { 
    flex: 1; 
    max-width: 400px;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 5s cubic-bezier(0.16, 1, 0.3, 1); /* AQUÍ: 1.2s a 2s */
}
.bloque-reveal.visible .reveal-img {
    opacity: 1;
    transform: translateX(0); /* Se coloca en su sitio */
}
.reveal-img img {
    width: 100%; height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.9));
    transition: transform 0.5s ease;
}
.bloque-reveal.visible .reveal-img img:hover { transform: scale(1.05); }
/* Animación del TEXTO */
.reveal-texto { 
    flex: 1; 
    max-width: 400px; 
    text-align: left;
    opacity: 0;
    transform: translateX(100px); 
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, transform 5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s; /* AQUÍ: 1.2s a 2s y retardo 0.4s */
}
.bloque-reveal.visible .reveal-texto {
    opacity: 1;
    transform: translateX(0); /* Se coloca en su sitio */
}
.bloque-reveal.reverse .reveal-texto { 
    text-align: right;
    transform: translateX(-100px); /* En el reverse, el texto viene de la izquierda */
}
.bloque-reveal.visible.bloque-reveal.reverse .reveal-texto {
    transform: translateX(0);
}
.bloque-reveal.reverse .reveal-img {
    transform: translateX(100px); /* En el reverse, la imagen viene de la derecha */
}
.bloque-reveal.visible.bloque-reveal.reverse .reveal-img {
    transform: translateX(0);
}

.reveal-texto h3 { font-family: 'Playfair Display', serif; font-size: 2.8em; color: #ffffff; margin: 0 0 20px 0; font-weight: 400; }
.reveal-texto p { font-size: 1.2em; color: #aaaaaa; line-height: 1.6; }

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .bloque-reveal, .bloque-reveal.reverse {
        flex-direction: column; gap: 30px; margin-bottom: 100px;
    }
    .reveal-texto, .bloque-reveal.reverse .reveal-texto { text-align: center; }
    .titulo-demo h2 { font-size: 2em; }
    .reveal-texto h3 { font-size: 2em; }
    
    /* En móvil lo simplificamos para que venga de abajo */
    .reveal-img, .bloque-reveal.reverse .reveal-img,
    .reveal-texto, .bloque-reveal.reverse .reveal-texto {
        transform: translateY(50px);
    }
    .bloque-reveal.visible .reveal-img,
    .bloque-reveal.visible .reveal-texto {
        transform: translateY(0);
    }
}
/* --- CATÁLOGO DE PRODUCTOS Y EFECTO AMEBA --- */
.catalogo-lumino { 
    padding: 100px 50px; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.titulo-seccion { text-align: center; margin-bottom: 80px; }
.titulo-seccion h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5em; color: #ffffff; margin: 0 0 10px 0; font-weight: 400; 
}
.titulo-seccion p { color: #666; font-size: 1em; }

.rejilla-lumino { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
}
.no-hay { grid-column: 1/-1; text-align: center; color: #444; font-style: italic; }

.tarjeta-lumino {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.3s ease;
}
.tarjeta-lumino:hover { border-color: #333333; }

/* --- CONTENEDOR ELIPSE VERTICAL EN EL CATÁLOGO --- */
.imagen-tarjeta {
    height: 400px; /* Más alta */
    max-width: 300px; /* Más estrecha para que la elipse sea vertical */
    margin: 0 auto 20px auto; /* Centrada en la tarjeta */
    overflow: hidden;
    position: relative;
    border-radius: 12px; /* Empieza rectangular */
    transition: border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
    background: #050505;
}

/* La foto se adapta al contenedor sin deformarse */
.imagen-tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.6s ease;
}

/* AL PASAR EL RATÓN: Se convierte en Elipse Vertical (puntas arriba y abajo) */
.tarjeta-lumino:hover .imagen-tarjeta {
    border-radius: 50%; /* Al ser más alta que ancha, forma un óvalo vertical perfecto */
}
.tarjeta-lumino:hover .imagen-tarjeta img {
    transform: scale(1.1); 
}

/* La animación que hace que la ameba cambie de forma */
@keyframes ameba-movimiento {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25%  { border-radius: 30% 70% 70% 30% / 50% 60% 40% 50%; }
    50%  { border-radius: 50% 50% 30% 70% / 30% 50% 70% 60%; }
    75%  { border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Texto de la tarjeta */
.contenido-tarjeta { text-align: left; }
.contenido-tarjeta h3 { font-family: 'Playfair Display', serif; font-size: 1.5em; margin: 0 0 15px 0; }
.contenido-tarjeta h3 a { color: #ffffff; }
.contenido-tarjeta h3 a:hover { color: #d4af37; }
.contenido-tarjeta .extracto { color: #777; font-size: 0.95em; line-height: 1.6; margin-bottom: 25px; }

.boton-tarjeta {
    display: inline-block; color: #d4af37; font-size: 0.85em;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.boton-tarjeta:hover { color: #ffffff; }

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .catalogo-lumino { padding: 80px 20px; }
    .imagen-tarjeta { height: 250px; }
}

/* Degradado oscuro para que se lea el texto */
.coleccion-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texto abajo del todo */
    padding: 40px;
    box-sizing: border-box;
}
.coleccion-overlay h3 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 3em;
    margin: 0 0 10px 0;
    font-weight: 400;
}
.coleccion-overlay span {
    color: #d4af37;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .rejilla-colecciones {
        grid-template-columns: 1fr; /* En móvil se ponen una debajo de otra */
        gap: 30px;
    }
    .coleccion-card { height: 350px; }
    .coleccion-overlay h3 { font-size: 2.2em; }
}
.seccion-interruptor {
    position: relative;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
}
/* Los videos de fondo */
.video-dia-noche {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: contain; /* Esto muestra el video entero sin zoom */
    z-index: 1;
}
/* Capa oscura */
.overlay-interruptor {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

/* El texto y el botón */
.contenido-interruptor {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 50px;
}
.etiqueta-demo { 
    color: #d4af37; text-transform: uppercase; letter-spacing: 3px; 
    font-size: 0.85em; display: block; margin-bottom: 15px; 
}
.contenido-interruptor h2 { 
    font-family: 'Playfair Display', serif; font-size: 3em; color: #ffffff; 
    margin: 0 0 15px 0; font-weight: 400; 
}
.contenido-interruptor p { color: #cccccc; font-size: 1.1em; margin-bottom: 40px; }

/* El contenedor del interruptor y los textos DÍA/NOCHE */
.contenedor-switch {
    position: absolute; /* Control total */
    top: 20%; /* Distancia desde arriba (50% es el centro) */
    right: 120px; /* Distancia desde la derecha */
    transform: translateY(-50%); /* Esto lo centra verticalmente perfecto */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 3;
}
.texto-switch {
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 2px;
    color: #555; /* Color apagado */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.texto-switch.on.active { color: #d4af37; text-shadow: 0 0 10px rgba(212, 175, 55, 0.6); }
.texto-switch.off.active { color: #ffffff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }

/* El Interruptor (Switch GIGANTE y VERTICAL) */
.switch-lumino {
    position: relative;
    display: inline-block;
    width: 50px; /* Ancho de la pista */
    height: 160px; /* Alto gigante de la pista */
}
.switch-lumino input { 
    opacity: 0; width: 0; height: 0; 
}

/* La pista del interruptor */
.slider-lumino {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom:0;
    background-color: #1a1a1a;
    border: 1px solid #333;
    transition: .4s;
    border-radius: 50px; /* Bordes redondeados en los extremos */
}
/* La bola del interruptor (Empieza arriba) */
.slider-lumino:before {
    position: absolute;
    content: "";
    height: 40px; /* Bola gigante */
    width: 40px;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    background-color: #ffffff;
    transition: .4s;
    border-radius: 50%;
}

/* Cuando se ACTIVA (ON -> Se desliza hacia abajo) */
input:checked + .slider-lumino {
    background-color: #000;
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}
input:checked + .slider-lumino:before {
    transform: translateX(-50%) translateY(110px); /* Baja hasta abajo */
    background-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}
/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .contenido-interruptor { padding: 30px 20px; }
    .contenido-interruptor h2 { font-size: 2em; }
}

/* --- SECCIÓN GALERÍA DISPERSA --- */
.seccion-galeria {
    position: relative;
    height: 150vh; /* Sección muy grande (1.5 veces la pantalla) para que quepan todas */
    background: #000000;
    overflow: hidden;
    border-bottom: 1px solid #1a1a1a;
}

/* Cada foto individual */
.foto-dispersa {
    position: absolute; /* Esto permite ponerlas en cualquier sitio */
    overflow: hidden;
    border-radius: 20px; /* Bordes redondeados */
    border: 1px solid #222;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8); /* Sombra profunda para flotar */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

/* La foto dentro del contenedor */
.foto-dispersa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(110%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Efecto al pasar el ratón por encima */
.foto-dispersa:hover {
    transform: translateY(-10px); /* Sube un poco */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
    z-index: 10; /* Se pone por encima de las demás */
}
.foto-dispersa:hover img {
    transform: scale(1.1); /* Zoom de la foto */
    filter: grayscale(0%) contrast(110%); /* Se le quita el filtro oscuro */
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .seccion-galeria {
        height: auto; /* Quitamos la altura fija */
        display: flex;
        flex-direction: column; /* Las ponemos en columna */
        gap: 30px;
        padding: 50px 20px;
    }
    /* Anulamos las posiciones raras para que en móvil se vean ordenadas */
    .foto-dispersa {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: 350px !important;
    }
}


/* --- VIDEOS DE CARACTERÍSTICAS --- */
.video-box {
    border-radius: 12px; /* Bordes redondeados */
    overflow: hidden;
    border: 1px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8); /* Sombra premium */
    aspect-ratio: 16 / 9; /* Formato de cine panorámico */
    background: #000;
}
.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* El video rellena todo el recuadro sin deformarse */
    display: block;
}
/* --- LOGO Y TEXTO SEPARADOS EN DÍA/NOCHE --- */

/* 1. EL LOGO (Mover este bloque) */
.contenedor-logo-dn {
    position: absolute;
    top: 35%; /* Distancia desde arriba para el LOGO */
    left: 50%; /* Distancia desde la izquierda para el LOGO */
    transform: translate(-50%, -50%); /* Lo centra en el punto exacto */
    z-index: 3;
    pointer-events: none; 
}
.logo-dia-noche {
    max-width: 120px; /* Tamaño del logo */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8)); 
}

/* --- TEXTO DÍA/NOCHE (Animado y Modificable) --- */
.contenedor-texto-dn {
    position: absolute;
    top: 65%; /* Modifica esto para moverlo arriba/abajo */
    left: 50%; /* Modifica esto para moverlo izq/der */
    transform: translate(-50%, 30px); /* Empieza 30px más abajo para la animación */
    text-align: center;
    z-index: 3;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
    opacity: 0; /* Empieza invisible */
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Clase que activa el JS para que aparezca */
.contenedor-texto-dn.visible {
    opacity: 1;
    transform: translate(-50%, -50%); /* Sube a su sitio centrado */
}

/* Truco mágico para que los textos se crucen sin desplazar la altura */
.textos-wrapper {
    display: grid;
    grid-template-areas: "stack";
}
.texto-dia, .texto-noche {
    grid-area: stack; /* Los apila en el mismo sitio exacto */
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(30px); /* Se difumina hacia abajo */
    transition: opacity 0.5s ease, transform 0.5s ease;
}
/* El texto que está activo se queda quieto y visible */
.texto-dia.active, .texto-noche.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .contenedor-texto-dn { top: 70%; }
    .texto-dia, .texto-noche { font-size: 1.5em; }
}

/* --- PÁGINA PRODUCTO: LAYOUT ARREGLADO (50/50) --- */
.producto-lumino-wrapper {
    background: #000000; 
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto;
}
.woocommerce-breadcrumb { display: none !important; }

/* 1. ESTRUCTURA GRID Y SEGURIDAD PARA WOOCOMMERCE */
.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; 
    gap: 0px !important;
    align-items: flex-start !important;
}

/* Evita que las pestañas y productos relacionados se rompan */
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .up-sells {
    grid-column: 1 / -1 !important;
    padding: 50px 20px !important;
    box-sizing: border-box !important;
    border-top: 1px solid #1a1a1a;
    margin-top: 50px;
}

/* 2. LA FOTO (Izquierda Fija) */
.single-product div.product > .woocommerce-product-gallery {
    grid-column: 1 / 2 !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #050505 !important;
    border-right: 1px solid #1a1a1a !important;
    padding: 40px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: hidden !important; 
}

/* Contenedor del slider */
.woocommerce-product-gallery__wrapper {
    position: relative !important;
    width: 100% !important;
    height: 75vh !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 3. LAS IMÁGENES (Apiladas para fundido sin saltos) */
.woocommerce-product-gallery__image {
    position: absolute !important; /* Todas absolutas para no romper el alto */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1 !important;
}

/* La imagen activa se queda por encima pero NO se hace relative para no romper el layout */
.woocommerce-product-gallery__image.flex-active-slide {
    opacity: 1 !important;
    z-index: 2 !important;
}

.woocommerce-product-gallery__image img {
    max-width: 100% !important; 
    max-height: 75vh !important; 
    width: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

/* Animación Zoom (Estilo Vaonis) */
.woocommerce-product-gallery__image.flex-active-slide img {
    animation: lumino-zoom-vaonis 4s ease-out forwards !important;
}
@keyframes lumino-zoom-vaonis {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* 4. LA INFORMACIÓN (Derecha) */
.single-product div.product > .summary {
    grid-column: 2 / 3 !important;
    padding: 100px 60px !important;
    background: #000000 !important;
    min-height: 100vh !important; 
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

/* 5. RESPONSIVE MÓVIL Y TABLET */
@media (max-width: 1000px) {
    .single-product div.product {
        grid-template-columns: 1fr !important;
    }
    .single-product div.product > .woocommerce-product-gallery,
    .single-product div.product > .summary {
        grid-column: 1 / -1 !important;
    }
    .single-product div.product > .woocommerce-product-gallery {
        position: relative !important; 
        top: 0 !important;
        height: auto !important; 
        padding: 20px !important;
        border-right: none !important;
        border-bottom: 1px solid #1a1a1a !important;
    }
    .woocommerce-product-gallery__wrapper {
        height: 50vh !important;
    }
    .woocommerce-product-gallery__image img { max-height: 50vh !important; }
    .single-product div.product > .summary { padding: 40px 20px !important; min-height: auto !important; }
}

/* 6. CARRITO Y BOTÓN */
form.cart {
    display: flex !important; align-items: stretch !important; width: 100% !important;
    gap: 15px !important; margin: 0 0 60px 0 !important;
}
form.cart .quantity {
    display: flex !important; border: 1px solid #333 !important; border-radius: 40px !important;
    overflow: hidden !important; background: #111 !important; flex: 0 0 120px !important; height: 60px !important; 
}
form.cart .quantity .qty {
    background: transparent !important; border: none !important; color: #fff !important;
    width: 50px !important; text-align: center !important; padding: 15px 0 !important; -moz-appearance: textfield !important;
}
.lumino-qty-btn {
    background: transparent !important; color: #fff !important; border: none !important; width: 35px !important;
    cursor: pointer !important; font-size: 1.5em !important; display: flex !important; align-items: center !important; justify-content: center !important;
}
.lumino-qty-btn:hover { background: #d4af37 !important; color: #000 !important; }

form.cart .single_add_to_cart_button {
    flex: 1 1 auto !important; min-width: 250px !important; background: #ffffff !important; color: #000000 !important;
    border-radius: 40px !important; padding: 0 20px !important; text-transform: uppercase !important; letter-spacing: 1px !important;
    font-weight: 600 !important; font-size: 0.85em !important; height: 60px !important; display: flex !important;
    align-items: center !important; justify-content: center !important; white-space: nowrap !important;
    position: relative !important; overflow: hidden !important;
}
form.cart .single_add_to_cart_button::before {
    content: "" !important; position: absolute !important; top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid #d4af37 !important; border-radius: 40px !important; box-shadow: 0 0 15px rgba(212, 175, 55, 0.6) !important;
    pointer-events: none !important; clip-path: inset(0 0 0 100%) !important; transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
form.cart .single_add_to_cart_button:hover::before { clip-path: inset(0 0 0 0) !important; }

/* 7. TARJETAS DE CRISTAL Y REVEAL */
.glass-card {
    background: rgba(15, 15, 15, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

.lumino-specs h3 { font-family: 'Playfair Display', serif; color: #ffffff; font-size: 1.8em; font-weight: 400; margin: 0 0 30px 0; }
.lumino-specs .spec-item { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ffffff; font-size: 1.1em; }
.lumino-specs .spec-item span { color: #888; text-transform: uppercase; font-size: 0.8em; letter-spacing: 1px; }

.lumino-confianza { display: flex; flex-direction: column; gap: 20px; }
.confianza-item { display: flex; align-items: center; gap: 15px; }
.texto-confianza { display: flex; flex-direction: column; }
.texto-confianza strong { color: #ffffff; font-size: 1em; font-weight: 500; }
.texto-confianza span { color: #888; font-size: 0.85em; }
/* --- PUNTOS DE NAVEGACIÓN DEBAJO DE LA IMAGEN (DOTS) --- */

/* 1. Ocultar las miniaturas antiguas de WooCommerce por si acaso */
.woocommerce-product-gallery .flex-control-thumbs {
    display: none !important;
}

/* 2. Contenedor de los puntos */
.woocommerce-product-gallery .flex-control-nav {
    position: relative !important;
    bottom: auto !important;
    text-align: center !important;
    margin-top: 30px !important; /* Espacio entre la imagen y los puntos */
    z-index: 10 !important;
    width: 100% !important;
}

/* 3. Cada punto individual */
.woocommerce-product-gallery .flex-control-nav li {
    display: inline-block !important;
    margin: 0 5px !important;
    width: auto !important;
    height: auto !important;
}

.woocommerce-product-gallery .flex-control-nav li a {
    width: 10px !important;
    height: 10px !important;
    background: #333333 !important; /* Color del punto inactivo */
    border-radius: 50% !important;
    box-shadow: none !important;
    display: block !important;
    text-indent: -9999px !important; /* Oculta el número 1, 2, 3... */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* 4. Punto ACTIVO (El que se está viendo) */
.woocommerce-product-gallery .flex-control-nav li a.flex-active {
    background: #d4af37 !important; /* Color dorado LUMINO */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important; /* Brillo dorado */
    transform: scale(1.3); /* Lo hace un poco más grande */
}

/* 5. Al pasar el ratón por un punto inactivo */
.woocommerce-product-gallery .flex-control-nav li a:hover {
    background: #ffffff !important;
}
/* --- SELECTOR DE CANTIDAD (+ / -) --- */
form.cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* Centramos el conjunto en la columna */
    gap: 15px !important;
    width: 100% !important;
    margin: 0 0 40px 0 !important;
}

form.cart .quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    border: 1px solid #333 !important;
    border-radius: 40px !important; /* Forma de óvalo/píldoma */
    overflow: hidden !important;
    background: #111 !important;
    height: 60px !important;
    flex: 0 0 140px !important; /* Ancho fijo para que no se deforme */
    box-sizing: border-box !important;
}

/* El input del número en el centro */
form.cart .quantity .qty {
    background: transparent !important;
    border: none !important;
    border-left: 1px solid #333 !important; /* Línea separadora izquierda */
    border-right: 1px solid #333 !important; /* Línea separadora derecha */
    color: #ffffff !important;
    width: 50px !important;
    text-align: center !important; /* Número centrado */
    padding: 15px 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
    order: 2; /* Se asegura de que vaya en el medio */
}
form.cart .quantity .qty::-webkit-outer-spin-button,
form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Botones + y - a los lados */
.lumino-qty-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    width: 45px !important;
    cursor: pointer !important;
    font-size: 1.5em !important;
    font-weight: 300 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}
.lumino-qty-btn.minus { order: 1; } /* Izquierda */
.lumino-qty-btn.plus { order: 3; }  /* Derecha */

.lumino-qty-btn:hover {
    background: #d4af37 !important;
    color: #000000 !important;
}

/* El botón de Añadir al Carrito al lado del óvalo */
form.cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    min-width: 250px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 40px !important;
    padding: 0 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    font-size: 0.85em !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    position: relative !important;
    overflow: hidden !important;
}
form.cart .single_add_to_cart_button::before {
    content: "" !important; position: absolute !important; top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid #d4af37 !important; border-radius: 40px !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6) !important; pointer-events: none !important;
    clip-path: inset(0 0 0 100%) !important; transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
form.cart .single_add_to_cart_button:hover::before { clip-path: inset(0 0 0 0) !important; }
/* --- QUITAR FLECHAS DEL NAVEGADOR EN EL SELECTOR DE CANTIDAD --- */
/* Para Chrome, Safari y Edge */
form.cart .quantity input[type="number"]::-webkit-outer-spin-button,
form.cart .quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
/* Para Firefox */
form.cart .quantity input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* Reforzamos que el input no tenga fondo ni bordes raros */
form.cart .quantity .qty {
    background: transparent !important;
    border: none !important;
    border-left: 1px solid #333 !important;
    border-right: 1px solid #333 !important;
}
/* --- AJUSTE DE ALTURA Y BOTÓN MÁS LARGO --- */

/* Selector de cantidad (Más bajito) */
form.cart .quantity {
    height: 50px !important; /* Antes 60px, ahora 50px */
    flex: 0 0 120px !important; /* Un poco más estrecho para ceder espacio al botón */
}
form.cart .quantity .qty {
    padding: 10px 0 !important; /* Ajustamos el relleno a la nueva altura */
}
.lumino-qty-btn {
    font-size: 1.3em !important; /* Símbolos + y - un pelín más pequeños para encajar bien */
}

/* Botón de Añadir al Carrito (Más largo) */
form.cart .single_add_to_cart_button {
    height: 50px !important; /* Misma altura reducida que el selector */
    min-width: 320px !important; /* Antes 250px, ahora 320px para que sea más largo */
    font-size: 0.9em !important; /* Letra del botón un poco más grande para llenar el espacio */
}
/* --- PÁGINA PRODUCTO: 5 SECCIONES PREMIUM --- */

/* Sección base */
.prod-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px;
    border-top: 1px solid #1a1a1a;
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Sección Video Full-Width */
.video-prod-section {
    max-width: 100%;
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}
.video-prod-section video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.video-prod-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
    z-index: 2;
}
.video-prod-text {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 20px;
}
.video-prod-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    color: #fff;
    margin: 10px 0 20px 0;
    font-weight: 400;
}
.video-prod-text p { color: #ccc; font-size: 1.2em; }

/* 2 y 3. Secciones de Bloque (Imagen/Video + Texto Cristal) */
.block-feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.block-feature-section.reverse .feature-text { order: 2; }
.feature-img, .feature-video {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid #222;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.feature-video video { width: 100%; height: 100%; object-fit: cover; }

.feature-text.glass-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 60px;
}
.story-tag { color: #d4af37; text-transform: uppercase; letter-spacing: 3px; font-size: 0.8em; display: block; margin-bottom: 15px; }
.feature-text h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 3em; margin: 0 0 25px 0; font-weight: 400; }
.feature-text p { color: #aaa; font-size: 1.2em; line-height: 1.7; margin: 0; }

/* 4. Sección Galería */
.gallery-prod-title { text-align: center; margin-bottom: 60px; }
.gallery-prod-title h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: 3em; font-weight: 400; }
.gallery-prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.gallery-prod-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.gallery-prod-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

/* 5. Sección CTA Final */
.cta-prod-section {
    text-align: center;
    background: #050505;
    max-width: 100%;
    padding: 120px 20px;
}
.cta-prod-section h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: 3.5em; font-weight: 400; margin: 0 0 20px 0; }
.cta-prod-section p { color: #888; font-size: 1.2em; margin-bottom: 60px; }
.cta-prod-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.cta-badge {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 30px 50px;
    border-radius: 12px;
}
.cta-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 2em; color: #d4af37; margin-bottom: 5px; }
.cta-badge span { color: #888; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9em; }

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
    .block-feature-section { grid-template-columns: 1fr; gap: 30px; }
    .block-feature-section.reverse .feature-text { order: 0; }
    .feature-img, .feature-video { height: 300px; }
    .feature-text.glass-card { padding: 30px; }
    .feature-text h3 { font-size: 2em; }
    .gallery-prod-grid { grid-template-columns: 1fr; }
    .video-prod-text h2 { font-size: 2.5em; }
    .cta-prod-section h2 { font-size: 2.5em; }
    .cta-prod-badges { gap: 20px; }
    .cta-badge { padding: 20px; width: 100%; max-width: 300px; }
}
/* --- ROMPER LÍMITES DEL TEMA Y QUITAR HUECO SUPERIOR --- */
html, body { overflow-x: clip !important; }

.single-product #primary, 
.single-product #content, 
.single-product .site-content, 
.single-product .entry-content, 
.single-product main, 
.single-product .apple-product-wrapper, 
.single-product div.product, 
.single-product .ast-woocommerce-container,
.single-product .site-main,
.single-product body,
.single-product html {
    max-width: 100% !important; 
    width: 100% !important; 
    margin: 0 !important; 
    margin-top: 0 !important;
    padding: 0 !important; 
    padding-top: 0 !important; /* ¡ESTO ARREGLA EL HUECO NEGRO SUPERIOR! */
    box-sizing: border-box !important; 
}

/* --- BARRA FLOTANTE Y MODAL --- */
#apl-sticky-bar { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); z-index: 9999; background: rgba(0, 0, 0, 0.4); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 980px; padding: 10px 15px 10px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 90%; max-width: 700px; transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
#apl-sticky-bar.visible { top: 90px; } 
#apl-sticky-bar h4 { font-size: 1.1em; margin: 0; color: #f5f5f7; font-weight: 600; }
.apl-sticky-actions { display: flex; gap: 10px; }
.apl-sticky-btn { padding: 8px 20px; border-radius: 980px; text-decoration: none; font-size: 0.85em; font-weight: 500; cursor: pointer; border: none; transition: all 0.3s ease; }
.apl-sticky-btn.ghost { background: transparent; color: #f5f5f7; } .apl-sticky-btn.ghost:hover { background: rgba(255,255,255,0.1); }
.apl-sticky-btn.solid { background: #0071e3; color: #fff; } .apl-sticky-btn.solid:hover { background: #0077ED; }

.apl-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.apl-modal-overlay.visible { opacity: 1; visibility: visible; }
.apl-modal-content { background: #1d1d1f; border: 1px solid #333; border-radius: 24px; padding: 60px 40px 40px; width: 90%; max-width: 400px; text-align: center; position: relative; transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.apl-modal-overlay.visible .apl-modal-content { transform: scale(1); }
.apl-modal-close { position: absolute; top: 15px; right: 20px; background: transparent; border: none; color: #86868b; font-size: 2em; cursor: pointer; line-height: 1; }
.apl-modal-title { font-size: 1.8em !important; color: #f5f5f7 !important; margin: 0 0 15px 0 !important; font-weight: 700 !important; }
.apl-modal-price { font-size: 1.5em; color: #86868b; margin-bottom: 40px; }
.apl-modal-qty-wrapper { display: flex; align-items: center; justify-content: center; gap: 20px; background: #000; border-radius: 980px; padding: 10px 20px; margin-bottom: 40px; width: fit-content; margin-left: auto; margin-right: auto; }
.apl-modal-qty-wrapper .apl-mini-btn { font-size: 1.5em; width: 35px; height: 35px; background: transparent; color: #f5f5f7; border: none; cursor: pointer; }
#apl-modal-qty-val { color: #f5f5f7; font-size: 1.2em; font-weight: 600; min-width: 30px; }
.apl-modal-add-btn { background: #0071e3; color: #fff; border: none; padding: 15px 30px; border-radius: 980px; font-size: 1.1em; font-weight: 600; cursor: pointer; width: 100%; transition: background 0.3s; }
.apl-modal-add-btn:hover { background: #0077ED; }

/* --- VIDEO INICIAL --- */
.apl-video-sticky { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #000; }
.apl-video-sticky video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.apl-video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 2; }
.apl-video-text { position: relative; z-index: 3; }
.apl-video-text h2 { font-size: clamp(2.5em, 6vw, 5em) !important; color: #fff !important; margin: 0 0 15px 0 !important; font-weight: 700 !important; }
.apl-video-text p { font-size: clamp(1.2em, 2.5vw, 2em) !important; color: #ccc !important; margin: 0 !important; }

/* --- SCROLL HORIZONTAL --- */
.apl-h-scroll-wrapper { width: 100vw !important; max-width: 100vw !important; margin-left: calc(-50vw + 50%) !important; position: relative; background: #000; }
.apl-h-scroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; background: #000; z-index: 5; }
.apl-h-scroll-track { display: flex; height: 100vh; will-change: transform; }
.apl-h-panel { width: 100vw; height: 100vh; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 10vw; box-sizing: border-box; background: #000; }

.apl-text-massive { text-align: center; }
.apl-text-massive h2 { font-size: clamp(2.5em, 8vw, 7em) !important; color: #f5f5f7 !important; margin: 0 !important; font-weight: 700 !important; letter-spacing: -0.03em !important; line-height: 1.1 !important; }
.apl-highlight { color: #86868b !important; }

.apl-specs { flex-direction: row; gap: 100px; }
.apl-spec-item { text-align: center; }
.apl-num { display: block; font-size: clamp(3em, 6vw, 5em) !important; font-weight: 700 !important; color: #f5f5f7 !important; margin-bottom: 10px !important; }
.apl-label { font-size: clamp(1em, 1.5vw, 1.2em) !important; color: #86868b !important; }

.apl-grid-2x2-h { position: relative; justify-content: center; background: #000; }
.apl-grid-2x2-h video { width: 70%; height: 70%; object-fit: cover; border-radius: 20px; z-index: 1; }
.apl-grid-text-h { position: absolute; bottom: 15%; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; width: 100%; padding: 0 20px; box-sizing: border-box; }
.apl-grid-text-h h3 { font-size: 2.5em !important; color: #fff !important; margin: 0 0 10px 0 !important; font-weight: 700 !important; }
.apl-grid-text-h p { font-size: 1.1em !important; color: #ccc !important; margin: 0 !important; }

.apl-fullwidth { padding: 0; background-attachment: scroll; background-image: url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?q=80&w=2000&auto=format&fit=crop'); background-size: cover; background-position: center; }
.apl-fw-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1; }
.apl-fw-text { position: relative; z-index: 2; }
.apl-fw-text h2 { font-size: clamp(3em, 7vw, 6em) !important; color: #fff !important; margin: 0 0 20px 0 !important; font-weight: 700 !important; }
.apl-fw-text p { font-size: 1.5em !important; color: #ccc !important; }

.apl-colors { padding: 0; }
.apl-colors-title { font-size: clamp(2em, 4vw, 3.5em) !important; color: #f5f5f7 !important; margin: 0 0 60px 0 !important; font-weight: 700 !important; }
.apl-colors-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.apl-color-card { background: #1d1d1f; border-radius: 20px; overflow: hidden; width: 300px; transition: transform 0.3s ease; }
.apl-color-card:hover { transform: scale(1.05); }
.apl-color-card img { width: 100%; height: 300px; object-fit: cover; }
.apl-color-card h4 { font-size: 1.5em !important; color: #f5f5f7 !important; padding: 20px 0 !important; margin: 0 !important; font-weight: 600 !important; }

/* --- 3D Y RESTO --- */
.apl-3d-config { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; min-height: 100vh !important; padding: 100px 100px !important; background: #1d1d1f; box-sizing: border-box !important; position: relative; z-index: 10; }
.apl-config-left { max-width: 400px; justify-self: center !important; }
.apl-config-text .apl-tag { color: #86868b; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8em; display: block; margin-bottom: 15px; }
.apl-config-text h2 { font-size: clamp(2em, 4vw, 3.5em) !important; color: #f5f5f7 !important; margin: 0 0 20px 0 !important; font-weight: 700 !important; line-height: 1 !important; }
.apl-config-text p { font-size: 1.3em !important; color: #86868b !important; margin: 0 0 40px 0 !important; }
.apl-config-buttons { display: flex; flex-direction: column; gap: 15px; }
.apl-btn { background: transparent; border: 1px solid #444; color: #86868b; padding: 18px 25px; border-radius: 980px; cursor: pointer; text-align: left; font-size: 1.1em; font-weight: 500; transition: all 0.3s ease; }
.apl-btn:hover { border-color: #888; color: #f5f5f7; }
.apl-btn.active { background: #f5f5f7; color: #000; border-color: #f5f5f7; }
.apl-viewer { width: 100%; max-width: 700px; height: 80vh; max-height: 800px; position: relative; background: transparent; display: flex; align-items: center; justify-content: center; margin: 0 auto !important; }
.viewer-pane { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease; }
.viewer-pane.active { opacity: 1; visibility: visible; }
.viewer-pane video { width: 100%; height: 100%; object-fit: cover; }
#lumino-three-container { width: 100%; height: 100%; cursor: grab; }
#lumino-three-container:active { cursor: grabbing; }

.apl-auto-carousel { padding: 15vh 0 !important; text-align: center; background: #000; overflow: hidden; position: relative; z-index: 10; }
.apl-carousel-track { display: flex; gap: 20px; width: max-content; animation: apl-scroll-carousel 30s linear infinite; margin-top: 60px; }
.apl-carousel-item { width: 400px; height: 300px; background-size: cover; background-position: center; border-radius: 20px; border: 1px solid #1d1d1f; transition: transform 0.3s ease; }
.apl-carousel-item:hover { transform: scale(1.05); border-color: #444; }
@keyframes apl-scroll-carousel { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.apl-cta { height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #000; position: relative; z-index: 10; }
.apl-cta h2 { font-size: clamp(2.5em, 5vw, 4em) !important; color: #f5f5f7 !important; margin: 0 0 20px 0 !important; font-weight: 700 !important; }
.apl-cta p { font-size: 1.2em !important; color: #86868b !important; }

@media (max-width: 1000px) {
    .apl-h-scroll-sticky { position: relative; height: auto; overflow: visible; }
    .apl-h-scroll-track { flex-direction: column; height: auto; transform: none !important; }
    .apl-h-panel { width: 100%; height: 80vh; padding: 0 20px; }
    .apl-h-panel.apl-specs { flex-direction: column; gap: 40px; }
    .apl-3d-config { grid-template-columns: 1fr; padding: 80px 20px !important; gap: 40px; }
    .apl-viewer { height: 450px; }
}
/* --- OCULTAR FORMULARIO DEFECTO DE WOOCOMMERCE --- */
.single-product form.cart {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    top: -9999px !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}
/* --- ELIMINAR HUECO NEGRO DE WOOCOMMERCE --- */
.single-product div.product,
.single-product .summary,
.single-product .single_product_summary,
.single-product .woocommerce-product-details__short-description {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Aseguramos que el formulario oculto no ocupe ni un solo píxel */
.single-product form.cart {
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* --- MATAR EL HUECO NEGRO DEL LAYOUT ANTIGUO --- */
.single-product .producto-lumino-wrapper,
.single-product div.product,
.single-product div.product > .summary,
.single-product div.product > .woocommerce-product-gallery,
.single-product .single_product_summary,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-tabs,
.single-product .related {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}
/* --- ARREGLO MÓVIL: MOVER ENCABEZADO Y BARRA FLOTANTE A LA IZQUIERDA (Con un pelín de margen) --- */
@media (max-width: 768px) {
    /* 1. Cabecera principal (Logo y botón de menú) */
    .ast-mobile-header-wrap .ast-container,
    .ast-main-header-wrap .ast-container,
    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .ast-button-wrap,
    .ast-builder-grid-row,
    .header-premium {
        padding-left: 20px !important; /* Un pelín a la derecha (antes era 0px) */
        margin-left: 0 !important;
    }

    /* 2. Barra flotante (Explorar/Comprar) alineada a la izquierda */
    #apl-sticky-bar {
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding-left: 20px !important; /* Un pelín a la derecha (antes era 10px) */
        padding-right: 20px !important;
    }

    /* 3. Texto del Hero (Ingeniería LUMINO) */
    .apl-hero-split-text {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 8px !important; /* Un pelín a la derecha (antes era 10px) */
    }
}
/* OCULTAR SECCIÓN 3D EN MÓVILES */
@media (max-width: 768px) {
    .apl-3d-config {
        display: none !important;
    }
}