/* =========================================================
   BENGALI HANDLOOM
   WISHLIST PAGE
   ========================================================= */

.bh-wishlist-page {
    width: 100%;
    background: #f3eee6;
    padding: 90px 20px 110px;
    box-sizing: border-box;
}


.bh-wishlist-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.bh-wishlist-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(30, 30, 30, 0.12);
}


.bh-wishlist-heading {
    max-width: 650px;
}


.bh-wishlist-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}


.bh-wishlist-eyebrow span {
    width: 34px;
    height: 1px;
    background: #B38B59;
    display: block;
}


.bh-wishlist-eyebrow p {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B38B59;
}


.bh-wishlist-heading h1 {
    margin: 0;
    color: #1d1d1b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
}


.bh-wishlist-intro {
    max-width: 520px;
    margin: 18px 0 0;
    color: #756B63;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.bh-wishlist-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}


.bh-wishlist-total {
    color: #555;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
}


.bh-clear-wishlist {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 7px 0;
    color: #555;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 1px solid #777;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}


.bh-clear-wishlist:hover {
    color: #111;
    border-color: #111;
}


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

.bh-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


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

.bh-wishlist-card {
    min-width: 0;
    border: 1px solid rgba(30, 30, 30, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.bh-wishlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}


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

.bh-wishlist-card-image {
    position: relative;
    overflow: hidden;
    background: #eeeae3;
    aspect-ratio: 4 / 5;
}


.bh-wishlist-card-image > a {
    display: block;
    width: 100%;
    height: 100%;
}


.bh-wishlist-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}


.bh-wishlist-card:hover
.bh-wishlist-card-image img {
    transform: scale(1.045);
}


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

.bh-wishlist-remove {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #754327;
    border-radius: 50%;

    background: transparent;
    color: #754327;

    font-size: 21px;
    line-height: 1;
    font-family: Arial, sans-serif;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.bh-wishlist-remove:hover {
    background: #754327;
    color: #fff;
    transform: rotate(90deg);
}


/* =========================================================
   NO IMAGE
   ========================================================= */

.bh-wishlist-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa;
    font-size: 42px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.bh-wishlist-card-content {
    padding: 24px 24px 25px;
}


.bh-wishlist-card-type {
    display: block;
    margin-bottom: 10px;

    color: #8a8a8a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.4;
}


.bh-wishlist-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 400;
}


.bh-wishlist-card h3 a {
    color: #202020;
    text-decoration: none;
}


.bh-wishlist-card h3 a:hover {
    color: #666;
}


.bh-wishlist-material {
    min-height: 23px;
    margin: 10px 0 0;

    color: #777;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.bh-wishlist-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid rgba(30, 30, 30, 0.1);
}


.bh-wishlist-price {
    color: #222;
    font-size: 14px;
    font-weight: 600;
}


.bh-wishlist-price del {
    opacity: 0.45;
}


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


/* =========================================================
   ADD TO INQUIRY
   ========================================================= */

.bh-wishlist-inquiry {
    appearance: none;

    border: 1px solid #754327;
    background: transparent;
    color: #000;

    min-height: 42px;
    padding: 0 17px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.bh-wishlist-inquiry:hover {
    background: #754327;
    color: #fff;
}


.bh-wishlist-inquiry:active {
    transform: scale(0.97);
}


.bh-wishlist-inquiry.is-added {
    background: #555;
    border-color: #555;
}

.bh-wishlist-cart-btn.is-added {
    background: #2b6134;
    border-color: #2b6134;
    color: #fff;
}

.bh-wishlist-cart-btn.is-loading {
    opacity: 0.65;
    cursor: wait;
    pointer-events: none;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.bh-wishlist-empty {
    min-height: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 70px 25px;

    text-align: center;

    background: #fff;
    border: 1px solid rgba(30, 30, 30, 0.08);
}


.bh-wishlist-empty-icon {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border: 1px solid #70442e;
    border-radius: 50%;

    color: #70442e;
    font-size: 34px;
}


.bh-wishlist-empty h2 {
    margin: 0;

    color: #222;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 400;
}


.bh-wishlist-empty p {
    max-width: 440px;

    margin: 14px 0 25px;

    color: #777;
    font-size: 14px;
    line-height: 1.8;
}


.bh-wishlist-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 26px;

    background: #70452f;
    color: #fff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.bh-wishlist-shop-button:hover {
    background: #70442e;
    transform: translateY(-2px);
}


/* =========================================================
   LOADING
   ========================================================= */

.bh-wishlist-loading {
    min-height: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 1px solid rgba(30, 30, 30, 0.08);
}


.bh-wishlist-loading p {
    margin: 18px 0 0;

    color: #777;
    font-size: 13px;
}


.bh-wishlist-spinner {
    width: 30px;
    height: 30px;

    display: block;

    border: 2px solid #ddd;
    border-top-color: #222;
    border-radius: 50%;

    animation: bhWishlistSpin 0.8s linear infinite;
}


@keyframes bhWishlistSpin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   TOAST
   ========================================================= */

.bh-wishlist-toast {
    position: fixed;

    left: 50%;
    bottom: 30px;

    z-index: 999999;

    max-width: calc(100vw - 40px);

    padding: 13px 20px;

    background: #1d1d1b;
    color: #fff;

    border-radius: 3px;

    font-size: 13px;
    line-height: 1.4;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 20px);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


.bh-wishlist-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}


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

@media (max-width: 1024px) {

    .bh-wishlist-page {
        padding: 70px 20px 90px;
    }


    .bh-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .bh-wishlist-header {
        align-items: flex-start;
    }

}


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

@media (max-width: 767px) {

    .bh-wishlist-page {
        padding: 55px 15px 70px;
    }


    .bh-wishlist-header {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
        padding-bottom: 22px;
    }


    .bh-wishlist-heading h1 {
        font-size: 44px;
    }


    .bh-wishlist-intro {
        font-size: 14px;
        line-height: 1.7;
    }


    .bh-wishlist-header-actions {
        width: 100%;
        justify-content: space-between;
    }


    .bh-wishlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .bh-wishlist-card-content {
        padding: 21px;
    }


    .bh-wishlist-card h3 {
        font-size: 23px;
    }

}


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

@media (max-width: 480px) {

    .bh-wishlist-heading h1 {
        font-size: 38px;
    }


    .bh-wishlist-eyebrow p {
        font-size: 10px;
    }


    .bh-wishlist-header-actions {
        gap: 12px;
    }


    .bh-wishlist-total {
        font-size: 12px;
    }


    .bh-clear-wishlist {
        font-size: 10px;
    }


    .bh-wishlist-card-image {
        aspect-ratio: 1 / 1.15;
    }


    .bh-wishlist-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }


    .bh-wishlist-inquiry {
        width: 100%;
    }


    .bh-wishlist-empty {
        min-height: 380px;
        padding: 50px 20px;
    }


    .bh-wishlist-empty h2 {
        font-size: 29px;
    }

}

/* =========================================================
   WISHLIST BUTTONS SITAWIDE
   ========================================================= */

/* 1. Catalog / Shop Grid Product Card Wishlist Button */
.b2b-card-wishlist-btn.wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    font-size: 15px;
    cursor: pointer;
    z-index: 8;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.b2b-card-wishlist-btn.wishlist-btn:hover {
    transform: scale(1.12);
    background: #ffffff;
    color: #b33939;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.b2b-card-wishlist-btn.wishlist-btn.active,
.b2b-card-wishlist-btn.wishlist-btn.is-wishlisted {
    color: #b33939;
    background: #ffffff;
}

.b2b-card-wishlist-btn.wishlist-btn.active i,
.b2b-card-wishlist-btn.wishlist-btn.is-wishlisted i {
    color: #b33939;
}

/* 2. Single Product Page Wishlist Button */
.bhlsp-actions {
    grid-template-columns: 1fr 1fr 58px !important;
}

.bhlsp-wishlist-btn.wishlist-btn {
    width: 58px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a88a67;
    background: transparent;
    color: #e0cdb3;
    font-size: 20px;
    cursor: pointer;
    border-radius: 0;
    padding: 0;
    margin: 0;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.bhlsp-wishlist-btn.wishlist-btn:hover {
    transform: translateY(-2px);
    background: var(--bhlsp-brown, #5c3a21);
    border-color: var(--bhlsp-brown, #5c3a21);
    color: #ffffff;
}

.bhlsp-wishlist-btn.wishlist-btn.active,
.bhlsp-wishlist-btn.wishlist-btn.is-wishlisted {
    background: transparent;
    border-color: #a88a67;
    color: #000;
}

.bhlsp-wishlist-btn.wishlist-btn.active i,
.bhlsp-wishlist-btn.wishlist-btn.is-wishlisted i {
    color: #b33939;
}

/* Mobile responsive single-product actions */
@media (max-width: 640px) {
    .bhlsp-actions {
        grid-template-columns: 1fr 1fr !important;
    }

    .bhlsp-wishlist-btn.wishlist-btn {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        gap: 10px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .8px;
        text-transform: uppercase;
    }
}
