/**
 * ------------------------------------------------------------------------
 * V.and The Wolf
 * Module : Home New Products Styles (Vintage High-End Fashion)
 * ------------------------------------------------------------------------
 */

/* =================================================================
    1. Section principale (.vtw-home-products)
    - Espacement vertical identique à Home Categories
    - Fond global transparent
    ================================================================ */
.vtw-home-products {
    padding: 30px 0 50px 0;
    background-color: transparent;
    width: 100%;
}

/* =================================================================
    2. Titre de section (.vtw-section-title)
    - Hiérarchie visuelle identique à Home Categories
    - Trait décoratif discret via ::after
    ================================================================ */
.vtw-home-products .vtw-section-title {
    position: relative;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #1a1a1a;
    margin-bottom: 45px;
}

.vtw-home-products .vtw-section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 1px;
    background-color: #1a1a1a;
    opacity: 0.25;
}

/* =================================================================
    3. Grille des produits (.vtw-products-grid)
    - Harmonisée avec la grille de Home Categories (gap: 24px)
    - Responsive : 4 colonnes (desktop), 2 (tablette), 1 (mobile)
    - Gère uniquement la mise en page de la grille (les cartes sont gérées par product-card.css)
    ================================================================ */
.vtw-home-products .vtw-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media screen and (max-width: 1024px) {
    .vtw-home-products .vtw-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 576px) {
    .vtw-home-products .vtw-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}