/* ========================================
   SECTION MEILLEURES VENTES - STYLE MODERNE
   ======================================== */

.featured-products {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0px 5%;
    box-sizing: border-box;
    background: #FEFCF8;
    overflow: hidden;
}

/* Titre de section */
.featured-products .products-section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primaryllw-color);
    margin-bottom: 56px;
    text-align: center;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
}

.featured-products .products-section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #b34b3d 0%, #d4776a 50%, #b34b3d 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(179, 75, 61, 0.3);
}

/* Grille de produits */
.featured-products .products {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 48px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.featured-products .product {
    padding: 0 !important;
}

/* Carte produit modernisÃƒÂ©e */
.featured-products .product-miniature {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff00;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.featured-products .product-miniature:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 48px rgba(179, 75, 61, 0.18);
    border-color: rgba(179, 75, 61, 0.1);
}

/* Container de la miniature */
.featured-products .thumbnail-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
}

/* Zone image - IMAGE EN PLEINE LARGEUR */
.featured-products .thumbnail-top {
    position: relative;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 287px;
    overflow: hidden;
}

.featured-products .product-thumbnail {
    display: block;
    width: 100%;
    height: 100% !important;
}

.featured-products .thumbnail-top picture {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    height: 100%;
}

.featured-products .thumbnail-top img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
}

.featured-products .product-miniature:hover .thumbnail-top img {
    transform: scale(1.12);
}

/* Overlay gradient au hover pour meilleure lisibilitÃƒÂ© */
.featured-products .thumbnail-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0) 50%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.featured-products .product-miniature:hover .thumbnail-top::before {
    opacity: 1;
}

/* Informations en surbrillance - EN BAS */
.featured-products .highlighted-informations {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 24px;
    pointer-events: none;
    z-index: 5;
    gap: 12px;
    background: #ffffff00 !important;
}

.featured-products .highlighted-informations > * {
    pointer-events: auto;
}

/* AperÃƒÂ§u rapide */
.featured-products .quick-view {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: #2c3e50;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.featured-products .product-miniature:hover .quick-view {
    opacity: 1;
    transform: translateY(0);
}

.featured-products .quick-view:hover {
    /* background: #b34b3d; */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(179, 75, 61, 0.4);
    /* border-color: #b34b3d; */
}

.featured-products .quick-view .material-icons {
    font-size: 20px;
}

/* Variantes de couleur - VISIBLE UNIQUEMENT AU HOVER */
.featured-products .variant-links {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.featured-products .product-miniature:hover .variant-links {
    opacity: 1;
    transform: translateY(0);
}

.featured-products .variant-links .color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.35s ease;
    display: block;
    cursor: pointer;
}

.featured-products .variant-links .color:hover {
    transform: scale(1.25);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
    border-width: 2px;
}

.featured-products .variant-links .count {
    font-size: 13px;
    color: #666;
    font-weight: 700;
    margin-left: 4px;
}

/* Description du produit */
.featured-products .product-description {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    background: #ffffff;
}

/* Titre du produit */
.featured-products .product-title {
    margin: 0;
    order: 1;
}

.featured-products .product-title a {
    font-size: 17px;
    font-weight: 700;
    color: var(--primaryllw-color);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 3em;
    transition: color 0.3s ease;
}

.featured-products .product-title a:hover {
    color: #b34b3d;
}

/* Prix */
.featured-products .product-price-and-shipping {
    order: 2;
    margin: 8px 0;
}

.featured-products .product-price-and-shipping .price {
    font-size: 28px;
    font-weight: 800;
    color: #b34b3d;
    text-shadow: 0 1px 2px rgba(179, 75, 61, 0.1);
}

.featured-products .product-price-and-shipping .regular-price {
    font-size: 17px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.featured-products .product-price-and-shipping .discount {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Avis produits */
.featured-products .product-list-reviews {
    order: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-products .grade-stars {
    display: flex;
    gap: 3px;
}

.featured-products .comments-nb {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Drapeaux produit */
 .product-flags {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

 .product-flag {
    color: #fff;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}





.product-flag.online-only {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 3px 12px rgba(52, 152, 219, 0.4);
}



/* Lien "Voir tous" */
.featured-products .all-product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(3deg, var(--primaryllw-color) 35%, #1a2332 149%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.featured-products .all-product-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.featured-products .all-product-link:hover::before {
    left: 100%;
}

.featured-products .all-product-link:hover {
    background: linear-gradient(135deg, #d62a12 0%, #8e3a2f 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(179, 75, 61, 0.4);
    color: #fff;
}

.featured-products .all-product-link .material-icons {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.featured-products .all-product-link:hover .material-icons {
    transform: translateX(6px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Large Desktop (Ã¢â€°Â¥1200px) : 4 colonnes */
@media (min-width: 1200px) {
    .featured-products .product.col-xl-3 {
        flex: 0 0 calc(25% - 21px);
        max-width: calc(23% - 21px);
    }
}

/* Desktop (992px ÃƒÂ  1199px) : 3 colonnes */
@media (min-width: 992px) and (max-width: 1199px) {
    .featured-products .product.col-lg-4 {
        flex: 0 0 calc(33.333% - 18.67px);
        max-width: calc(33.333% - 18.67px);
    }
}

/* Tablette (768px ÃƒÂ  991px) : 2 colonnes */
@media (min-width: 768px) and (max-width: 991px) {
    .featured-products .product.col-sm-6 {
        flex: 0 0 calc(50% - 14px);
        max-width: calc(50% - 14px);
    }
    
    .featured-products {
        padding: 60px 4%;
    }
    
    .featured-products .products-section-title {
        font-size: 36px;
        margin-bottom: 44px;
    }
    
    .featured-products .thumbnail-top {
        height: 300px;
    }
}

/* Mobile (< 768px) : 1 colonne */
@media (max-width: 767px) {
    .featured-products {
        padding: 50px 4%;
    }
    
    .featured-products .products-section-title {
        font-size: 30px;
        margin-bottom: 36px;
    }
    
    .featured-products .products {
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .featured-products .product.col-xs-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .featured-products .thumbnail-top {
        height: 280px;
    }
    
    .featured-products .quick-view {
        font-size: 14px;
        padding: 12px 22px;
    }
    
    .featured-products .all-product-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* TrÃƒÂ¨s petit mobile (< 576px) */
@media (max-width: 575px) {
    .featured-products {
        padding: 40px 3%;
    }
    
    .featured-products .products-section-title {
        font-size: 26px;
        margin-bottom: 32px;
    }
    
    .featured-products .product-title a {
        font-size: 16px;
    }
    
    .featured-products .product-price-and-shipping .price {
        font-size: 24px;
    }
    
    .featured-products .thumbnail-top {
        height: 260px;
    }
}


