/* =========================================================
   JORA TREND - WISHLIST
========================================================= */

.wishlist-page {
    min-height: 70vh;
    background: #f8f5ed;
    padding: 75px 6% 100px;
}


/* =========================================================
   HEADING
========================================================= */

.wishlist-heading {
    text-align: center;
    margin-bottom: 55px;
}

.wishlist-heading span {
    color: #9a762f;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 600;
}

.wishlist-heading h1 {
    margin: 10px 0;
    color: #023020;
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
}

.wishlist-heading h1 em {
    color: #9a762f;
    font-style: italic;
}

.wishlist-heading p {
    margin: 0;
    color: #85857e;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

/* =========================================================
   WISHLIST COUNT - TOP RIGHT CORNER
========================================================= */

.wishlist-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* COUNT BADGE */

.wishlist-count {
    position: absolute;

    top: -9px;
    right: -10px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #c79b50;
    color: #ffffff;

    border: 2px solid #ffffff;
    border-radius: 50%;

    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    font-weight: 700;

    line-height: 1;

    box-sizing: border-box;

    transition: all 0.3s ease;
}


/* ICON HOVER */

.wishlist-header-icon:hover i {
    color: #c79b50;
    transition: color 0.3s ease;
}


/* COUNT HOVER */

.wishlist-header-icon:hover .wishlist-count {
    background: #003f2f;
    color: #c79b50;
    transform: scale(1.08);
}


/* =========================================================
   PRODUCTS
========================================================= */

.wishlist-products {
    max-width: 1150px;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


/* =========================================================
   CARD
========================================================= */

.wishlist-card {
    background: #fff;
    transition: .35s ease;
}

.wishlist-card:hover {
    transform: translateY(-6px);
}


/* =========================================================
   IMAGE
========================================================= */

.wishlist-image {
    position: relative;

    height: 320px;

    overflow: hidden;

    background: #f0ede5;
}

.wishlist-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

.wishlist-card:hover .wishlist-image img {
    transform: scale(1.04);
}


/* =========================================================
   REMOVE HEART
========================================================= */

.remove-wishlist {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.94);

    color: #9a762f;

    text-decoration: none;

    font-size: 15px;

    transition: .3s ease;
}

.remove-wishlist:hover {
    background: #023020;
    color: #d7bc70;
}


/* =========================================================
   INFO
========================================================= */

.wishlist-info {
    padding: 18px;

    text-align: center;
}

.wishlist-info span {
    color: #9a762f;

    font-family: 'Montserrat', sans-serif;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.wishlist-info h2 {
    margin: 7px 0;

    color: #023020;

    font-family: 'Cormorant Garamond', serif;

    font-size: 24px;

    font-weight: 500;
}

.wishlist-info p {
    margin: 0;

    color: #555;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;
}


/* =========================================================
   EMPTY
========================================================= */

.wishlist-empty {
    max-width: 600px;

    margin: 40px auto;

    padding: 75px 25px;

    text-align: center;

    border-top: 1px solid #ded5c4;

    border-bottom: 1px solid #ded5c4;
}

.wishlist-empty i {
    color: #b08a45;
    font-size: 38px;
}

.wishlist-empty h2 {
    margin: 18px 0 8px;

    color: #023020;

    font-family: 'Cormorant Garamond', serif;

    font-size: 34px;

    font-weight: 500;
}

.wishlist-empty p {
    color: #85857e;

    font-family: 'Montserrat', sans-serif;

    font-size: 13px;

    line-height: 1.8;
}

.wishlist-empty a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 20px;

    padding: 13px 20px;

    background: #023020;

    color: #fff;

    text-decoration: none;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1.3px;

    transition: .3s ease;
}

.wishlist-empty a:hover {
    background: #9a762f;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .wishlist-products {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {

    .wishlist-page {
        padding: 50px 16px 70px;
    }

    .wishlist-heading h1 {
        font-size: 43px;
    }

    .wishlist-products {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .wishlist-image {
        height: 220px;
    }

    .wishlist-info {
        padding: 13px 8px;
    }

    .wishlist-info h2 {
        font-size: 19px;
    }

}

/* ===== search + wishlist cards ===== */
.search-products .product-image-wrap,
.wishlist-products .product-image-wrap {
    position: relative;
}

.search-products .product-image,
.wishlist-products .product-image {
    width: 100%;
    height: 320px;           /* shop page value podunga */
    object-fit: cover;
    display: block;
}

/* heart / remove button hover image mela irukanum */
.search-products .search-heart,
.wishlist-products .remove-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
}

.search-products .search-heart {
    border: none;
    cursor: pointer;
}

@media (max-width: 550px) {
    .search-products .product-image,
    .wishlist-products .product-image {
        height: 220px;
    }

    .product-card .product-info {
        padding: 16px 44px 16px 10px;
    }

    .product-card .product-name {
        font-size: 19px;
    }
}