/* MEHERIMA V17.0 PREMIUM COMPACT PRODUCT DESIGN */

.mh170-product {
    --mh17-teal: #007F79;
    --mh17-dark: #005D59;
    --mh17-mint: #E3F5F1;
    --mh17-border: #DFE7E5;
    --mh17-text: #172322;
    background: #fff !important;
    color: var(--mh17-text);
}

.mh170-product > .container,
.mh170-product .product-details-nav-tab .container {
    max-width: 1480px;
}

.mh170-product .mh170-showcase {
    padding: 12px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    align-items: flex-start;
}

.mh170-product .mh170-gallery,
.mh170-product .mh170-information {
    min-width: 0;
}

.mh170-product h1 {
    font-size: clamp(19px, 1.65vw, 25px) !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    letter-spacing: -.35px;
    color: #172322 !important;
    margin-bottom: 8px !important;
}

.mh170-product .breadcrumb {
    font-size: 11px !important;
    padding-bottom: 6px !important;
}

.mh170-product .text-blue {
    color: var(--mh17-teal) !important;
}

.mh170-product .mh170-information .fs-14 {
    font-size: 13px !important;
}

.mh170-product .mh170-information .mt-4 {
    margin-top: 14px !important;
}

.mh170-product .mh170-information .mt-3 {
    margin-top: 10px !important;
}

.mh170-product .mh170-information .mb-3 {
    margin-bottom: 10px !important;
}

/* GALLERY */

.mh170-product .main-slider {
    border-radius: 12px !important;
    background: #f7f8f7;
}

.mh170-product .thumb-container {
    border-radius: 8px;
}

.mh170-product .thumb-slider .swiper-slide {
    border-radius: 8px !important;
    border: 1px solid #e0e7e5 !important;
}

.mh170-product .thumb-slider .swiper-slide-thumb-active {
    outline: 2px solid #007F79 !important;
    outline-offset: -2px;
}

.mh170-product .swiper-button-next,
.mh170-product .swiper-button-prev {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    background: #fff;
    color: #007F79 !important;
    box-shadow: 0 1px 5px #00000012;
}

.mh170-product .swiper-button-next::after,
.mh170-product .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: 700;
}

/* DEALS */

.mh170-product #flashSaleBox {
    background: #FFE5E7 !important;
    border: 1px solid #FFC8CD !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    animation: none !important;
}

.mh170-product #flashSaleBox .text-white {
    color: #D91E32 !important;
}

.mh170-product #flashSaleBox .flashSaleCountdown {
    background: #ED2438;
    color: #fff !important;
    padding: 5px 9px;
    border-radius: 5px;
    font-weight: 700 !important;
}

.mh170-product .mh170-information
.bg-dark:has(> .text-orange) {
    background: #FFF2D8 !important;
    border: 1px solid #FFDE9A;
    padding: 8px 12px !important;
}

/* PRICE */

.mh170-product #option-choice-form {
    margin-top: 10px !important;
}

.mh170-product #option-choice-form h6.fs-24,
.mh170-product #option-choice-form h6.fs-20 {
    color: var(--mh17-teal) !important;
    font-size: 29px !important;
    font-weight: 800 !important;
}

.mh170-product .discount-badge {
    background: #FFE3E7 !important;
    color: #D91E32 !important;
    border-radius: 6px !important;
    padding: 5px 9px !important;
}

.mh170-product #chosen_price_div {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 12px 4px 0 !important;
}

.mh170-product #chosen_price {
    font-size: 24px !important;
    color: var(--mh17-teal) !important;
}

/* VARIATIONS */

.mh170-product .product-variant {
    border-color: var(--mh17-border) !important;
    border-radius: 8px !important;
}

.mh170-product #option-choice-form .aiz-megabox {
    margin-right: 6px !important;
    margin-bottom: 6px !important;
}

.mh170-product #option-choice-form .aiz-megabox-elem {
    border: 1px solid #D6E0DE !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

.mh170-product #option-choice-form
.aiz-megabox > input:checked + .aiz-megabox-elem {
    background-color: #E3F5F1 !important;
    border: 2px solid #007F79 !important;
}

.mh170-product #option-choice-form
.border-dashed.border-1 {
    border: 1px solid var(--mh17-border) !important;
    border-radius: 10px !important;
    padding: 12px !important;
    background: #fff;
}

.mh170-product .selected-variations {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
}

.mh170-product .aiz-plus-minus {
    border: 1px solid #D6E0DE !important;
    border-radius: 7px !important;
    min-height: 38px;
}

/* PURCHASE ACTIONS */

.mh170-product #option-choice-form .mh170-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px;
    align-items: stretch !important;
}

.mh170-product #option-choice-form
.mh170-actions .add-to-cart,
.mh170-product #option-choice-form
.mh170-actions .buy-now {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    min-height: 46px;
    padding: 11px 8px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 750 !important;
}

.mh170-product #option-choice-form
.mh170-actions .add-to-cart {
    order: 0;
    background: #fff !important;
    color: #007F79 !important;
    border: 1.5px solid #007F79 !important;
}

.mh170-product #option-choice-form
.mh170-actions .buy-now {
    order: 1;
    background: #007F79 !important;
    color: #fff !important;
    border: 1.5px solid #007F79 !important;
}

.mh170-product #option-choice-form
.mh170-actions .add-to-cart:not(.d-none)::before {
    font-family: "Line Awesome Free";
    font-weight: 900;
    content: "\f07a";
    margin-right: 6px;
}

.mh170-product #option-choice-form
.mh170-actions .buy-now:not(.d-none)::before {
    font-family: "Line Awesome Free";
    font-weight: 900;
    content: "\f0e7";
    margin-right: 6px;
}

.mh170-product #option-choice-form
.mh170-actions button:disabled {
    opacity: .55 !important;
}

.mh170-product .order-via-whatsapp {
    margin: 10px 0 !important;
}

.mh170-product .order-via-whatsapp a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #08A842 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%;
    min-height: 42px;
}

.mh170-product .order-via-whatsapp a span {
    font-weight: 700 !important;
    color: #fff !important;
}

/* SELLER AND SERVICE CARDS */

.mh170-product .mh170-service-card,
.mh170-product .mh170-policy-card {
    border: 1px solid var(--mh17-border);
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    margin-top: 10px;
}

.mh170-product .mh170-service-card:empty,
.mh170-product .mh170-policy-card:empty {
    display: none;
}

.mh170-product .mh170-service-card .py-20px {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    flex-wrap: wrap !important;
}

.mh170-product .mh170-service-card .p-20px {
    padding: 10px !important;
    background: #F5F9F8 !important;
    margin-right: 0 !important;
    margin-bottom: 6px !important;
}

.mh170-product .mh170-service-card .store-logo-container {
    width: 38px !important;
    height: 38px !important;
}

.mh170-product .mh170-policy-card .warranty-section {
    padding-bottom: 0 !important;
}

.mh170-product .mh170-policy-card li {
    padding: 7px 0 !important;
    line-height: 1.4;
}

.mh170-product .mh170-policy-card .warranty-text {
    padding-right: 8px !important;
    font-size: 12px !important;
}

/* LOWER PRODUCT SECTIONS */

.mh170-product .product-details-nav-tab {
    margin-top: 12px;
}

.mh170-product .nav-tab-header {
    background: #fff !important;
}

.mh170-product .nav-tab-header .container {
    margin-bottom: 14px !important;
}

.mh170-product .tab-scroll-wrapper {
    border: 1px solid var(--mh17-border);
    border-radius: 9px;
    padding: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.mh170-product #tabLinks {
    gap: 5px;
    white-space: nowrap;
}

.mh170-product #tabLinks li {
    margin: 0 !important;
    flex-shrink: 0;
}

.mh170-product #tabLinks .nav-link {
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    color: #253432 !important;
    border-radius: 6px;
}

.mh170-product #tabLinks .mh170-active {
    background: #007F79 !important;
    color: #fff !important;
}

.mh170-product .tab-underline {
    opacity: 0;
    pointer-events: none;
}

.mh170-product .product-details-nav-tab section {
    margin-bottom: 14px !important;
    min-width: 0;
    scroll-margin-top: 150px;
}

.mh170-product .product-details-nav-tab
section > .border,
.mh170-product .frequently-bought-container {
    padding: 16px !important;
    border: 1px solid var(--mh17-border) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.mh170-product .aiz-editor-data {
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.mh170-product .aiz-editor-data img {
    max-width: 100%;
    height: auto;
}

/* DESKTOP */

@media (min-width: 1200px) {

    .mh170-product .mh170-gallery {
        flex: 0 0 41%;
        max-width: 41%;
    }

    .mh170-product .mh170-information {
        flex: 0 0 59%;
        max-width: 59%;
    }

    .mh170-product .mh170-information
    #option-choice-form {
        display: flow-root;
    }

    .mh170-product .mh170-service-card,
    .mh170-product .mh170-policy-card {
        width: 100%;
    }
}

/* MOBILE */

@media (max-width: 991.98px) {

    .mh170-product > .container,
    .mh170-product .product-details-nav-tab .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .mh170-product .mh170-showcase {
        padding: 0 !important;
        margin: 0 !important;
    }

    .mh170-product .mh170-gallery,
    .mh170-product .mh170-information {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 !important;
    }

    .mh170-product .product-slider-wrapper {
        margin-bottom: 12px !important;
    }

    .mh170-product .mh170-information h1 {
        font-size: 19px !important;
        line-height: 1.35 !important;
    }

    .mh170-product .mh170-information .fs-14 {
        font-size: 12px !important;
    }

    .mh170-product .thumb-slider {
        margin-top: 7px;
    }

    .mh170-product #option-choice-form h6.fs-24,
    .mh170-product #option-choice-form h6.fs-20 {
        font-size: 26px !important;
    }

    .mh170-product .mh170-service-card,
    .mh170-product .mh170-policy-card {
        padding: 9px;
    }

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

    .mh170-product #tabLinks .nav-link {
        padding: 9px 12px !important;
        font-size: 12px !important;
    }

    .mh170-product .product-details-nav-tab
    section > .border,
    .mh170-product .frequently-bought-container {
        padding: 11px !important;
    }
}

/* REDUCE UNNECESSARY DECORATIVE MOTION */

.mh170-product .people-view,
.mh170-product .pulse-layer {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .mh170-product *,
    .mh170-product *::before,
    .mh170-product *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
