/* Variables de Diseño (Aesthetics) */
@font-face {
    font-family: 'ISOCP';
    src: local('ISOCP'), local('Arial');
}

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f7f7f7;
    --accent-color: #d1b99a; 
    --text-color: #333333;
    --text-light: #777777;
    --bg-color: #f6f3eb; 
    --white: #ffffff;
    --black: #000000;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 80%; 
}

/* Fix para iOS Safari: Evita que el background-size: cover se pixele */
body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background-image: url('../assets/Fondo.png');
    background-size: cover;
    background-position: center;
    z-index: -999;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    font-family: 'ISOCP', var(--font-primary);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 4% 10px 1%; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    color: #fff;
    transition: background 0.4s ease, padding 0.4s ease, align-items 0.4s ease;
}

.header.solid-bg {
    position: fixed; 
    background: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 4%; 
    align-items: center; 
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.logo {
    height: 172px; 
    cursor: pointer;
    transition: height 0.4s ease;
}

.header.solid-bg .logo {
    height: 50px; 
}

/* Botón menú móvil (Oculto en Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2000;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-showroom-btn {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 5px 15px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-showroom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cart-icon {
    font-size: 1.8rem;
    position: relative;
    cursor: pointer;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* Home - Hero Section */
.hero {
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-image 1s ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title-img {
    width: 50.7vw; 
    max-width: 760px;
    height: auto;
    filter: drop-shadow(4px 4px 15px rgba(0,0,0,0.5));
}

/* Linea Panel */
.linea-panel {
    padding: 60px 5%; 
    display: flex;
    align-items: center;
    overflow: hidden; 
    min-height: auto;
}

.linea-panel-content {
    display: flex;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.linea-panel-title {
    flex: 0 0 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.linea-panel-title h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.linea-panel-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.4;
}

.linea-panel-collage {
    flex: 1;
    position: relative;
    height: 500px; 
}

.linea-panel-collage img {
    position: absolute;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, z-index 0.4s;
}

.linea-panel-collage img:hover {
    transform: scale(1.05) translateY(-10px);
    z-index: 10;
}

.collage-img-1 { width: 40%; top: 60px; left: 0; z-index: 1; }
.collage-img-2 { width: 50%; top: 20px; left: 25%; z-index: 3; }
.collage-img-3 { width: 40%; top: 60px; right: 0; z-index: 1; }
.collage-img-4 { display: none; }

/* Invertir paneles en Desktop */
@media (min-width: 993px) {
    .panel-invertido .linea-panel-content > div:first-child {
        order: 2;
    }
    .panel-invertido .linea-panel-content > div:last-child {
        order: 1;
    }
}

/* Info sections */
.info-section {
    padding: 60px 5%;
    display: flex;
    align-items: center;
    min-height: auto; 
}

.info-section#sec-nosotros { padding-top: 100px; padding-left: 0; padding-right: 0; }
.info-section#sec-sustentabilidad { padding-left: 0; padding-right: 0; }
.info-section#sec-contacto { padding-bottom: 100px; }

/* Sección Clientes (Masonry Grid) */
#sec-clientes {
    padding: 100px 5%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.clientes-title-container {
    flex: 0 0 350px;
    position: sticky;
    top: 120px;
}
.clientes-title-container h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    line-height: 1.1;
}
.clientes-title-container p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}
.clientes-masonry {
    flex: 1;
}

@media (min-width: 601px) {
    .clientes-masonry {
        column-count: 3;
        column-gap: 20px;
        display: block;
    }
}
@media (min-width: 601px) and (max-width: 992px) {
    .clientes-masonry {
        column-count: 2 !important;
    }
}
.masonry-item {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    break-inside: avoid;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
}
.masonry-item:hover {
    transform: scale(1.03);
}

/* Vistas de Línea (Catálogo Grid Completo) */
.catalogo-section {
    padding: 100px 0 0 0; 
}

.linea-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 5%;
}

.linea-desc {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.4;
    padding: 0 5%;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; 
    width: 100%;
}

.producto-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.producto-img {
    width: 100%;
    height: 600px; 
    object-fit: cover; 
    transition: transform var(--transition-slow);
    display: block;
}

.producto-card:hover .producto-img {
    transform: scale(1.05);
}

.producto-card h4 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.85);
    padding: 5px 20px;
    border-radius: 2px;
    pointer-events: none; 
    white-space: nowrap;
}

/* Detalle Producto V2 */
.producto-hero {
    position: relative;
    width: 100vw;
    /* height: 100vh; Removido para mantener aspecto original */
    overflow: hidden;
}

.producto-hero-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Capa oscura para asegurar el contraste del texto sobre cualquier imagen */
.producto-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.producto-hero-info {
    position: absolute;
    top: 4%; /* Aún más arrinconado según solicitud */
    left: 2%;
    max-width: 380px; /* Reducido para acompañar la fuente más pequeña */
    color: var(--white);
    z-index: 2;
}

.producto-hero-info h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.1;
}

.producto-hero-precio {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.producto-hero-desc {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify; /* Justificado completo */
    text-align-last: left; /* Última línea a la izquierda */
}

/* Sección de Detalles y Acordeones */
.producto-detalles-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 5%;
}

.producto-detalles-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: var(--font-primary);
}

.accordion-container {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 10px 0 5px 0;
    background: transparent;
    border: none;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.accordion-header:hover {
    color: var(--accent-color);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg); /* Convertir + a x o rotar ícono */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    padding: 0 0 10px 0;
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    white-space: pre-line;
}

.producto-add-cart-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 80px;
}

/* Imágenes inferiores (60% y 40%) */
.producto-bottom-images {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Romper el contenedor para ocupar 100vw */
}

.producto-img-secundaria {
    flex: 6;
    min-width: 300px;
}

.producto-img-secundaria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.producto-img-planos {
    flex: 4;
    min-width: 300px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.producto-img-planos img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* Nosotros Grid */
.nosotros-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 0;
    align-items: center;
    width: 100%;
}
.nosotros-grid h2 { font-size: 2.5rem; margin-bottom: 20px; }
.nosotros-grid p { font-size: 1.2rem; color: #555; text-align: center; }

/* Clases de texto responsivas */
.info-text-nosotros, .info-text-sustentabilidad {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}
.info-text-nosotros p, .info-text-sustentabilidad p {
    text-align: center;
}

/* Invertir orden en Desktop para Sustentabilidad y alinear textos a los lados */
@media (min-width: 993px) {
    #sec-sustentabilidad .nosotros-grid {
        grid-template-columns: 40% 60%;
    }
    #sec-sustentabilidad .nosotros-grid > div:first-child {
        order: 2; /* Texto a la derecha */
    }
    #sec-sustentabilidad .nosotros-grid > div:last-child {
        order: 1; /* Imagen a la izquierda */
    }
    
    .info-text-nosotros {
        text-align: center;
        align-items: center;
        padding: 20px 20%; /* Espacio a ambos lados y arriba/abajo */
    }
    .info-text-nosotros p {
        text-align: center;
    }
    
    .info-text-sustentabilidad {
        text-align: center;
        align-items: center;
        padding: 20px 20%; /* Espacio a ambos lados y arriba/abajo */
    }
    .info-text-sustentabilidad p {
        text-align: center;
    }
}

/* Contacto */
.contacto-container { max-width: 600px; margin: 0 auto; width: 100%; }
.contacto-container h2 { font-size: 3rem; text-align: center; margin-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 1.1rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 15px; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.6); font-family: var(--font-secondary); font-size: 1.1rem; }

/* Carrito Drawer */
.cart-drawer {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100vh; background: var(--bg-color); z-index: 2000; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right var(--transition-fast); display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 1.5rem; }
.close-btn { background: none; border: none; font-size: 2rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 15px; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 1.1rem; margin-bottom: 5px; }
.cart-item-remove { color: red; font-size: 0.9rem; cursor: pointer; }
.cart-footer { padding: 20px; border-top: 1px solid rgba(0,0,0,0.05); }
.cart-total { font-size: 1.5rem; font-weight: 400; margin-bottom: 15px; text-align: right; }
.checkout-btn { width: 100%; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1500; display: none; }
.cart-overlay.open { display: block; }

/* Footer */
.footer { background: #e5e3db; color: #666; padding: 20px 5% 10px; margin-top: auto; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.footer-section h3 { color: var(--primary-color); margin-bottom: 8px; font-size: 1rem; }
.footer-section a { display: block; margin-bottom: 4px; color: #777; font-size: 0.85rem; }
.footer-section a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 8px; font-size: 0.8rem; color: #888; }

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 68px;
    height: 68px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Animaciones Antiguas (Se eliminan o conservan por si acaso, usaremos GSAP) */
.gsap-reveal { opacity: 0; visibility: hidden; }

/* RESPONSIVE UI UX PRO MAX */
@media (max-width: 992px) {
    .header { align-items: center; padding: 15px 5%; }
    
    .mobile-menu-btn { display: block; }
    
    /* Menú Lateral para Móvil */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 50%; /* Ensanchado un poco más para dar respiro al botón */
        max-width: 200px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* Alinear a la izquierda */
        padding-left: 30px; /* Separación del borde izquierdo */
        gap: 25px; /* Reducido el espacio entre items */
        transition: left 0.4s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-showroom-btn {
        margin-left: -15px; /* Alinea el texto con el texto de los otros enlaces */
    }
    
    .nav-links.mobile-open {
        left: 0;
    }
    
    .nav-links a {
        color: var(--primary-color);
        font-size: 0.8rem; /* Reducido al 50% aprox */
        letter-spacing: 1px;
    }
    
    .cart-icon {
        color: var(--primary-color);
        margin-top: 20px;
        font-size: 2.2rem;
        align-self: center;
        margin-left: -30px; /* Compensar el padding-left del contenedor para centrado perfecto */
    }
    
    .logo { height: 135px; }
    .header.solid-bg .logo { height: 60px; }
    
    /* Clientes Masonry Mobile */
    #sec-clientes {
        flex-direction: column;
        align-items: stretch;
        padding-top: 0;
        padding-bottom: 0;
    }
    .clientes-title-container {
        flex: none;
        width: 100%;
        position: relative;
        top: 0;
        text-align: center;
        margin-bottom: 0;
        padding: 60px 15%;
    }
    .clientes-title-container p {
        text-align: center;
    }

    .linea-panel-content, .nosotros-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .info-section#sec-nosotros, .info-section#sec-sustentabilidad {
        padding-top: 0;
        padding-bottom: 0;
    }
    .info-text-nosotros, .info-text-sustentabilidad {
        padding: 60px 10%;
    }
    .linea-panel-title {
        text-align: center;
        width: 100%;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .grid-productos {
        grid-template-columns: repeat(2, 1fr);
    }
    .linea-panel-collage {
        width: 100%;
        height: 400px;
    }
    .hero-title-img {
        width: 58.5vw;
    }
}

@media (max-width: 600px) {
    #sec-clientes {
        padding: 0;
    }
    .clientes-title-container {
        padding: 60px 15%;
    }
    .clientes-masonry {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        gap: 0;
    }
    .clientes-masonry .masonry-item {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        border: none;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        display: block !important;
    }
    .grid-productos {
        grid-template-columns: 1fr;
    }
    .producto-img { height: 400px; }
    .detalle-galeria-main { height: 400px; }
    
    .linea-panel {
        padding: 40px 0; /* Quitar padding lateral para la sección completa */
    }
    .linea-panel-title {
        padding: 0 5%; /* Mantener padding lateral solo para los textos */
    }
    .linea-panel-title h2 { 
        font-size: 1.6rem; 
    }
    .linea-panel-title p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .linea-panel-title button {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }
    .linea-panel-collage { 
        height: auto; 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 0; /* Sin espacio entre fotos */
        width: 100%;
        margin-top: 30px;
    }
    .linea-panel-collage img {
        position: static;
        width: 100%;
        height: 50vw; /* Ajuste automático para hacer cuadrados perfectos aprox */
        object-fit: cover;
        box-shadow: none; /* Sin sombras que estorben en los bordes */
        border-radius: 0; /* Bordes rectos */
    }
    .collage-img-4 { 
        display: block; 
    }
    
    .linea-title { font-size: 2.5rem; }
    .linea-desc { font-size: 1rem; }
    
    .nosotros-grid p {
        font-size: 1rem;
    }
    
    /* Sección Contacto */
    .contacto-container {
        width: 75% !important; /* Más angosto para alinearse visualmente con el centro */
        max-width: 350px !important;
    }
    .form-group label {
        font-size: 0.9rem !important; /* Etiquetas un poco más chicas */
    }
    .contacto-container button[type="submit"] {
        font-size: 0.9rem !important;
        padding: 10px 15px !important;
    }
    
    /* Sección Clientes (3 años entregando diseño) */
    .clientes-section {
        padding: 40px 0 0 0 !important; /* Borde a borde, sin padding lateral */
    }
    .clientes-title-container {
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        text-align: center !important;
        padding: 0 18% !important; /* Aumentado para estrechar el texto visualmente */
    }
    .clientes-title-container h2 {
        font-size: 2rem !important; /* Fuente más chica */
    }
    .clientes-title-container p {
        font-size: 1rem !important; /* Descripción más chica */
    }

    /* Ajustes específicos para teléfono */
    .header {
        padding: 15px 5% 15px 15px; /* Misma distancia arriba y a la izquierda (15px) */
    }
    
    .logo { 
        height: 120px; /* Reducido un 10% (antes 135px) */
    }
    
    .header.solid-bg .logo { 
        height: 54px; 
    }
    
    .hero-title-img {
        width: 67.3vw; /* 15% más grande que el tamaño de tablet (58.5vw) */
    }
    
    /* Detalle Producto Mobile */
    .producto-hero {
        display: flex;
        flex-direction: column;
    }
    .producto-hero-overlay {
        display: none;
    }
    .producto-hero-info {
        position: static;
        padding: 30px 5% 60px 5%;
        max-width: 100%;
    }
    .producto-hero-info h1 {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: 5px;
    }
    .producto-hero-precio {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    .producto-hero-desc {
        font-size: 0.95rem;
        color: var(--text-color);
    }
    .producto-detalles-section {
        margin: 70px auto 40px auto;
        padding: 0 5%;
    }
    .producto-detalles-section h2 {
        font-size: 1.6rem; 
        margin-bottom: 20px;
    }
    .accordion-header {
        font-size: 1rem; 
        padding: 15px 0;
    }
    .accordion-content-inner {
        font-size: 0.9rem; 
    }
    .producto-add-cart-wrapper button {
        font-size: 0.9rem !important; 
        padding: 12px 25px !important;
    }

    /* Detalle Especial Decoración Mobile */
    .producto-detalles-simple {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important; /* Quitar padding lateral para que las imágenes sean de borde a borde */
        margin: 0 auto 40px auto !important; /* Pegado al extremo superior */
        gap: 0 !important; /* Controlaremos el gap manualmente con margins */
    }
    .producto-left, .producto-right {
        display: contents !important; /* Descomponer los contenedores padre */
    }
    .pdg-img-main {
        order: 1;
        width: 100% !important;
        margin: 0 !important; /* Pegado a la imagen de abajo */
    }
    .pdg-img-plan {
        order: 2;
        width: 100% !important;
        margin: 0 0 40px 0 !important;
        background: #fff;
    }
    .pdg-title {
        order: 3;
        text-align: center;
        width: 100%;
        padding: 0 12%;
        margin-bottom: 10px !important;
        font-size: 2.2rem !important;
    }
    .pdg-price {
        order: 4;
        text-align: center;
        width: 100%;
        padding: 0 12%;
        margin-bottom: 20px !important;
    }
    .pdg-desc {
        order: 5;
        text-align: center;
        width: 100%;
        padding: 0 12%;
        margin-bottom: 40px !important;
    }
    .pdg-details-title {
        order: 6;
        text-align: center;
        width: 100%;
        padding: 0 12%;
        font-size: 1.4rem !important;
    }
    .producto-detalles-simple .accordion-container {
        order: 7;
        width: 100%;
        padding: 0 12%;
        box-sizing: border-box;
    }
    .producto-detalles-simple .btn-primary {
        order: 8;
        align-self: center;
        width: 60% !important; /* Botón más pequeño */
        margin: 0 auto !important;
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }
}

/* -------------------------------------
   SPLINE 3D SCENE STYLES 
   ------------------------------------- */
.spline-section {
    position: relative;
    width: 96%; /* Margen lateral muy reducido */
    max-width: 1600px; /* Permitir que sea más grande en pantallas anchas */
    height: 85vh; /* Altura aumentada proporcionalmente */
    background: transparent;
    overflow: hidden;
    margin: 40px auto 80px auto; /* Centrado con margen superior e inferior */
}

#spline-canvas {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
    border: none;
}

/* Tooltip elegante (Glassmorphism) */
.spline-tooltip {
    position: fixed; /* Fixed para seguir el cursor más fácilmente */
    top: 0;
    left: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.spline-tooltip-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.spline-tooltip-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

/* Instrucción superpuesta en el borde inferior */
.spline-instruction {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    pointer-events: none;
    animation: fadePulse 3s infinite ease-in-out;
}

.spline-instruction ion-icon {
    font-size: 1.2rem;
}

@keyframes fadePulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .spline-section {
        width: 100vw;
        max-width: none;
        height: 75vh;
        margin: 20px 0 60px calc(-50vw + 50%);
        border-radius: 0;
    }
}

/* Instrucciones de controles Spline */
.spline-controls-hint {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    padding: 0 5%;
    flex-wrap: wrap;
}

.control-hint {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.control-keys-spatial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.key-row {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.control-key {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 6px;
    font-weight: 600;
    box-shadow: 0 2px 0 #ddd;
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
}

.control-text {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Mouse Dibujado CSS */
.css-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    position: relative;
    background-color: transparent;
}

/* Línea vertical */
.css-mouse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background-color: var(--primary-color);
}

/* Línea horizontal */
.css-mouse::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Simulación de click izquierdo */
.mouse-left-click {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 12px;
    background-color: var(--accent-color);
    border-top-left-radius: 8px;
}

/* Promo Selector Styles */
.promo-selector {
    margin-bottom: 20px;
    width: 100%;
}
.promo-radio {
    flex: 1;
    padding: 12px 10px;
    border: 1px solid var(--primary-color);
    text-align: center;
    cursor: pointer;
    font-family: 'ISOCP', var(--font-primary);
    transition: 0.3s;
    font-size: 1.05rem;
    color: var(--primary-color);
    background: transparent;
    border-radius: 2px;
}
.promo-radio.active {
    background: var(--primary-color);
    color: white;
}
.promo-radio:hover:not(.active) {
    background: rgba(0,0,0,0.05);
}
