/* ====================================
   PRODUCTS MODERN - DESIGN RÉVOLUTIONNAIRE
   ==================================== */

/* Variables spécifiques aux produits */
:root {
    /* Variables héritées du style principal */
    --couleur-principale: #FFE2B8;
    --couleur-secondaire: #160F00;
    --couleur-fond: #FFF8EE;
    --couleur-accent: #D4A76A;
    
    /* Variables spécifiques aux produits */
    --products-grid-gap: 2rem;
    --card-border-radius: 24px;
    --overlay-blur: 12px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px rgba(22, 15, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(22, 15, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(22, 15, 0, 0.15);
}

/* ====================================
   HEADER ADAPTÉ POUR PAGE PRODUITS
   ==================================== */

/* Header avec background adapté au scroll sur page sombre */
.products-page header {
    background: rgba(255, 226, 184, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 167, 106, 0.2);
    box-shadow: 0 4px 20px rgba(22, 15, 0, 0.1);
}

.products-page header:hover {
    background: rgba(255, 226, 184, 0.98);
}

/* Navigation adaptée */
.products-page nav a {
    color: var(--couleur-secondaire);
    font-weight: 600;
}

.products-page nav a:hover {
    color: var(--couleur-accent);
    transform: translateY(-1px);
}

.products-page nav a::after {
    background: var(--couleur-accent);
    height: 3px;
}

.products-page nav a:hover::after,
.products-page nav a.active::after {
    background: var(--couleur-accent);
    box-shadow: 0 2px 8px rgba(212, 167, 106, 0.4);
}

/* Icône panier adaptée */
.products-page .panier-icon {
    color: var(--couleur-secondaire);
    transition: var(--transition-medium);
}

.products-page .panier-link:hover .panier-icon {
    color: var(--couleur-accent);
    transform: scale(1.1) rotate(5deg);
}

.products-page .panier-count {
    background: var(--couleur-accent);
    color: white;
    box-shadow: 0 2px 8px rgba(212, 167, 106, 0.3);
}

/* Logo avec effet sur cette page */
.products-page .logo img:hover {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.1);
}

/* Menu mobile adapté */
@media (max-width: 768px) {
    .products-page .mobile-menu-toggle .bar {
        background-color: var(--couleur-secondaire);
    }
    
    .products-page .main-nav {
        background: rgba(255, 226, 184, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(212, 167, 106, 0.2);
    }
    
    .products-page nav ul li a {
        color: var(--couleur-secondaire);
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(212, 167, 106, 0.1);
    }
    
    .products-page nav ul li a:hover {
        background: rgba(212, 167, 106, 0.1);
        color: var(--couleur-accent);
    }
}

/* ====================================
   SECTION SHOWCASE PRODUITS
   ==================================== */

.products-showcase-section {
    padding: 6rem 0;
    background: none !important;
}

.products-showcase-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Filtres */
.products-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-soft);
}

.results-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--couleur-secondaire);
}

.filters-right {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(212, 167, 106, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--couleur-secondaire);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--couleur-accent);
    color: white;
    border-color: var(--couleur-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ====================================
   GRILLE DES PRODUITS
   ==================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--products-grid-gap);
    margin-bottom: 4rem;
}

.product-card {
    background: linear-gradient(145deg, rgba(255, 248, 238, 0.95), rgba(255, 242, 220, 0.98));
    backdrop-filter: blur(15px);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(212, 167, 106, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(212, 167, 106, 0.08), rgba(255, 226, 184, 0.12));
    opacity: 0;
    transition: var(--transition-medium);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 167, 106, 0.4);
}

.product-card:hover::before {
    opacity: 1;
}

/* Badge de statut */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
}

.badge-popular,
.badge-new {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-popular {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
}

/* Container d'image avec overlay - Optimisé pour images carrées 1:1 */
.product-image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--couleur-fond), #F0E6D2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--couleur-accent);
    font-size: 1rem;
    gap: 0.5rem;
    border: 2px dashed rgba(212, 167, 106, 0.3);
}

.product-image-placeholder i {
    font-size: 2.5rem;
    opacity: 0.6;
}

.product-image-placeholder span {
    font-weight: 600;
    opacity: 0.8;
}

/* Overlay interactif */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 15, 0, 0.8), rgba(212, 167, 106, 0.8));
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.btn-view-details,
.btn-quick-add {
    background: rgba(255, 255, 255, 0.95);
    color: var(--couleur-secondaire);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.btn-view-details:hover,
.btn-quick-add:hover {
    background: white;
    transform: scale(1.05);
}

.btn-quick-add.success {
    background: #4ECDC4;
    color: white;
}

/* ====================================
   CONTENU DES CARTES - DESIGN ÉPURÉ ET ÉLÉGANT
   ==================================== */

.product-content {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 248, 238, 0.6));
    position: relative;
}

.product-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 167, 106, 0.03));
    pointer-events: none;
}

.product-header {
    display: block;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--couleur-secondaire);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.product-category {
    background: linear-gradient(135deg, rgba(212, 167, 106, 0.15), rgba(255, 226, 184, 0.2));
    color: var(--couleur-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(212, 167, 106, 0.2);
}

.product-description {
    color: #6B5A4A;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Prix simple et élégant */
.product-footer {
    position: relative;
    z-index: 1;
}

.price-container {
    /* Container simple sans style particulier */
}

.current-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--couleur-secondaire);
    display: inline-block;
    margin-right: 0.8rem;
}

.old-price {
    font-size: 1rem;
    color: #B8A690;
    text-decoration: line-through;
    opacity: 0.7;
    display: inline-block;
}

/* ====================================
   CTA SECTION
   ==================================== */

.products-cta-section {
    background: linear-gradient(135deg, var(--couleur-accent), #E5BF8F);
    padding: 4rem;
    border-radius: var(--card-border-radius);
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.products-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-cta-custom {
    background: white;
    color: var(--couleur-accent);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-medium);
}

.btn-cta-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

/* ====================================
   EMPTY STATE
   ==================================== */

.products-empty-state {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--couleur-accent);
    margin-bottom: 2rem;
}

.products-empty-state h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--couleur-secondaire);
    margin-bottom: 1rem;
}

.products-empty-state p {
    color: #7A6B5D;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}



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

@media (max-width: 1200px) {
    .products-hero-content h1 {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .products-hero-visual {
        height: 400px;
    }
    
    .products-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .products-filters {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    
    .filters-right {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-hero-section {
        padding: 3rem 0 4rem;
    }
    
    .products-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .products-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .products-cta-section {
        padding: 3rem 2rem;
        margin: 3rem 0;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .trust-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .products-showcase-container {
        padding: 0 3%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .price-container {
        padding: 0.8rem 1.5rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .filters-right {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}

/* ====================================
   PRODUCTS MODERN - OPTIMISATION CONVERSION
   ==================================== */

/* Variables pour optimisation conversion */
:root {
    /* Variables héritées du style principal */
    --couleur-principale: #FFE2B8;
    --couleur-secondaire: #160F00;
    --couleur-fond: #FFF8EE;
    --couleur-accent: #D4A76A;
    
    /* Variables spécifiques conversion optimisée */
    --conversion-primary-color: #2ECC71;
    --conversion-warning-color: #E74C3C;
    --conversion-urgency-color: #F39C12;
    --conversion-trust-color: #3498DB;
    --conversion-success-color: #27AE60;
    
    --shadow-card: 0 4px 20px rgba(22, 15, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(22, 15, 0, 0.15);  
    --shadow-focus: 0 0 0 3px rgba(212, 167, 106, 0.3);
    
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Styles spécifiques page produits pour header */
.products-page header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 167, 106, 0.2);
    box-shadow: 0 2px 20px rgba(22, 15, 0, 0.05) !important;
}

.products-page .navbar .nav-link {
    color: var(--couleur-secondaire) !important;
    transition: all var(--transition-smooth);
}

.products-page .navbar .nav-link:hover {
    color: var(--couleur-accent) !important;
    text-shadow: 0 2px 4px rgba(212, 167, 106, 0.3);
}

.products-page .cart-icon i {
    color: var(--couleur-secondaire);
    transition: all var(--transition-smooth);
}

.products-page .cart-icon:hover i {
    color: var(--couleur-accent);
    transform: rotate(12deg) scale(1.1);
}

/* Section principale optimisée */
.products-showcase-section {
    background: none !important;
    padding: 4rem 0 6rem;
    position: relative;
}

.products-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header section avec social proof */
.products-header {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--couleur-principale);
}

.products-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--couleur-principale);
}

.products-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--couleur-accent);
    font-size: 1.1rem;
}

/* Grille optimisée pour conversion - 4 colonnes */
.products-grid-optimized {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Cartes de produits optimisées pour conversion */
.product-card-optimized {
    background: linear-gradient(135deg, #FFF8EE 0%, #F5E6D3 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
    position: relative;
    border: 1px solid rgba(212, 167, 106, 0.1);
}

.product-card-optimized:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Badges de valeur stratégiques */
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.badge-bestseller {
    background: linear-gradient(45deg, #F39C12, #E67E22);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.badge-limited {
    background: linear-gradient(45deg, #E74C3C, #C0392B);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

.badge-eco {
    background: linear-gradient(45deg, #2ECC71, #27AE60);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.badge-new {
    background: linear-gradient(45deg, #9B59B6, #8E44AD);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

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

/* Zone image optimisée */
.product-image-zone {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFFFF, #F8F9FA);
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.product-card-optimized:hover .product-main-image {
    transform: scale(1.05);
}

.product-image-placeholder-optimized {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F9FA, #E9ECEF);
    border: 2px dashed var(--couleur-accent);
    color: var(--couleur-accent);
}

.product-image-placeholder-optimized i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Indicateurs de galerie */
.image-gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-smooth);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Bouton vue rapide */
.btn-quick-view {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    opacity: 0;
}

.product-card-optimized:hover .btn-quick-view {
    opacity: 1;
}

.btn-quick-view:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ====================================
   SLIDER ARROWS & NAVIGATION
   ==================================== */

.image-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
}

.product-image-zone:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-arrow-prev {
    left: 15px;
}

.slider-arrow-next {
    right: 15px;
}

.slider-arrow:hover {
    background: rgba(212, 167, 106, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 167, 106, 0.3);
}

.slider-arrow i {
    font-size: 16px;
    color: var(--couleur-secondaire);
    transition: color 0.3s ease;
}

.slider-arrow:hover i {
    color: white;
}

/* Indicateur de position */
.slider-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-image-zone:hover .slider-counter {
    opacity: 1;
}

/* Amélioration des points existants */
.dot-more {
    background: rgba(212, 167, 106, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Contenu optimisé pour conversion - COMPACT */
.product-info-optimized {
    padding: 1rem 1rem 0.8rem 1rem;
}

/* Titre et rating */
.product-title-section {
    margin-bottom: 0.5rem;
}

.product-name-optimized {
    font-size: 1rem;
    font-weight: 600;
    color: var(--couleur-secondaire);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.1rem;
}

.stars i {
    color: #ddd;
    font-size: 0.9rem;
}

.stars i.filled {
    color: #F39C12;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--couleur-accent);
    font-weight: 500;
}

/* Prix proéminent - COMPACT */
.price-section-optimized {
    margin-bottom: 0.8rem;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price-optimized {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--couleur-secondaire);
}

.old-price-optimized {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: var(--conversion-warning-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}



/* Indicateur de stock */
.stock-indicator {
    margin-bottom: 1.2rem;
}

.stock-low {
    color: var(--conversion-warning-color);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stock-available {
    color: var(--conversion-primary-color);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stock-many {
    color: var(--couleur-accent);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stock-available {
    color: var(--conversion-primary-color);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stock-out_of_stock {
    color: var(--conversion-warning-color);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Boutons d'action stratégiques - COMPACT */
.product-actions-optimized {
    margin-bottom: 0;
}

.btn-add-to-cart-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--couleur-accent), #E5BF8F);
    color: var(--couleur-secondaire);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 167, 106, 0.4);
}

.btn-add-to-cart-primary:active {
    transform: translateY(0);
}

.btn-add-to-cart-primary.loading {
    background: #95A5A6;
    cursor: not-allowed;
}

.btn-add-to-cart-primary.success {
    background: var(--conversion-success-color);
    animation: success-bounce 0.6s ease;
}

.btn-add-to-cart-primary.disabled {
    background: #95A5A6;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-add-to-cart-primary.disabled:hover {
    transform: none;
    box-shadow: none;
}

@keyframes success-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.secondary-actions {
    margin-top: 0.8rem;
}

.btn-details-secondary {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid var(--couleur-accent);
    background: transparent;
    color: var(--couleur-accent);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-smooth);
    font-size: 0.9rem;
    display: block;
}

.btn-details-secondary:hover {
    background: var(--couleur-accent);
    color: white;
    text-decoration: none;
}



/* Section de réassurance finale */
.conversion-boosters {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(212, 167, 106, 0.2);
}

.booster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.booster-item {
    text-align: center;
    color: var(--couleur-principale);
}

.booster-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--couleur-accent), #C8956D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.booster-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.booster-item p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* État vide optimisé */
.products-empty-state-optimized {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--couleur-principale);
}

.empty-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--couleur-accent), #C8956D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
}

.products-empty-state-optimized h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--conversion-primary-color), #229954);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    margin: 2rem 0 1rem;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
    text-decoration: none;
    color: white;
}

.empty-cta-sub {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Animations du panier */
.cart-count.bounce {
    animation: bounce-cart 0.6s ease;
}

@keyframes bounce-cart {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
}

/* Gestion des textes desktop/mobile pour les boutons */
.btn-text-desktop {
    display: inline;
}

.btn-text-mobile-short {
    display: none;
}

/* RESPONSIVE DESIGN OPTIMISÉ */

/* Tablettes - 3 colonnes */
@media (max-width: 1024px) {
    .products-grid-optimized {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .booster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
    
    .products-title {
        font-size: 2.2rem;
    }
}

/* Mobiles - 2 colonnes */
@media (max-width: 768px) {
    .products-showcase-container {
        padding: 0 1rem;
    }
    
    .products-grid-optimized {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .products-header {
        margin-bottom: 2.5rem;
    }
    
    .products-title {
        font-size: 1.8rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .booster-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Optimisation du contenu des cartes pour réduire la hauteur */
    .product-info-optimized {
        padding: 0.8rem 0.8rem 0.6rem 0.8rem;
    }
    
    .product-title-section {
        margin-bottom: 0.3rem;
    }
    
    .product-name-optimized {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 0;
    }
    
    .price-section-optimized {
        margin-bottom: 0.4rem;
    }
    
    .current-price-optimized {
        font-size: 1.3rem;
    }
    
    .stock-indicator {
        margin-bottom: 0.5rem;
    }
    
    .product-actions-optimized {
        gap: 0.4rem;
    }
    
    .btn-add-to-cart-primary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-details-secondary {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    /* Raccourcir le texte des boutons sur mobile */
    .btn-text-mobile-short {
        display: none;
    }
    
    .btn-text-desktop {
        display: inline;
    }

}

/* Très petits écrans - maintenir 2 colonnes avec optimisations */
@media (max-width: 480px) {
    .products-showcase-section {
        padding: 2rem 0 3rem;
    }
    
    .products-showcase-container {
        padding: 0 0.5rem;
    }
    
    .products-grid-optimized {
        gap: 0.8rem;
    }
    
    .product-info-optimized {
        padding: 0.6rem 0.6rem 0.4rem 0.6rem;
    }
    
    .products-title {
        font-size: 1.5rem;
    }
    
    .product-title-section {
        margin-bottom: 0.2rem;
    }
    
    .product-name-optimized {
        font-size: 0.85rem;
        line-height: 1.1;
        margin-bottom: 0;
    }
    
    .price-section-optimized {
        margin-bottom: 0.3rem;
    }
    
    .current-price-optimized {
        font-size: 1.1rem;
    }
    
    .stock-indicator {
        margin-bottom: 0.3rem;
    }
    
    .product-actions-optimized {
        gap: 0.3rem;
    }
    
    .btn-add-to-cart-primary {
        padding: 0.5rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .btn-details-secondary {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }
    
    /* Texte encore plus court sur très petits écrans */
    .btn-text-desktop {
        display: none;
    }
    
    .btn-text-mobile-short {
        display: inline;
    }
    
    /* Réduire la taille des badges sur très petits écrans */
    .product-badges span {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    /* Optimiser les icônes dans les boutons */
    .slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .btn-quick-view {
        width: 32px;
        height: 32px;
    }
}

/* ====================================
   STYLE CLEAN MODERNE
   ==================================== */

/* Titre de page lisible */
.products-title {
    color: var(--couleur-secondaire) !important;
}

/* Description visible partout - COMPACT */
.product-description-clean {
    font-size: 0.85rem;
    color: #757575;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    display: block;
}

/* Ajustements des cards - garder le background */
.product-card-optimized:hover {
    transform: translateY(-6px);
}

/* Image avec fond gris clair */
.product-image-zone {
    border-radius: 16px 16px 0 0;
    background: #f5f5f5;
}

/* Contenu avec padding ajusté - COMPACT */
.product-info-optimized {
    padding: 1rem 1rem 0.8rem 1rem;
}

/* Titre plus compact */
.product-title-section {
    margin-bottom: 0.5rem;
}

.product-name-optimized {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Prix simple et visible */
.current-price-optimized {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--couleur-secondaire);
}

/* Actions visibles avec bouton - COMPACT */
.product-actions-optimized {
    margin-top: 0.5rem;
}

/* Cacher le stock indicator */
.stock-indicator {
    display: none !important;
}

/* Cacher le bouton zoom rapide */
.btn-quick-view {
    display: none !important;
}

/* Badges de réassurance lisibles */
.booster-item {
    color: var(--couleur-secondaire) !important;
}

.booster-item h4 {
    color: var(--couleur-secondaire) !important;
}

.booster-item p {
    color: #666 !important;
    opacity: 1 !important;
}

/* Cacher la description mobile (remplacée par clean) */
.product-description-mobile {
    display: none;
}

/* Forcer le footer en bas */
.products-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.products-page main {
    flex: 1;
}

@media (max-width: 768px) {
    /* Padding réduit sur mobile */
    .products-showcase-section {
        background: none !important;
        padding: 2rem 0 3rem;
    }

    /* Texte noir sur fond blanc */
    .products-header {
        color: var(--couleur-secondaire);
    }

    .products-title {
        color: var(--couleur-secondaire);
    }

    /* Supprimer tous les effets de card */
    .product-card-optimized {
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .product-card-optimized::before {
        display: none;
    }

    .product-card-optimized:hover {
        transform: none;
        box-shadow: none;
    }

    /* Image carrée avec arrondi simple */
    .product-image-zone {
        border-radius: 16px;
        background: #f5f5f5;
    }

    /* Contenu sans background */
    .product-info-optimized {
        background: transparent;
        padding: 0.8rem 0.2rem 1rem 0.2rem;
    }

    /* Titre simple */
    .product-name-optimized {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 0.3rem;
        color: var(--couleur-secondaire);
    }

    /* Description visible */
    .product-description-mobile {
        font-size: 0.8rem;
        color: #757575;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        display: block;
    }

    /* Prix simple */
    .price-section-optimized {
        margin-bottom: 0.5rem;
    }

    .current-price-optimized {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--couleur-secondaire);
    }

    /* Badges repositionnés */
    .product-badges {
        top: 0.5rem;
        left: 0.5rem;
    }

    .product-badges span {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 4px;
    }

    /* Supprimer les actions par défaut sur mobile */
    .product-actions-optimized {
        display: none;
    }

    /* Désactiver les hover effects sur mobile */
    .product-card-optimized:hover .product-main-image {
        transform: none;
    }

    .btn-quick-view {
        display: none;
    }

    .slider-arrow {
        display: none;
    }

    /* Grid optimisée bord à bord */
    .products-grid-optimized {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 0.8rem;
    }

    .products-showcase-container {
        padding: 0 0.8rem;
    }

    /* Supprimer les indicateurs de stock sur mobile */
    .stock-indicator {
        display: none;
    }

    /* Masquer la section de réassurance sur mobile */
    .conversion-boosters {
        display: none;
    }
}

/* Très petits écrans - style Nike ultra compact */
@media (max-width: 480px) {
    .products-grid-optimized {
        gap: 0.4rem 0.6rem;
    }

    .products-showcase-container {
        padding: 0 0.6rem;
    }

    .product-name-optimized {
        font-size: 0.85rem;
    }

    .product-description-mobile {
        font-size: 0.75rem;
    }

    .current-price-optimized {
        font-size: 1rem;
    }

    .product-image-zone {
        border-radius: 12px;
    }
}