/* =========================================
   CUSTOM WISHLIST PAGE
========================================= */

.custom-wishlist-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
}

.custom-wishlist-container > h2 {
    font-size: 42px;
    font-weight: 500;
    margin: 0 0 40px;
    color: #111;
}


/* =========================================
   WISHLIST GRID
========================================= */

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
    width: 100%;
}


/* =========================================
   PRODUCT CARD
========================================= */

.wishlist-card {
    position: relative;
    width: 100%;
    min-width: 0;
    background: #fff;
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.wishlist-card > a:first-child {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
}

.wishlist-card > a:first-child img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
        border-radius: 20px;
}

.wishlist-card:hover > a:first-child img {
    transform: scale(1.03);
}


/* =========================================
   PRODUCT PRICE
========================================= */

.wishlist-price {
    margin-top: 20px;
    color: #111;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
}

.wishlist-price del {
    margin-left: 5px;
    color: #8b8b8b;
    font-size: 17px;
    font-weight: 400;
}

.wishlist-price ins {
    text-decoration: none;
}


/* =========================================
   PRODUCT TITLE
========================================= */

.wishlist-title {
    margin: 7px 0 18px;
    padding: 0;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
}

.wishlist-title a {
    color: #777;
    text-decoration: none;
}

.wishlist-title a:hover {
    color: #111;
}


/* =========================================
   ACTION AREA
========================================= */

.wishlist-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
   flex-direction: row-reverse!important;
   border-radius: 20px;
       justify-content: space-between;
}


/* =========================================
   REMOVE BUTTON
========================================= */

.remove-wishlist-item {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: opacity 0.3s ease;
}

.remove-wishlist-item:hover {
    background: transparent;
    color: #111;
    opacity: 0.6;
}


/* =========================================
   MOVE TO CART BUTTON
========================================= */

.move-to-cart {
    flex: 1;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border: 0;
    border-radius: 50px 50px 50px 50px;
    background: #F4A7B8;
    color: #000;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
     max-width: 140px;
}

.move-to-cart:hover {
    color: #111;
    transform: translateY(-1px);
    opacity: 0.9;
}

.move-to-cart:disabled {
    cursor: wait;
    opacity: 0.6;
}


/* =========================================
   SOLD OUT BUTTON
========================================= */

.wishlist-out-stock {
    flex: 1;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border: 0;
    border-radius: 10px;
    background: #dedede;
    color: #777;
    font-size: 20px;
    font-weight: 500;
    cursor: not-allowed;
}


/* =========================================
   EMPTY WISHLIST
========================================= */

.wishlist-empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.wishlist-empty h3 {
    margin: 0;
    color: #111;
    font-size: 30px;
    font-weight: 500;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1024px) {

    .custom-wishlist-container {
        padding: 50px 25px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 20px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 767px) {

    .custom-wishlist-container {
        padding: 35px 15px;
    }

    .custom-wishlist-container > h2 {
        margin-bottom: 25px;
        font-size: 30px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 12px;
    }

    .wishlist-price {
        margin-top: 12px;
        font-size: 16px;
    }

    .wishlist-price del {
        font-size: 13px;
    }

    .wishlist-title {
        margin: 5px 0 12px;
        font-size: 15px;
    }

    .wishlist-actions {
        gap: 7px;
    }

    .remove-wishlist-item {
        flex: 0 0 38px;
        width: 38px;
        height: 44px;
        font-size: 20px;
    }

    .move-to-cart,
    .wishlist-out-stock {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 380px) {

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

}