/* ============================================
   PAGE FAVORIS - STYLES RESPONSIVE
   ============================================ */

/* Grille produits - 2 colonnes mobile, 3 colonnes desktop */
#wishlist-container {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (min-width: 768px) {
    #wishlist-container {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Responsive mobile */
@media (max-width: 640px) {
    #wishlist-container {
        gap: 12px !important;
    }
    
    /* Cartes produits plus compactes sur mobile */
    .wishlist-item {
        font-size: 0.875rem;
    }
    
    .wishlist-item h3 {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .wishlist-item .text-xs {
        font-size: 0.625rem;
    }
    
    /* Image produit - ajustement mobile */
    .wishlist-item img {
        height: 12rem !important; /* h-48 */
    }
    
    /* Prix - taille réduite sur mobile */
    .wishlist-item p[style*="MADE TOMMY"] {
        font-size: 0.75rem !important;
    }
    
    /* Boutons d'action - empiler sur mobile */
    .wishlist-item .flex.flex-col {
        gap: 0.5rem;
    }
    
    .wishlist-item .btn-add-to-cart {
        width: 100%;
    }
}

/* Responsive tablette */
@media (min-width: 768px) and (max-width: 1024px) {
    #wishlist-container {
        gap: 1rem !important;
    }
    
    .wishlist-item img {
        height: 14rem !important; /* h-56 */
    }
}

/* Responsive desktop */
@media (min-width: 1025px) {
    #wishlist-container {
        gap: 1.5rem !important;
    }
    
    .wishlist-item img {
        height: 16rem !important; /* h-64 */
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    #wishlist-container {
        gap: 8px !important;
    }
    
    .wishlist-item h3 {
        font-size: 0.7rem;
    }
    
    .wishlist-item .text-xs {
        font-size: 0.6rem;
    }
    
    .wishlist-item img {
        height: 10rem !important;
    }
    
    .wishlist-item .p-3 {
        padding: 0.5rem !important;
    }
}

/* Animation hover */
.wishlist-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-2px);
}

/* Badge favori responsive */
.wishlist-toggle {
    transition: background-color 0.2s ease;
}

@media (max-width: 640px) {
    .wishlist-toggle {
        padding: 0.375rem !important;
    }
    
    .wishlist-toggle svg {
        width: 0.875rem !important;
        height: 0.875rem !important;
    }
}

