/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================ */
/* HERO SLIDER                                 */
/* ============================================ */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #1a1a1a;
}

.hero-slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: white;
    max-width: 60%;
}

.hero-slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-slide-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-slide[style*="background-image: url('')"],
.hero-slide[style*="background-image: url()"],
.hero-slide[style*="background-image: none"] {
    display: none !important;
}

/* ==================== CATÉGORIES ==================== */
.products { 
    margin-top: 40px;
    width: 100%;
}

.product-grid { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-item { 
    position: relative; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease; 
    display: block;
    text-decoration: none;
    width: 100%;
}

.product-item img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px; 
    transition: transform 0.3s ease; 
}

.product-item:hover img { 
    transform: scale(1.05); 
}

.product-item .overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(0, 0, 0, 0.5); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    border-radius: 8px; 
}

.product-item:hover .overlay { 
    opacity: 1; 
}

.product-item .category-name { 
    color: #fff; 
    font-size: 16px; 
    font-weight: 600; 
    text-align: center; 
    text-transform: uppercase; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); 
    padding: 0 10px; 
}

/* ==================== CATÉGORIES SLIDER ==================== */
.categories-slider-wrapper {
    position: relative;
    margin: 20px 0;
}

.categories-slider-container {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.categories-slider-container:active {
    cursor: grabbing;
}

.categories-track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.category-slide-item {
    flex: 0 0 auto;
    width: calc(25% - 15px);
    min-width: 180px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.category-slide-item:hover {
    transform: translateY(-5px);
}

.category-slide-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.category-slide-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.category-slide-item:hover .overlay {
    opacity: 1;
}

.category-slide-item .category-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    padding: 0 10px;
}

/* Flèches de navigation catégories */
.categories-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(46,125,50,0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.categories-nav.prev {
    left: -15px;
}

.categories-nav.next {
    right: -15px;
}

.categories-nav:hover {
    background: #1b5e20;
    transform: translateY(-50%) scale(1.05);
}

/* Dots catégories */
.categories-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.categories-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.categories-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #2e7d32;
}

/* ============================================ */
/* ÉCLAIRAGE & RÉCHAUD - STYLE NOS PRODUITS    */
/* ============================================ */

.eclairage-rechaud-section {
    margin: 40px 0;
    padding: 20px 0;
    width: 100%;
}

.eclairage-rechaud-section .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.eclairage-rechaud-section .section-title .er-title-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3c1d;
}

.eclairage-rechaud-section .section-title i {
    font-size: 1.5rem;
}

.eclairage-rechaud-section .section-title i.fa-lightbulb {
    color: #f5a623;
}

.eclairage-rechaud-section .section-title i.fa-fire {
    color: #e74c3c;
}

/* === SOUS-TITRES (Éclairage / Réchauds) === */
.er-subtitle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.er-subtitle-wrapper .er-subtitle-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3c1d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.er-subtitle-wrapper .er-subtitle-icon {
    font-size: 1.2rem;
}

.er-subtitle-wrapper .er-subtitle-icon.light-icon {
    color: #f5a623;
}

.er-subtitle-wrapper .er-subtitle-icon.fire-icon {
    color: #e74c3c;
}

.er-subtitle-wrapper .er-subtitle-count {
    font-size: 0.75rem;
    color: #999;
    background: #f0f0f0;
    padding: 2px 14px;
    border-radius: 20px;
    font-weight: 500;
}

/* === SLIDER CONTAINER === */
.er-slider-container {
    position: relative;
    margin: 0 0 30px 0;
    overflow: visible;
}

/* === WRAPPER DU SLIDER - GRILLE 4 COLONNES === */
.er-slider-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    padding: 5px 0;
}

/* === ÉLÉMENTS DU SLIDER === */
.er-slide-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.er-slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.er-slide-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 5px;
    display: block;
}

/* === INFORMATIONS PRODUIT === */
.er-slide-item .er-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.er-slide-item .er-product-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a3c1d;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    line-height: 1.4;
}

/* === PRIX === */
.er-slide-item .er-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 5px 0 10px 0;
}

.er-slide-item .er-old-price {
    text-decoration: line-through;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 700;
}

.er-slide-item .er-product-price span:not(.er-old-price) {
    color: #ff6b00;
    font-weight: 700;
    font-size: 1rem;
}

/* === BOUTON AJOUTER === */
.er-slide-item .er-add-btn {
    width: 100%;
    padding: 8px;
    background: #1a3c1d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.er-slide-item .er-add-btn:hover {
    background: #2e7d32;
}

.er-slide-item .er-add-btn:active {
    transform: scale(0.98);
}

.er-slide-item .er-add-btn i {
    font-size: 0.8rem;
}

/* === SÉPARATEUR === */
.er-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
    border: none;
}

/* === BOUTONS DE NAVIGATION (cachés car on utilise la grille) === */
.er-nav-btn {
    display: none !important;
}

/* ==================== BEST-SELLERS (CHOIX DU MOMENT) ==================== */
.best-sellers {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.best-sellers-header {
    background: #d32f2f;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.best-sellers-header .title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.best-sellers-header .title i {
    color: #ffb300;
    font-size: 1.1rem;
}

.best-sellers-header .delivery-info {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}

.best-sellers-header .delivery-info i {
    color: #ffb300;
    font-size: 1rem;
}

.best-sellers-title {
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.best-sellers-title i {
    color: #000;
    font-size: 1.1rem;
}

.best-sellers-slider {
    position: relative;
    height: 350px;
    overflow: hidden;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    touch-action: pan-y pinch-zoom;
}

.best-sellers-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 15px;
}

.best-sellers-slide-item {
    flex: 0 0 25%;
    text-align: center;
    padding: 0 10px;
    transition: transform 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.best-sellers-slide-item:hover {
    transform: translateY(-4px);
}

.best-sellers-slide-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.best-sellers-slide-item:hover img {
    transform: scale(1.03);
}

.best-sellers-slide-item .product-info {
    padding: 10px 0;
    background: transparent;
}

.best-sellers-slide-item .price-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.best-sellers-slide-item .product-name {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.best-sellers-slide-item .price {
    font-size: 1rem;
    color: #2e7d32;
    font-weight: 700;
}

.best-sellers-slide-item .stars {
    color: #000;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ==================== JSON PRODUCTS (NOS PRODUITS) ==================== */
.json-products-section {
    margin: 40px 0;
    padding: 20px 0;
    width: 100%;
}

.json-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.json-products-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3c1d;
}

.json-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.json-products-grid-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.json-products-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.json-products-grid-item .image-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.json-products-grid-item .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
    padding: 5px;
}

.json-products-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.json-products-product-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a3c1d;
    margin-bottom: 5px;
}

.json-products-product-desc {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    flex: 1;
    display: block;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
}

.json-products-price {
    font-weight: 700;
    color: #ff6b00;
    font-size: 1rem;
}

.json-products-price-box {
    margin: 5px 0 10px 0;
}

.json-products-add-btn {
    width: 100%;
    padding: 8px;
    background: #1a3c1d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
    margin-top: 10px;
}

.json-products-add-btn:hover {
    background: #2e7d32;
}

.json-products-grid-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.json-products-grid-item-link:hover {
    transform: translateY(-3px);
}

.json-products-grid-item-link .json-products-add-btn {
    pointer-events: auto;
}

/* ==================== BOUTON AJOUTER PANIER GLOBAL ==================== */
.add-to-cart-btn {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #1b5e20, #0d3b0f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46,125,50,0.3);
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

.add-to-cart-btn i {
    font-size: 0.7rem;
}

/* ==================== FACEBOOK FRAME ==================== */
.facebook-frame {
    position: fixed; 
    right: -30px; 
    top: 40%; 
    transform: translateY(-50%) rotate(-90deg);
    background: #4267B2; 
    color: #fff; 
    padding: 10px 20px; 
    border-radius: 5px 5px 0 0;
    border: none; 
    border-bottom: 2px solid #fff; 
    text-decoration: none; 
    font-weight: 500;
    font-size: 14px; 
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: all 0.3s ease;
    z-index: 999;
}

.facebook-frame:hover { 
    background: #365899; 
    right: -28px; 
}

/* ==================== NOTIFICATION PANIER (POPUP) ==================== */
.cart-popup-notification {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2e7d32;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    width: auto;
    white-space: nowrap;
}

.cart-popup-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cart-popup-notification i {
    font-size: 20px;
}

.cart-popup-message {
    font-size: 14px;
    font-weight: 500;
}

.cart-popup-btn {
    background: white;
    color: #2e7d32;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.cart-popup-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.cart-popup-btn:active {
    transform: scale(0.95);
}

.cart-popup-close {
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    transition: color 0.2s;
    margin-left: 5px;
    padding: 5px;
    -webkit-tap-highlight-color: transparent;
}

.cart-popup-close:hover {
    color: white;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    85% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); display: none; }
}

/* ==================== PRIX PROMO ROUGE ==================== */
.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Prix original barré - ROUGE GRAS */
.old-price {
    text-decoration: line-through;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Nouveau prix - ROUGE GRAS */
.new-price {
    color: #dc2626;
    font-size: 1rem;
    font-weight: 800;
}

/* Prix normal (sans promo) - NOIR */
.normal-price {
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
}

/* ==================== BEST SELLERS PRIX ==================== */
.best-sellers-slide-item .price-container {
    justify-content: center;
}

.best-sellers-slide-item .old-price {
    font-size: 0.8rem;
    color: #dc2626;
}

.best-sellers-slide-item .new-price {
    font-size: 1rem;
    color: #dc2626;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */

/* Tablette */
@media (max-width: 991px) {
    .hero-slider-container {
        height: 400px;
        border-radius: 10px;
    }
    
    .hero-slide-content {
        bottom: 30px;
        left: 30px;
        max-width: 70%;
    }
    
    .hero-slide-content h2 {
        font-size: 2rem;
    }
    
    .hero-slide-content p {
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .best-sellers-slide-item {
        flex: 0 0 50%;
    }
    
    .best-sellers-slider {
        height: 320px;
    }
    
    .json-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .category-slide-item {
        width: calc(33.33% - 14px);
        min-width: 160px;
    }
    .category-slide-item img {
        height: 160px;
    }
    
    /* ÉCLAIRAGE & RÉCHAUD - Tablette (3 colonnes) */
    .er-slider-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .er-slide-item img {
        height: 200px;
    }
    
    .er-slide-item .er-product-name {
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .eclairage-rechaud-section .section-title .er-title-text {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-slider-container {
        height: 320px;
        border-radius: 8px;
    }
    
    .hero-slide-content {
        bottom: 20px;
        left: 20px;
        max-width: 80%;
    }
    
    .hero-slide-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-slide-content p {
        font-size: 0.9rem;
    }
    
    .products {
        margin-top: 25px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-item img {
        height: 120px;
    }
    
    .product-item .category-name {
        font-size: 13px;
    }
    
    .best-sellers {
        margin-top: 30px;
    }
    
    .best-sellers-header {
        padding: 8px 10px;
        font-size: 0.65rem;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .best-sellers-header .title {
        font-size: 0.8rem;
    }
    
    .best-sellers-header .title i {
        font-size: 0.8rem;
    }
    
    .best-sellers-header .delivery-info {
        font-size: 0.6rem;
    }
    
    .best-sellers-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .best-sellers-title i {
        font-size: 0.8rem;
    }
    
    .best-sellers-slider {
        height: auto;
        padding: 0 5px 10px 5px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        touch-action: pan-x pinch-zoom;
        cursor: grab;
        white-space: nowrap;
        display: flex;
    }
    
    .best-sellers-slider:active {
        cursor: grabbing;
    }
    
    .best-sellers-slide {
        display: inline-flex;
        width: auto;
        height: auto;
        transition: none;
        gap: 10px;
        white-space: nowrap;
    }
    
    .best-sellers-slide-item {
        flex: 0 0 auto;
        width: 48%;
        max-width: 200px;
        scroll-snap-align: start;
        padding: 0 0 10px 0;
        display: inline-block;
        white-space: normal;
    }
    
    .best-sellers-slide-item img {
        height: 140px;
        width: 100%;
    }
    
    .best-sellers-slide-item .product-name {
        font-size: 0.75rem;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }
    
    .best-sellers-slide-item .price {
        font-size: 0.8rem;
    }
    
    .best-sellers-slide-item .stars {
        font-size: 0.7rem;
    }
    
    .json-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .json-products-grid-item .image-wrapper {
        padding-bottom: 100%;
    }
    
    .json-products-grid-item .image-wrapper img {
        padding: 3px;
    }
    
    .json-products-product-info {
        padding: 10px 8px;
    }
    
    .json-products-product-name {
        font-size: 0.75rem;
        min-height: 35px;
    }
    
    .json-products-product-desc {
        font-size: 0.65rem;
        display: block;
        overflow: visible;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.4;
    }
    
    .json-products-price {
        font-size: 0.8rem;
    }
    
    .json-products-add-btn {
        font-size: 0.65rem;
        padding: 6px 8px;
    }
    
    .category-slide-item {
        width: calc(50% - 10px);
        min-width: 140px;
    }
    .category-slide-item img {
        height: 130px;
    }
    .categories-nav {
        width: 32px;
        height: 32px;
    }
    .categories-nav.prev {
        left: -8px;
    }
    .categories-nav.next {
        right: -8px;
    }
    
    /* ÉCLAIRAGE & RÉCHAUD - Mobile (2 colonnes) */
    .eclairage-rechaud-section {
        margin: 30px 0;
        padding: 15px 0;
    }
    
    .er-slider-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 5px 0;
    }
    
    .er-slide-item img {
        height: 160px;
    }
    
    .er-slide-item .er-product-info {
        padding: 10px;
    }
    
    .er-slide-item .er-product-name {
        font-size: 0.75rem;
        min-height: 34px;
        -webkit-line-clamp: 2;
    }
    
    .er-slide-item .er-product-price span:not(.er-old-price) {
        font-size: 0.85rem;
    }
    
    .er-slide-item .er-old-price {
        font-size: 0.7rem;
    }
    
    .er-slide-item .er-add-btn {
        font-size: 0.65rem;
        padding: 6px 8px;
    }
    
    .er-slide-item .er-add-btn i {
        font-size: 0.6rem;
    }
    
    .eclairage-rechaud-section .section-title {
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .eclairage-rechaud-section .section-title .er-title-text {
        font-size: 1.2rem;
    }
    
    .eclairage-rechaud-section .section-title i {
        font-size: 1rem;
    }
    
    .er-subtitle-wrapper {
        padding: 0 5px;
        margin-bottom: 12px;
    }
    
    .er-subtitle-wrapper .er-subtitle-text {
        font-size: 1rem;
        gap: 8px;
    }
    
    .er-subtitle-wrapper .er-subtitle-icon {
        font-size: 1rem;
    }
    
    .er-subtitle-wrapper .er-subtitle-count {
        font-size: 0.65rem;
        padding: 1px 10px;
    }
    
    .er-divider {
        margin: 20px 0;
    }
    
    .facebook-frame {
        right: -35px;
        padding: 6px 15px;
        font-size: 11px;
    }
    
    .facebook-frame i {
        font-size: 12px;
    }
    
    .cart-popup-notification {
        bottom: 80px;
        padding: 12px 18px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        text-align: center;
        border-radius: 40px;
    }
    
    .cart-popup-notification i {
        font-size: 18px;
    }
    
    .cart-popup-message {
        font-size: 12px;
    }
    
    .cart-popup-btn {
        padding: 6px 15px;
        font-size: 11px;
    }
    
    .cart-popup-close {
        font-size: 16px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-slider-container {
        height: 250px;
        border-radius: 6px;
    }
    
    .hero-slide-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-slide-content p {
        font-size: 0.8rem;
    }
    
    .product-item img {
        height: 100px;
    }
    
    .product-item .category-name {
        font-size: 11px;
    }
    
    .best-sellers-slide-item {
        width: 45%;
        max-width: 180px;
    }
    
    .best-sellers-slide-item img {
        height: 120px;
    }
    
    .best-sellers-slide-item .product-name {
        font-size: 0.7rem;
    }
    
    .best-sellers-slide-item .price {
        font-size: 0.75rem;
    }
    
    .json-products-grid {
        gap: 10px;
    }
    
    .json-products-grid-item .image-wrapper img {
        padding: 2px;
    }
    
    .json-products-product-name {
        font-size: 0.7rem;
        min-height: 30px;
    }
    
    .json-products-product-desc {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    .json-products-price {
        font-size: 0.75rem;
    }
    
    .json-products-add-btn {
        font-size: 0.6rem;
        padding: 5px 6px;
    }
    
    .category-slide-item {
        width: calc(50% - 8px);
        min-width: 130px;
    }
    .category-slide-item img {
        height: 110px;
    }
    
    /* ÉCLAIRAGE & RÉCHAUD - Petit mobile (2 colonnes) */
    .er-slider-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .er-slide-item img {
        height: 140px;
    }
    
    .er-slide-item .er-product-info {
        padding: 8px;
    }
    
    .er-slide-item .er-product-name {
        font-size: 0.7rem;
        min-height: 28px;
    }
    
    .er-slide-item .er-product-price span:not(.er-old-price) {
        font-size: 0.75rem;
    }
    
    .er-slide-item .er-old-price {
        font-size: 0.6rem;
    }
    
    .er-slide-item .er-add-btn {
        font-size: 0.55rem;
        padding: 5px 6px;
        gap: 4px;
    }
    
    .er-slide-item .er-add-btn i {
        font-size: 0.5rem;
    }
    
    .eclairage-rechaud-section .section-title .er-title-text {
        font-size: 1rem;
    }
    
    .er-subtitle-wrapper .er-subtitle-text {
        font-size: 0.85rem;
    }
    
    .cart-popup-notification {
        bottom: 70px;
        padding: 10px 15px;
    }
    
    .cart-popup-message {
        font-size: 11px;
    }
    
    .cart-popup-btn {
        padding: 5px 12px;
        font-size: 10px;
    }
}

/* Très petit mobile */
@media (max-width: 360px) {
    .hero-slider-container {
        height: 200px;
    }
    
    .product-item img {
        height: 90px;
    }
    
    .best-sellers-slide-item img {
        height: 105px;
    }
    
    .add-to-cart-btn {
        padding: 5px 8px;
        font-size: 0.6rem;
    }
    
    /* ÉCLAIRAGE & RÉCHAUD - Très petit mobile (2 colonnes) */
    .er-slider-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .er-slide-item img {
        height: 120px;
    }
    
    .er-slide-item .er-product-name {
        font-size: 0.6rem;
        min-height: 24px;
    }
}

/* ==================== AMÉLIORATIONS TACTILES MOBILE ==================== */
@media (hover: none) and (pointer: coarse) {
    .hero-left-btn:hover,
    .block-btn:hover,
    .promo-btn:hover,
    .split-btn:hover,
    .add-to-cart-btn:hover,
    .popular-add-icon:hover,
    .zara-bag-icon:hover,
    .zara-bag-icon-reverse:hover,
    .cart-popup-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .add-to-cart-btn:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, #1b5e20, #0d3b0f);
    }
    
    .cart-popup-btn:active {
        transform: scale(0.95);
        background: #e0e0e0;
    }
    
    .product-item,
    .best-sellers-slide-item,
    .category-slide-item,
    .json-products-grid-item,
    .er-slide-item,
    button,
    [onclick] {
        -webkit-tap-highlight-color: rgba(46, 125, 50, 0.2);
        cursor: pointer;
    }
    
    .popular-add-icon,
    .cart-popup-close {
        padding: 8px;
        margin: -8px;
    }
    
    .add-to-cart-btn {
        padding: 10px 15px;
    }
    
    /* ÉCLAIRAGE & RÉCHAUD - Tactile */
    .er-slide-item:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .er-slide-item:active {
        transform: scale(0.97);
    }
    
    .er-slide-item .er-add-btn:hover {
        background: #1a3c1d;
    }
    
    .er-slide-item .er-add-btn:active {
        background: #2e7d32;
        transform: scale(0.98);
    }
}

/* ============================================ */
/* SUPPORT DARK MODE                            */
/* ============================================ */

@media (prefers-color-scheme: dark) {
    .eclairage-rechaud-section .section-title .er-title-text {
        color: #4caf50;
    }
    
    .er-slide-item {
        background: #2a2a3e;
        border: 1px solid rgba(76, 175, 80, 0.1);
    }
    
    .er-slide-item .er-product-info {
        background: #2a2a3e;
    }
    
    .er-slide-item .er-product-name {
        color: #e0e0e0;
    }
    
    .er-slide-item img {
        background: #1a1a2e;
    }
    
    .er-slide-item .er-product-price span:not(.er-old-price) {
        color: #ff8c42;
    }
    
    .er-subtitle-wrapper .er-subtitle-text {
        color: #e0e0e0;
    }
    
    .er-subtitle-wrapper .er-subtitle-count {
        background: rgba(76, 175, 80, 0.15);
        color: #aaa;
    }
    
    .er-divider {
        background: rgba(76, 175, 80, 0.15);
    }
}

/* ==================== UTILITAIRES ==================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

body.menu-open {
    overflow: hidden;
}
/* ============================================ */
/* SECTION ACCESSOIRES - SLIDER                 */
/* ============================================ */

.accessoires-section {
    margin: 40px 0;
    padding: 20px 0;
    width: 100%;
}

.accessoires-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.accessoires-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3c1d;
}

.accessoires-header h2 i {
    color: #f5a623;
    margin-right: 10px;
}

/* === SLIDER ACCESSOIRES === */
.accessoires-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.accessoires-slider-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.accessoires-slide-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.accessoires-slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.accessoires-slide-item .image-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.accessoires-slide-item .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
    padding: 5px;
}

.accessoires-slide-item .accessoires-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accessoires-slide-item .accessoires-product-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a3c1d;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    line-height: 1.4;
}

.accessoires-slide-item .accessoires-product-category {
    font-size: 0.7rem;
    color: #888;
    margin: 3px 0;
}

.accessoires-slide-item .accessoires-price-box {
    margin: 5px 0 10px 0;
}

.accessoires-slide-item .accessoires-price {
    font-weight: 700;
    color: #ff6b00;
    font-size: 1rem;
}

.accessoires-slide-item .accessoires-old-price {
    text-decoration: line-through;
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 8px;
}

.accessoires-slide-item .accessoires-add-btn {
    width: 100%;
    padding: 8px;
    background: #1a3c1d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.accessoires-slide-item .accessoires-add-btn:hover {
    background: #2e7d32;
}

.accessoires-slide-item .accessoires-add-btn:active {
    transform: scale(0.98);
}

.accessoires-slide-item .accessoires-add-btn i {
    font-size: 0.8rem;
}

/* === BOUTONS DE NAVIGATION ACCESSOIRES === */
.accessoires-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(46, 125, 50, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.accessoires-nav-btn:hover {
    background: #2e7d32;
    transform: translateY(-50%) scale(1.05);
}

.accessoires-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.accessoires-nav-btn.accessoires-prev {
    left: 0px;
}

.accessoires-nav-btn.accessoires-next {
    right: 0px;
}

/* === DOTS ACCESSOIRES === */
.accessoires-dots-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.accessoires-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.accessoires-dot.active {
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.accessoires-dot:hover {
    background: #2e7d32;
    transform: scale(1.15);
}

/* ============================================ */
/* RESPONSIVE - ACCESSOIRES                     */
/* ============================================ */

/* Tablette */
@media (max-width: 991px) {
    .accessoires-slide-item {
        flex: 0 0 calc(33.33% - 14px);
        min-width: 180px;
    }
    
    .accessoires-slider-container {
        padding: 0 30px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .accessoires-slider-container {
        padding: 0 5px;
        overflow: visible;
    }
    
    .accessoires-slider-wrapper {
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transition: none;
    }
    
    .accessoires-slider-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .accessoires-slide-item {
        flex: 0 0 48%;
        min-width: 150px;
        max-width: 200px;
        scroll-snap-align: start;
    }
    
    .accessoires-slide-item .image-wrapper {
        padding-bottom: 100%;
    }
    
    .accessoires-slide-item .accessoires-product-info {
        padding: 10px;
    }
    
    .accessoires-slide-item .accessoires-product-name {
        font-size: 0.75rem;
        min-height: 34px;
    }
    
    .accessoires-slide-item .accessoires-price {
        font-size: 0.85rem;
    }
    
    .accessoires-slide-item .accessoires-add-btn {
        font-size: 0.65rem;
        padding: 6px 8px;
    }
    
    .accessoires-slide-item .accessoires-add-btn i {
        font-size: 0.6rem;
    }
    
    .accessoires-nav-btn {
        display: none !important;
    }
    
    .accessoires-dots-wrapper {
        gap: 8px;
        margin-top: 12px;
    }
    
    .accessoires-dot {
        width: 8px;
        height: 8px;
    }
    
    .accessoires-dot.active {
        width: 24px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .accessoires-slide-item {
        flex: 0 0 46%;
        min-width: 130px;
        max-width: 170px;
    }
    
    .accessoires-slide-item .accessoires-product-name {
        font-size: 0.7rem;
        min-height: 28px;
    }
    
    .accessoires-slide-item .accessoires-price {
        font-size: 0.75rem;
    }
    
    .accessoires-slide-item .accessoires-add-btn {
        font-size: 0.55rem;
        padding: 5px 6px;
        gap: 4px;
    }
    
    .accessoires-slide-item .accessoires-add-btn i {
        font-size: 0.5rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .accessoires-slide-item {
        background: #2a2a3e;
        border: 1px solid rgba(76, 175, 80, 0.1);
    }
    
    .accessoires-slide-item .accessoires-product-info {
        background: #2a2a3e;
    }
    
    .accessoires-slide-item .accessoires-product-name {
        color: #e0e0e0;
    }
    
    .accessoires-slide-item .image-wrapper {
        background: #1a1a2e;
    }
    
    .accessoires-slide-item .accessoires-price {
        color: #ff8c42;
    }
    
    .accessoires-dot {
        background: #444;
    }
    
    .accessoires-dot.active {
        background: linear-gradient(135deg, #4caf50, #2e7d32);
    }
    
    .accessoires-dot:hover {
        background: #4caf50;
    }
    
    .accessoires-nav-btn {
        background: rgba(76, 175, 80, 0.85);
    }
    
    .accessoires-nav-btn:hover {
        background: rgba(76, 175, 80, 1);
    }
}

/* Tactile mobile */
@media (hover: none) and (pointer: coarse) {
    .accessoires-slide-item:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .accessoires-slide-item:active {
        transform: scale(0.97);
    }
    
    .accessoires-slide-item .accessoires-add-btn:hover {
        background: #1a3c1d;
    }
    
    .accessoires-slide-item .accessoires-add-btn:active {
        background: #2e7d32;
        transform: scale(0.98);
    }
}