 :root {
     /* Paleta Vibrante */
     --bg-color: #E0F7FA;
     --sticker-white: #FFFFFF;
     --pop-yellow: #FFEB3B;
     --pop-pink: #FF4081;
     --pop-blue: #00B0FF;
     --pop-green: #00E676;
     --pop-purple: #D500F9;
     --pop-orange: #FF6D00;
     --text-dark: #222;
     /* Texto más oscuro para contraste */

     /* Efecto Sticker Simplificado */
     --sticker-border: 4px solid var(--sticker-white);
     --sticker-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
 }

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

 body {
     background-color: var(--bg-color);
     /* Fondo sutil */
     background-image: radial-gradient(#B2EBF2 10%, transparent 10%);
     background-size: 30px 30px;
     font-family: 'Poppins', sans-serif;
     color: var(--text-dark);
     overflow-x: hidden;
     scroll-behavior: smooth;
     font-size: 18px;
     /* Base de fuente más grande */
 }

 /* --- Navbar --- */
nav {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0); /* Transparente inicialmente */
    position: fixed; /* Cambia de sticky a fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid transparent; /* Sin borde inicialmente */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none; /* Sin sombra inicialmente */
    transition: all 0.3s ease; /* Transición suave */
}
nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 3px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: white; /* Blanco para que contraste con el hero */
    text-decoration: none;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
nav.scrolled .logo {
    color: var(--pop-blue); /* Color original cuando tiene fondo */
}
 .nav-links {
     display: flex;
     gap: 15px;
     flex-wrap: wrap;
     align-items: center;
 }

.nav-link {
    text-decoration: none;
    color: white; /* Blanco inicialmente */
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
nav.scrolled .nav-link {
    color: var(--text-dark); /* Color original cuando tiene fondo */
}

 .nav-link:hover {
     background: var(--pop-blue);
     color: white;
 }
 .nav-link[style*="background: #25D366"] {
    background: #25D366 !important;
    color: white !important;
}

 /* --- Hero --- */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    width: 100vw;
    height: 25vw;
    min-height: 400px; /* Altura mínima para móviles */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-image: linear-gradient(rgba(113, 110, 110, 0.3), rgba(17, 16, 16, 0.5)), url('assets/images-colecciones/hero.PNG');
    filter: saturate(1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* ¡Esta es la clave! */
    border-bottom: 5px solid white;
    overflow: hidden; /* Previene problemas de scroll */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center;
}

/* Para móviles, desactiva el fixed porque puede causar problemas */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        height: auto;
        padding: 4rem 1rem;
        min-height: 300px;
    }
}

 .sticker-title-main {
     font-family: 'Fredoka One';
     font-size: 4rem;
     /* Título más grande */
     color: #ee9b54;
     -webkit-text-stroke: 2px #fefde8;
     /* Borde más fino para legibilidad */
     paint-order: stroke fill;
     filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.1));
     margin-bottom: 1rem;
     display: inline-block;
     line-height: 1.1;
     width: 100%; /* Asegura que ocupe todo el ancho disponible */
     max-width: 1000px; /* Mantiene tu máximo */
     margin: 0 auto 1rem; /* Centra horizontalmente */
 }

 .hero-subtitle {
     font-size: 1.5rem;
     color: #333;
     font-weight: 700;
     background: white;
     display: inline-block;
     padding: 15px 30px;
     border-radius: 10px;
     box-shadow: var(--sticker-shadow);
     margin-top: 20px;
     width: fit-content; /* Se ajusta al contenido */
    margin: 20px auto 0; /* Centra horizontalmente */
 }

 /* --- Secciones Generales --- */
 .text-section {
     padding: 4rem 10%;
     display: flex;
     justify-content: center;
     flex-direction: column;
     align-items: center;
 }

 .note-card {
     background: white;
     padding: 3rem;
     max-width: 1000px;
     width: 100%;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
     position: relative;
     font-size: 1.2rem;
     /* Letra más grande */
     line-height: 1.6;
     color: #333;
     border-radius: 20px;
     border: 2px solid #eee;
 }

 /* Estilos de tarjetas planos (sin rotación para Mac/Legibilidad) */
 .note-card.yellow {
     background: #FFFDE7;
     border-color: #FFF59D;
 }

 .note-card.blue {
     background: #E3F2FD;
     border-color: #90CAF9;
 }

 .section-title {
     font-family: 'Fredoka One';
     font-size: 2.5rem;
     /* Enunciados más grandes */
     color: var(--pop-blue);
     text-align: center;
     margin-bottom: 2rem;
     text-transform: uppercase;
 }

 /* Listas */
 .check-list {
     list-style: none;
     margin-top: 1.5rem;
 }

 .check-list li {
     margin-bottom: 12px;
     padding-left: 35px;
     position: relative;
     font-weight: 500;
 }

 .check-list li::before {
     content: '\f00c';
     font-family: "Font Awesome 6 Free";
     font-weight: 900;
     color: var(--pop-green);
     position: absolute;
     left: 0;
     top: 4px;
     font-size: 1.2rem;
 }

 /* --- Catálogo --- */
 .category-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
     padding: 0 5%;
     max-width: 1400px;
     margin: 0 auto 4rem;
 }

 .category-card {
     background: white;
     border-radius: 15px;
     border: 3px solid #eee;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     cursor: pointer;
     transition: transform 0.2s;
     text-align: center;
     padding: 2.5rem;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     min-height: 250px;
 }

 .category-card:hover {
     transform: translateY(-5px);
     border-color: var(--pop-blue);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .cat-icon {
     font-size: 4rem;
     margin-bottom: 1.5rem;
     color: #555;
 }

 .cat-title {
     font-family: 'Fredoka One';
     font-size: 1.5rem;
     text-transform: uppercase;
     line-height: 1.2;
     color: #333;
 }

 /* Colores Categorías */
 .cat-1 .cat-icon {
     color: var(--pop-purple);
 }

 .cat-2 .cat-icon {
     color: var(--pop-orange);
 }

 .cat-3 .cat-icon {
     color: var(--pop-blue);
 }

 .cat-4 .cat-icon {
     color: var(--pop-green);
 }

 .cat-5 .cat-icon {
     color: var(--pop-pink);
 }

 .cat-6 .cat-icon {
     color: #FFD600;
 }

 /* Animaciones */

 /* --- Venta Grid --- */
 .sale-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     gap: 20px;
     margin-top: 2rem;
 }

 .sale-item {
     background: white;
     padding: 15px;
     border-radius: 10px;
     border: 1px solid #ddd;
     font-weight: 600;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .sale-item i {
     color: var(--pop-green);
 }

.sale-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.15);
    background: linear-gradient(to right, #f8f9ff, #ffffff);
    border-color: #4a6cf7;
}


@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.4);
    }
    50% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(1.3);
    }
}
 /* --- Pasos (Cómo trabajamos) --- */
 .steps-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-top: 2rem;
     width: 100%;
 }

 .step-card {
     background: white;
     padding: 2rem;
     border-radius: 15px;
     border: 2px solid #eee;
     text-align: left;
     position: relative;
 }

 .step-number {
     font-family: 'Fredoka One';
     font-size: 3rem;
     color: #eee;
     position: absolute;
     top: 10px;
     right: 20px;
     color: hob
 }

 .step-card:hover .step-number {
     color: #ff6b6b;
 }

 .step-title {
     font-weight: 800;
     font-size: 1.3rem;
     margin-bottom: 10px;
     color: var(--pop-blue);
     position: relative;
     z-index: 1;
 }

 /* --- Modales --- */
 .modal-overlay,
 .modal-overlay-level-2 {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0.95);
     /* Fondo blanco sólido para limpieza */
     z-index: 2000;
     display: none;
     justify-content: center;
     align-items: center;
     padding: 20px;
 }

 .modal-overlay-level-2 {
     background: rgba(0, 0, 0, 0.8);
     z-index: 2500;
 }

 .modal-overlay.active,
 .modal-overlay-level-2.active {
     display: flex;
 }

 .modal-content {
     background: white;
     width: 100%;
     max-width: 1100px;
     max-height: 90vh;
     border-radius: 20px;
     border: 1px solid #ddd;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
     position: relative;
     overflow-y: auto;
     padding: 3rem;
 }

 .close-modal {
     position: absolute;
     top: 20px;
     right: 20px;
     background: #eee;
     color: #333;
     border: none;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     font-size: 1.5rem;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: 0.2s;
 }

 .close-modal:hover {
     background: var(--pop-pink);
     color: white;
 }

 .modal-header-badge {
     background: var(--pop-blue);
     color: white;
     font-family: 'Fredoka One';
     font-size: 2rem;
     padding: 10px 30px;
     border-radius: 10px;
     display: inline-block;
     margin-bottom: 2rem;
 }

 .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 25px;
 }

 .product-item {
     background: #f9f9f9;
     padding: 15px;
     border-radius: 15px;
     border: 1px solid #eee;
     text-align: center;
     cursor: pointer;
     transition: 0.2s;
 }

 .product-item:hover {
     border-color: var(--pop-blue);
     background: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .product-image {
     width: 100%;
     height: 160px;
     object-fit: cover;
     border-radius: 10px;
     margin-bottom: 15px;
     background: #ddd;
     /* Fallback color */
 }

 .product-name {
     font-weight: 800;
     font-size: 1.1rem;
     color: #333;
     margin-bottom: 5px;
 }

 .product-dims {
     display: block;
     font-size: 0.9rem;
     color: #666;
     font-weight: 500;
     background: #fff;
     border: 1px solid #ddd;
     padding: 5px;
     border-radius: 5px;
     margin-top: 5px;
 }

 /* --- Footer --- */
 footer {
     background: #f4f4f4;
     padding: 4rem 5%;
     text-align: center;
     border-top: 1px solid #ddd;
     margin-top: 4rem;
 }

 .social-icons i {
     font-size: 2rem;
     margin: 0 15px;
     color: #555;
     cursor: pointer;
 }

 .social-icons i:hover {
     color: var(--pop-blue);
 }

 .contact-email {
     font-size: 0.9rem;
     color: #999;
     margin-top: 10px;
 }

 /* Lightbox */
 .lightbox-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.9);
     z-index: 3000;
     display: none;
     justify-content: center;
     align-items: center;
 }

 .lightbox-overlay.active {
     display: flex;
 }

 .lightbox-img {
     max-width: 90%;
     max-height: 90vh;
     border: 5px solid white;
 }

 @media (max-width: 768px) {
     .sticker-title-main {
         font-size: 2.5rem;
     }

     .hero {
         padding: 4rem 1rem;
     }

     .modal-content {
         padding: 1.5rem;
     }

     .category-grid {
         grid-template-columns: 1fr;
     }

     .nav-links {
         display: none;
     }
 }

 .btn-tecuido {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 35px;
    background: transparent;
    color: #4a6cf7;
    text-decoration: none;
    border: 2px solid #4a6cf7;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-tecuido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4a6cf7;
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-tecuido:hover {
    color: #ffd600;
    padding-right: 45px;
    border: 2px solid #ffd600;

}

.btn-tecuido:hover::before {
    transform: translateX(0);
}

.btn-tecuido::after {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-tecuido:hover::after {
    opacity: 1;
    right: 15px;
    animation: slideRight 0.8s infinite alternate;
}

@keyframes slideRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(5px);
    }
}

/* Estilos para las miniaturas con contador */
.product-item {
    position: relative;
}

.image-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    z-index: 1;
}

/* Galería modal mejorada */
.modal-gallery-content {
    max-width: 1200px;
    padding: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #f5f5f5;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #ccc;
}

/* Lightbox mejorado */
.lightbox-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    overflow: hidden;
}

.lightbox-image-container {
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#lightbox-image-target {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}


/* Estilos para el separador */
.accessories-divider {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.accessories-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--pop-purple), transparent);
}

.divider-text {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: var(--pop-purple);
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Contenedor de la lista de accesorios */
.accessories-list-container {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Grid para los accesorios */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

/* Estilo de cada item de la lista */
.accessory-item {
    background: white;
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.accessory-item:hover {
    background: var(--pop-purple);
    color: white;
    border-color: var(--pop-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.2);
}

.accessory-item::before {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.accessory-item:hover::before {
    opacity: 1;
}

/* ===========================================
   RESPONSIVE DESIGN - MÓVILES
   =========================================== */

@media (max-width: 768px) {

      .hero {
        padding-top: 6rem; /* Aumenta el padding superior */
        padding-bottom: 2rem;
        min-height: 280px;
    }
    
    .sticker-title-main {
        margin-top: 5rem; /* Espacio adicional */

    }
    /* Ajustes generales */
    body {
        font-size: 16px;
    }
    
    .text-section {
        padding: 2rem 5%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Navegación móvil */
      nav {
        background: rgba(255, 255, 255, 0) !important;
        backdrop-filter: none !important;
        border-bottom: 3px solid transparent !important;
        box-shadow: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        padding: 0.8rem 5% !important;
        height: 70px !important;
        transition: all 0.3s ease !important;
    }
    .logo {
        font-size: 1.4rem;
        flex: 1;
    }
    /* Logo - izquierda */
    .logo {
        font-size: 1.4rem;
        line-height: 1.2;
        text-align: left;
        flex: 1;
        margin: 0;
        color: var(--pop-blue) !important;
    }
    
    /* Botón WhatsApp - centro/izquierda */
    .whatsapp-btn {
        background: #25D366 !important;
        color: white !important;
        padding: 8px 12px !important;
        border-radius: 8px;
        margin: 0 10px;
        white-space: nowrap;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        text-decoration: none;
        order: 2; /* Para posicionarlo */
    }

        /* Cuando se hace scroll en móvil */
    nav.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        border-bottom: 3px solid #eee !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    }
    
    /* Logo en móvil - blanco cuando no hay scroll */
    .logo {
        color: white !important;
        font-size: 1.4rem !important;
        transition: color 0.3s ease !important;
    }
    
    /* Logo en móvil - azul cuando hay scroll */
    nav.scrolled .logo {
        color: var(--pop-blue) !important;
    }
    
    /* Enlaces del menú hamburguesa en móvil - blanco cuando no hay scroll */
    .nav-links .nav-link {
        color: rgb(0, 0, 0) !important;
        transition: color 0.3s ease !important;
    }
    
    /* Enlaces del menú hamburguesa en móvil - oscuro cuando hay scroll */
    nav.scrolled .nav-links .nav-link {
        color: var(--text-dark) !important;
    }
    
    /* Botón WhatsApp siempre visible */
    .whatsapp-btn {
        background: #25D366 !important;
        color: white !important;
    }
    
    /* Ajuste hero para navbar fijo transparente */
    .hero {
        padding-top: 90px !important;
    }
    
    /* Ocultar texto "Contactar" en móvil si es necesario */
    .whatsapp-btn .btn-text {
        display: inline-block;
    }

       /* Menú hamburguesa - derecha */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: black;
        font-size: 1.5rem;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        cursor: pointer;
        order: 3; /* Para posicionarlo */
    }
      .menu-toggle:hover {
        background: #f5f5f5;
    }
    
    /* Menú desplegable - debajo del navbar */
    .nav-links {
        position: absolute;
        top: 100%; /* Justo debajo del navbar */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
    
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px;
        margin: 5px 0;
        border-bottom: 1px solid #eee;
        color: var(--text-dark);
    }
    
    
    nav.scrolled .menu-toggle {
        color: var(--pop-blue);
    }
    
    /* Hero */
    .hero {
        padding: 4rem 1rem;
        min-height: 300px;
        height: auto;
        background-attachment: scroll;
    }
    
    .sticker-title-main {
        font-size: 2rem;
        -webkit-text-stroke: 1px #fefde8;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 10px 20px;
        max-width: 90%;
        margin: 20px auto;
    }
    
    /* Catálogo grid */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5%;
    }
    
    .category-card {
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .cat-icon {
        font-size: 3rem;
    }
    
    /* Grids de productos */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-image {
        height: 120px;
    }
    
    /* Venta grid */
    .sale-grid {
        grid-template-columns: 1fr;
    }
    
    .sale-item {
        padding: 12px;
    }
    
    /* Pasos */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    /* Modal */
    .modal-content {
        padding: 1.5rem;
        margin: 10px;
        max-height: 85vh;
    }
    
    .modal-header-badge {
        font-size: 1.5rem;
        padding: 8px 20px;
    }
    
    /* Accesorios */
    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .accessory-item {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 5%;
    }
    
    .social-icons i {
        font-size: 1.5rem;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
   nav {
        height: 65px !important;
        padding: 0.6rem 5% !important;
    }
    
    .hero {
        padding-top: 80px !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    
    .whatsapp-btn {
        padding: 8px 10px !important;
        font-size: 0.8rem;
    }
    
    .whatsapp-btn .btn-text {
        display: none; /* Ocultar texto, solo mostrar icono */
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 250px;
        padding: 3rem 1rem;
    }
    
    .sticker-title-main {
        font-size: 1.8rem;
    }
    
    .note-card {
        padding: 1.5rem;
    }
    
    .accessories-grid {
        grid-template-columns: 1fr;
    }
}

/* Para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sale-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .menu-toggle {
        display: none;
    }
    
   
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* SOLUCIÓN ALTERNATIVA - RESET COMPLETO DE LA GALERÍA */
#modal-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2500;
    padding: 0;
    margin: 0;
}

#modal-gallery.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#modal-gallery .modal-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    padding: 20px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

#gallery-title {
    color: white;
    font-family: 'Fredoka One';
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

#dynamic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    overflow-y: auto;
    padding: 10px;
    width: 100%;
    max-height: calc(100vh - 150px);
    justify-content: center;
}

/* ITEMS DE GALERÍA CON DIMENSIONES FIJAS */
.gallery-item {
    position: relative;
    width: 100%;
    height: 250px; /* ALTURA FIJA */
    overflow: hidden;
    border-radius: 10px;
    background: #222;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

/* SCROLL PERSONALIZADO */
#dynamic-gallery-grid::-webkit-scrollbar {
    width: 8px;
}

#dynamic-gallery-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

#dynamic-gallery-grid::-webkit-scrollbar-thumb {
    background: var(--pop-blue);
    border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #dynamic-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    #gallery-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #dynamic-gallery-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .gallery-item {
        height: 180px;
    }
}

/* VERSIÓN SIMPLE - Galería centrada en PC */
#modal-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2500;
}

#modal-gallery.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-gallery .modal-content {
    background: transparent !important;
    width: 90% !important;
    max-width: 1400px !important;
    max-height: 85vh !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 40px !important;
}

#gallery-title {
    color: white;
    font-family: 'Fredoka One';
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

#dynamic-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    overflow-y: auto !important;
    padding: 20px !important;
    width: 100% !important;
    max-height: 70vh !important;
    justify-content: center !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    #modal-gallery .modal-content {
        width: 100% !important;
        padding: 20px !important;
    }
    
    #dynamic-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    #gallery-title {
        font-size: 1.8rem;
    }
}