/* ============================================================
   HOUSE OF KANHA — QUICK VIEW MODAL
   Fixed height modal · image full height · right content scroll
   ============================================================ */

body.hok-commerce-lock {
    overflow: hidden;
}

/* ---------- Modal wrapper ---------- */
.hok-qv-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.hok-qv-modal.is-open {
    display: flex;
    opacity: 1;
}

.hok-qv-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(11, 66, 62, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

/* ---------- Dialog (fixed height) ---------- */
.hok-qv-dialog {
    position: relative;
    z-index: 2;
    width: min(1050px, 96vw);
    height: 88vh;
    max-height: 88vh;
    overflow: hidden;
    border: 1px solid rgba(180, 143, 79, 0.26);
    border-radius: 20px;
    background: #fffaf2;
    box-shadow: 0 30px 90px rgba(20, 35, 30, 0.28);
    display: flex;
    flex-direction: column;
}

.hok-qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(148, 112, 60, 0.22);
    border-radius: 50%;
    background: #fffdf8;
    color: #304b42;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.hok-qv-close:hover {
    background: #0b4b40;
    color: #fff;
}

.hok-qv-loading {
    display: grid;
    place-items: center;
    flex: 1;
    color: #735f49;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
}

/* ---------- Content (fills dialog) ---------- */
.hok-qv-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ---------- Product layout (2-column) ---------- */
.hok-qv-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

/* Left: image — full height, no scroll */
.hok-qv-media {
    height: 100%;
    overflow: hidden;
    background: #f6ecdc;
}
.hok-qv-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right: info — scrollable */
.hok-qv-info {
    height: 100%;
    overflow-y: auto;
    padding: 44px 42px 36px;
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 143, 79, 0.5) transparent;
    background: var(--hok-ivory);
}
.hok-qv-info::-webkit-scrollbar {
    width: 6px;
}
.hok-qv-info::-webkit-scrollbar-thumb {
    background: rgba(180, 143, 79, 0.5);
    border-radius: 3px;
}

/* ---------- Info typography ---------- */
.hok-qv-kicker {
    margin-bottom: 9px;
    color: #aa8548;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hok-qv-info h2 {
    margin: 0 42px 10px 0;
    color: #0a493e;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.1;
}
.hok-qv-rating {
    margin-bottom: 8px;
    color: #c79a3c;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 12px;
    font-size: 14px;
    line-height: 1.4;
}

.hok-qv-rating .hok-qv-stars {
    display: inline-flex;
    align-items: center;
    color: #c79a3c;
    font-size: 15px;
    letter-spacing: 1px;
}
.hok-qv-rating .hok-qv-stars .star-rating {
    margin: 0;
    font-size: 15px;
}

.hok-qv-rating .hok-qv-rating-avg {
    color: #0b4b40;
    font-weight: 600;
    font-size: 14px;
}

.hok-qv-rating .hok-qv-rating-sep {
    color: #c9bda9;
    font-size: 13px;
}

.hok-qv-rating .hok-qv-rating-count {
    color: #8f877c;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.hok-qv-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
    color: #0b4b40;
    font-family: var(--hok-font-body) !important;
    font-size: 24px;
    line-height: 1.2;
}

.hok-qv-price .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
}

/* Current price — main, bold */
.hok-qv-price .hok-qv-price-current {
    color: #0b4b40;
    font-weight: 600;
}


.hok-qv-price .hok-qv-price-original {
    position: relative;
    color: #9b948a;
    font-size: 0.7em;
    font-weight: 400;
}


.hok-qv-price .hok-qv-price-original .woocommerce-Price-amount::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;                                  
    background: var(--hok-gold-deep, #0b4b40);    
    transform: rotate(-15deg);
    pointer-events: none;
}



.hok-qv-excerpt {
    margin: 0 0 18px;
    color: #6f6c65;
    font-size: 14px;
    line-height: 1.65;
}
.hok-qv-excerpt p {
    margin: 0 0 10px;
}

/* ---------- Variations / add-to-cart form ---------- */
.hok-qv-info table.variations {
    width: 100%;
    margin: 0 0 14px !important;
    border: 0;
}
.hok-qv-info table.variations tr,
.hok-qv-info table.variations th,
.hok-qv-info table.variations td {
    display: block;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
}
.hok-qv-info table.variations tr {
    margin-bottom: 12px;
}
.hok-qv-info table.variations label {
    display: block;
    margin-bottom: 6px;
    color: #21473d;
    font-size: 14px;
    font-weight: 500;
}
.hok-qv-info table.variations select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d8cdbb;
    border-radius: 9px;
    background: #fff;
    color: #35483f;
    font-size: 14px;
}

.hok-qv-info .quantity .qty {
    width: 76px;
    height: 50px;
    border: 1px solid #d8cdbb;
    border-radius: 999px;
    text-align: center;
    font-size: 15px;
}

.hok-qv-info .single_add_to_cart_button {
    min-height: 50px;
    padding: 12px 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #0b4b40 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s ease;
}
.hok-qv-info .single_add_to_cart_button:hover {
    background: #0e5c4f !important;
}

.hok-qv-info .woocommerce-variation-add-to-cart,
.hok-qv-info form.cart:not(.variations_form) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hok-qv-full {
    display: inline-block;
    margin-top: 18px;
    color: #9a753d;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hok-qv-modal { padding: 12px; }
    .hok-qv-dialog { height: 92vh; max-height: 92vh; }
}

@media (max-width: 760px) {
    .hok-qv-product {
        grid-template-columns: 1fr;
        grid-template-rows: 260px 1fr;
        height: 100%;
    }
    .hok-qv-media {
        height: 260px;
    }
    .hok-qv-info {
        padding: 24px 20px 28px;
    }
    .hok-qv-info h2 {
        font-size: 26px;
        margin-right: 44px;
    }
    .hok-qv-price {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hok-qv-modal { padding: 0; }
    .hok-qv-dialog {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: 0;
    }
    .hok-qv-product {
        grid-template-rows: 220px 1fr;
    }
    .hok-qv-media {
        height: 220px;
    }
}


.hok-qv-overlay{
        /*background-color: var(--ast-global-color-1);*/
        background-color: rgb(from var(--ast-global-color-1) r g b / 0.25) !important;
}

/*.wcboost-variation-swatches__item{*/
/*    min-width: 58px;*/
/*    padding: 10px 12px;*/
/*    border: 1px solid var(--hairline) !important;*/
/*    border-radius: 12px;*/
/*    font-size: 12px;*/
/*    font-weight: 500;*/
/*    letter-spacing: .06em;*/
/*    transition: all .3s var(--ease);*/
/*    background: var(--white);*/
/*}*/

/*.wcboost-variation-swatches__item::after{*/
/*     border-color: var(--gold);*/
/*}*/