/* --- ESTILOS PARA MÓVIL Y TABLET (PRODUCTOS) --- */

@media (max-width: 768px) {
    body {
        overflow: auto; /* Permite el scroll nativo en móvil */
        background-color: #f7f5f0; /* Fondo claro consistente */
    }
    .main-header {
        position: fixed;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .main-header .logo img {
        filter: none; /* Logo a color normal sobre fondo blanco */
    }
    .main-header .menu-toggle span {
        background-color: var(--dark); /* Botón de menú oscuro sobre fondo blanco */
    }
    #fullpage-container {
        transform: none !important; /* Desactiva el scroll de JS */
        height: auto;
        transition: none;
    }
    .section {
        height: auto; /* Permite que las secciones crezcan */
        min-height: 100vh;
        padding-top: 6rem; /* Padding reducido para móvil */
        padding-bottom: 6rem;
    }
    .page-nav {
        display: none; /* Oculta los puntos de navegación */
    }
    .content-wrapper {
        opacity: 1; /* Muestra el contenido directamente */
        transform: none;
        transition: none;
    }
    #section-product-hero {
        padding-top: 6rem;
    }
    #section-product-hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    .product-gallery-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .details-layout {
        grid-template-columns: 1fr;
    }
    .details-image {
        order: -1;
        margin-bottom: 2rem;
    }
    /* Asegurar que el footer se comporte como un footer normal en móvil */
    #section-footer {
        min-height: auto !important;
        padding: 4rem 2rem !important;
    }
    /* Ajustes al menú fullscreen en móvil */
    .fullscreen-nav-links {
        gap: 1.5rem;
    }
    .fullscreen-nav-links a {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 1rem;
    }
    .main-header .logo img {
        height: 50px;
    }
    #section-footer .logo img {
        height: 120px;
    }
    .details-image img {
        max-width: 80%;
    }
}