/**
 * CARRUSEL SIMPLE Y FUNCIONAL
 * Sin trucos complejos, solo lo que funciona
 */

@media (max-width: 968px) {
    .productos-general-section {
        padding: 60px 0;
    }
    
    .productos-general-header {
        margin-bottom: 40px;
        padding: 0 5%;
    }
    
    /* Contenedor simple */
    .productos-cards-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: visible;
        gap: 20px;
        padding: 20px 5%;
        
        /* Scroll suave */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        
        /* Scroll snap simple */
        scroll-snap-type: x mandatory;
        
        /* Permitir scroll vertical y horizontal */
        touch-action: pan-y pan-x;
        
        /* Ocultar scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .productos-cards-container::-webkit-scrollbar {
        display: none;
    }
    
    /* Tarjetas simples */
    .producto-card {
        flex: 0 0 70vw;
        min-width: 70vw;
        scroll-snap-align: center;
        
        /* Transición suave */
        opacity: 0.6;
        transform: scale(0.9);
        transition: all 0.3s ease;
    }
    
    /* Tarjeta activa */
    .producto-card.active {
        opacity: 1;
        transform: scale(1);
    }
    
    /* Contenido */
    .producto-card-image {
        width: 100%;
        height: 300px;
        overflow: hidden;
    }
    
    .producto-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .producto-card-content {
        padding: 25px;
        background: #fff;
    }
    
    .producto-card-nombre {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .producto-descripcion {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.6;
        margin: 0 0 15px 0 !important;
    }
    
    .producto-card-info {
        display: flex;
        justify-content: space-between;
    }
}
