/* ============================================
   WISHLIST PAGE STYLES - VERSION MISE À JOUR
   ============================================ */



/* Breadcrumb */
.breadcrumb-container {
    margin-bottom: 30px;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Product Card */
.wishlist-product-card {
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.wishlist-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FF4444;
    color: white;
    font-family: 'Inter-bold';
    font-size: 11px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Discount Badge */
.wishlist-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #000;
    color: white;
    padding: 8px 12px;
    font-family: 'Inter-bold';
    font-size: 12px;
    border-radius: 4px;
    z-index: 2;
}

.wishlist-discount-text {
    font-size: 18px;
    font-weight: 700;
}

.wishlist-off-text {
    font-size: 10px;
    display: block;
}

/* Love Icon (Heart) */
.wishlist-love-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #96DC02;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
}

.wishlist-love-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(150, 220, 2, 0.4);
}

.wishlist-love-icon svg {
    width: 20px;
    height: 20px;
}

/* Product Image Container */
.wishlist-product-image-container {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.wishlist-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Weight Badge */
.wishlist-weight-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #1E5128;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Inter-semibold';
    font-size: 12px;
}

/* Product Info */
.wishlist-product-info {
    padding: 16px;
}

.wishlist-product-title {
    font-family: 'Inter-semibold';
    font-size: 15px;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}

.wishlist-product-title:hover {
    color: #96DC02;
}

/* Reviews */
.wishlist-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.wishlist-stars {
    display: flex;
    gap: 2px;
}

.wishlist-star {
    width: 14px;
    height: 14px;
}

.wishlist-review-count {
    font-family: 'Inter-regular';
    font-size: 13px;
    color: #666;
}

/* Price */
.wishlist-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.wishlist-current-price {
    font-family: 'Inter-bold';
    font-size: 22px;
    color: #000;
}

.wishlist-original-price {
    font-family: 'Inter-regular';
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

/* Buttons */
.wishlist-order-btn {
    width: 100%;
    background: #96DC02;
    border: none;
    border-radius: 20px;
    padding: 12px;
    font-family: 'Inter-bold';
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.wishlist-order-btn:hover {
    background: #85C902;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 220, 2, 0.3);
}

.wishlist-remove-btn {
    width: 100%;
    background: #FFD5D5;
    border: none;
    border-radius: 20px;
    padding: 12px;
    font-family: 'Inter-semibold';
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-remove-btn:hover {
    background: #FFCCCC;
    transform: translateY(-2px);
}

/* Empty Wishlist State */
.empty-wishlist {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: 12px;
    margin: 40px 0;
}

.empty-wishlist h3 {
    font-family: 'Inter-bold';
    font-size: 24px;
    color: #000;
    margin: 24px 0 12px 0;
}

.empty-wishlist p {
    font-family: 'Inter-regular';
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
}

.shop-now-btn {
    background: #96DC02;
    border: none;
    border-radius: 25px;
    padding: 14px 40px;
    font-family: 'Inter-bold';
    font-size: 15px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-now-btn:hover {
    background: #85C902;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 220, 2, 0.3);
}

/* ============================================
   SUCCESS POPUP STYLES
   ============================================ */

.wishlist-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30000;
    opacity: 0;
    transition: opacity 0.3s;
}

.wishlist-success-popup.active {
    display: flex;
    opacity: 1;
}

.wishlist-popup-content {
    background: white;
    border-radius: 16px;
    padding: 40px 30px 30px 30px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.wishlist-popup-icon {
    margin-bottom: 20px;
}

.wishlist-popup-message {
    font-family: 'Inter-semibold';
    font-size: 16px;
    color: #000;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.wishlist-popup-close {
    background: #96DC02;
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-family: 'Inter-bold';
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-popup-close:hover {
    background: #85C902;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 220, 2, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
 
}

@media (max-width: 1200px) {
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .wishlist-product-image-container {
        height: 240px;
    }
    .empty-wishlist {
    margin: 10px 0 40px;
}
.breadcrumb-container {
    margin-bottom: 10px;
}
}

@media (max-width: 600px) {
    .wishlist-container {
        padding: 0 15px;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wishlist-product-image-container {
        height: 300px;
    }

    .wishlist-product-title {
        font-size: 14px;
        min-height: auto;
    }

    .wishlist-current-price {
        font-size: 20px;
    }

    .wishlist-original-price {
        font-size: 14px;
    }

    .wishlist-popup-content {
        margin: 0 20px;
        padding: 30px 20px 20px 20px;
    }
    .wishlist-section {
    padding: 10px 0 0;
}
.empty-wishlist {
    text-align: center;
    padding: 38px 20px;
    background: white;
    border-radius: 12px;
    margin: 40px 0;
}
.empty-wishlist {
    padding: 38px 20px;
    margin: 0px 0 40px;
}
.breadcrumb-container {
    margin-bottom: 10px;
}

}
.wishlist-product-card .love{
     position: absolute;
    right: 10px;;
    top:10px;
    z-index: 1;
}
.wishlist-product-card .off{
    position: absolute;
    left: 0px;
    top:0px;
    z-index: 1;
}
/* ============================================
   ANIMATIONS SCROLL (HOMEPAGE)
   ============================================ */

/* 1. Apparition du bas (Fade In Up) - Pour les produits, titres, footer */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    visibility: hidden;
}

/* 2. Apparition de la GAUCHE - Pour le texte du Hero */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease-out;
    visibility: hidden;
}

/* 3. Apparition de la DROITE - Pour l'image du Hero */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease-out;
    visibility: hidden;
}

/* État Final (Visible) */
.reveal.active, 
.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
    visibility: visible;
}

/* Délais pour l'effet "Cascade" (ex: grille produits) */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }