/* MEHERIMA V16.0 MODERN COMPACT PRODUCT DETAILS */

.mh160-product {
    --mh160-primary: #007F79;
    --mh160-dark: #006762;
    --mh160-mint: #E3F5F1;
    --mh160-lime: #8AC600;
    --mh160-text: #25343A;
    --mh160-border: #E0E8E6;
    --mh160-background: #F4F7F6;

    background: var(--mh160-background);
    color: var(--mh160-text);
    padding-bottom: 24px;
}

/* MAIN CONTAINER */

.mh160-product > .container {
    max-width: 1440px;
}

.mh160-product > .container > .pt-30px {
    padding-top: 16px !important;
    padding-bottom: 20px !important;
}

/* MAIN PRODUCT SHOWCASE */

.mh160-product .mh160-showcase {
    background: #FFFFFF;
    border: 1px solid var(--mh160-border);
    border-radius: 18px;
    padding: 18px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 3px 14px rgba(24,58,51,.045);
}

/* BREADCRUMB */

.mh160-product .breadcrumb {
    background: transparent !important;
    margin-bottom: 8px;
    padding-bottom: 8px !important;
    font-size: 12px;
    line-height: 1.5;
    flex-wrap: wrap;
}

.mh160-product .breadcrumb a {
    color: #60736E;
}

.mh160-product .breadcrumb a:hover {
    color: var(--mh160-primary);
}

/* PRODUCT GALLERY */

.mh160-product .product-slider-wrapper {
    min-width: 0;
    margin-bottom: 0 !important;
}

.mh160-product .product-slider-wrapper .swiper {
    border-radius: 12px;
    overflow: hidden;
}

.mh160-product .product-slider-wrapper img {
    border-radius: 10px;
    max-width: 100%;
}

.mh160-product .product-slider-wrapper
.swiper-slide-thumb-active {
    outline: 2px solid var(--mh160-primary);
    outline-offset: -2px;
    border-radius: 8px;
}

.mh160-product .product-slider-wrapper
.swiper-button-next,
.mh160-product .product-slider-wrapper
.swiper-button-prev {
    color: var(--mh160-primary);
}

/* PRODUCT TITLE */

.mh160-product h1 {
    font-size: clamp(20px, 2vw, 28px) !important;
    line-height: 1.35;
    font-weight: 700 !important;
    letter-spacing: -.35px;
    color: #20332F;
    margin-bottom: 10px;
}

/* PRODUCT INFORMATION */

.mh160-product #option-choice-form {
    margin-top: 10px;
}

.mh160-product #option-choice-form .row {
    margin-bottom: 8px;
}

.mh160-product .product-variant {
    border-radius: 10px;
    border-color: var(--mh160-border) !important;
}

.mh160-product .product-variant label {
    margin-bottom: 5px;
}

/* SIZE AND COLOR OPTIONS */

.mh160-product #option-choice-form
.aiz-megabox {
    margin-right: 5px;
    margin-bottom: 5px;
}

.mh160-product #option-choice-form
.aiz-megabox-elem {
    border: 1px solid #DCE5E2 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: border-color .15s, background-color .15s;
}

.mh160-product #option-choice-form
.aiz-megabox > input:checked + .aiz-megabox-elem {
    border-color: var(--mh160-primary) !important;
    background-color: var(--mh160-mint);
}

.mh160-product #option-choice-form
.aiz-megabox > input:focus-visible + .aiz-megabox-elem {
    outline: 2px solid var(--mh160-primary);
    outline-offset: 2px;
}

/* PRICE SUMMARY */

.mh160-product #chosen_price_div {
    background: #F0F8F5;
    border: 1px solid #D7EAE3;
    border-radius: 12px;
    padding: 12px !important;
    margin-top: 10px;
    margin-bottom: 12px;
}

.mh160-product #chosen_price {
    color: var(--mh160-primary) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.25;
}

/* QUANTITY SELECTOR */

.mh160-product #option-choice-form .input-number {
    background: #FFFFFF;
    border-color: #DCE5E2 !important;
    color: #25343A;
    font-weight: 600;
}

.mh160-product #option-choice-form
button[data-type="plus"],
.mh160-product #option-choice-form
button[data-type="minus"] {
    background: #EDF6F3 !important;
    color: var(--mh160-primary) !important;
    border-color: #DCE5E2 !important;
    box-shadow: none !important;
}

/* ADD TO CART */

.mh160-product #option-choice-form .add-to-cart,
.mh160-product #option-choice-form button[onclick="addToCart()"] {
    background: var(--mh160-mint) !important;
    background-image: none !important;
    color: var(--mh160-primary) !important;
    border: 1px solid #B6DED5 !important;
    border-radius: 9px !important;
    min-height: 44px;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.mh160-product #option-choice-form .add-to-cart:hover {
    background: #CDEDE4 !important;
}

/* BUY NOW */

.mh160-product #option-choice-form .buy-now,
.mh160-product #option-choice-form button[onclick="buyNow()"] {
    background: var(--mh160-primary) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid var(--mh160-primary) !important;
    border-radius: 9px !important;
    min-height: 44px;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.mh160-product #option-choice-form .buy-now:hover {
    background: var(--mh160-dark) !important;
}

/* PRESERVE DISABLED STATE */

.mh160-product #option-choice-form .btn:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

/* DESCRIPTION AND PRODUCT NAVIGATION */

.mh160-product .nav-tabs {
    border-bottom: 1px solid var(--mh160-border);
}

.mh160-product .nav-tabs .nav-link {
    color: #526660;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.mh160-product .nav-tabs .nav-link.active {
    color: var(--mh160-primary) !important;
    border-bottom-color: var(--mh160-primary) !important;
}

.mh160-product .tab-content {
    line-height: 1.65;
    overflow-wrap: break-word;
}

.mh160-product .tab-content img {
    max-width: 100%;
    height: auto;
}

/* MOBILE COMPACT EXPERIENCE */

@media (max-width: 991.98px) {

    .mh160-product > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mh160-product > .container > .pt-30px {
        padding-top: 8px !important;
        padding-bottom: 12px !important;
    }

    .mh160-product .mh160-showcase {
        padding: 10px;
        border-radius: 13px;
        box-shadow: none;
    }

    .mh160-product .mh160-showcase > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    .mh160-product .product-slider-wrapper {
        margin-bottom: 14px !important;
    }

    .mh160-product h1 {
        font-size: 19px !important;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .mh160-product #chosen_price {
        font-size: 22px !important;
    }

    .mh160-product #chosen_price_div {
        padding: 10px !important;
        margin-top: 8px;
        margin-bottom: 10px;
    }

    .mh160-product #option-choice-form .row {
        margin-bottom: 6px;
    }

    .mh160-product .breadcrumb {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .mh160-product .nav-tabs .nav-link {
        font-size: 12px;
        padding: 10px 8px;
    }

    .mh160-product #option-choice-form .add-to-cart,
    .mh160-product #option-choice-form .buy-now {
        font-size: 13px !important;
        min-height: 44px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .mh160-product *,
    .mh160-product *::before,
    .mh160-product *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
