   /* Styles globaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        
        body {
            background-color: #f8f9fa;
            color: #333;
            min-height: 100vh;
        }
        
        /* Conteneur principal */
        .favorites-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px;
            min-height: 70vh;
        }
        
        .warning-text {
            color: #ff9800;
            background: #fff8e1;
            padding: 8px 16px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        /* Liste des favoris */
        .favorites-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        /* Carte de favori */
        .favorite-item {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            display: flex;
            align-items: flex-start;
            gap: 20px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
        }
        
        .favorite-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        }
        
        /* Image produit (gauche) */
        .item-image {
            flex-shrink: 0;
            width: 140px;
            height: 140px;
            border-radius: 10px;
            overflow: hidden;
            background: #f8f8f8;
        }
        
        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .item-image:hover img {
            transform: scale(1.05);
        }
        
        /* Contenu principal (centre) */
        .item-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-height: 140px;
        }
        
        /* Titre du produit */
        .item-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            line-height: 1.4;
            margin-bottom: 5px;
        }
        
        .item-title a {
            color: inherit;
            text-decoration: none;
        }
        
        .item-title a:hover {
            color: #ff6b00;
        }
        
        /* Catégorie */
        .item-category {
            font-size: 13px;
            color: #666;
            background: #f0f0f0;
            padding: 4px 10px;
            border-radius: 4px;
            display: inline-block;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        /* Vendeur */
        .item-vendeur {
            font-size: 14px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 10px;
        }
        
        .item-vendeur i {
            color: #ff6b00;
        }
        
        /* Prix */
        .item-price {
            font-size: 22px;
            font-weight: 700;
            color: #ff4444;
            margin-top: auto;
        }
        
        /* Actions (extrême droite) */
        .item-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 180px;
            align-items: flex-end;
            justify-content: center;
            height: 140px;
        }
        
        /* Bouton Ajouter au panier */
        .item-actions button {
            background: #ff6b00;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.3s ease;
            width: 100%;
            justify-content: center;
        }
        
        .add-to-cart-btn:hover {
            background: #e55a00;
        }
        
        /* Bouton Supprimer */
        .remove-favorite-btn {
            background: #ff4444;
            color: white;
            border: none;
            padding: 10px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: background 0.3s ease;
            width: 100%;
            justify-content: center;
        }
        
        .remove-favorite-btn:hover {
            background: #d93636;
        }
        
        /* État vide */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin: 40px auto;
            max-width: 500px;
        }
        
        .empty-icon {
            font-size: 70px;
            color: #e0e0e0;
            margin-bottom: 25px;
        }
        
        .empty-state h2 {
            font-size: 24px;
            color: #666;
            margin-bottom: 15px;
            font-weight: 500;
        }
        
        .empty-state p {
            color: #999;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .browse-btn {
            background: #ff6b00;
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            transition: background 0.3s ease;
        }
        
        .browse-btn:hover {
            background: #e55a00;
        }
        
        /* Notification */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            background: #00a650;
            color: white;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideIn 0.3s ease;
            max-width: 350px;
        }
        
        .notification.error {
            background: #ff4444;
        }
        
        .notification.info {
            background: #2196F3;
        }
        
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes fadeOut {
            from {
                opacity: 1;
                transform: scale(1);
            }
            to {
                opacity: 0;
                transform: scale(0.9);
            }
        }
        
        /* Animation de suppression */
        .removing {
            animation: fadeOut 0.3s ease forwards;
        }
        
        /* Badge de compte */
        .count-badge {
            background: #ff4444;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 14px;
            margin-left: 10px;
            font-weight: 500;
        }
        
        /* Responsive */
        @media (max-width: 900px) {
            .favorite-item {
                flex-direction: column;
                gap: 15px;
            }
            
            .item-image {
                width: 100%;
                height: 200px;
            }
            
            .item-content {
                min-height: auto;
            }
            
            .item-actions {
                flex-direction: row;
                width: 100%;
                height: auto;
                justify-content: flex-start;
            }
            
            .add-to-cart-btn,
            .remove-favorite-btn {
                flex: 1;
                padding: 12px;
            }
        }
        
        @media (max-width: 768px) {
            .favorites-container {
                padding: 20px 15px;
            }
            
            .page-header {
                padding: 20px;
            }
            
            .page-header h1 {
                font-size: 24px;
                flex-direction: column;
                gap: 10px;
            }
            
            .item-actions {
                flex-direction: column;
            }
            
            .add-to-cart-btn,
            .remove-favorite-btn {
                width: 100%;
            }
        }
        
        @media (max-width: 480px) {
            .item-image {
                height: 160px;
            }
            
            .item-title {
                font-size: 16px;
            }
            
            .item-price {
                font-size: 20px;
            }
        }