﻿/* =========================================
   FALONE — LUXURY FAVORITES PAGE
========================================= */

.favorites-page {
    min-height: 65vh;
    padding: 85px 24px 110px;
    background: #F8F6F2;
    color: #24201F;
}

.favorites-container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.favorites-heading {
    text-align: center;
    margin-bottom: 65px;
}

.favorites-eyebrow {
    color: #A9824D;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.favorites-heading h1 {
    margin: 18px 0 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 500;
}

    .favorites-heading h1 em {
        color: #4A0718;
        font-weight: 400;
    }

.favorites-heading p {
    color: #817873;
    font-size: 14px;
}

.favorites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(74, 7, 24, .13);
}

    .favorites-toolbar > span {
        color: #4A0718;
        font-size: 13px;
        font-weight: 600;
    }

    .favorites-toolbar a {
        color: #817873;
        font-size: 12px;
        text-decoration: none;
        transition: color .3s ease;
    }

        .favorites-toolbar a:hover {
            color: #4A0718;
        }

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.favorites-empty {
    padding: 75px 20px;
    text-align: center;
}

    .favorites-empty[hidden] {
        display: none !important;
    }

.favorites-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    border: 1px solid rgba(74, 7, 24, .18);
    border-radius: 50%;
    color: #4A0718;
    font-size: 28px;
}

.favorites-empty h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 500;
}

.favorites-empty p {
    margin: 12px 0 25px;
    color: #817873;
    font-size: 14px;
}

.favorites-empty > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: #4A0718;
    color: #FFFFFF !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background .3s ease;
}
    .favorites-empty > a:hover {
        background: #70152d;
    }

@media (max-width: 1000px) {
    .favorites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .favorites-page {
        padding: 60px 16px 80px;
    }

    .favorites-heading {
        margin-bottom: 45px;
    }

    .favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .favorites-toolbar {
        align-items: flex-start;
    }

        .favorites-toolbar a {
            text-align: right;
        }

    .favorites-empty h2 {
        font-size: 25px;
    }
}

@media (max-width: 360px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .favorites-toolbar a,
    .favorites-empty > a {
        transition: none;
    }
}















/* =========================================
   FALONE — FAVORITES PRODUCT CARDS
   Design Luxury indépendant
========================================= */

.favorites-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(74, 7, 24, .07);
    box-shadow: 0 8px 28px rgba(36, 32, 31, .045);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .favorites-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 38px rgba(36, 32, 31, .10);
    }

    .favorites-product-card .falone-product-image {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 5;
        overflow: hidden;
        background: #F1EEE9;
    }

        .favorites-product-card .falone-product-image > img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform .7s cubic-bezier(.2,.7,.2,1);
        }

    .favorites-product-card:hover .falone-product-image > img {
        transform: scale(1.045);
    }

    /* Bouton retirer des favoris */
    .favorites-product-card .falone-favorite-button {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #4A0718;
        border-radius: 50%;
        background: #4A0718;
        color: #fff;
        cursor: pointer;
        transition: transform .3s ease, background .3s ease;
    }

        .favorites-product-card .falone-favorite-button i {
            font-size: 18px;
        }

        .favorites-product-card .falone-favorite-button:hover {
            transform: scale(1.1);
            background: #70152D;
        }

        .favorites-product-card .falone-favorite-button:focus-visible {
            outline: 2px solid #C49A43;
            outline-offset: 4px;
        }

    /* Informations produit */
    .favorites-product-card .falone-product-info {
        padding: 19px 17px 22px;
    }

        .favorites-product-card .falone-product-info h3 {
            margin: 0 0 12px;
            color: #24201F;
            font-family: "Playfair Display", serif;
            font-size: 19px;
            font-weight: 500;
            line-height: 1.4;
        }

    .favorites-product-card .falone-product-price {
        margin: 0;
        color: #4A0718;
        font-size: 14px;
        font-weight: 700;
    }

    .favorites-product-card .falone-product-info del {
        display: block;
        margin-top: 5px;
        color: #9A918B;
        font-size: 12px;
    }

/* Responsive */
@media (max-width: 700px) {
    .favorites-product-card .falone-product-info {
        padding: 14px 12px 17px;
    }

        .favorites-product-card .falone-product-info h3 {
            font-size: 16px;
        }

    .favorites-product-card .falone-favorite-button {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .favorites-product-card,
    .favorites-product-card .falone-product-image > img,
    .favorites-product-card .falone-favorite-button {
        transition: none !important;
    }
}
