/**
 * FIX CIBLÉ - PRODUCTS SECTION UNIQUEMENT
 * Réduit l'espace dans la section produits sans tout casser
 */

/* Products Section - Padding ajusté */
.products-section {
    padding: 60px 0 !important;
}

/* Section header dans products */
.products-section .section-header {
    margin-bottom: 40px !important;
}

/* Products Grid - Desktop 6 colonnes */
.products-grid-full {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 24px !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

/* Product cards - ajustements */
.product-card {
    padding: 24px 16px !important;
    min-height: auto !important;
}

.card-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.card-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Button après produits */
.products-section > .container > div:last-child {
    margin-top: 40px !important;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    /* Section products mobile */
    .products-section {
        padding: 40px 0 !important;
    }
    
    .products-section .section-header {
        margin-bottom: 30px !important;
    }
    
    /* CRITICAL: 2 colonnes sur mobile au lieu de 6 ! */
    .products-grid-full {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    /* Cards mobiles plus compactes */
    .product-card {
        padding: 20px 12px !important;
    }
    
    /* Icon wrapper mobile */
    .card-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 12px !important;
    }
    
    .card-icon-wrapper i {
        font-size: 28px !important;
    }
    
    /* Titres lisibles mobile */
    .card-title {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    /* Descriptions adaptées mobile */
    .card-description {
        font-size: 12px !important;
        min-height: auto !important;
        margin-bottom: 14px !important;
        line-height: 1.4 !important;
    }
    
    /* Buttons mobile */
    .btn-sm {
        font-size: 11px !important;
        padding: 8px 14px !important;
    }
    
    /* Button "Voir tous" */
    .products-section > .container > div:last-child {
        margin-top: 30px !important;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .card-title {
        font-size: 13px !important;
    }
    
    .card-description {
        font-size: 11px !important;
    }
    
    .btn-sm {
        font-size: 10px !important;
        padding: 7px 12px !important;
    }
}
