* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #fff7f9;
    color: #33282d;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

/* =========================================================
   PAGE
========================================================= */

.wishlist-page {
    width: 100%;
    min-height: 100vh;
    padding: 45px 0 80px;

    background:
        linear-gradient(
            180deg,
            #fff7f9 0%,
            #fffafb 100%
        );
}

.wishlist-container {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin: 0 auto;
}

/* =========================================================
   HEADING
========================================================= */

.wishlist-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}

.wishlist-label {
    display: block;

    margin-bottom: 8px;

    color: #b66d81;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.wishlist-heading h1 {
    margin: 0;

    color: #372b30;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 32px;
    line-height: 1.2;

    font-weight: 400;
}

.wishlist-heading p {
    margin: 9px 0 0;

    color: #897980;

    font-size: 11px;

    line-height: 1.5;
}

/* =========================================================
   CLEAR
========================================================= */

.clear-wishlist-form {
    margin: 0;
}

.clear-wishlist-form button {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 15px;

    border:
        1px solid
        #e0d1d6;

    background: #fffafb;

    color: #75666d;

    font-size: 10px;
}

.clear-wishlist-form button:hover {
    border-color: #c88f9f;

    background: #fff1f4;

    color: #9d6073;
}

/* =========================================================
   COUNT
========================================================= */

.wishlist-count {
    margin-bottom: 15px;

    color: #95868c;

    font-size: 10px;
}

/* =========================================================
   GRID
========================================================= */

.wishlist-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 18px;
}

/* =========================================================
   CARD
========================================================= */

.wishlist-card {
    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        #eadce0;

    background: #fffafb;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.wishlist-card:hover {
    transform:
        translateY(-2px);

    border-color:
        #ddc5cd;

    box-shadow:
        0 12px 28px
        rgba(
            70,
            45,
            53,
            .07
        );
}

/* =========================================================
   IMAGE
========================================================= */

.wishlist-image-wrap {
    position: relative;

    width: 100%;

    aspect-ratio:
        4 / 4.8;

    overflow: hidden;

    background:
        #f9eef2;
}

.wishlist-image-link {
    width: 100%;
    height: 100%;

    display: block;
}

.wishlist-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .3s ease;
}

.wishlist-card:hover
.wishlist-image {
    transform:
        scale(1.025);
}

.wishlist-image-fallback {
    position: absolute;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    background:
        #f9eef2;

    color:
        #c6b3ba;

    font-size: 32px;
}

.wishlist-image-fallback.visible {
    display: flex;
}

/* =========================================================
   SALE
========================================================= */

.wishlist-sale-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    padding:
        5px 8px;

    background:
        #fae7ed;

    color:
        #a35d72;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .6px;

    text-transform:
        uppercase;
}

/* =========================================================
   REMOVE
========================================================= */

.remove-wishlist-form {
    position: absolute;

    top: 10px;
    right: 10px;

    margin: 0;
}

.remove-wishlist-form button {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        #ead9de;

    border-radius: 50%;

    background:
        rgba(
            255,
            250,
            251,
            .94
        );

    color:
        #b76f81;

    font-size: 12px;

    transition:
        .2s ease;
}

.remove-wishlist-form button:hover {
    background:
        #b76f81;

    border-color:
        #b76f81;

    color:
        #fff;
}

.remove-wishlist-form button:disabled {
    opacity: .6;

    cursor: wait;
}

/* =========================================================
   INFO
========================================================= */

.wishlist-info {
    padding: 16px;
}

.wishlist-brand {
    display: block;

    margin-bottom: 6px;

    color:
        #b66d81;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.4px;
}

.wishlist-product-name {
    display: block;

    min-height: 34px;

    color:
        #40343a;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    line-height: 1.35;
}

.wishlist-product-name:hover {
    color:
        #b66d81;
}

.wishlist-product-brand {
    display: block;

    margin-top: 5px;

    color:
        #95858b;

    font-size: 9px;
}

.wishlist-sku {
    display: block;

    margin-top: 5px;

    color:
        #a09298;

    font-size: 8px;
}

/* =========================================================
   PRICE
========================================================= */

.wishlist-price {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 11px;
}

.wishlist-price strong {
    color:
        #493b41;

    font-size: 13px;

    font-weight: 600;
}

.wishlist-price del {
    color:
        #a4979c;

    font-size: 10px;
}

/* =========================================================
   STOCK
========================================================= */

.wishlist-stock {
    min-height: 17px;

    display: flex;

    align-items: center;

    gap: 5px;

    margin-top: 9px;

    font-size: 9px;

    font-weight: 600;
}

.wishlist-stock.available {
    color:
        #63806c;
}

.wishlist-stock.low {
    color:
        #a67367;
}

.wishlist-stock.unavailable {
    color:
        #a35f71;
}

/* =========================================================
   BUTTON
========================================================= */

.wishlist-shop-button {
    width: 100%;

    min-height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 13px;

    border:
        1px solid
        #2f2629;

    background:
        #2f2629;

    color:
        #fff;

    font-size: 9px;

    font-weight: 600;

    transition:
        .2s ease;
}

.wishlist-shop-button:hover {
    border-color:
        #b66d81;

    background:
        #b66d81;
}

/* =========================================================
   EMPTY
========================================================= */

.wishlist-empty {
    min-height: 480px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    border-top:
        1px solid
        #eadce0;

    text-align: center;
}

.empty-heart {
    width: 78px;
    height: 78px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 50%;

    background:
        #fae9ee;

    color:
        #c6899b;

    font-size: 29px;
}

.wishlist-empty > span {
    color:
        #b66d81;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.6px;
}

.wishlist-empty h2 {
    margin:
        10px 0 6px;

    color:
        #40343a;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: 400;
}

.wishlist-empty p {
    margin: 0;

    color:
        #897980;

    font-size: 10px;
}

.shop-button {
    min-height: 43px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 19px;

    padding:
        0 18px;

    border:
        1px solid
        #2f2629;

    background:
        #2f2629;

    color:
        #fff;

    font-size: 9px;

    font-weight: 600;

    transition:
        .2s ease;
}

.shop-button:hover {
    border-color:
        #b66d81;

    background:
        #b66d81;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .wishlist-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}

/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 780px) {

    .wishlist-page {
        padding:
            32px 0 60px;
    }

    .wishlist-container {
        width:
            calc(100% - 28px);
    }

    .wishlist-heading {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 16px;
    }

    .clear-wishlist-form {
        width:
            100%;
    }

    .clear-wishlist-form button {
        width:
            100%;
    }

    .wishlist-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 13px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .wishlist-container {
        width:
            calc(100% - 18px);
    }

    .wishlist-heading h1 {
        font-size: 28px;
    }

    .wishlist-heading p {
        font-size: 10px;
    }

    .wishlist-grid {
        grid-template-columns:
            1fr;

        gap: 14px;
    }

    .wishlist-image-wrap {
        aspect-ratio:
            1 / 1.05;
    }

    .wishlist-info {
        padding: 14px;
    }

    .wishlist-product-name {
        font-size: 13px;
    }

    .wishlist-empty {
        min-height: 430px;
    }

}