 /* ===== PRODUITS PAR CATÉGORIE ===== */
.cart-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: var(--primary);
            color: var(--white);
            font-size: 10px;
            font-weight: 600;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--white);
        }

        @media (min-width: 768px) {
            .cart-badge {
                top: -2px;
                right: 4px;
            }
        }        
.category-section {
            margin: 40px 0;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        @media (min-width: 576px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }
        }

        @media (min-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 16px;
            }
        }

        @media (min-width: 992px) {
            .products-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 20px;
            }
        }

        .product-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

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

        .product-image {
            position: relative;
            aspect-ratio: 1/1;
            overflow: hidden;
            background-color: var(--skeleton-bg);
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
            opacity: 0;
        }

        .product-image img.loaded {
            opacity: 1;
        }

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

        .product-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: var(--primary);
            color: white;
            padding: 2px 6px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 600;
            z-index: 3;
        }

        .product-info {
            padding: 10px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-name {
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 34px;
            line-height: 1.3;
        }

        .product-price {
            margin-bottom: 4px;
        }

        .current-price {
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
        }

        .old-price {
            font-size: 11px;
            color: var(--secondary);
            text-decoration: line-through;
            margin-left: 6px;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 2px;
            color: #ffc107;
            font-size: 10px;
            margin-top: auto;
        }

        .rating-count {
            color: var(--secondary);
            margin-left: 4px;
            font-size: 10px;
        }

        /* ===== ANIMATIONS ===== */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }