   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #2d5016;
            --secondary: #6b9440;
            --accent: #ff6b35;
            --dark: #1a1a1a;
            --light: #f8f9fa;
            --white: #ffffff;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: var(--dark);
        }

        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .top-banner {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            text-align: center;
            padding: 10px;
            font-weight: 600;
            font-size: 14px;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo::before {
            content: "ðŸŒ±";
            font-size: 32px;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--secondary);
        }

        .header-actions {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .cart-btn {
            position: relative;
            background: var(--accent);
            color: var(--white);
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cart-btn:hover {
            background: #e55a2b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255,107,53,0.3);
        }

        .cart-count {
            background: var(--white);
            color: var(--accent);
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
            transition: all 0.3s;
        }

        .mobile-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .mobile-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            left: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background: var(--white);
            box-shadow: 5px 0 25px rgba(0,0,0,0.2);
            transition: left 0.3s;
            z-index: 2001;
            padding: 80px 30px 30px;
        }

        .mobile-nav.active {
            left: 0;
        }

        .mobile-nav ul {
            list-style: none;
        }

        .mobile-nav ul li {
            margin-bottom: 25px;
        }

        .mobile-nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-size: 18px;
            font-weight: 600;
        }

        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
        }

        .mobile-overlay.active {
            display: block;
        }

        .floating-lang {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 1500;
            background: var(--white);
            border-radius: 50px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.2);
            padding: 8px;
            display: flex;
            gap: 8px;
            transition: all 0.3s;
        }

        .floating-lang:hover {
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            transform: translateY(-2px);
        }

        .lang-btn {
            width: 45px;
            height: 45px;
            border: none;
            border-radius: 50%;
            background: var(--light);
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lang-btn:hover {
            background: var(--primary);
            transform: scale(1.1);
        }

        .lang-btn.active {
            background: var(--primary);
            box-shadow: 0 0 0 3px var(--secondary);
        }

        .hero {
            background: linear-gradient(135deg, rgba(45,80,22,0.95), rgba(107,148,64,0.95)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%236b9440" width="1200" height="600"/></svg>');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 80px 5% 100px;
            text-align: center;
        }

        .hero h1 {
            font-size: 56px;
            margin-bottom: 20px;
            font-weight: 800;
            line-height: 1.2;
        }

        .hero p {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.95;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-btn {
            background: var(--accent);
            color: var(--white);
            padding: 18px 45px;
            border: none;
            border-radius: 30px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-btn:hover {
            background: #e55a2b;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255,107,53,0.4);
        }

        .products {
            padding: 80px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 42px;
            margin-bottom: 15px;
            color: var(--primary);
            font-weight: 800;
        }

        .section-subtitle {
            text-align: center;
            font-size: 18px;
            color: #666;
            margin-bottom: 50px;
        }

        .filter-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 12px 30px;
            border: 2px solid var(--primary);
            background: var(--white);
            color: var(--primary);
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 15px;
        }

        .filter-btn:hover {
            background: var(--secondary);
            border-color: var(--secondary);
            color: var(--white);
            transform: translateY(-2px);
        }

        .filter-btn.active {
            background: var(--primary);
            color: var(--white);
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .product-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s;
            cursor: pointer;
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        .product-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--accent);
            color: var(--white);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 700;
            z-index: 10;
        }

.product-image {
    position: relative !important;
    background: linear-gradient(135deg, #fff, #fff) !important;
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    border-radius: 15px 15px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
}

.product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.product-card:hover .product-image img {
    transform: scale(1.05) !important;
}

/* Fallback emoji */
.product-image:not(:has(img)) {
    font-size: 80px !important;
    padding: 0 !important;
}

        .product-info {
            padding: 20px;
        }

        .product-category {
            color: var(--secondary);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .product-name {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--dark);
            line-height: 1.3;
        }

        .product-price {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }

        .price-old {
            text-decoration: line-through;
            color: #999;
            font-size: 16px;
        }

        .price-new {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary);
        }

        .add-to-cart {
            width: 100%;
            background: var(--primary);
            color: var(--white);
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        .add-to-cart:hover {
            background: var(--secondary);
            transform: scale(1.02);
        }

        .special-offers {
            padding: 80px 5%;
            max-width: 1400px;
            margin: 0 auto;
            background: linear-gradient(135deg, #fff5f5, #fff);
        }

        .special-offers .section-title {
            color: var(--accent);
        }

        .features {
            background: var(--light);
            padding: 60px 5%;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature {
            text-align: center;
        }

        .feature-icon {
            font-size: 50px;
            margin-bottom: 15px;
        }

        .feature h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .feature p {
            color: #666;
            font-size: 15px;
        }

        footer {
            background: var(--dark);
            color: var(--white);
            padding: 50px 5% 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto 40px;
        }

        .footer-section h3 {
            margin-bottom: 20px;
            font-size: 20px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--accent);
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
        }

        .newsletter-form button {
            padding: 12px 25px;
            background: var(--accent);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newsletter-form button:hover {
            background: #e55a2b;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
        }

   
        
        /* Masquer le PWA quand le panier est ouvert */
@media (max-width: 768px) {
    .cart-sidebar.open ~ .pwa-bottom-nav,
    body:has(.cart-sidebar.open) .pwa-bottom-nav {
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
}

        .cart-sidebar.open {
            right: 0;
        }

        .cart-header {
            padding: 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
        }

        .cart-header h2 {
            font-size: 24px;
            color: var(--white);
        }

        .close-cart {
            background: none;
            border: none;
            font-size: 32px;
            cursor: pointer;
            color: var(--white);
            line-height: 1;
            padding: 0;
            transition: transform 0.3s;
        }

        .close-cart:hover {
            transform: rotate(90deg);
        }

        .cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .cart-empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .cart-empty-icon {
            font-size: 64px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .cart-item {
            display: flex;
            gap: 15px;
            padding: 15px;
            border-bottom: 1px solid #eee;
            background: var(--white);
            border-radius: 10px;
            margin-bottom: 10px;
            transition: all 0.3s;
        }

        .cart-item:hover {
            background: #f9f9f9;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .cart-item-image {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            flex-shrink: 0;
        }

        .cart-item-info {
            flex: 1;
            min-width: 0;
        }

        .cart-item-name {
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 14px;
            line-height: 1.3;
        }

        .cart-item-price {
            color: var(--primary);
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 8px;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .quantity-btn {
            width: 28px;
            height: 28px;
            border: 2px solid var(--primary);
            background: var(--white);
            color: var(--primary);
            border-radius: 6px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-btn:hover {
            background: var(--primary);
            color: var(--white);
        }

        .quantity-display {
            min-width: 30px;
            text-align: center;
            font-weight: 600;
            font-size: 14px;
        }

        .remove-item {
            background: none;
            border: none;
            color: #ff4444;
            cursor: pointer;
            font-size: 20px;
            padding: 5px;
            transition: all 0.3s;
        }

        .remove-item:hover {
            transform: scale(1.2);
        }

        .promo-section {
            padding: 15px 20px;
            background: #f9f9f9;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }

        .promo-input-group {
            display: flex;
            gap: 10px;
        }

        .promo-input {
            flex: 1;
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s;
        }

        .promo-input:focus {
            border-color: var(--primary);
        }

        .promo-btn {
            padding: 12px 20px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .promo-btn:hover {
            background: var(--secondary);
        }

        .promo-applied {
            margin-top: 10px;
            padding: 10px;
            background: #d4edda;
            color: #155724;
            border-radius: 6px;
            font-size: 13px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .remove-promo {
            background: none;
            border: none;
            color: #155724;
            cursor: pointer;
            font-size: 18px;
            padding: 0;
        }

        .free-shipping-banner {
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
            text-align: center;
        }

        .free-shipping-text {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 10px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
        }

        .free-shipping-icon {
            font-size: 24px;
            animation: bounce 2s infinite;
        }

        .shipping-progress-container {
            background: rgba(255,255,255,0.5);
            border-radius: 20px;
            height: 8px;
            overflow: hidden;
            position: relative;
        }

        .shipping-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 20px;
            transition: width 0.5s ease;
            position: relative;
        }

        .shipping-progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-5px); }
            60% { transform: translateY(-3px); }
        }

        .free-shipping-achieved {
            background: linear-gradient(135deg, #4caf50, #45a049);
            color: white;
        }

        .free-shipping-achieved .free-shipping-text {
            color: white;
        }

        .cart-footer {
            padding: 20px;
            border-top: 2px solid #eee;
            background: #fafafa;
        }

        .cart-summary {
            margin-bottom: 15px;
        }

        .cart-summary-line {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 14px;
            color: #666;
        }

        .cart-summary-line.discount {
            color: var(--accent);
            font-weight: 600;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-top: 15px;
            border-top: 2px solid #ddd;
            font-size: 20px;
            font-weight: 700;
        }

        .payment-methods {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 15px;
            padding: 12px;
            background: var(--white);
            border-radius: 8px;
            flex-wrap: wrap;
        }

        .payment-label {
            font-size: 11px;
            color: #666;
            font-weight: 600;
            width: 100%;
            text-align: center;
            margin-bottom: 5px;
        }

        .payment-icon {
            height: 24px;
            padding: 4px 8px;
            background: var(--white);
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 700;
            color: #333;
        }

        .checkout-btn {
            width: 100%;
            padding: 16px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .checkout-btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(45,80,22,0.3);
        }

        .checkout-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        .secure-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            margin-top: 10px;
            font-size: 11px;
            color: #666;
        }

        .secure-badge::before {
            content: "ðŸ”’";
            font-size: 14px;
        }

        .featured-products-container {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin-top: 50px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .featured-title {
            text-align: center;
            font-size: 32px;
            margin-bottom: 10px;
            color: var(--primary);
            font-weight: 800;
        }

        .featured-subtitle {
            text-align: center;
            font-size: 16px;
            color: #666;
            margin-bottom: 35px;
        }

        .featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 20px;
        }

        .featured-product {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s;
            cursor: pointer;
        }

        .featured-product:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .featured-product-image {
            width: 100px;
            height: 100px;
            flex-shrink: 0;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 50px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .featured-product-info {
            flex: 1;
            min-width: 0;
        }

        .featured-product-name {
            font-size: 16px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .featured-product-prices {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .featured-price-old {
            text-decoration: line-through;
            color: #999;
            font-size: 14px;
        }

        .featured-price-new {
            font-size: 20px;
            font-weight: 800;
            color: var(--primary);
        }

        .featured-add-btn {
            width: 100%;
            padding: 10px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 13px;
        }

        .featured-add-btn:hover {
            background: var(--secondary);
            transform: scale(1.02);
        }

        .toast-notification {
            position: fixed;
            top: 140px;
            right: -400px;
            width: 380px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.25);
            z-index: 9999;
            transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            overflow: hidden;
            border: 2px solid #4caf50;
        }

        .toast-notification.show {
            right: 30px;
        }

        .toast-header {
            background: linear-gradient(135deg, #4caf50, #45a049);
            color: var(--white);
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
        }

        .toast-icon {
            font-size: 24px;
        }

        .toast-body {
            padding: 20px;
        }

        .toast-product {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .toast-product-image {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            flex-shrink: 0;
        }

        .toast-product-info {
            flex: 1;
            min-width: 0;
        }

        .toast-product-name {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 5px;
            line-height: 1.3;
            color: var(--dark);
        }

        .toast-product-price {
            color: var(--primary);
            font-weight: 700;
            font-size: 16px;
        }

        .toast-actions {
            display: flex;
            gap: 10px;
        }

        .toast-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }

        .toast-btn-primary {
            background: var(--primary);
            color: var(--white);
        }

        .toast-btn-primary:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }

        .toast-btn-secondary {
            background: var(--white);
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .toast-btn-secondary:hover {
            background: var(--light);
        }

        .toast-progress {
            height: 3px;
            background: var(--primary);
            width: 100%;
            transform-origin: left;
            animation: progress 5s linear forwards;
        }

        @keyframes progress {
            from {
                transform: scaleX(1);
            }
            to {
                transform: scaleX(0);
            }
        }

        .newsletter-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.7);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
        }

        .newsletter-popup-overlay.show {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .newsletter-popup {
            background: var(--white);
            border-radius: 20px;
            max-width: 550px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            overflow: hidden;
            position: relative;
            animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes slideIn {
            from {
                transform: scale(0.8) translateY(50px);
                opacity: 0;
            }
            to {
                transform: scale(1) translateY(0);
                opacity: 1;
            }
        }

        .newsletter-popup-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.9);
            border: none;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            color: var(--dark);
            z-index: 10;
        }

        .newsletter-popup-close:hover {
            background: var(--white);
            transform: rotate(90deg);
        }

        .newsletter-popup-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            padding: 40px 30px 30px;
            text-align: center;
            color: var(--white);
        }

        .newsletter-popup-icon {
            font-size: 60px;
            margin-bottom: 15px;
        }

        .newsletter-popup-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .newsletter-popup-subtitle {
            font-size: 16px;
            opacity: 0.95;
        }

        .newsletter-popup-body {
            padding: 35px 30px;
        }

        .newsletter-popup-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .newsletter-popup-input {
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 15px;
            outline: none;
            transition: border-color 0.3s;
        }

        .newsletter-popup-input:focus {
            border-color: var(--primary);
        }

        .newsletter-popup-btn {
            padding: 16px;
            background: var(--accent);
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .newsletter-popup-btn:hover {
            background: #e55a2b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255,107,53,0.3);
        }

        .newsletter-popup-disclaimer {
            font-size: 12px;
            color: #666;
            text-align: center;
            margin-top: 15px;
        }

        .idle-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.7);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
        }

        .idle-popup-overlay.show {
            display: flex;
        }

        .idle-popup {
            background: var(--white);
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            overflow: hidden;
            position: relative;
            animation: shake 0.5s ease-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
            20%, 40%, 60%, 80% { transform: translateX(10px); }
        }

        .idle-popup-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.9);
            border: none;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            color: var(--dark);
            z-index: 10;
        }

        .idle-popup-close:hover {
            background: var(--white);
            transform: rotate(90deg);
        }

        .idle-popup-content {
            padding: 50px 30px;
            text-align: center;
        }

        .idle-popup-icon {
            font-size: 80px;
            margin-bottom: 20px;
            animation: bounce 2s infinite;
        }

        .idle-popup-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .idle-popup-text {
            font-size: 16px;
            color: #666;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .idle-popup-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .idle-popup-btn {
            padding: 14px 30px;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .idle-popup-btn-primary {
            background: var(--primary);
            color: var(--white);
        }

        .idle-popup-btn-primary:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }

        .idle-popup-btn-secondary {
            background: var(--white);
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .idle-popup-btn-secondary:hover {
            background: var(--light);
        }

      .cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    transition: right 0.3s;
    z-index: 10000; /* Au-dessus du PWA */
    display: flex;
    flex-direction: column;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9998; /* En dessous du panier mais au-dessus du contenu */
}

        .cart-overlay.active {
            display: block;
        }

        .chatbot-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1500;
        }

@media (max-width: 768px) {
    .chatbot-container {
        bottom: 100px !important;
        right: 20px;
    }
}
        .chatbot-preview {
            position: absolute;
            bottom: 75px;
            right: 0;
            background: var(--white);
            padding: 12px 18px;
            border-radius: 20px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.15);
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
            white-space: nowrap;
            opacity: 0;
            transform: translateY(10px);
            pointer-events: none;
            transition: all 0.3s ease;
            max-width: 250px;
        }

        .chatbot-preview.show {
            opacity: 1;
            transform: translateY(0);
        }

        .chatbot-preview::after {
            content: '';
            position: absolute;
            bottom: -6px;
            right: 20px;
            width: 12px;
            height: 12px;
            background: var(--white);
            transform: rotate(45deg);
        }

        .chatbot-button {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            border: none;
            font-size: 28px;
            cursor: pointer;
            box-shadow: 0 5px 25px rgba(45,80,22,0.3);
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .chatbot-button:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 30px rgba(45,80,22,0.4);
        }

        .chatbot-button:hover ~ .chatbot-preview {
            opacity: 0;
        }

        .chatbot-button.active {
            background: var(--accent);
        }

        .chatbot-notification {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 20px;
            height: 20px;
            background: var(--accent);
            border-radius: 50%;
            border: 3px solid var(--white);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .chatbot-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 380px;
            height: 550px;
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            overflow: hidden;
        }

        .chatbot-window.open {
            display: flex;
            animation: slideUp 0.3s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chatbot-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chatbot-avatar {
            width: 50px;
            height: 50px;
            background: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            flex-shrink: 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .chatbot-header-info {
            flex: 1;
        }

        .chatbot-header-info h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .chatbot-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(255,255,255,0.2);
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }

        .chatbot-status-dot {
            width: 8px;
            height: 8px;
            background: #4caf50;
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(0.8);
            }
        }

        .chatbot-header-info p {
            margin: 3px 0 0 0;
            font-size: 12px;
            opacity: 0.95;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .chatbot-response-time {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
        }

        .chatbot-messages {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            background: #f5f5f5;
        }

        .chat-message {
            margin-bottom: 15px;
            display: flex;
            gap: 10px;
            animation: messageSlide 0.3s ease-out;
        }

        @keyframes messageSlide {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chat-message.bot {
            justify-content: flex-start;
        }

        .chat-message.user {
            justify-content: flex-end;
        }

        .message-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .chat-message.bot .message-avatar {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
        }

        .chat-message.user .message-avatar {
            background: var(--accent);
            color: var(--white);
        }

        .message-bubble {
            max-width: 70%;
            padding: 12px 16px;
            border-radius: 18px;
            word-wrap: break-word;
        }

        .chat-message.bot .message-bubble {
            background: var(--white);
            color: var(--dark);
            border-bottom-left-radius: 4px;
        }

        .chat-message.user .message-bubble {
            background: var(--accent);
            color: var(--white);
            border-bottom-right-radius: 4px;
        }

        .quick-replies {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .quick-reply-btn {
            padding: 8px 16px;
            background: var(--white);
            color: var(--primary);
            border: 2px solid var(--primary);
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .quick-reply-btn:hover {
            background: var(--primary);
            color: var(--white);
        }

        .chatbot-input-area {
            padding: 15px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 10px;
        }

        .chatbot-input {
            flex: 1;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 25px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s;
        }

        .chatbot-input:focus {
            border-color: var(--primary);
        }

        .chatbot-send-btn {
            width: 45px;
            height: 45px;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chatbot-send-btn:hover {
            background: var(--secondary);
            transform: scale(1.05);
        }

        .typing-indicator {
            display: flex;
            gap: 4px;
            padding: 12px 16px;
        }

        .typing-dot {
            width: 8px;
            height: 8px;
            background: #999;
            border-radius: 50%;
            animation: typing 1.4s infinite;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typing {
            0%, 60%, 100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-10px);
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu {
                display: flex;
            }

            .mobile-nav {
                display: block;
            }

            .floating-lang {
                bottom: 110px;
                left: 20px;
                padding: 5px;
                gap: 5px;
            }

            .lang-btn {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 16px;
            }

            .section-title {
                font-size: 32px;
            }

            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 15px;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .cart-sidebar {
                width: 100%;
                right: -100%;
            }

            .chatbot-container {
                bottom: 20px;
                right: 20px;
            }

            .chatbot-window {
                width: calc(100vw - 40px);
                height: 500px;
                right: -10px;
            }

            .chatbot-button {
                width: 55px;
                height: 55px;
                font-size: 24px;
            }

            .toast-notification {
                width: calc(100vw - 40px);
                right: -100%;
            }

            .toast-notification.show {
                right: 20px;
            }
        }
        
        /* ============================================
   FIX IMAGES DANS LA NOTIFICATION TOAST
   ============================================ */

.toast-product-image {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #fff, #fff) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    padding: 5px !important;
}

.toast-product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Fallback emoji dans toast */
.toast-product-image:not(:has(img)) {
    font-size: 28px !important;
    padding: 0 !important;
}

/* ============================================
   FIX IMAGES DANS LE PANIER (CART SIDEBAR)
   ============================================ */

.cart-item-image {
    position: relative !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #fff, #fff) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    padding: 5px !important;
}

.cart-item-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Fallback emoji dans panier */
.cart-item-image:not(:has(img)) {
    font-size: 30px !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu {
                display: flex;
            }

            .mobile-nav {
                display: block;
            }

            .floating-lang {
                bottom: 110px;
                left: 20px;
                padding: 5px;
                gap: 5px;
            }

            .lang-btn {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 16px;
            }

            .section-title {
                font-size: 32px;
            }

            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 15px;
            }

            /* PRIX EN COLONNE SUR MOBILE */
            .product-price {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .featured-product-prices {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .price-old {
                font-size: 14px;
            }

            .price-new {
                font-size: 20px;
            }

            .featured-price-old {
                font-size: 13px;
            }

            .featured-price-new {
                font-size: 18px;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .cart-sidebar {
                width: 100%;
                right: -100%;
            }

            .chatbot-container {
                bottom: 20px;
                right: 20px;
            }

            .chatbot-window {
                width: calc(100vw - 40px);
                height: 500px;
                right: -10px;
            }

            .chatbot-button {
                width: 55px;
                height: 55px;
                font-size: 24px;
            }

            .toast-notification {
                width: calc(100vw - 40px);
                right: -100%;
            }

            .toast-notification.show {
                right: 20px;
            }
        }
        
        /* =========================================
   PWA BOTTOM NAVIGATION
   ========================================= */

.pwa-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 0 0 env(safe-area-inset-bottom);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
}

.pwa-nav-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 8px 0;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px 3px 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
    text-decoration: none;
    color: #999;
    transition: all 0.3s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.pwa-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(45, 80, 22, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pwa-nav-item:active::before {
    width: 120%;
    height: 120%;
}

/* SVG Icons */
.nav-svg-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: all 0.3s ease;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

/* Badge panier */
.nav-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    background: var(--accent);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* État actif */
.pwa-nav-item.active {
    color: var(--primary);
}

.pwa-nav-item.active .nav-svg-icon {
    transform: translateY(-2px) scale(1.08);
    stroke-width: 2.5;
}

.pwa-nav-item.active .nav-label {
    font-weight: 700;
}

.pwa-nav-item:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .pwa-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 75px;
    }
}

/* iPhone avec encoche */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .pwa-bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .nav-svg-icon {
        width: 22px;
        height: 22px;
    }
    
    .nav-label {
        font-size: 10px;
    }
}

/* BOUTON COMPTE */
.account-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 15px;
    font-size: 14px;
    outline: none !important;
}

.account-btn:focus,
.account-btn:active {
    outline: none !important;
    border: 2px solid var(--primary) !important;
}

.account-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45,80,22,0.3);
}

.account-btn.active {
    background: var(--primary);
    color: var(--white);
}

.account-icon {
    font-size: 20px;
}

/* DROPDOWN CONTAINER */
.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10001;
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.1);
}

/* Scrollbar */
.account-dropdown::-webkit-scrollbar {
    width: 6px;
}

.account-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.account-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* HEADER */
.dropdown-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 25px 20px;
    text-align: center;
}

.dropdown-header-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.dropdown-header h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
}

.dropdown-header p {
    font-size: 13px;
    opacity: 0.9;
}

/* BODY */
.dropdown-body {
    padding: 20px;
}

/* USER MENU (si connecté) */
.user-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.user-menu-item:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.menu-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    flex-shrink: 0;
}

.menu-content {
    flex: 1;
}

.menu-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.menu-desc {
    font-size: 12px;
    color: #666;
}

/* FORMULAIRE */
.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.3);
}

/* DIVIDER */
.dropdown-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
    font-size: 12px;
    font-weight: 600;
}

.dropdown-divider::before,
.dropdown-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.dropdown-divider span {
    padding: 0 15px;
}

/* VIP SECTION */
.vip-section {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.vip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,215,0,0.1), transparent);
    pointer-events: none;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.vip-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffd700;
    position: relative;
}

.vip-description {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.5;
    position: relative;
}

.vip-benefits-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    position: relative;
}

.benefit-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,215,0,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.btn-vip {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

/* FOOTER */
.dropdown-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.register-link {
    font-size: 13px;
    color: #666;
}

.register-link a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: var(--accent);
    color: var(--white);
}

/* SUCCESS ALERT */
.success-alert {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.success-alert.show {
    display: flex;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    /* Masquer complètement le bouton compte sur mobile */
    .account-btn {
        display: none !important;
    }
    
    .account-dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 90vh !important;
        border-radius: 20px 20px 0 0 !important;
        transform: translateY(100%) !important;
    }
    
    .account-dropdown.show {
        transform: translateY(0) !important;
    }
    
    .account-dropdown::before {
        display: none;
    }
}


    /* ========================================
       STICKY BUY BAR - DESKTOP
       ======================================== */
    .sticky-buy-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 2000;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-bottom: 3px solid var(--primary);
    }

    .sticky-buy-bar.visible {
        transform: translateY(0);
    }

    .sticky-bar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
        padding: 15px 5%;
        gap: 20px;
    }

    .sticky-product-info {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
        min-width: 0;
    }

    .sticky-product-image {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        flex-shrink: 0;
        overflow: hidden;
        padding: 5px;
    }

    .sticky-product-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .sticky-product-details {
        flex: 1;
        min-width: 0;
    }

    .sticky-product-name {
        font-size: 16px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-product-price {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .sticky-price-old {
        text-decoration: line-through;
        color: #999;
        font-size: 14px;
    }

    .sticky-price-new {
        font-size: 22px;
        font-weight: 800;
        color: var(--primary);
    }

    .sticky-discount-badge {
        background: var(--accent);
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
    }

    .sticky-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .sticky-quantity-controls {
        display: flex;
        align-items: center;
        border: 2px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: white;
    }

    .sticky-quantity-btn {
        background: var(--light);
        border: none;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        color: var(--primary);
    }

    .sticky-quantity-btn:hover {
        background: var(--secondary);
        color: white;
    }

    .sticky-quantity-value {
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 600;
        min-width: 60px;
        text-align: center;
    }

    .sticky-btn-add {
        background: var(--primary);
        color: white;
        border: none;
        padding: 14px 30px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sticky-btn-add:hover {
        background: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(45,80,22,0.3);
    }

    .sticky-btn-buy {
        background: var(--accent);
        color: white;
        border: none;
        padding: 14px 30px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sticky-btn-buy:hover {
        background: #e55a2b;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255,107,53,0.3);
    }

    /* ========================================
       STICKY BUY BAR - MOBILE
       ======================================== */
    .mobile-sticky-bar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        z-index: 2000;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-top: 3px solid var(--primary);
        padding: 0 0 env(safe-area-inset-bottom);
    }

    .mobile-sticky-bar.visible {
        transform: translateY(0);
    }

    .mobile-bar-content {
        padding: 15px 20px;
    }
.mobile-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-bar-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-bar-image {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-bar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-bar-image span {
    font-size: 24px;
}

.mobile-bar-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-price-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-price-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}
    .mobile-bar-quantity {
        display: flex;
        align-items: center;
        border: 2px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: white;
    }

    .mobile-qty-btn {
        background: var(--light);
        border: none;
        padding: 8px 12px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        color: var(--primary);
    }

    .mobile-qty-value {
        padding: 8px 15px;
        font-size: 14px;
        font-weight: 600;
        min-width: 50px;
        text-align: center;
    }

    .mobile-bar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-btn {
        padding: 14px;
        border: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .mobile-btn-add {
        background: var(--primary);
        color: white;
    }

    .mobile-btn-buy {
        background: var(--accent);
        color: white;
    }

    /* RESTE DU CSS EXISTANT */
    .shipping-info-box {
        background: linear-gradient(135deg, #f8f9fa, #e8f5e9);
        border: 2px solid var(--secondary);
        border-radius: 12px;
        padding: 20px;
        margin: 25px 0;
    }

    /* ... COPIER TOUT LE CSS EXISTANT DU DOCUMENT 4 ... */

    /* ========================================
       RESPONSIVE
       ======================================== */
    @media (max-width: 968px) {
        .sticky-buy-bar {
            display: none;
        }

        .mobile-sticky-bar {
            display: block;
        }

        body {
            padding-bottom: 120px;
        }
    }
    
    
    /* ============================================
   WISHLIST STYLES
   ============================================ */

/* Bouton wishlist sur les cartes produits */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wishlist-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.wishlist-btn.active {
    animation: heartBeat 0.5s ease-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
}

/* Bouton wishlist dans la navigation */
.wishlist-link {
    text-decoration: none;
}

.wishlist-nav-btn {
    position: relative;
    background: var(--white);
    color: #e91e63;
    border: 2px solid #e91e63;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.wishlist-nav-btn:hover {
    background: #e91e63;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233,30,99,0.3);
}

.wishlist-nav-btn .wishlist-count {
    background: var(--white);
    color: #e91e63;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.wishlist-nav-btn:hover .wishlist-count {
    background: #e91e63;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Page wishlist */
.wishlist-page {
    padding: 80px 5% 50px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 60vh;
}

.wishlist-header {
    text-align: center;
    margin-bottom: 50px;
}

.wishlist-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.wishlist-subtitle {
    font-size: 18px;
    color: #666;
}

.wishlist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wishlist-count-display {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.btn-clear-wishlist {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear-wishlist:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.wishlist-empty {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.btn-browse {
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-browse:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.wishlist-item-actions {
    display: flex;
    gap: 10px;
}

.btn-add-to-cart {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: var(--secondary);
}

.btn-remove {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-nav-btn {
        display: none;
    }
    
    .wishlist-title {
        font-size: 32px;
    }
    
    .wishlist-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
}