@import url('./mmad-home-style.css');

/*@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: 100;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Thin.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Thin.woff2') format('woff2');
}*/

/*@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Light.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
}*/

@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
}

/* Temporarily hide product suggestion section */
.product-suggestion {
    display: none !important;
}

/* Hide review summary on mobile */
@media (max-width: 767px) {
    .review-summary {
        display: none !important;
    }
}

@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/woff/YekanBakhFaNum-Bold.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: 800;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
}

/*@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: 900;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Black.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Black.woff2') format('woff2');
}*/

/*@font-face {
    font-family: 'YekanBakhFaNum';
    font-style: normal;
    font-weight: 950;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
}*/

/*iliya added font family*/

@font-face {
    font-family: 'YekanBakhNoEn';
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/YekanBakhNoEn/woff/YekanBakhNoEn-Regular.woff') format('woff'),
        url('../fonts/YekanBakhNoEn/woff2/YekanBakhNoEn-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakhNoEn';
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/YekanBakhNoEn/woff/YekanBakhNoEn-SemiBold.woff') format('woff'),
        url('../fonts/YekanBakhNoEn/woff2/YekanBakhNoEn-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakhNoEn';
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/YekanBakhNoEn/woff/YekanBakhNoEn-Bold.woff') format('woff'),
        url('../fonts/YekanBakhNoEn/woff2/YekanBakhNoEn-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'YekanBakhNoEn';
    font-style: normal;
    font-weight: 800;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/YekanBakhNoEn/woff/YekanBakhNoEn-ExtraBold.woff') format('woff'),
        url('../fonts/YekanBakhNoEn/woff2/YekanBakhNoEn-ExtraBold.woff2') format('woff2');
}









::-webkit-scrollbar {
    width: 12px;
    border-radius: 30px;
}

::-webkit-scrollbar-track {
    background: #eee
}

::-webkit-scrollbar-thumb {
    background: #0031A2;
    border-radius: 30px
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #000000;
}

html {
    overflow-x: hidden;
    height: 100%;
    scroll-behavior: smooth;
}

/*.nm-content span, h1, h2, h3, h4, h5, p , strong  {*/
/*    margin: 0px;*/
/*}*/

.nm-content p {
    line-height: 28px;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #0031A2 #f1f1f1;
    direction: ltr;
    margin: 0;
    height: 100%;
    font-family: 'YekanBakhFaNum';
}

body * {
    direction: rtl;
}

button,
input {
    font-family: 'YekanBakhFaNum';
}

a {
    text-decoration: none !important;
    transition: 0.3s;
}

img {
    height: auto;
}

:root {
    --primary-color: #0031A2;
    --secondary-color: #F14A25;
}

.nm-info-header-right .nm-menu ul li:first-child>a {
    color: #FB3A0F;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.submenu-visible .submenu-visible {
    border-bottom: none !important;
}

.nm-header {
    /* background-color: #EFF4FF; */
    padding: 20px 0px 0px 0px
}

@media (max-width: 767px) {
    .nm-header {
        padding: 0px 0px 0px 0px;
        background-color: #ffffff;

    }

}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header-logo {
    width: 179px;
    display: flex;
    align-items: center;
}

.main-header-logo img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.nm-user {
    /* width: 40px; */
    height: 44px;
    box-shadow: 0px 0px 20px 0px #8BAEFF33;
    display: flex;
    padding: 12px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #fff;
}

.nm-user-wrap {
    position: relative;
    z-index: 30;
}

/* منوی کاربر نباید توسط ظرف کشیدهٔ هدر یا html overflow-x قطع شود */
.nm-header .nm-main-top-header,
.nm-header .nm-main-top-header .container {
    overflow: visible;
}

.nm-user--toggle {
    border: none;
    background: #fff;
    font: inherit;
    cursor: pointer;
    width: 100%;
    text-align: right;
    gap: 8px;
}

.nm-user__name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nm-user__toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 2px;
    transition: transform 0.2s ease;
}

.nm-user-wrap.is-open .nm-user__toggle-arrow {
    transform: rotate(180deg);
}

.nm-user-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    /* به‌صورت فیزیکی از لبهٔ چپِ تِرایگر لنگر می‌گیرد تا به‌سمت راستِ صفحه باز شود؛
       با RTL و right: 0 قبلی پنل به بیرون از چارچوب/ویوپورت می‌رفت */
    left: 0;
    right: auto;
    z-index: 20;
    width: min(292px, calc(100vw - 24px));
    padding: 12px;
    margin: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0px -4px 40px 0px #26262633;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nm-user-wrap.is-open .nm-user-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nm-user-dropdown__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    margin: 0;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none !important;
    color: inherit;
}


.nm-user-dropdown__row:last-child {
    margin-bottom: 0;
}

.nm-user-dropdown__row:not(.nm-user-dropdown__row--wallet):not(.nm-user-dropdown__row--logout):hover {
    background: #fafafa;
}

.nm-user-dropdown__row--wallet {
    align-items: center;
    flex-wrap: wrap;
    background: #fff3f0;
    padding: 12px;
    gap: 8px;
    margin-bottom: 8px;
}

.nm-user-dropdown__start {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nm-user-dropdown__icon {
    display: inline-flex;
    flex-shrink: 0;
}

.nm-user-dropdown__label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
    color: #4f4f4f;
}

.nm-user-dropdown__balance-wrap .woocommerce-Price-amount,
.nm-user-dropdown__balance-wrap bdi,
.nm-user-dropdown__balance-wrap .nm-user-dropdown__balance {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #f14a25 !important;
    white-space: nowrap;
}

.nm-user-dropdown__balance-wrap .nm-user-dropdown__balance--recharge {
    color: #f14a25 !important;
}

.nm-user-dropdown__chevron {
    display: inline-flex;
    flex-shrink: 0;
}

.nm-user-dropdown__divider {
    height: 0;
    margin: 6px 0 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.nm-user-dropdown__row--logout .nm-user-dropdown__label {
    color: #828282 !important;
}

.nm-user-dropdown__row--logout svg path {
    stroke: #828282;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header form {
    background: #FFFFFF;
    /* box-shadow: 0px 0px 20px 0px #4F4F4F14; */
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0px 0px;
    gap: 12px;
    min-width: 436px;
}

.top-header form button {
    margin-right: auto;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
}

.top-header form span {
    display: flex;
}

.top-header form input {
    border: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
    color: #828282;
    outline: none;
    width: 100%;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nm-hero-slide-image-2 {
    display: none;
}

.nm-parent-info {
    border-bottom: 1px solid #0031A2;
    box-shadow: 0px 0px 40px 0px #59595933;
}

.nm-info-header {
    /* margin-bottom: -54px; */
    margin-top: 16px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: 0.3s;


}

/* دکمهٔ «همه محصولات» حذف شد؛ منوها به‌صورت نوار افقی در .nm-mega-nav */

.nm-info-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.nm-mega-nav {
    position: relative;
    flex: 1;
    min-width: 0;
}

.nm-mega-top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 12px;
}

.nm-mega-top-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    color: #4f4f4f;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 1290px) {
    .nm-mega-top-menu {
        gap: 2px 10px;
    }
    .nm-mega-top-item>a {
    font-size: 12px;    
    }
}
.nm-mega-top-item>a:hover {
    color: var(--primary-color);
}

.nm-mega-top-item.is-active>a {
    color: var(--primary-color);
    border-bottom-color: transparent;
    position: relative;
}

.nm-mega-top-item.is-active>a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 19px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 8px;
}

.nm-mega-top-item>a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nm-mega-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    padding: 0 16px;
    box-sizing: border-box;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: auto;
}

.nm-mega-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    top: -14px;
}

.nm-mega-nav.is-mega-open .nm-mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nm-mega-dropdown .nm-mega-menu-inner {
    width: 85%;
    max-width: 1260px;
    margin: 1px auto;
    background: #ffffff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0px -4px 40px 0px #26262633;
    overflow: hidden;
}

@media (min-width: 992px) {

    .nm-parent-info,
    .nm-parent-info .container {
        overflow: visible;
    }
}

.nm-offers-title img {
    width: 260px;
    height: 60px;
    object-fit: scale-down;
}


.nm-offers-products {
    height: 100%;
}

.nm-offers-products .swiper-container {
    overflow: hidden;
}

.nm-offer-img {
    border-radius: 12px;
}

.nm-offers-banner img {
    border-radius: 12px;
}

.nm-btn-offers {
    display: flex;
    align-items: center;
    /* background-color: #0031A2; */
    gap: 4px;
    /* height: 56px; */
    padding: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 7.4px;
    transition: 0.3s;
    /* color: #fff; */
}

.nk-servis {
    color: #472f91;
    border-left: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
}

.np-servis {
    color: #294E77;

}

.nm-servis {
    color:#FB502A;
}
.nm-btn-offers:hover {
    /* background-color: #26008784;
    color: #0031A2; */
}

.nm-info-left {
    display: flex;
    align-items: center;
    gap: 0px;
}

.nm-cart-btn {
    position: relative;
    box-shadow: 0px 0px 16px 0px #16A36833;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: center;
}

.nm-user a {
    font-style: Bold;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

.nm-user--guest {
    cursor: pointer;
    text-decoration: none !important;
    color: inherit;
    gap: 8px;
}

.nm-user--guest:hover,
.nm-user--guest:focus {
    color: inherit;
}

.nm-user--guest span {
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    color: #4F4F4F;
}

.nm-cart-btn>a {
    /* background-color: #16A368; */
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* border-radius: 8px; */
}

.nm-cart-btn>a>span {
    font-size: 14px;
    font-weight: 700;
    line-height: 22.4px;
    color: #16A368;
}

.swiper {
    overflow: hidden;
}

.nm-hero-swiper {
    position: relative;
    margin-top: 76px;
}

.nm-hero-swiper .swiper-slide {
    border-radius: 12px;
}

.nm-hero-slide img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.recomendSwiper {
    padding: 18px 0px;
}

.fastLabels {
    position: absolute;
    left: 0;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 1px;
    white-space: nowrap;
    z-index: 10;
    border-radius: 20px;
}

.fastLabels-mobile {
    display: none;
}

.offers-product .fastLabels {
    position: absolute;
    right: 0;
    left: auto;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 1px;
    white-space: nowrap;
    z-index: 10;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.nm-shop-products .fastLabels,
.nm-product-box.style4 .fastLabels,
.nm-product-box.style8 .fastLabels,
.nm-product-box.style9 .fastLabels {
    position: absolute;
    right: 0;
    left: auto;
    padding: 5px 6px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 1px;
    white-space: nowrap;
    z-index: 10;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.nm-product-slider .fastLabels {
    position: absolute;
    right: 0;
    left: auto;
    padding: 5px 5px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 1px;
    white-space: nowrap;
    z-index: 10;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.discount-slider .fastLabels {
    position: absolute;
    right: 0;
    left: auto;
    padding: 5px 5px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 1px;
    white-space: nowrap;
    z-index: 10;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

@media (max-width: 640px) {
    .fastLabels {}

    .offers-product .fastLabels {
        font-size: 9px;
    }

    .nm-product-slider .fastLabels {
        padding: 5px 3px;
        font-size: 9px;
    }

    .nm-shop-products .fastLabels,
    .nm-product-box.style4 .fastLabels,
    .nm-product-box.style8 .fastLabels,
    .nm-product-box.style9 .fastLabels {
        padding: 5px 3px;
        font-size: 9px;
    }

}

.nm-hero-swiper .swiper-pagination-bullet,
.consolesswiper .swiper-pagination-bullet,
.recomendSwiper .swiper-pagination-bullet,
.gamesswiper .swiper-pagination-bullet,
.style7Swiper .swiper-pagination-bullet,
.nm-offers-products .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    opacity: 1;
    margin: 0 4px;
}

.nm-hero-swiper .swiper-pagination-bullet-active,
.consolesswiper .swiper-pagination-bullet-active,
.recomendSwiper .swiper-pagination-bullet-active,
.gamesswiper .swiper-pagination-bullet-active,
.style7Swiper .swiper-pagination-bullet-active,
.nm-offers-products .swiper-pagination-bullet-active {
    background: #333333;
    border: 1px solid #333333;
}

.nm-categories {
    margin-top: 72px;
}

.nm-categories-box img {
    border-radius: 50%;
    margin-bottom: 16px;
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.nm-categories-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nm-categories-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
    text-align: center;
}

.home .banner {
    z-index: 1;
    position: relative;
}

.banners-box a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banners-box .nm-categories-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
    text-align: center;
    margin-top: 10px;
}

.nm-categories-swiper {
    max-width: 885px !important;
    margin: auto;
}

.nm-categories-swiper .swiper-wrapper {
    justify-content: center;
}

.nm-nakhlplus-products {
    margin-top: 75px;
}

.nm-nakhlplus-products-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.nm-nakhlplus-products-head .nm-nakhlplus-products-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: var(--primary-color);
}

.nm-more {
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    color: #4F4F4F;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #BDBDBD;
    box-shadow: 0px 4px 16px 0px #0031A214;
    border-radius: 8px;
    background: #FFFFFF;
    transition: 0.3s;
}

.nm-more:hover {
    border: 1px solid #676767;
    transition: 0.3s;
}

.nm-more svg path {
    stroke: #0031A2;
}

.nm-nakhlplus-banner img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 15px 0 #8282821A;
    height: 372px;
    object-fit: cover;
}

.nm-product-box {
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0px 0px 20px 0px #5959591F;
    position: relative;
}

.nm-product-box.style4 {
    width: 307px;
}

.nm-product-box.style8 {
    width: 307px;
}

.nm-product-box.style9 {
    width: 307px;
}

.products-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.products-wrapper.justify-content-center {
    justify-content: center;
}

@media screen and (min-width: 360px) and (max-width: 480px) {
    .products-wrapper {
        justify-content: center;
    }

    .nm-product-box.style4 {
        width: 167px;
    }

    .nm-product-box.style8 {
        width: 167px;
    }

    .nm-product-box.style9 {
        width: 167px;
    }
}

.nm-product-box.style4 .img-wrapper-tag {
    height: 250px;
    justify-content: center;
    width: 100%;
}

.nm-product-box.style8 .img-wrapper-tag {
    height: 250px;
    justify-content: center;
    width: 100%;
}

.nm-product-box.style9 .img-wrapper-tag {
    height: 250px;
    justify-content: center;
    width: 100%;
}

.nm-product-box img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    transition: 0.3s;
}

.nm-product-box:hover .nm-product-box-title a {
    color: var(--primary-color);
}

@media (min-width: 992px) {

    .nm-offers-banner img {
        height: 380px !important;
    }

    .nm-offers-products {
        height: max-content;
    }

    .nm-offers-banner img {
        object-fit: cover;
    }
}

@media (min-width: 992px) {

    .nm-nakhlplus-section .col-lg-3,
    .nm-offers .col-lg-3,
    .nm-games .col-lg-3 {
        max-width: 20%;
    }

    .nm-nakhlplus-section .col-lg-9,
    .nm-offers .col-lg-9,
    .nm-games .col-lg-9 {
        max-width: 80%;
    }

    .nm-shop-main {
        margin-right: -15px;
        margin-left: -15px;
    }

    .nm-shop-sidebar {
        width: 19%;
    }

    .nm-shop-products {
        width: 81%;
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 40px;
    }

    .row.products-list {
        row-gap: 15px;
    }

    .nm-shop .nm-product-box {
        height: 100% !important;
        margin-bottom: unset !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .nm-shop .nm-product-box .card-product {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .nm-shop .row.products-list .col-lg-3 {
        padding-right: 8px !important;
        padding-left: 5px !important;
    }

    .nm-shop .nm-product-box-title {
        margin: unset !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .nm-shop .nm-product-box-title>a {
        flex-shrink: 0 !important;
    }

    .nm-shop .nm-product-box-rating {
        margin-top: auto !important;
    }

    .nm-shop .nm-product-box-price {
        margin-top: 0 !important;
        min-height: 40px !important;
        align-items: flex-end !important;
    }

    .nm-shop .nm-product-box-price .price {
        min-height: 40px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
    }

    .nm-shop .nm-product-box-price .offers-product-price {
        min-height: 40px !important;
        display: flex !important;
        align-items: flex-end !important;
        gap: 8px !important;
    }

    .nm-shop-products .nm-product-box .price {
        padding-top: unset !important;
        padding-bottom: unset !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;
    }

    .nm-shop .nm-product-box-price .card-out-of-stock {
        min-height: 40px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        padding: 0 !important;
        width: auto !important;
    }

    .nm-shop .nm-product-box-rating {
        min-height: 24px;
        margin-bottom: 8px;
    }

    .nm-shop .nm-product-box-rating:empty {
        display: block !important;
    }

    .nm-shop .breadcrumbs {
        margin-top: 46px !important;
    }
}

.nm-product-box-title {
    margin: 0 0 2px;
    min-height: 45px;
}

.nm-product-box-title a {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    display: block;
    transition: 0.3s;
    line-height: 28px;
}

.nm-product-box-title a:hover {
    color: var(--primary-color);
}

.nm-product-box .price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-items: flex-end;

}

.nm-shop-products .nm-product-box .price {
    padding-top: 20px;
    padding-bottom: 10px;
}

.nm-product-box .price bdi {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: var(--primary-color);
    display: flex;
    gap: 4px;
}

.nm-product-box .price bdi span {
    color: #4F4F4F;
    font-weight: 400;
    font-size: 13px;
}

.nm-product-box>a {
    display: flex;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 8px;
    height: 206px;

}

.nm-product-box:hover>a img {
    transform: scale(1.1);
}

.nm-game-consoles {
    margin-top: 64px;
}

.nm-game-consoles-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-game-consoles-tab {
    display: flex;
    align-items: center;
}

.nm-game-consoles-tab ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 0 0 20px;
    padding: 0;
}

.nm-game-consoles-tab ul li {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    color: #4F4F4F;
    display: block;
    cursor: pointer;
}

.nm-game-consoles-tab ul li:hover {
    color: var(--primary-color);
}

.nm-game-consoles-tab ul li.active {
    color: var(--primary-color);
}

.nm-game-consoles-tab ul li::after {
    content: '';
    width: 2px;
    height: 16px;
    background-color: #BDBDBD;
    display: inline-block;
    margin-left: 12px;
    margin-right: 12px;
    transform: translateY(3px);
}

.nm-game-consoles-tab ul li:last-child {
    margin-left: 0;
    margin-right: 0;
}

.nm-game-consoles-tab ul li:last-child::after {
    display: none;
}

.nm-game-consoles-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
    margin: 0;
}

.consolesswiper {
    margin-top: 20px;
}

.consolesswiper,
.recomendSwiper {
    position: relative;
    box-shadow: 8px 0 20px -13px #5959591F;
}

.consolesswiper .swiper-pagination {
    position: relative;
    margin-top: 16px;
}

.recomendSwiper .swiper-pagination,
.nm-offers-products .swiper-pagination {
    position: relative;
    margin-top: 16px;
}

.nm-offers-products .swiper-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.consolesswiper .swiper-button-prev,
.consolesswiper .swiper-button-next,
.recomendSwiper .swiper-button-prev,
.recomendSwiper .swiper-button-next,
.banners-swiper-container .swiper-button-prev,
.banners-swiper-container .swiper-button-next {
    top: 44% !important;
    background-image: none !important;
    background: #F5F5F5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.banners-swiper-container {
    max-width: 1440px !important;
    margin: auto;
}

.swiper-nm-shop .swiper-button-prev,
.swiper-nm-shop .swiper-button-next,
.swiper-nm-shop .swiper-button-prev,
.swiper-nm-shop .swiper-button-next {
    background-image: none !important;
    background: #F5F5F5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.consolesswiper .swiper-button-next,
.recomendSwiper .swiper-button-next {
    left: 0;
}

.consolesswiper .swiper-button-prev,
.recomendSwiper .swiper-button-prev {
    right: 0;
}

.nm-product-box-label {
    position: absolute;
    top: 18px;
    right: 19px;
    background: #F0F4F9;
    padding: 7px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    line-height: 18.6px;
    color: #042A54;
    z-index: 2;
}

.nm-cat-banners {
    margin-top: 40px;
}

.banners-swiper-container {
    position: relative;
}

.banners-swiper {
    position: relative;
    max-width: 1150px;
    margin: auto;
    overflow: hidden;
}

.banners-swiper .swiper-wrapper {
    /*max-width: 991px;*/
    /*margin: auto;*/
    /*overflow: hidden;*/
}

.banners-swiper .banners-box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.nm-offers {
    margin-top: 64px;
    padding: 20px 0 69px;
    /* background-image: url(../images/bgoff.png); */
    background-color: #333;
    background-repeat: no-repeat;
    background-size: cover;
}

.nm-offers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.nm-offers-title {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nm-offers-banner {
    position: relative;
}

.nm-offers-banner img {
    width: 100%;
    object-fit: unset;
    height: 100%;
}

.nm-offers-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nm-offers-timer .time-box {
    text-align: center;
}

.nm-offers-timer .time-box span {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #E91848;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
}

.nm-offers-timer .time-box p {
    margin: 6px 0 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 18.6px;
    color: #4f4f4f;
}

.nm-offers-banner img {
    position: relative;
    height: 100%;
}

.nm-offers-timer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 0 16px;
}

.offers-product {
    background: #FFFFFF;
    box-shadow: 0px 0px 15px 0px #8282821A;
    border-radius: 12px;
    padding: 16px;
}

.offers-product-content img {
    width: 87.32px;
    height: 90.86px;
    border-radius: 12px;
    object-fit: contain;
}

.offers-product-content {
    display: flex;
    gap: 16px;
}

.offers-product-title {
    margin: 0;
}

.offers-product-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333333;
}

.price {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}

.price del bdi,
.price del bdi span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: #828282 !important;
}

.price del {
    text-decoration-color: #828282;
}

.price ins {
    text-decoration: none;
}

.price ins bdi {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: var(--primary-color);
}

.price ins bdi span {
    color: #4F4F4F;
    font-weight: 400;
    font-size: 13px;
}

.offers-product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onsale.product-label {
    padding: 6px 8px 6px 8px;
    background-color: #FFF2F2;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    /* line-height: 20px; */
    color: #DF0B0B;
}

.nm-games {
    margin-top: 64px;
}

.nm-games-title {
    margin: 0;
}

.nm-games-head {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-games-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
}

.nm-games-banner img {
    width: 100%;
    height: 282px;
    border-radius: 12px;
    object-fit: cover;
}

.nm-games-banner {
    position: relative;
    height: 282px;
}

.nm-games-banner .nm-more {
    position: absolute;
    bottom: 16px;
    max-width: 100%;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
}

.nm-games-banner .nm-more {
    background: #fff;
    color: #333333;
    border: none;
}

.nm-games-banner .nm-more svg path {
    stroke: #333333;
}

.nm-games-box-title {
    display: block;
    margin: 12px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #000000;
    text-align: center;
}

.nm-games-box img {
    width: 100%;
}

.gamesswiper .swiper-pagination {
    position: relative;
    margin-top: 32px;
}

.nm-games-arrow {
    position: relative;
}

.nm-games-arrow .swiper-button-next,
.nm-games-arrow .swiper-button-prev {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    background-image: none !important;
    background: #F5F5F5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nm-games-arrow {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 12px;
}

.nm-product-slider {
    margin-top: 64px;
}

.nm-product-slider-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
    margin: 0px;
    width: 100%;
    text-align: center;
}


.nm-product-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* اسلایدر محصول (recomendSwiper + newoffersstyle): هم‌ارتفاع کارت، عنوان چندخطی، قیمت پایین کارت */
.nm-product-slider .recomendSwiper .swiper-wrapper,
.nin-products .recomendSwiper .swiper-wrapper,
.new-offers-sec .newoffersstyle .swiper-wrapper {
    align-items: stretch;
}

.swiper {
    /* border-radius: 12px; */
}

.nm-product-slider .recomendSwiper .swiper-slide,
.nin-products .recomendSwiper .swiper-slide,
.new-offers-sec .newoffersstyle .swiper-slide {
    height: auto;
    display: flex;
    align-self: stretch;
    box-sizing: border-box;
}

.nm-product-slider .recomendSwiper .swiper-slide .nm-product-box,
.nin-products .recomendSwiper .swiper-slide .nm-product-box,
.new-offers-sec .newoffersstyle .swiper-slide .nm-product-box {
    width: 100%;
    flex: 1 1 auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.nm-product-slider .recomendSwiper .nm-product-box>a,
.nin-products .recomendSwiper .nm-product-box>a,
.new-offers-sec .newoffersstyle .nm-product-box>a {
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 206px;
    margin-bottom: 12px;
}

.nm-product-slider .recomendSwiper .nm-product-box>a img,
.nin-products .recomendSwiper .nm-product-box>a img,
.new-offers-sec .newoffersstyle .nm-product-box>a img {
    max-height: 100%;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.nm-product-slider .recomendSwiper .nm-product-box-title,
.nin-products .recomendSwiper .nm-product-box-title,
.new-offers-sec .newoffersstyle .nm-product-box-title {
    margin: 0 0 8px;
    min-height: calc(24px * 3);
    flex: 0 0 auto;
}

.nm-product-slider .recomendSwiper .nm-product-box-title a,
.nin-products .recomendSwiper .nm-product-box-title a,
.new-offers-sec .newoffersstyle .nm-product-box-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 24px;
    max-height: calc(24px * 3);
}

.nm-product-slider .recomendSwiper .nm-product-box>p.nm-product-box-title+.stars,
.nin-products .recomendSwiper .nm-product-box>p.nm-product-box-title+.stars,
.new-offers-sec .newoffersstyle .nm-product-box>p.nm-product-box-title+.stars {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-height: 22px;
    margin-bottom: 4px;
    flex-direction: row;
    justify-content: flex-end;
    font-size: 12px;
}

.nm-product-slider .recomendSwiper .nm-product-box>p.nm-product-box-title+.price,
.nm-product-slider .recomendSwiper .nm-product-box>p.nm-product-box-title+.offers-product-price,
.nin-products .recomendSwiper .nm-product-box>p.nm-product-box-title+.price,
.nin-products .recomendSwiper .nm-product-box>p.nm-product-box-title+.offers-product-price,
.new-offers-sec .newoffersstyle .nm-product-box>p.nm-product-box-title+.price,
.new-offers-sec .newoffersstyle .nm-product-box>p.nm-product-box-title+.offers-product-price {
    margin-top: auto;
}

.nm-product-slider .recomendSwiper .nm-product-box>.stars+.price,
.nm-product-slider .recomendSwiper .nm-product-box>.stars+.offers-product-price,
.nin-products .recomendSwiper .nm-product-box>.stars+.price,
.nin-products .recomendSwiper .nm-product-box>.stars+.offers-product-price,
.new-offers-sec .newoffersstyle .nm-product-box>.stars+.price,
.new-offers-sec .newoffersstyle .nm-product-box>.stars+.offers-product-price {
    margin-top: 0;
}

.nm-product-slider .recomendSwiper .nm-product-box>.price,
.nm-product-slider .recomendSwiper .nm-product-box>.offers-product-price,
.nin-products .recomendSwiper .nm-product-box>.price,
.nin-products .recomendSwiper .nm-product-box>.offers-product-price,
.new-offers-sec .newoffersstyle .nm-product-box>.price,
.new-offers-sec .newoffersstyle .nm-product-box>.offers-product-price {
    display: flex;
    flex-shrink: 0;
    min-height: 52px;
    align-items: flex-end;
    /* justify-content: flex-end; */
}

.nm-product-slider .recomendSwiper .nm-product-box>p.nm-product-box-title+span.card-out-of-stock,
.nm-product-slider .recomendSwiper .nm-product-box>p.nm-product-box-title+span.card-coming-soon,
.nin-products .recomendSwiper .nm-product-box>p.nm-product-box-title+span.card-out-of-stock,
.nin-products .recomendSwiper .nm-product-box>p.nm-product-box-title+span.card-coming-soon,
.new-offers-sec .newoffersstyle .nm-product-box>p.nm-product-box-title+span.card-out-of-stock,
.new-offers-sec .newoffersstyle .nm-product-box>p.nm-product-box-title+span.card-coming-soon {
    margin-top: auto;
    align-self: flex-end;
}

@media (max-width: 575px) {

    .nm-product-slider .recomendSwiper .nm-product-box>a,
    .nin-products .recomendSwiper .nm-product-box>a,
    .new-offers-sec .newoffersstyle .nm-product-box>a {
        height: 158px;
        margin-bottom: 10px;
    }

    .nm-product-slider .recomendSwiper .nm-product-box-title,
    .nin-products .recomendSwiper .nm-product-box-title,
    .new-offers-sec .newoffersstyle .nm-product-box-title {
        min-height: 66px;
    }

    .nm-product-slider .recomendSwiper .nm-product-box-title a,
    .nin-products .recomendSwiper .nm-product-box-title a,
    .new-offers-sec .newoffersstyle .nm-product-box-title a {
        line-height: 22px;
        max-height: calc(22px * 3);
    }
}

.nm-product-sale-timer {
    /* display: none; */
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.nm-product-sale-timer__title {
    margin: 0 0 4px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    color: #4F4F4F;
}

.nm-product-sale-timer__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    direction: ltr;
}

.nm-product-sale-timer__unit {
    width: 24px;
    height: 24px;
    padding: 4px 6px;
    border-radius: 6px;
    background: #ffe8ec;
    color: #e03027;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

.nm-product-sale-timer__sep {
    color: #e03027;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.nm-product-sale-timer.is-expired {
    display: none;
}

@media (max-width: 991px) {
    .nm-shop .nm-product-box .card-product {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        row-gap: 0;
    }

    .nm-shop .nm-product-box .nm-product-sale-timer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        box-sizing: border-box;
        margin: 12px 12px 8px 12px;
        /* padding: 0 0 8px; */
        border-bottom: 1px solid #FB502A;
        border-radius: 0;
        background: transparent;
        order: 1;
    }

    .nm-shop .nm-product-box .nm-product-sale-timer__title {
        margin: 0;
        font-size: 10px;
        line-height: 1.6;
    }

    .nm-shop .nm-product-box .nm-product-sale-timer__countdown {
        flex-shrink: 0;
        gap: 3px;
    }

    .nm-shop .nm-product-box .nm-product-sale-timer__unit {
        width: 22px;
        height: 22px;
        padding: 3px 4px;
        font-size: 12px;
        line-height: 16px;
    }

    .nm-shop .nm-product-box .nm-product-sale-timer__sep {
        font-size: 11px;
    }

    .nm-shop .nm-product-box .shop-img-wrapper {
        order: 2;
        flex: 0 0 88px;
        width: 88px;
        display: block;
    }

    .nm-shop .nm-product-box .shop-img-wrapper img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .nm-shop .nm-product-box .nm-product-box-title {
        order: 3;
        flex: 1;
        min-width: 0;
    }
}

.nm-product-box .offers-product-price {
    /* margin-top: -24px; */
}

.nm-price-guarantee {
    margin-top: 64px;
}

.nm-price-guarantee-title {
    margin: 0 0 29px;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
}

.nm-highlights {
    margin-top: 64px;
}

.nm-highlights-box {
    padding: 16px;
    box-shadow: 0 0 15px 0 #8282821A;
    border-radius: 12px;
}

.nm-highlights-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #333333;
    margin: 0 0 16px;
    text-align: center;
}

@media (min-width: 992px) {
    .nm-header.sticky-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
        border-radius: 0 !important;
        transition: top 0.3s ease, box-shadow 0.3s ease;
    }
}

.nm-highlights-box>a {
    display: flex;
    justify-content: center;
    height: 240px;
}

.nm-highlights-box img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.nm-highlights-box-title {
    text-align: center;
    margin: 16px 0 12px;
}

.nm-highlights-box-title a {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #000000;
}

.nm-highlights-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #4F4F4F;
}

.nm-brands {
    margin-top: 60px;
}

.nm-brands-banner {
    background: linear-gradient(180deg, #0048EF 0%, #0031A2 100%);
    border-radius: 12px;
    box-shadow: 0px 0px 15px 0px #8282821A;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nm-brands-banner {
    width: none;
}

.nm-brands-banner img {
    width: 44px;
    height: 44px;
}

.nm-brands-banner-title {
    margin: 8px 0 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 20px;
    color: #FFFFFF;
}

.nm-brands-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.nm-brands-slider {
    width: 100%;
    padding: 16px 29px;
    border: 1px solid #B2C9FF;
    box-shadow: 0px 0px 15px 0px #8282821A;
    border-radius: 12px;
    position: relative;
}

.brand-box {
    padding: 10px 21px;
    height: 100%;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-box a {
    display: flex;
}

.brand-box img {
    width: 100%;
    object-fit: contain;
}

.nm-brands-slider .swiper-button-prev,
.nm-brands-slider .swiper-button-next {
    background-image: none !important;
    background: #F5F5F5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nm-brands-slider .swiper-button-prev {
    left: auto;
    right: 8px;
}

.nm-brands-slider .swiper-button-next {
    left: 8px;
    right: auto;
}

.nm-banners-footer {
    margin-top: 70px;
}

.nm-banners-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: stretch;

}

.nm-banner-item {
    flex: 1 1 0;
    min-width: 0;
}

.nm-banner-box {
    width: 100%;
    height: 100%;
    display: flex;
}

.nm-banner-box a {
    width: 100%;
    display: flex;
}

.nm-banner-box img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    object-fit: cover;
}


.nm-content-editor {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nm-content-editor .shadow-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.nm-content-editor.show>.shadow-content {
    opacity: 0;
    visibility: hidden;
}

.shadow-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 26%, #FFFFFF 100%);
}

.nm-content-editor {
    /*margin-top: 32px;*/
    /*border-top: 1px solid #E0E0E0;*/
    /*padding-top: 32px;*/
}

.nm-content-editor h1,
.nm-content-editor h2,
.nm-content-editor h3,
.nm-content-editor h4,
.nm-content-editor h5,
.nm-content-editor h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 8px;
    color: #333333;
}

.nm-content-editor p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #4F4F4F;
}

.register-desing {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--primary-color);
}

.title-shape {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.title-shape svg {
    transition: 0.3s;
}

.title-shape.active svg {
    transform: rotate(180deg);
}

.nm-footer {
    padding: 40px 0 0;
    box-shadow: 0px 4px 30px 0px #9A98981A;
    margin-top: 70px;
    background: #ffff;
}

.nm-footer-nakhlmarket {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* margin-bottom: 25px; */
}

.nm-footer-nakhlmarket a {
    height: 40px;
}

.nm-footer-nakhlmarket img {
    object-fit: scale-down;
    height: 100%;
    width: 100%;
}

.nm-footer-nakhlmarket p {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
}

.nm-footer-nakhlmarket p span {
    color: white;
}

.nm-footer-about-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.nm-footer-social-box a {
    min-width: 177px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.nm-footer-social-box {
    border-radius: 8px;
    box-shadow: 0 4px 30px 0 #9A98981A;
}

.nm-footer-social-box span {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    text-align: right;
}

.nm-footer-social-box.footer-wahtsapp {
    background: linear-gradient(183.97deg, #439BCC 2.74%, #0274B3 96.29%);
}

.nm-footer-social-box.footer-telegram {
    background: linear-gradient(180deg, #43B3EB 0%, #0088CC 100%);
}

.nm-footer-social-box.footer-instagram {
    background: linear-gradient(180deg, #B426D8 0%, #F14A25 100%);
}

.nm-footer-social-box.footer-aparat {
    background: linear-gradient(180deg, #E6115E 0%, #C21956 100%);
}

.nm-footer-about {
    padding: 16px;
    background: #003DC9;
    border-radius: 12px;
}

.nm-footer-about-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nm-footer-about-head p {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.nm-footer-about-head span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 20.31px;
    color: #FFFFFF;
}

.nm-footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.nm-footer-social span {
    font-size: 13px;
    font-weight: 400;
    line-height: 20.31px;
    color: #FFFFFF;
    display: block;
}

.nm-footer-social ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0 0 0 28px;
    gap: 10px;
}

.nm-footer-social ul li a {
    display: flex;
}

.nm-footer-contact-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.nm-footer-contact-title span:first-child {
    width: 36px;
    height: 36px;
    background: var(--secondary-color);
    box-shadow: 0px 4px 20px 0px #FF390066;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.nm-footer-contact-title span:last-child {
    font-size: 13px;
    font-weight: 500;
    line-height: 20.31px;
    color: #333333;
}

.nm-footer-contact {
    background: #F1F1F1;
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-footer-contact a {
    font-size: 20px;
    font-weight: 700;
    line-height: 31.25px;
    color: #333333;
}

.nm-footer-menu-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    display: block;
    margin-bottom: 16px;
}

.nm-footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nm-footer-menu ul li a {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #4F4F4F;
}

.nm-footer .icon-box-footer .icon-box {
    height: 44px;
    width: 44px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.permissions-section {
    margin-top: 40px;
}

.nm-permissions {
    /* border: 1px solid #E0E0E0; */
    /* border-radius: 8px; */
    gap: 4px;
    /* padding: 8px; */
}

.nm-permissions span {
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 0%;
    display: block;
    margin-bottom: 8px;
    margin-top: 16px;
    color: #4F4F4F;
}

.btn-top {
    margin-top: 24px;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    color: #4F4F4F;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

.nm-permissions ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nm-permissions li {
    display: flex;
}

.nm-permissions li a {
    width: 50px;
    height: 44px;
    padding: 0px;
    border-radius: 8px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 30px 0px #9A98981A;
    display: flex;
}

.nm-permissions li a img {
    width: 100%;
    height: 100%;
}

.cp-footer {
    background: #E0E0E0;
    box-shadow: 0px 4px 30px 0px #9A98981A;
    padding: 12px 0;
    margin-top: 28px;
}

.cp-footer p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 18.75px;
    color: #333333;
}

.cp-footer span {
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    color: #333333;
    display: block;
    text-align: left;
}

.thankyou-list-mobile {
    display: none;
}

.thankyou-list-prices-main {
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: #E0E0E0;
    border-radius: 12px 12px 0 0;
    padding: 16px;
}

.thankyou-list-prices-main ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.thankyou-list-prices-main ul li:first-child {
    padding-top: 0;
}

.thankyou-list-prices-main ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #E0E0E0;
    font-weight: 700;
    font-size: 14px;
    color: #333333;
}

.thankyou-list-prices-main .plural-of-part span:last-child {
    color: #4F4F4F;
}

.thankyou-list-prices-main .discount-amount {
    color: #E91848;
}

.thankyou-prices {
    margin: 0;
    text-align: center;
    padding: 12px;
    background: #0031A2;
    border-radius: 0 0 12px 12px;
    color: #ECF2FF;
    font-weight: 700;
    font-size: 20px;
}

.thankyou-prices span {
    font-weight: 600;
    font-size: 12px;
}

.thankyou-list-prices-title {
    margin: 16px 0 0;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #333333;
}

.nm-sub-mega-menu.nm-mega-tab-panels {
    width: 100%;
    padding: 0;
    margin: 0;
}

.nm-sub-mega-menu-main {
    display: none;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-height: 260px;
}

.nm-mega-panel-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 260px;
    background: #ffffff;
}

.nm-mega-panel-body--promo-no .nm-mega-promo {
    display: none;
}

.nm-mega-panel-body--no-sidebar .nm-mega-sidebar {
    display: none;
}

.nm-mega-sidebar {
    width: 232px;
    flex-shrink: 0;
    /* background: #ecf2ff; */
    box-shadow: 20px 0px 24px 0px #8282821f inset;
    border-left: 1px dotted #bdbdbd;
}

.nm-mega-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 10px 8px 12px 0px;
}

.nm-mega-sidebar-list>li+li {
    margin-top: 4px;
}

.nm-mega-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    color: #333333;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.nm-mega-sidebar-item:hover {
    background: #ecf2ff;
    color: var(--primary-color);
}

.nm-mega-sidebar-item.is-active {
    background: #ecf2ff;
    color: var(--primary-color);
}

.nm-mega-sidebar-item--no-children {
    justify-content: flex-start;
}

.nm-mega-sidebar-item__caret {
    width: 7px;
    height: 7px;
    border-left: 2px solid #828282;
    border-bottom: 2px solid #828282;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-inline-start: 6px;
}

.nm-mega-sidebar-item.is-active .nm-mega-sidebar-item__caret {
    border-left-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nm-mega-center {
    flex: 1;
    min-width: 0;
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background-color 0.22s ease;
}

.nm-mega-center-empty {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: 200px;
    box-sizing: border-box;
}

.nm-mega-center-empty__icon {
    display: block;
    color: #c9d6f0;
    opacity: 0.95;
}

.nm-sub-mega-menu-main.is-no-pane-active .nm-mega-center-empty {
    display: flex;
}

.nm-sub-mega-menu-main:not(.is-no-pane-active) .nm-mega-center-empty {
    display: none !important;
}

.nm-mega-content-pane {
    display: none;
}

.nm-mega-content-pane.is-active {
    display: block;
}

.nm-mega-pane-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.nm-mega-pane-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #333333;
    flex-shrink: 0;
}

.nm-mega-pane-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
    color: #333333;
}

.nm-mega-pane-title--link {
    text-decoration: none !important;
    color: #333333 !important;
}

.nm-mega-pane-title--link:hover {
    color: var(--primary-color) !important;
}

.nm-mega-pane-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 28px;
    align-items: start;
}

.nm-mega-pane-column {
    min-width: 0;
}

.nm-mega-pane-column .nm-mega-pane-head {
    margin-bottom: 10px;
}

.nm-mega-pane-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nm-mega-pane-links li {
    margin-bottom: 10px;
}

.nm-mega-pane-links a {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #4f4f4f;
    text-decoration: none !important;
}

.nm-mega-pane-links a:hover {
    color: var(--primary-color);
}

.nm-mega-link-columns {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 3;
    column-gap: 28px;
}

.nm-mega-link-columns li {
    break-inside: avoid;
    margin-bottom: 10px;
}

.nm-mega-link-columns a {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #4f4f4f;
}

.nm-mega-link-columns a:hover {
    color: var(--primary-color);
}

.nm-mega-pane-secondary {
    margin-top: 20px;
}

.nm-mega-pane-head--tier2 {
    margin-top: 16px;
}

.nm-mega-pane-secondary>.nm-mega-pane-head--tier2:first-child {
    margin-top: 0;
}

.nm-mega-link-columns--tier2 {
    margin-top: 10px;
}

.nm-mega-pane-empty {
    font-size: 14px;
    font-weight: 500;
    color: #828282;
    padding: 12px 0;
}

.nm-mega-pane-empty--muted {
    color: #a0a0a0;
}

.nm-mega-promo {
    width: 316px;
    flex-shrink: 0;
    padding: 14px 14px 16px;
    border-right: 1px solid #f0f0f0;
    background: #ffffff;
}

/* Desktop mega promo: single image, full column height */
.nm-mega-promo.nm-mega-promo--desktop {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
}

.nm-mega-promo--desktop .mega-sub-menu-images {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    gap: 0;
}

.nm-mega-promo--desktop .mega-sub-menu-images > a.nm-mega-promo-desktop-link {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
    align-items: stretch;
}

.nm-mega-promo--desktop .mega-sub-menu-images img,
.nm-mega-promo--desktop .mega-sub-menu-images .nm-mega-promo-img {
    width: 100%;
    height: 100%;
    width: 288px;
    max-height: none;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    min-height: 260px;
    display: block;
    height: 350px;
    border-radius: 12px;
}
.head-banner img,
.head-banner video {
    display: block;
    width: 100%;
    height: auto;
}
.mega-sub-menu-images {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 10px;
    padding: 20px;
}

.mega-sub-menu-images img,
.mega-sub-menu-images .nm-mega-promo-img {
    width: 288px;
    height: 126px;
    max-height: none;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.mega-sub-menu-images a {
    display: flex;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .nm-mega-link-columns {
        column-count: 2;
    }

    .nm-mega-pane-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nm-mega-promo {
        width: 260px;
    }

    .nm-mega-promo--desktop .mega-sub-menu-images img,
    .nm-mega-promo--desktop .mega-sub-menu-images .nm-mega-promo-img {
        min-height: 220px;
    }

    .mega-sub-menu-images img,
    .mega-sub-menu-images .nm-mega-promo-img {
        width: 100%;
        max-width: 288px;
        height: auto;
        min-height: 100px;
        aspect-ratio: 288 / 126;
    }

    .nm-mega-promo--desktop .mega-sub-menu-images img,
    .nm-mega-promo--desktop .mega-sub-menu-images .nm-mega-promo-img {
        height: 100%;
        aspect-ratio: auto;
        max-width: none;
    }
}

@media (max-width: 991px) {
    .nm-mega-nav {
        display: none !important;
    }

    .nm-mega-promo--desktop {
        display: none !important;
    }
}

/* step 2 */

.nm-cart-box {
    max-width: 326px;
    width: 100%;
    box-shadow: 0px -4px 10px 0px #26262614;
    background: #fff;
    padding: 16px;
    border-radius: 12px 12px 0 0;
    max-height: 400px;
    overflow: auto;
}

.nm-cart-footer {
    padding: 12px;
    box-shadow: 0px -4px 10px 0px #26262614;
    background: #FFFFFF;
    border-radius: 0 0 12px 12px;
}

.nm-cart-footer-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-cart-footer-price>span {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #4F4F4F;
    display: block;
}

.nm-cart-footer-btns {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-cart-btn-page {
    border: 1px solid #16A368;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #16A368;
    border-radius: 8px;
    min-width: 145px;
    text-align: center;
}


.nm-cart-products::-webkit-scrollbar {
    width: 6px;
}

.nm-cart-products::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

.nm-cart-products::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.nm-checkout-btn {
    min-width: 145px;
    background: #16A368;
    box-shadow: 0px 0px 20px 0px #8282821F;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    line-height: 21.7px;
    color: #FFFFFF;
    text-align: center;
}

.nm-cart-footer-price .price ins bdi {
    font-size: 20px;
    font-weight: 700;
    line-height: 31px;
    color: #232323;
}

.top-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(270deg, #003DC9 0%, #3E78FF 100%);
    border: 2px solid #FFFFFF;
    box-shadow: 0px 12px 20px 0px #0031A233;
    padding: 12px 33px;
    margin-top: -5rem;
    position: relative;
    gap: 7px;
}

.icon-box-footer p {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    margin: 0;
}

.top-footer h4 {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #032B87;
}

.icon-box-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-box h5 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
}

.icon-box-footer .icon {
    background: #F5F5F5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 16px;
}

.woocommerce-no-products-found {
    display: flex;
    /* margin: 0 auto; */
    /* width: 100%; */
    justify-content: center;
    align-items: center;
    margin: 9rem auto;
}

.nm-product-qa-page {
    margin-top: 3rem;
}

.nm-cart-image-content {
    display: flex;
    gap: 12px;
}

.nm-cart-items-content-head .nm-cart-items-title {
    margin: 0;
    display: block;
    width: 90%;
}

.nm-cart-items-content-head h3 a {
    font-size: 13px;
    font-weight: 700;
    line-height: 20.15px;
    color: #4F4F4F;
}

.nm-cart-items-content-head {
    display: flex;
    flex-wrap: wrap;
}

.nm-cart-items-close {
    height: 20px;
    width: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nm-cart-items-info {
    display: flex;
    align-items: center;
    margin-top: 4px;
    justify-content: space-between;
}

.nm-cart-items-info .quantity {
    padding: 6px;
    background: #F5F5F5;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.nm-cart-items-info .quantity input[type=number] {
    display: inline-block;
    appearance: none;
    width: 30px;
    outline: none;
    border: none;
    vertical-align: middle;
    -moz-appearance: textfield;
    text-align: center;
    background: transparent;
}

.nm-cart-items-info .quantity input[type="number"]::-webkit-outer-spin-button,
.nm-cart-items-info .quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nm-cart-items-info .quantity input[type=button] {
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #8282821F;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #828282;
    cursor: pointer;
}

.nm-cart-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.nm-cart-item:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

.nm-cart-offer {
    background: #F5F5F5;
    padding: 8px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    margin-top: 12px;
    position: relative;
}

.nm-cart-offer-head {
    display: flex;
    justify-content: space-between;
}

.nm-cart-offer-head img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.nm-cart-image-content img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.nm-cart-offer-head .price {
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.nm-cart-offer-head .price ins bdi {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.nm-cart-offer-head .price del bdi,
.nm-cart-offer-head .price del bdi span,
.nm-cart-items-info .price del bdi,
.nm-cart-items-info .price del bdi span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18.6px !important;
}

.nm-cart-items-info ins bdi {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
}

.cart-offer-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.cart-offer-checkbox span {
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    color: #4F4F4F;
}

.nm-cart-offer-content {
    position: absolute;
    top: 0;
    right: -110%;
    background: #FFFFFF;
    padding: 12px;
    box-shadow: 0 0 10px 0 #2626261F;
    border-radius: 8px;
    min-width: 298px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nm-cart-box-main {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 11;
    max-width: 326px;
    min-width: 326px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nm-cart-box-main.active {
    bottom: 0;
}

.nm-cart-btn:hover .nm-cart-box-main {
    opacity: 1;
    visibility: visible;
}

.nm-cart-box-main::before {
    content: '';
    width: 100%;
    height: 24px;
    background: transparent;
    display: block;
    position: absolute;
    top: -22px;
}

.nm-cart-offer-content img {
    width: 53px;
    height: 53px;
    border-radius: 4px;
}

.nm-cart-offer-content p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
    color: #4F4F4F;
}

.nm-cart-offer-content::before {
    content: '';
    background-color: transparent;
    width: 23px;
    height: 100%;
    position: absolute;
    left: -23px;
}

.nm-cart-offer:hover .nm-cart-offer-content {
    opacity: 1;
    visibility: visible;
}


.woocommerce-breadcrumb a {
    font-weight: 400;
    font-size: 12px;
    line-height: 18.6px;
    color: #828282;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: #005f8d;
    text-decoration: underline;
}

nav.woocommerce-breadcrumb {
    margin-top: 15px;
    font-weight: 400;
    font-size: 12px;
    line-height: 18.6px;
    color: #333333;
    text-decoration: none;
}

.nm-single-product {
    margin-top: -35px;
}

.nm-single-product .breadcrumbs {
    margin-bottom: 19px;
    margin-top: 55px;
}

.nm-single-product .nm-breadcrumb {
    display: block;
}

.nm-single-product .nm-breadcrumb__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4f4f4f;
}

.nm-single-product .nm-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    color: inherit;
    min-width: 0;
}

.nm-single-product .nm-breadcrumb__item::before {
    display: none;
}

.nm-single-product .nm-breadcrumb__item:not(:first-child) {
    position: relative;
}

.nm-single-product .nm-breadcrumb__item:not(:first-child)::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='10' viewBox='0 0 8 10'%3E%3Cpath d='M7 1 L1 5 L7 9' stroke='%23BDBDBD' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    margin: 0 0.5rem;
}

.nm-single-product .nm-breadcrumb__link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 79, 79, 0.3);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
}

.nm-single-product .nm-breadcrumb__link:hover {
    color: #1d1d1f;
    border-color: #1d1d1f;
}

.nm-single-product .nm-breadcrumb__current {
    color: #1d1d1f;
    font-weight: 500;
}

@media (min-width: 768px) {
    .nm-single-product .nm-breadcrumb__list {
        flex-wrap: nowrap;
        margin: 100px 13px 0 0;
    }
}

@media (max-width: 767px) {
    .nm-single-product .breadcrumbs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nm-single-product .breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    .nm-single-product .nm-breadcrumb {
        min-width: max-content;
    }

    .nm-single-product .nm-breadcrumb__list {
        padding-top: 35px;
        font-size: 0.78rem;
        gap: 0.4rem 0.6rem;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .nm-single-product .nm-breadcrumb__item {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .nm-single-product .nm-breadcrumb__item:not(:first-child)::before {
        width: 8px;
        height: 8px;
        margin: 0 0.5rem;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {

    .nm-single-product .price-section>.product-pricing,
    .nm-single-product .price-section>.price,
    .nm-single-product .price-section>.price-fields,
    .nm-single-product .price-section>.price-fields-wrap {
        display: none !important;
    }

    .nm-single-product .cart-buttons .quantity-control,
    .nm-single-product .cart-buttons .add-to-cart {
        display: none !important;
    }

    .nm-single-product .total-section .add-to-cart-btn-bundle,
    .nm-single-product button.add-to-cart-btn-bundle {
        display: none !important;
    }
}

.nm-shop {
    margin-top: 0px;
}

.nm-shop .first-phone-sec .slider-shop {
    padding: 0 !important;
}

.nm-shop .breadcrumbs {
    margin-bottom: 10px;
    margin-top: 103px;
}

.nm-cat-title {
    margin: 16px 0 16px !important;
}

.nm-shop-banner-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px 0 #8282821F;
    height: 153px;
}

.nm-shop-cat {
    margin-top: 32px;
}

.nm-shop-cat-image img {
    width: 100%;
    height: 153px;
    border-radius: 12px;
}

.nm-cat-title {
    margin: 32px 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 31px;
    color: #333333;
    height: 35px;
    overflow-y: auto;
    /* Allow scrolling */
}

.nm-shop .nm-product-box {
    margin-bottom: 16px;
    position: relative;
}

.nm-product-box {
    position: relative;
}

/* .nm-product-box.is-offers-black-friday .price bdi {
    color: #232323;
} */

.nm-product-box.is-offers-black-friday::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transform: translate(0%,0%); */
    width: 135px;
    height: 33px;
    background: url("../images/badge-logo.svg") no-repeat;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #FFFFFF;

}

.nm-product-box.is-offers-black-friday {
    border: 1px solid #E30D27;
}

.nm-shop-main {
    display: flex;
    flex-wrap: wrap;
}

.nm-shop .first-phone-sec .slider-shop {
    padding: 32px 0 0;
    position: relative;
}

.nm-shop .first-phone-sec {
    width: 100%;
}

.banner-shop {
    display: flex;
    gap: 16px;
}

.cat-head-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-head-number {
    color: #0031A2;
    font-size: 16px;
    font-weight: 600;
}

.cat-head-number span {
    color: #828282;
}

.banner-shop .image {
    width: 100%;
    height: 153px;
}

.banner-shop .image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.swiper-nm-shop .box {
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    padding: 5px;
}

.nm-shop-main .swiper-nm-shop .box .image {
    border-radius: 8px;
    padding: 5px;
    background: #F1F1F1;
    height: 140px;
}

.nm-box-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 20.15px;
    text-align: center;
    color: #4F4F4F;
    padding: 15px 0;
    margin: 0;
}

.nm-shop .swiper-nm-shop .box img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

.nm-shop .filter-item {
    display: none;
    align-items: center;
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    height: 44px;
    box-shadow: 0px 0px 40px 0px #5959591F;
    margin-bottom: 16px;
}

.nm-shop .filter-item .filter-sort,
.nm-shop .filter-item .filter-items {
    position: relative;
    width: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nm-shop .filter-item svg {
    margin-left: 8px;
}

.nm-shop .filter-item .filter-sort:after {
    content: "";
    display: block;
    height: 25px;
    width: 1.5px;
    background: rgba(211, 211, 211, 0.83);
    position: absolute;
    right: 0;
    top: 0;
}

.nm-sidebar-search {
    padding: 12px;
    background: #FFFFFF;
    box-shadow: 0 0 20px 0 #8282821F;
    border-radius: 12px;
    margin-bottom: 16px;
}

.nm-sidebar-search form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F5F5F5;
    border-radius: 6px;
    padding: 8px;
}

.nm-sidebar-search form button {
    padding: 0;
    background: none;
    border: none;
    display: flex;
    cursor: pointer;
}

.nm-sidebar-search form input {
    padding: 0;
    background: none;
    border: none;
    outline: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
}

.nm-sidebar-search form input::placeholder {
    color: #BDBDBD;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #4F4F4F;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}


input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: #fff;
}

.slider.round {
    border-radius: 12px;
}

.slider.round:before {
    border-radius: 50%;
}

.nm-filter-Switch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nm-filter-Switch {
    padding: 16px 12px;
    box-shadow: 0px 0px 20px 0px #8282821F;
    border-radius: 12px;
    margin-bottom: 16px;
}

.nm-filter-Switch-item>span {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #4F4F4F;
}

.display-order .checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.display-order .checkbox-container label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
    color: #333333;
}

.display-order {
    box-shadow: 0px 0px 20px 0px #8282821F;
    border-radius: 12px;
    overflow: hidden;
}

.display-order-head {
    box-shadow: 0px 0px 20px 0px #8282821A;
    padding: 12px 16px;
}

.display-order-head span {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    color: #4F4F4F;
}

.nm-cat-filter {
    box-shadow: 0px 0px 20px 0px #8282821F;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.nm-cat-filter-head {
    box-shadow: 0px 0px 20px 0px #8282821A;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.nm-cat-filter-head.active svg {
    transform: rotate(180deg);
}

.nm-cat-filter-head svg {
    transition: 0.3s;
}

.nm-cat-filter-head span {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    color: #4F4F4F;
}

.nm-cat-filter .checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.nm-cat-filter .checkbox-container label {
    display: flex;
    align-items: center;
    justify-content: right;
    flex-flow: wrap-reverse;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
    color: #333333;
}

.nm-cat-filter-body {
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nm-cat-filter-body.open {
    display: block;
}

.nm-cat-filter-body {
    overflow: hidden;
}

.nm-cat-filter-body form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F5F5F5;
    border-radius: 6px;
    padding: 8px;
}

.nm-cat-filter-body form button {
    padding: 0;
    background: none;
    border: none;
    display: flex;
    cursor: pointer;
}

.nm-cat-filter-body form input {
    padding: 0;
    background: none;
    border: none;
    outline: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
}

.nm-shop .nm-content-editor {
    margin-top: 52px;
    border-top: none;
    padding-top: 0;
}

/* .price-filter {
	width: 300px;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

.price-filter .slider-container {
    position: relative;
    margin: 20px 0 12px;
}

.price-filter .range-slider {
    position: relative;
    width: 100%;
    height: 30px;
}

.price-inputs {
    text-align: right;
    gap: 12px;
    display: flex;
    flex-direction: column;
}

.price-filter .range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
    top: 5px;
    z-index: 2;
    right: 0;
    left: 0;
}

.price-filter .range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 15px;
    height: 15px;
    background: #ff5722;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
}
.woocommerce-privacy-policy-text{
    display: none;
}
.price-filter .slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #ddd;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
}

.price-filter .slider-range {
    position: absolute;
    height: 6px;
    background: #ff5722;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
}

.price-filter input[type="text"] {
    width: 100%;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    text-align: right;
    outline: none;
    color: #4F4F4F;
}

.price-filter input[type="text"]::after {
    content: '';
}

.price-filter label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.price-filter .nm-cat-filter-body * {
    direction: ltr;
}

.price-filter .nm-cat-filter-body {
    padding: 0 12px 16px;
}

.price-filter .nm-cat-filter-body label {
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    color: #4F4F4F;
    margin-bottom: 4px;
    display: block;
}

.price-inputs-input {
    position: relative;
}

.price-inputs-input::after {
    content: 'تومان';
    position: absolute;
    left: 12px;
    top: 11px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20.15px;
    color: #BDBDBD;
}

.page-template-template-login {
    background: linear-gradient(180deg, #ECF2FF 0%, #F5F5F5 38.94%, #FFF3F0 100%);
}

.nm-login-form {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    min-width: 365px;
    max-width: 400px;
    border-radius: 12px;
    padding: 15px 21px 15px;
    box-shadow: 0px 4px 24px 0px #4F4F4F1A;

}

.nm-login {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: auto;
    justify-content: center;
    background-color: var(--primary-color);
    flex-direction: column;
    gap: 8px;
}

.nm-login-logo {
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.nm-login-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 31px;
    color: #333333;
    margin-bottom: 12px;
    margin-top: 0px;
    text-align: center;
}

.nm-login-subtitle {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #4F4F4F;
    margin-bottom: 13px;
}
.page-template-template-login .nm-cart-box-main{
    display: none;
}
.favorite-icon.liked,
.favorite-icon:hover {
    background-color: #ff000033;
    /* Red color for liked state */
    transition: .3s;
}

#custom-login-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 1000;
}

#custom-login-popup .wrap-login-popup {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#custom-login-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#custom-login-popup>div {
    position: relative;
    padding: 20px;
    border-radius: 10px;
}


.blur-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(30px);
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.menu_phone_icon a {
    display: flex;
}

.cart_shop.menu_phone_icon a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.open_chat_wrapper p {
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    text-align: center;
    color: #828282;
    margin: 6px 0px;
}

.open_chat_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

.box-loader .img-wrapper {
    width: 150px;
    height: auto;
}

.box-loader .img-wrapper img {
    width: 100%;
    height: auto;
}

.box-loader {
    width: 20%;
    /* height: 114px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.box-loader .loader-spiner {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #F14A25;
    --_m: conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

.top-footer .head-icon {
    display: flex;
    gap: 16px;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

.main-wrapper {
    width: 100%;
    padding: 36px 0 39px 0;
    margin-top: 66px;
    background: linear-gradient(180deg, #F8FAFF 0%, #F9F9F9 53.37%, #FFF3F0 99.52%);
}

@media (max-width: 992px) {
    .head-icon {
        gap: 12px !important;
    }

    .top-footer {
        flex-direction: column;
        /* width: 90%;
        

        align-items: unset;*/
        padding: 12px;
        align-items: center;
        gap: 16px;
    }

    .nm-footer-nakhlmarket p {
        text-align: center;
        margin-top: 4px;
    }

    .top-footer h4 {
        text-align: center;
    }

    .icon-box-footer {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .recomendSwiper {
        margin-top: unset;
        padding-top: 18px;
    }

    .nm-product-box-label {
        position: absolute;
        top: 7px;
        right: 10px;
        background: #F0F4F9;
        padding: 5px 8px;
        border-radius: 16px;
        font-size: 9px;
        font-weight: 800;
        line-height: 18.6px;
        color: #042A54;
        z-index: 2;
    }

    .custom-subscription {
        flex-direction: column-reverse;
    }

    .nm-offers-products .swiper-pagination {
        display: flex;
        margin: 0;
    }

    .nm-product-slider-head {
        justify-content: center;
    }

    .nm-login-form {
        max-width: 50%;
        background: unset;
        box-shadow: unset;
    }
    .nm-login-form .get-back-home{
        display: none;
    }
    .nm-login-form .ct_input{
        background-color: #fff;
    }
    .nm-categories-swiper .swiper-wrapper {
        justify-content: unset;
    }

    .nm-nakhlplus-products {
        margin-top: 52px;
    }

    .box-loader {
        width: 60%;
    }
}


.mobile-search-popup {
    display: none;
}

/* Hide back button in desktop search - only show in mobile popup */
@media (min-width: 993px) {
    .search-by-json .input .ms-back-btn {
        display: none !important;
    }

    /* Center the X (empty) button vertically in desktop search when it's visible (not .d-none) */
    /* Position it on the left side, next to the search icon */
    .search-by-json .input .empty:not(.d-none) {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        align-items: center !important;
        justify-content: center !important;
        left: 44px !important;
        right: auto !important;
    }
}

#nm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

/* Hide overlay when mobile-search-popup is active */
.mobile-search-popup.active~#nm-overlay,
body:has(.mobile-search-popup.active) #nm-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.nm-style-7-slider-title {
    text-align: center;
}

.nm-style-7-box-title {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.nm-style-7-box-title a {
    color: #000000;
}

.nm-style-7-box img {
    height: 100%;
    border-radius: 12px;
}

.style7Swiper {
    position: relative;
    padding: 15px 0;
}

/*.style7Swiper .swiper-wrapper {*/
/*    justify-content: center;*/
/*}*/

.style7Swiper .swiper-pagination {
    bottom: 0% !important;
}

/* Container for pagination */
.paginate-shop {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    direction: rtl;
    /* For Persian (Right-to-Left) */
}

/* Style for First and Last page buttons */
.paginate-shop .first-page,
.paginate-shop .last-page {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hover effect for First and Last buttons */
.paginate-shop .first-page:hover,
.paginate-shop .last-page:hover {
    background-color: #f5f5f5;
    color: #000;
}

/* Pagination list styling */
.paginate-shop ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pagination items */
.paginate-shop ul li {
    margin: 0 5px;
}

/* Page numbers */
.paginate-shop ul li a,
.paginate-shop ul li span {
    display: inline-block;
    padding: 10px 17px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.4s ease;
}

/* Active/current page */
.paginate-shop ul li span.current {
    background-color: transparent;
    color: #0031A2;
    border-color: #0031A2;
}

/* Hover effect for page numbers */
.paginate-shop ul li a:hover {
    background-color: transparent;
    color: #0031A2;
    border-color: #0031A2;
}

.banners-four {
    margin-right: -6px;
    margin-left: -6px;
    margin-top: 64px;
}

@media (max-width: 992px) {
    .nm-brands {
        margin-top: 32px;
    }

    .nm-popup .head,
    #cart-popup .head {
        display: flex !important;
        align-items: center !important;
        color: #333333;
        padding: 12px 16px 10px !important;
        margin-bottom: 10px !important;
        border-bottom: 1px solid #F5F5F5 !important;
        position: relative !important;
        background: #FFFFFF !important;
        min-height: 48px;
    }

    /* در پاپ‌آپ سرچ موبایل هدر جداگانه نمی‌خواهیم؛ فقط سرچ‌بار با بک داخل خود ورودی */
    .mobile-search-popup .head {
        display: none !important;
    }

    /* back button inside search input (مثل طرح) */
    .mobile-search-popup .ms-back-btn {
        position: absolute !important;
        top: 50% !important;
        right: 5px !important;
        transform: translateY(-50%) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        width: 32px !important;
        height: 32px !important;
        z-index: 2;
    }

    .mobile-search-popup .ms-back-btn svg {
        width: 12px;
        height: 10px;
    }

    /* ensure rounded search bar with light shadow */
    .mobile-search-popup #search-by-json-form {
        margin: -10px -15px 0px -15px !important
    }

    .mobile-search-popup #search-by-json-form .search-by-json .input {
        border-radius: 8px !important;
        background: #FFFFFF !important;
        box-shadow: 0px 8px 28px rgba(0, 0, 0, 0.06) !important;
        padding: 0 48px !important;
        height: 48px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* left search icon inside input */
    .mobile-search-popup .search-by-json .input .fast-search-icon {
        position: absolute !important;
        right: 91% !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        pointer-events: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 15px !important;
        height: 15px !important;
    }

    .mobile-search-popup .search-by-json .input .fast-search-icon svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }

    /* clear (X) button at right inside input – کنترل با JS/افزونه */
    .mobile-search-popup .search-by-json .input .empty {
        position: absolute !important;
        right: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 15px !important;
        height: 15px !important;
        align-items: center;
        justify-content: center;
        color: #828282 !important;
        cursor: pointer;
        background: transparent !important;
        border: none !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .mobile-search-popup .search-by-json .input .empty svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* وقتی داخل سرچ مقدار وجود دارد، آیکن سرچ مخفی و X نمایش داده شود */
    .mobile-search-popup .search-by-json .input.has-value .fast-search-icon {
        display: none !important;
    }

    .mobile-search-popup .search-by-json .input.has-value .empty {
        display: flex !important;
        right: unset !important;
        left: 10px !important;
    }

    .nm-popup {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 22rem;
        background: #fbfbfb;
        border-radius: 20px 20px 0 0;
        z-index: 12;
        padding: 20px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s ease-in-out;
    }

    .nm-popup.active {
        bottom: 0;
        visibility: visible;
        opacity: 1;
        z-index: 1133;
    }

    #nm-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1001;
    }

    .nm-popup .head,
    #cart-popup .head,
    .mobile-search-popup .head {
        display: flex;
        justify-content: space-between;
        color: #333333;
        align-items: center;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #F5F5F5;
    }

    .nm-popup .display-order {
        box-shadow: none;
        border-radius: 0;
    }

    .nm-popup .display-order .checkbox-container {
        box-shadow: none;
        padding: 0;
        gap: 20px;
    }

    .display-order .checkbox-container label {
        position: relative;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
    }

    .nm-popup .display-order .checkbox-container input {
        opacity: 0;
        cursor: pointer;
    }

    .nm-popup .display-order .checkbox-container .checkmark {
        position: absolute;
        top: 0;
        right: 0;
        height: 16px;
        width: 16px;
        border: 2px solid #E0E0E0;
    }

    .nm-popup .display-order .checkbox-container input:checked~.checkmark {
        background-color: #578bbb;
    }

    .nm-popup .display-order .checkbox-container .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .nm-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #BDBDBD4D;
        backdrop-filter: blur(8px);
        z-index: 11;
    }

    .nm-cart-box-main {
        position: fixed;
        /* bottom: 0; */
        top: unset;
        left: 0;
        z-index: 2108;
        max-width: unset;
        width: 100%;
        /* opacity: 0; */
        /* visibility: hidden; */
        transition: 0.3s;
    }

    .nm-cart-item {
        width: 100%;
    }

    .nm-cart-box {
        max-width: unset;
        width: 100%;
        box-shadow: 0px -4px 10px 0px #26262614;
        background: #fff;
        padding: 16px;
        border-radius: 12px 12px 0 0;
    }

    .nm-cart-products {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .nm-cart-image-content {
        display: flex;
        gap: 12px;
        width: 100%;
    }

    .nm-cart-items-content {
        width: 100%;
    }

    .mobile-search-popup {
        padding: 12px;
        position: fixed;
        bottom: -100%;
        left: 0;
        z-index: 2108;
        max-width: unset;
        width: 100%;
        /* opacity: 0; */
        /* visibility: hidden; */
        transition: 0.3s;
        background-color: #FFFFFF;
        height: 100% !important;
        /* fullscreen */
        border-top-right-radius: 0 !important;
        border-top-left-radius: 0 !important;
        direction: rtl;
        /* rtl layout */
    }

    .mobile-search-popup.active {
        bottom: 0;
        visibility: visible;
        opacity: 1;
        z-index: 2133;
    }

    /* .ms-search-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    } */
    /* search container spacing */
    .ms-search-container {
        direction: rtl;
        padding: 16px !important;
    }

    /* search input styles inside fast search */
    .mobile-search-popup #fast-search-input {
        border: none !important;
        outline: none !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        font-size: 12px !important;
        color: #4F4F4F !important;
        background: transparent !important;
        font-weight: 700 !important;
    }

    .mobile-search-popup #fast-search-input::placeholder {
        color: #BDBDBD !important;
        font-weight: 700 !important;
        font-size: 12px !important;
    }

    /* search results list: horizontal-card layout */
    .mobile-search-popup #fast-search-body .is-search .list-products .item {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        text-decoration: none !important;
        background: #f8fafc !important;
        padding: 16px !important;
        border-radius: 16px !important;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
        margin-bottom: 12px !important;
        color: #333333 !important;
    }

    .mobile-search-popup #fast-search-body .is-search .list-products .item .img {
        min-width: 72px !important;
        width: 72px !important;
        height: 72px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }

    .mobile-search-popup #fast-search-body .is-search .list-products .item .img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .mobile-search-popup #fast-search-body .is-search .list-products .item .title {
        flex: 1 1 auto !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #333333 !important;
        line-height: 1.5 !important;
    }

    /* category pills font size inside results */
    .mobile-search-popup #fast-search-body .is-search .list-category ul li a {
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    /* suggestions sections */
    .mobile-search-popup .ms-search-suggestions {
        direction: rtl;
        padding: 0 0 0 0;
    }

    .ms-section {
        margin-top: 0;
    }

    .ms-section-title {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 12px;
        text-align: right;
    }

    /* title colors */
    .ms-section--recent .ms-section-title {
        color: #333333;
    }

    .ms-section--popular .ms-section-title {
        color: #0057d9;
    }

    /* chips container */
    .ms-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* base chip */
    .ms-chip {
        border: none;
        outline: none;
        border-radius: 16px;
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        background: #f2f5f8;
        color: #333333;
        box-shadow: none;
    }

    /* recent chips style */
    .ms-section--recent .ms-chip {
        background: #f2f5f8;
        color: #333333;
    }

    /* popular chips style */
    .ms-section--popular .ms-chip {
        background: #eef5ff;
        color: #333333;
    }

    /* section spacing */
    .ms-section--recent {
        margin-bottom: 24px;
    }

    /* fast search integrated default sections (recent/popular inside fast-search-body) */
    .mobile-search-popup #fast-search-body {
        background: #ffffff;
        color: #333333;
        padding: 0;
    }

    /* in mobile popup we already have custom chips; hide plugin default block to avoid duplication */
    .mobile-search-popup #fast-search-body .default {
        display: none !important;
    }

    /* ensure fast-search body shows inside popup and scrolls properly */
    .mobile-search-popup .search-by-json .body {
        position: relative !important;
        width: 100% !important;
        max-height: calc(100vh - 160px) !important;
        /* header + search bar + paddings */
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        display: block !important;
        margin: 12px 0 0 0 !important;
        /* leave a small gap under search bar */
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        /* remove default bordered box */
        text-align: right !important;
        /* keep RTL alignment */
    }

    /* default state titles */
    .mobile-search-popup #fast-search-body .default .title-recent,
    .mobile-search-popup #fast-search-body .default .title-popular {
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 12px 0;
    }

    /* colors to match layout spec */
    .mobile-search-popup #fast-search-body .default .title-recent {
        color: #333333;
    }

    .mobile-search-popup #fast-search-body .default .title-popular {
        color: #0057d9;
    }

    /* default state chips layout */
    .mobile-search-popup #fast-search-body .default .list-recent-searches,
    .mobile-search-popup #fast-search-body .default .menu-popular,
    .mobile-search-popup #fast-search-body .default .menu-popular ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* menu items as chips */
    .mobile-search-popup #fast-search-body .default .menu-popular li a,
    .mobile-search-popup #fast-search-body .default .list-recent-searches .chip,
    .mobile-search-popup #fast-search-body .default .list-recent-searches a {
        display: inline-block;
        border-radius: 16px;
        padding: 8px 14px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        background: #eef5ff;
        color: #333333;
    }

    /* recent chips style override */
    .mobile-search-popup #fast-search-body .default .list-recent-searches .chip,
    .mobile-search-popup #fast-search-body .default .list-recent-searches a {
        background: #f2f5f8;
        color: #333333;
    }

    /* section spacing */
    .mobile-search-popup #fast-search-body .default .recent-searches {
        margin-bottom: 24px;
    }

    /* search results (inside same popup, below search bar) */
    .mobile-search-popup #fast-search-body .is-search {
        background: #ffffff;
        color: #333333;
        margin-top: 24px !important;
    }

    .mobile-search-popup #fast-search-body .is-search .category,
    .mobile-search-popup #fast-search-body .is-search .products {
        margin: 0;
    }

    /* results section titles */
    .mobile-search-popup #fast-search-body .is-search .title-category,
    .mobile-search-popup #fast-search-body .is-search .title-products {
        font-size: 12px;
        font-weight: 600;
        color: #333333;
        margin: 0 0 12px 0;
        text-align: right;
    }

    /* result list items */
    .mobile-search-popup #fast-search-body .is-search .list-category ul>li,
    .mobile-search-popup #fast-search-body .is-search .list-products>* {
        padding: 12px 0;
        border-bottom: 1px solid #eaeaea;
    }

    /* not found (empty state) */
    .mobile-search-popup #fast-search-body .not-found {
        color: #333333;
        padding: 12px 0;
    }

    .ms-search-form {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 0 12px;
        width: 100%;
        max-width: 400px;
        background-color: #fff;
    }

    .ms-search-input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 14px;
        padding: 10px;
        color: #333;
        direction: rtl;
    }

    .ms-search-input::placeholder {
        color: #ccc;
        font-size: 14px;
    }

    .ms-search-button {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-left: 8px;
    }

    .nm-login-logo {
        display: block;
        text-align: center;
        margin-bottom: 0px;
    }

    .nm-login-title {
        margin-bottom: 12px;
        margin-top: 0;
    }

    .ck_form_inputs {
        margin-top: 0px !important;
    }


    .acceptance-of-terms {
        margin-top: 9px;
        margin-bottom: 0;
    }

    .custom-login-popup-title {
        display: none;
    }

    .ck-next-button {
        background-color: var(--primary-color);
        color: #FFFFFF;
        padding: 10px !important;
        border-radius: 4px !important;
        margin-top: 30px !important;
        cursor: pointer;
    }

    .home.menu_phone_icon a {
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: center;
    }

    .mobile-search-popup {
        display: block;
    }
}

.main-pages-wrapper {
    margin-top: 50px;
}

@media (max-width: 992px) {
    .nm-footer-about-head {
        justify-content: center;
    }

    .nm-footer-about-head p {
        font-size: 16px;
        font-weight: 700;
        line-height: 24.8px;
        text-align: center;
    }

    .nm-footer-nakhlmarket {
        justify-content: center;
    }

    .nm-footer-about {
        margin-bottom: 14px;
    }
}

@media (max-width: 1399px) {
    .nm-footer-about {
        padding: 12px;
    }

    .nm-footer-about-wrap {
        gap: 12px;
    }

    .nm-footer-social-box {
        width: 45%;
    }

    .nm-footer-social-box span {
        font-size: 12px !important;
        line-height: 18.6px;
    }

    .nm-footer-social-box a {
        min-width: unset;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 5px;
    }
}

span.chat_counter {
    border-radius: 100%;
    background: var(--secondary-color);
    color: white !important;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px !important;
    position: absolute;
    right: 0px;
    bottom: 0%;
    display: none;
}

.mobile-menu-wrapper .menu-item img {
    width: 24px;
    height: 24px;
}

.modular-articles .article-head {
    display: flex;
    justify-content: space-between;
}

@media (min-width: 1400px) {
    .container {
        max-width: 98% !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 98% !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1440px !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 98%;
    }
}

.review-post {
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 12px;
    border-radius: 12px;
}

.review-post h3,
.review-post .review-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #F14A25;
    margin: 0 0 12px;
}

.review-post form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-post form input,
.review-post form textarea {
    border: 1px solid #BDBDBD;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    color: #BDBDBD;
    font-family: 'YekanBakhFaNum';
}

.review-post button {
    padding: 12px;
    background: #0031A2;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    border: none;
}


.comments-section {
    margin-top: 20px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: unset;
    margin-bottom: 20px;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 20px;
    text-align: right;
    color: #000000;
    margin: 0;
}

.comments-count {
    background-color: #ECF2FF;
    border-radius: 4px;
    padding: 4px 8px;
    min-width: 75px;
    font-size: 14px;
    font-weight: 600;
    line-height: 21.7px;
    color: #0031A2;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.depth-1-reply {
    margin-top: 16px;
    margin-right: 20px;
}

.depth-1-reply .comment-author {
    color: #333333;
}

.depth-2-reply {
    margin-top: 12px;
    margin-right: 35px;
    border-right: 1px solid #BDBDBD;
    padding-right: 15px;
}

.depth-2-reply .comment-author {
    color: #333333;
}

.rating-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #FFD700;
}

.star.gray {
    color: #ccc;
}

.separator {
    font-size: 20px;
    color: #BDBDBD;
}

span.author-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #0031A2;
}

.comment-date {
    font-size: 14px;
    color: #777;
}

.comments-sort span {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
    display: flex;
    gap: 5px;
}

.reply-date span {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
}

.comments-sort a {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    color: #4F4F4F;
    margin: 0 2px;
}

.comments-sort a:hover {
    color: #F14A25;
}

.comments-sort a.active {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #F14A25;
}

.comments-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border-radius: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    line-height: 24.8px;
    text-align: right;
    color: #0031A2;
}

.comment-date {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
    font-family: 'YekanBakhFaNum';
}

.comment-body p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #4F4F4F;
}

.comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.comment-rating {
    display: flex;
    gap: 2px;
}

.comment-rating .star {
    font-size: 16px;
    color: #FFD700;
}

.comment-rating .star.gray {
    color: #ccc;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reply-link {
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
    text-align: center;
    color: #16A368;
    display: flex;
    gap: 5px;
}

.admin-reply {
    background-color: #F5F8FF;
    border: 1px solid #D8E4FF;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 16px;
    margin-right: 20px;
}

.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 16px;
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #0031A2;
}

.author-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    object-fit: cover;
}

.reply-body {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.vote-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

button.vote-down.vc-like {
    padding-top: 4px;
}

.vote-actions button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.qa-reply-link{
    justify-content: space-between;
}
#comment-reply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

#comment-reply-modal>div {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

#comment-reply-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    outline: none;
    border: 2px solid #333;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.review-post {
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    margin-top: 30px;
}

.review-post h3,
.review-post .review-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #F14A25;
    margin: 0 0 12px;
}

.review-post form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-post form input,
.review-post form textarea {
    border: 1px solid #BDBDBD;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    color: #BDBDBD;
    font-family: 'YekanBakhFaNum';
}

.review-post button {
    padding: 12px;
    background: #0031A2;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    border: none;
}

#comment-reply-modal>div {
    display: flex;
    flex-direction: column;
    width: 370px;
}

@media (max-width: 720px) {
    .admin-reply {
        margin-right: 0;
    }

    .depth-2-reply {
        margin-right: 0;
    }
}

.vote-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

button.vote-down.vc-like {
    padding-top: 4px;
}

.vote-actions button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.vote-count {
    font-size: 14px;
    color: #333;
}

.vote-up.active path,
.vote-down.active path {
    fill: #007bff;
}

.nm-menu ul li {
    position: relative;
    padding: 0px 12px;
}

.nm-menu ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

/* Hide Submenus Initially */
.nm-menu ul.sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    top: 100%;
    left: 0;
    z-index: 1000;
}

/* Show Submenu on Hover */
.nm-menu ul li:hover>.sub-menu {
    display: block;
}

/* Child Submenus (Nested) */
.nm-menu ul.sub-menu li {
    position: relative;
}

.nm-menu ul.sub-menu ul.sub-menu {
    right: 90%;
    top: 10%;
    display: none;
    position: absolute;
}

.nm-menu ul.sub-menu li:hover>ul.sub-menu {
    display: block;
}

/* Styling for Submenu Items */
.nm-menu ul.sub-menu li a {
    padding: 10px;
    color: #555;
    white-space: nowrap;
}

.nm-menu ul.sub-menu li:hover {
    background-color: #f5f5f5;
}

.nm-menu ul.sub-menu li.menu-item-has-children {
    transition: 0.3s;
}

/* Styling for Parent Items with Submenus */
.nm-menu ul li.menu-item-has-children>a::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path d="M5 9L1 5L5 1" stroke="%23828282" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    position: absolute;
    left: 0px;
    transition: 0.3s;
    transform: rotate(-90deg);
}

.nm-menu ul.sub-menu li.menu-item-has-children:hover>a::after {
    transform: rotate(-90deg);
}

.nm-menu ul.sub-menu li.menu-item-has-children>a::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10" fill="none"><path d="M5 9L1 5L5 1" stroke="%23828282" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    position: absolute;
    left: 12px;
    transition: 0.3s;
    transform: rotate(0deg);
}

.nm-content.has-border {
    border: 1px solid #E5F2E8;
    box-shadow: 0 0 20px 0 #5959590A;
    margin: 0px 12px;
    padding: 12px 0px;
    border-radius: 8px;
}


.what-introduction-sec {
    padding-block: 40px;
}

.what-introduction-sec .content {
    color: #333;
}

.what-introduction-sec .content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 31px;
    margin: 0 0 5px;
}

.what-introduction-sec .content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin: 0 0 29px;
}

.la-about-us-media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 361px;
}

.la-about-us-media .video-cover {
    position: absolute;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

.la-about-us-media video {
    border-radius: 10px;
    width: 100%;
}

.product-suggestion .title .header-suggestion-checkbox input:checked+span {
    background-color: #0031a2;
}

.product-suggestion .title .header-suggestion-checkbox span:nth-child(2) {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 4px 10px 0px #26262614;
    cursor: pointer;
}

.product-suggestion .title .header-suggestion-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4F4F4F;
    font-weight: 600;
    width: max-content;
    font-size: 13px;
}

.product-suggestion .price-wrapper-cart-header>span:first-child {
    font-weight: 400;
    font-size: 12px;
    color: #828282;
    text-decoration: line-through;
}

.product-suggestion .discount-price.main-price {
    font-size: 20px;
    font-weight: bold;
    color: #003E7E;
}

.product-suggestion .price-wrapper-cart-header {
    align-self: baseline;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.product-suggestion .title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-suggestion .title span {
    color: #4F4F4F;
    font-weight: 400;
    font-size: 11px;
}

.product-suggestion {
    background: #FFFFFF;
    border: 1px dotted #BDBDBD;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    gap: 12px;
    margin-right: auto;
    flex-direction: column;
}

.nm-cart-box .product-suggestion .woocommerce-Price-currencySymbol {
    font-size: 10px;
    color: #4F4F4F;
}

span.card-out-of-stock {
    width: 100%;
    display: flex;
    justify-content: end;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #333;
    padding: 10px;
}

/*span.card-coming-soon {*/
/*    width: 100%;*/
/*    display: flex;*/
/*    justify-content: end;*/
/*    font-weight: 700;*/
/*    font-size: 16px;*/
/*    line-height: 100%;*/
/*    color: #16A368;*/
/*    padding-bottom: 5px;*/
/*    padding-left: 5px;*/
/*}*/
span.card-coming-soon {
    /* display: flex; */
    /* justify-content: end; */
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #16A368;
    text-align: end;
    padding-left: 7px;
    padding-bottom: 7px;
    width: 100%;
    display: inline-block;
}

.nm-cart-items-info .price .woocommerce-Price-currencySymbol {
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    text-align: right;
    color: #828282;
}

body.swal2-toast-shown .swal2-container {
    width: 550px !important;
}

.desktop-chat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
}

.desktop-chat-wrapper p {
    opacity: 0;
    transform: translateX(31px);
    transition: all 0.3s ease;
    white-space: nowrap;
    background: #15a58b;
    color: white;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    font-size: 14px;
    pointer-events: none;
    margin: 0px;
    width: 0px;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-left: 18px;
}

@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.open_chat_desktop {
    background-color: #0048ef;
    color: white;
    padding: 12px 12px;
    border-radius: 100%;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    z-index: 3;
    border: 2px solid transparent;
    --border-angle: 0deg;
    --bg: #17d574;
    /* or whatever your brand color is */
    animation: border-angle-rotate 2s linear infinite;

    background: linear-gradient(#17d574, #15a58b) padding-box,
        conic-gradient(from var(--border-angle),
            var(--bg) 50%,
            #eee) border-box;
    box-shadow: 0px 1px 2px hsl(0 0% 0% / 25%);
}

.open_chat_desktop.goftino-disabled,
.open_chat_wrapper .image.goftino-disabled,
.menu_phone_icon.goftino-disabled {
    filter: grayscale(100%);
    cursor: not-allowed;
    pointer-events: none;
    animation: none;
}

@keyframes border-angle-rotate {
    from {
        --border-angle: 0deg;
    }

    to {
        --border-angle: 360deg;
    }
}

.desktop-chat-wrapper:hover p {
    opacity: 1;
    transform: translateX(31px);
    pointer-events: auto;
    width: 152px;
}

.nakhl-family-head img {
    width: 100%;
}

.nakhl-family-one {
    margin: 64px 0;
    text-align: center;
}

.nakhl-family-one img {
    width: 100%;
    height: auto;
}

.nakhl-family-one p {
    max-width: 558px;
    line-height: 28px;
    font-size: 18px;
    color: #545353;
    margin: 16px auto 0;
}

.nakhl-family-one h3 {
    font-size: 28px;
    line-height: 35px;
    color: #000000;
    margin: 16px 0 0;
}

.nakhl-family-one h5 {
    font-size: 20px;
    line-height: 35px;
    color: #68b000;
    margin: 16px 0 0;
}

.benefits-family {
    border-radius: 16px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 24px 266px;
    background-color: #FAFCF7;
}

.our-mission-family,
.characteristics-family {
    margin-top: 64px;
    text-align: center;
}

.our-mission-family p {
    max-width: 558px;
    margin: 16px auto 0;
}

.characteristics-box h4 {
    font-size: 14px;
    color: #3b3939;
}

.characteristics-box img {
    width: 80px;
    height: 80px;
}

.characteristics-family {
    padding: 0 200px;
}

.purchase-steps {
    text-align: center;
    margin-top: 64px;
    border-top: 1px solid #c8c8c8;
}

.purchase-steps img {
    width: 100%;
}

.required-documents {
    margin-top: 64px;
    text-align: center;
}

.required-documents ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.required-documents ul li {
    padding: 16px 16px;
    background: #e9e9e96e;
    border-radius: 16px;
}

.daily-dirhams {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}

.daily-dirhams-content {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 24px;
    border: 16px solid #68B000;
    border-radius: 16px;
    padding: 0 16px;
}

.daily-dirhams-content img {
    width: 60px;
}

.family-tabs {
    width: 100%;
    margin: 64px auto 0;
}

.family-tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    justify-content: center;
    border: none;
    gap: 16px;
}

.family-tab-item {
    padding: 14px 20px;
    display: block;
    box-sizing: border-box;
    border: solid transparent;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: background .2s ease-in-out, color .2s ease-in-out, border .2s ease-in-out;
    box-shadow: none;
    font-size: 16px !important;
    border-radius: 16px;
    cursor: pointer;
}

.family-tab-item:hover {
    background-color: #f5f5f5;
}

.family-tab-item.family-active {
    border: solid 1px #0034A1 !important;
    color: #0034A1 !important;
    font-size: 16px !important;
    line-height: 28px;
}

.family-tab-content {
    display: none;
    padding: 20px;
    margin-top: -1px;
}

.family-tab-content.family-active {
    display: block;
}

.family-tab-box {
    padding: 16px;
    border: 1px solid #d4d4d4;
    border-radius: 16px;
    margin-bottom: 16px;
}

.family-tab-box img {
    width: 100%;
    border-radius: 16px;
}

.family-tab-box button {
    background-color: #68b000;
    border: none;
    border-radius: 5px;
    color: #fff;
    padding: 10px 12px;
    font-size: 13px;
}

.faq-page {
    margin-top: 85px;
}

.job-box ul {
    padding: 0;
}

.job-box {
    border: 1px solid #F5F5F5;
    padding: 20px;
    border-radius: 12px;
}

.intro-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 361px;
}

.intro-img-wrap img {
    height: 100%;
    object-fit: scale-down;
}

.anounce-banner .anounce-mobile {
    display: none;
}

.anounce-banner .anounce-desk {
    width: 100%;
    height: auto;
}

.anounce-banner-content {
    margin-top: 37px;
}

.nm-hero .container {
    position: relative;
    margin-top: 75px;
}

@media (max-width: 767px) {
    .nm-hero .container {
        margin-top: 0px;
    }
}
.qa-answers{
    border: 1.3px dashed #dadada5c;
    background: #F5F5F5;
    border-radius: 6px;
    padding: 12px;
    border-style: dashed;
    margin-top: 12px;
}
.nm-hero .container .nm-offers-banner-wrap {
    position: absolute;
    top: 72%;
    right: 10%;
    z-index: 29;
}

.nm-hero .container .nm-offers-banner-wrap .nm-offers-timer .time-box span {
    color: #333 !important;
    width: 38px;
    height: 34px;
    font-size: 18px;
}

.nm-offers-timer {
    flex-direction: row-reverse;
}

.nm-hero .container .nm-offers-banner-wrap .nm-offers-timer .time-box p {
    color: white !important;
}

.nm-hero .container .nm-offers-banner-wrap .nm-offers-timer {
    position: unset !important;
    bottom: unset !important;
    width: 100% !important;
    padding: unset !important;
}

.archive.tax-product_cat .swiper-button-disabled {
    display: none;
}

.nm-contact-info {
    background: #0031A2;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.nm-contact-info p {
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    margin: 0;
}

.nm-contact-info a {
    font-weight: 700;
    font-size: 14px;
    color: #333333;
    padding: 8px 12px;
    background: #FFFFFF;
    border-radius: 8px;
}

.custom-subscription {
    max-width: 796px;
    margin: 30px auto 55px;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #8282821A;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.custom-subscription-head h3 {
    margin: 0;
}

.custom-subscription-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-subscription-head span {
    padding: 4px 12px;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    background: #E91848;
    border-radius: 8px;
}

.custom-subscription-content {
    width: 78%;
}

.custom-subscription-image {
    width: 22%;
}

.custom-subscription-image img {
    height: 192px;
    width: 100%;
}

.custom-subscription-content p {
    margin: 16px 0 18px;
}

.custom-subscription-content a {
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
    padding: 13px 23px;
    background: #042A54;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border-radius: 8px;
    display: inline-block;
}

.nm-permissions img {
    border-radius: 8px;
    width: 50px;
    height: 52px;
}

.stars {
    text-align: end;
}

/*aline center wp*/
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.alignleft {
    display: inline-block;
    vertical-align: top;
    margin: 0 16px 16px 0;
}

.alignright {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 16px 16px;
}

.alignnone {
    display: block;
    margin: 0;
}

/*end*/
@media (max-width: 400px) {

    .home .onsale.product-label {
        padding: 4px;
    }

    .home .offers-product-price {}
}

.banner-half {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 10;
}

.banner-half-left {
    left: 0;
}

.banner-half-right {
    right: 0;
}

.row.equal‐banners {
    display: flex;
    align-items: stretch;
}

.equal‐banners .nm-banner-box {
    flex: 1;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.equal‐banners .nm-banner-box img {
    width: 100%;
    height: 100%;
    display: block;
}

.nm-info-header-right .nm-menu ul li:nth-child(2)>a {
    color: #16A368;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart.in-page img {
    width: 80px;
}

.empty-cart.in-page p {
    color: #333333;
    font-weight: 700;
    font-size: 17px;
    line-height: 31px;
    text-align: center;
    margin: 16px auto 0px;
}

.empty-cart.in-page span {
    color: #828282;
    font-weight: 600;
    font-size: 13px;
    line-height: 24.8px;
    text-align: center;
    margin: 8px auto 20px;
}

.empty-cart.in-page a {
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 12px 45px;
    border-radius: 8px;
    border: 1px solid #0031A2;
    font-weight: 700;
    font-size: 14px;
    line-height: 21.7px;
    text-align: center;
    color: #0031A2;
    transition: 0.3s;
}

.empty-cart.in-page a:hover {
    background-color: #fff;
}


.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #04101D99;
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
}

.characteristics-family .row {
    justify-content: center;
}

.main-login-wrap .nm-login {
    background-color: unset;
}

.page-id-153613 .nm-price-guarantee {
    margin-top: 0px;
}

.page-id-153613 .nm-price-guarantee-title {
    margin: 35px 0 30px;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #e41515;
}


.nm_slider_generator {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 20px 0;
}

.content table , .nm-shop .nm-content-editor table{
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
}

.content table td , .nm-shop .nm-content-editor table td{
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.content table tr:first-child td  , .nm-shop .nm-content-editor table tr:first-child td{
    background-color: #f2f2f2;
    font-weight: bold;
}

.table-blog {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
}

.table-blog td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.table-blog tr:first-child td {
    background-color: #f2f2f2;
    font-weight: bold;
}

.main-wrapper {
    width: 100%;
    padding: 36px 0 39px 0;
    background: linear-gradient(180deg, #F8FAFF 0%, #F9F9F9 53.37%, #FFF3F0 99.52%);

}


@media (max-width: 991px) {
    .table-blog {
        font-size: 12px;
    }

    .table-blog strong {
        font-size: 10px;
    }

    .table-blog {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .table-blog td {
        white-space: normal;
        min-width: 200px;
        /* حداقل عرض سلول‌ها */
    }

    /* ستون اول کمی عرض کمتری داشته باشد */
    .table-blog td:first-child {
        min-width: 150px;
        font-weight: bold;
    }

    /* /////// */

    .content table ,.nm-shop .nm-content-editor table{
        font-size: 12px;
    }

    .content table strong , .nm-shop .nm-content-editor table strong{
        font-size: 10px;
    }

    .content table , .nm-content-editor table{
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .content table td ,.nm-shop .nm-content-editor , table td{
        white-space: normal;
        min-width: 200px;
    }

    /* ستون اول کمی عرض کمتری داشته باشد */
    .content table td:first-child ,.nm-shop .nm-content-editor table td:first-child{
        min-width: 150px;
        font-weight: bold;
    }

    .nm-hero-swiper {
        margin-top: 0;
    }

    .auth-modal-content {
        margin: 0 10px;
    }

    .comments-header {
        align-items: unset;
        flex-direction: column;
        gap: 16px;
    }

    .banner-half-left,
    .banner-half-right {
        width: 100%;
        height: 50%;
        left: 0;
        right: auto;
    }

    .banner-half-left {
        top: 0;
        bottom: auto;
    }

    .banner-half-right {
        top: auto;
        bottom: 0;
    }

    .nm-contact-info {
        flex-direction: column;
    }

    .nm-contact-info p {
        text-align: center;
    }

    .nm-banners-row {
        gap: 8px;
    }

    .nm-banner-box img {
        /* max-height: 120px; */
        object-fit: cover;
    }

    .nm-hero .container .nm-offers-banner-wrap {
        position: absolute;
        top: 82%;
        right: 29%;
        z-index: 29;
    }

    .nm-hero .container .nm-offers-banner-wrap .nm-offers-timer .time-box span {
        width: 38px;
        height: 38px;
    }

    .anounce-banner .anounce-desk {
        display: none;
    }

    .nm-banners-row {
        flex-direction: column;
    }

    .anounce-banner .anounce-mobile {
        display: block;
        height: auto;
        width: 100%;
        margin-bottom: -65px;
    }

    .anounce-banner-content {
        margin-top: calc(64px + env(safe-area-inset-top, 0px));
    }

    .anounce-banner-content .anounce-mobile {
        margin-bottom: 0;
    }

    .j-send-box>div {
        flex-wrap: wrap;
        gap: 16px;
    }

    .j-send-box>div>div {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .j-send-box>div>div .j-send-resume {
        margin: 0;
    }

    .job-box {
        padding: 8px;
    }

    .nakhl-family-head img {
        height: 172px;
        object-fit: cover;
    }

    .benefits-family {
        padding: 17px;
    }

    .characteristics-family {
        padding: 17px;
    }

    .characteristics-family .col-lg-2 {
        width: 50%;
    }

    .required-documents ul {
        flex-wrap: wrap;
    }

    .faq-page {
        margin-top: 0;
    }

    .menu_phone_icon {
        position: relative;
    }

    .menu_phone_icon span.nm-cart-btn-count {
        position: absolute;
        top: -28%;
        right: -2%;
        width: 20px;
        height: 20px;
        background: #0031A2;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
        font-weight: 500;
        margin: 0;
        padding-top: 2px;
    }

    .menu_phone_icon span.nm-cart-btn-count-nakhlplus {
        position: absolute;
        top: -28%;
        right: 10%;
        width: 20px;
        height: 20px;
        background: #95A0AD;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
        font-weight: 500;
        margin: 0;
        padding-top: 2px;
    }

    span.nm-cart-show {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        bottom: 142%;
        white-space: nowrap;
        background: #16A368;
        border-radius: 16px;
        padding: 10px;
        font-size: 10px !important;
        color: white !important;
        font-weight: 500 !important;
        animation: blink-animation 1s infinite;
    }

    /* Keyframes for the blink effect */
    @keyframes blink-animation {
        0% {
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    .nm-brands-banner {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin: 0px 27px;
        margin-bottom: -46px;
        z-index: 2;
    }

    .nm-brands-slider {
        width: 100%;
        padding: 45px 0px 22px;
        border-right: unset;
        border-left: unset;
        box-shadow: 0px 0px 15px 0px #8282821A;
        /* border-radius: 0; */
        position: relative;
    }

    .brand-box {
        padding: 0px 0px;
    }

    .brand-box img {
        border-radius: 12px;
    }

    .nm-brands-banner {
        padding: 10px;
    }

    section.nm-brands .container {
        /* width: unset;
        padding-right: unset;
        padding-left: unset;
        margin-right: unset; */
        /* margin-left: unset; */
    }

    /*.nm-brands-banner img {*/
    /*    display: none;*/
    /*}*/
    .recomendSwiper .swiper-pagination,
    .nm-offers-products .swiper-pagination {
        display: none;
    }

    .nm-brands-banner-title {
        margin: 0px 0 0;
        /*color: #333;*/
    }

    .desktop-banner-s4 {
        display: none !important;
    }

    .nakhl-family-one {
        margin: 40px 0;
    }

    .nakhl-family-one h3 {
        font-size: 24px;
    }

    .nakhl-family-one h5 {
        font-size: 17px;
    }

    .family-tab-content {
        padding: 0;
    }

    .family-tab-item {
        padding: 14px 14px;
    }

    .right-sidebar-faq {
        flex-wrap: wrap;
    }

    .sidebar-faq {
        width: 100% !important;
    }

    .accordion-container {
        width: 100% !important;
        margin: 16px 0 !important;
        padding: 16px !important;
    }

    .right-sidebar-faq .accordion-header {
        margin: 0 !important;
    }

    .sidebar-faq .menu-icon svg {
        transform: rotate(-90deg);
    }

    .custom-subscription-image img {
        height: 200px;
        width: 100%;
        object-fit: contain;
    }

    .custom-subscription-image {
        width: 100%;
    }

    .custom-subscription-content {
        width: 100%;
        text-align: center;
    }

    .custom-subscription-content p {
        text-align: center;
    }

    .custom-subscription-head {
        justify-content: center;
    }

    .nm-product-box.style4 .img-wrapper-tag,
    .nm-product-box.style8 .img-wrapper-tag,
    .nm-product-box.style9 .img-wrapper-tag {
        height: max-content;
    }

    .nm-single-product .breadcrumbs {
        margin-bottom: 24px;
        margin-top: 107px;
    }

    .product-image-container {
        gap: 16px;
    }

    .product-details {
        padding-top: 0 !important;
    }

    .product-info {
        gap: 20px !important;
        margin-bottom: 16px !important;
    }

    .product-title {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    .product-rating-row {
        margin-top: 0 !important;
    }

    .product-rating-row {
        gap: 8px !important;
    }

    .product-excerpt {
        background: unset !important;
        border: none !important;
    }

    .product-excerpt {
        margin-bottom: 0;
    }

    .product-details {
        padding-bottom: 0 !important;
    }

    .single-product .col-md-3.d-flex.d-md-none.d-lg-none {
        padding: 0;
    }

    .product-cart-col {
        margin-top: 0px;
    }

    span.card-out-of-stock {
        padding: 8px;
        font-weight: 600;
        font-size: 13px;
    }

    .nm-shop .nm-product-box-price .card-out-of-stock {
        padding: 0 !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        width: auto !important;
    }

    .nm-cat-banners .swiper-button-next,
    .nm-cat-banners .swiper-button-prev {
        display: none;
    }

    .home .nm-cat-banners,
    .home .nm-product-slider,
    .home .banner {
        margin: 32px 0 !important;
    }

    .main-wrapper {
        margin-top: 16px;
        padding: 20px 0 20px 0;
    }

    .main-wrapper .section-title {
        margin-block: 20px 16px;
    }

    .home .phone-banner {
        margin-top: 0;
    }

    .home .nm-banner-box {
        margin-bottom: 16px;
    }

    .home .col-xl-6.col-lg-12:last-child .nm-banner-box {
        margin-bottom: 0;
    }

    .home .nm-more.phone-btn {
        margin-bottom: 0;
    }

    .home .nm-highlights {
        margin-top: 0;
    }

    .home .nm-offers {
        margin-top: 40px;
        padding: 20px 0;
    }

    /*.home .nm-banners-footer {*/
    /*    margin: 0;*/
    /*}*/
    .home .nm-content {
        margin-top: 40px;
    }

    .home .swiper-button-next,
    .home .swiper-button-prev {
        display: none;
    }

    .home .nm-offers-banner {
        text-align: center;
    }

    .home .nm-offers-banner img {
        width: max-content !important;
        object-fit: contain;
        margin: auto;
    }

    .products-wrapper {
        margin-top: 115px;
    }
}

@media (min-width: 768px) and (max-width: 1160px) {
    .nm-offers-timer {
        gap: 1px;
    }

    .nm-brands-slider {
        padding: 8px 10px;
    }

    .nm-brands-banner {
        padding: 10px;
    }

}

.banners-four {
    margin-right: -6px;
    margin-left: -6px;
    margin-top: 64px;
}

/* —— Mobile drawer: mega menu (full screen, drill + accordion) —— */
@media (max-width: 991px) {
    #nm-mobile-drawer.mobile-menu-wrapper {
        align-items: stretch;
        justify-content: flex-start;
    }

    .mobile-menu-wrapper .nm-mobile-mega {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        background: #ffffff;
        width: 100%;
    }

    .mobile-menu-wrapper .nm-mobile-mega-top {
        flex-shrink: 0;
        background: #ffffff;
    }

    .mobile-menu-wrapper .nm-mobile-mega-top--root {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 16px;
        min-height: 56px;
        box-sizing: border-box;
        box-shadow: 0px 4px 40px 0px #59595933;
        border-bottom: 1px solid #0031a2;
    }

    .mobile-menu-wrapper .nm-mobile-mega-top--root.is-hidden {
        display: none !important;
    }

    .mobile-menu-wrapper .nm-mobile-mega-logo {
        display: flex;
        align-items: center;
        line-height: 0;
        max-width: calc(100% - 52px);
    }

    .mobile-menu-wrapper .nm-mobile-mega-logo img {
        width: 130px;
        height: 32px;
        object-fit: contain;
        display: block;
    }

    .mobile-menu-wrapper .nm-mobile-mega-close {
        flex-shrink: 0;
        border: none;
        background: transparent;
        padding: 8px;
        cursor: pointer;
        margin: 0;
        line-height: 0;
    }

    .mobile-menu-wrapper .nm-mobile-mega-top--drill {
        box-shadow: 0px 4px 40px 0px #59595933;
    }

    .mobile-menu-wrapper .nm-mobile-mega-top--drill.is-hidden {
        display: none !important;
    }

    .mobile-menu-wrapper .nm-mobile-mega-drill-row1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
        gap: 12px;
        padding: 14px 16px;
        margin-bottom: 12px;
        border-bottom: 1px solid #0031a2;
        box-sizing: border-box;
    }

    .mobile-menu-wrapper .nm-mobile-mega-drill-heading {
        font-weight: 600;
        font-size: 16px;
        color: #333333;
    }

    .mobile-menu-wrapper .nm-mobile-mega-drill-row2 {
        display: flex;
        /* align-items: center; */
        justify-content: space-between;
        flex-direction: column-reverse;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 4px;
        border-bottom: 1px dashed #bdbdbd;
        padding: 0px 16px 10px;
    }

    .mobile-menu-wrapper .nm-mobile-mega-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: none;
        background: transparent;
        padding: 8px 0;
        cursor: pointer;
        font-family: inherit;
        font-weight: 600;
        font-size: 14px;
        color: #4f4f4f;
    }

    .mobile-menu-wrapper .nm-mobile-mega-back__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(180deg);
    }

    .mobile-menu-wrapper .nm-mobile-mega-current-title {
        font-weight: 700;
        font-size: 16px;
        color: #0031a2;
        text-align: right;
        flex: 1;
    }

    .mobile-menu-wrapper .nm-mobile-mega-view-all {
        font-weight: 600;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        text-align: right;
        color: #4F4F4F;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .mobile-menu-wrapper .nm-mobile-mega-view-all[hidden] {
        display: none !important;
    }

    .nm-mobile-mega-back__icon svg {
        width: 18px;
        height: 14px;
        margin-bottom: -3px;
    }

    span.nm-mobile-mega-back__text {
        font-weight: 600;
        font-size: 14px;
        text-align: right;
        color: #4F4F4F;
    }

    .mobile-menu-wrapper .nm-mobile-mega-shell {
        flex: 1 1 0%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    .mobile-menu-wrapper .nm-mobile-mega-shell-promo {
        flex: 0 0 auto;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid #efefef;
        z-index: 2;
    }

    .mobile-menu-wrapper .nm-mobile-mega-shell-promo .nm-mobile-mega-promo {
        margin-top: 0;
    }

    .mobile-menu-wrapper .nm-mobile-mega-stage {
        flex: 1 1 0%;
        min-width: 0;
        width: 100%;
        min-height: 0;
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        isolation: isolate;
        overflow: hidden;
    }

    .mobile-menu-wrapper .nm-mobile-mega-root {
        grid-area: 1 / 1;
        align-self: stretch;
        justify-self: stretch;
        position: relative;
        z-index: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1), transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease;
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        padding: 18px 16px 28px;
    }

    /* ردیف سرویس‌ها + عنوان دسته‌ها (هم‌سبک section-service-cards، فقط داخل کشو) */
    .mobile-menu-wrapper .nm-mobile-mega-intro {
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu-wrapper .nm-mobile-service-cards {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        gap: 32px;
        margin: 24px auto 32px;
        position: relative;
        box-sizing: border-box;
    }

    .mobile-menu-wrapper .nm-mobile-svc-card {
        flex: 0 0 auto;
        text-align: center;
        cursor: pointer;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        max-width: 96px;
        text-decoration: none !important;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-wrapper .nm-mobile-svc-card:not(:last-child)::after {
        content: '';
        position: absolute;
        left: -16px;
        top: 35%;
        transform: translateY(-50%);
        width: 1px;
        height: 72px;
        background: #e0e0e0;
    }

    .mobile-menu-wrapper .nm-mobile-svc-card__image {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 72px;
        height: 72px;
        box-sizing: border-box;
    }

    .mobile-menu-wrapper .nm-mobile-svc-card--np .nm-mobile-svc-card__image {
        border: 1px solid;
        border-top-color: #294e77;
        border-right-color: #294e77;
        border-left-color: #294e77;
        border-bottom-color: #8f8f8f;
        box-shadow: 0 0 30px 0 rgba(149, 160, 173, 0.5);
    }

    .mobile-menu-wrapper .nm-mobile-svc-card--nm .nm-mobile-svc-card__image {
        border: 1px solid;
        border-top-color: #fb502a;
        border-right-color: #fb502a;
        border-left-color: #fb502a;
        border-bottom-color: #8f8f8f;
        box-shadow: 0 0 30px 0 rgba(254, 189, 175, 0.5);
    }

    .mobile-menu-wrapper .nm-mobile-svc-card--nk .nm-mobile-svc-card__image {
        border: 1px solid;
        border-top-color: #294e77;
        border-right-color: #294e77;
        border-left-color: #294e77;
        border-bottom-color: #8f8f8f;
        box-shadow: 0 0 30px 0 #d8e4ff;
    }

    .mobile-menu-wrapper .nm-mobile-svc-card__image img {
        width: 56px;
        height: 56px;
        padding: 10px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        display: block;
    }

    .mobile-menu-wrapper .nm-mobile-svc-card__title {
        font-weight: 700;
        font-size: 13px;
        line-height: 1.25;
        letter-spacing: 0;
        text-align: center;
        color: #333333;
    }

    .mobile-menu-wrapper .nm-mobile-mega-categories-title {
        margin: 0 auto 18px;
        padding: 0;
        font-weight: 600;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
        color: #333333;
    }

    .mobile-menu-wrapper .nm-mobile-mega-shell--drilled .nm-mobile-mega-root {
        opacity: 0;
        transform: translate3d(-14%, 0, 0);
        pointer-events: none;
        visibility: hidden;
        overflow: hidden;
    }

    .mobile-menu-wrapper .nm-mobile-mega-panel {
        grid-area: 1 / 1;
        align-self: stretch;
        justify-self: stretch;
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: unset;
        z-index: 1;
        background: #ffffff;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 16px 24px;
        transform: translate3d(106%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.35s ease, opacity 0.25s ease;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        box-sizing: border-box;
        min-height: 0;
    }

    .mobile-menu-wrapper .nm-mobile-mega-panel.is-active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        z-index: 2;
    }

    .mobile-menu-wrapper .nm-mobile-mega-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        list-style: none;
        padding: 0;
        max-width: 280px;
        margin: auto;
    }

    .mobile-menu-wrapper .nm-mobile-mega-tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 6px;
        margin: 0;
        font: inherit;
        text-align: center;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-wrapper .nm-mobile-mega-tile:active {
        opacity: 0.88;
        transform: scale(0.98);
    }

    .mobile-menu-wrapper .nm-mobile-mega-tile__icon-wrap {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(180deg, #f3f7ff 0%, #eaf0ff 100%);
    }

    .mobile-menu-wrapper .nm-mobile-mega-tile__img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        display: block;
    }

    .mobile-menu-wrapper .nm-mobile-mega-tile__label {
        font-weight: 700;
        font-size: 13px;
        line-height: 20px;
        color: #333333;
    }

    .mobile-menu-wrapper .nm-mobile-acc {
        border-top: none;
        padding-bottom: 16px;
    }

    .mobile-menu-wrapper .nm-mobile-acc-item+.nm-mobile-acc-item {
        margin-top: 0;
    }

    /* آنیمیشن کشویی سطح ۱: 0fr ← 1fr */
    .mobile-menu-wrapper .nm-mobile-acc-slot {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.45s cubic-bezier(0.33, 1, 0.68, 1);
    }

    .mobile-menu-wrapper .nm-mobile-acc-item.is-open>.nm-mobile-acc-slot {
        grid-template-rows: 1fr;
    }

    .mobile-menu-wrapper .nm-mobile-acc-slot-inner {
        overflow: hidden;
        min-height: 0;
    }

    .mobile-menu-wrapper .nm-mobile-acc-leaf {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 48px;
        padding: 10px 0;
        text-decoration: none !important;
        color: inherit;
    }

    .mobile-menu-wrapper .nm-mobile-acc-trigger {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
        padding: 0 0 12px;
        margin: 0;
        border: none;
        background: transparent;
        font-family: inherit;
        cursor: pointer;
        flex-direction: row-reverse;
    }

    .mobile-menu-wrapper .nm-mobile-acc-view-all {
        display: inline-flex;
        width: 100%;
        padding: 0 0 16px;
        font-weight: 800;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        color: #4F4F4F;
        text-decoration: none;
        white-space: nowrap;
    }

    .mobile-menu-wrapper .nm-mobile-acc-view-all:hover,
    .mobile-menu-wrapper .nm-mobile-acc-view-all:focus-visible {
        color: #00257a;
        text-decoration: underline;
    }

    .mobile-menu-wrapper .nm-mobile-acc-chevron {
        flex-shrink: 0;
        order: -1;
        margin-inline-start: auto;
        color: #828282;
        transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.25s ease;
        display: flex;
        align-items: center;
    }

    .mobile-menu-wrapper .nm-mobile-acc-item.is-open .nm-mobile-acc-chevron {
        transform: rotate(180deg);
        color: #0031a2;
    }

    .mobile-menu-wrapper .nm-mobile-acc-item.is-open .nm-mobile-acc-title {
        color: #0031a2;
        font-weight: 700;
    }

    .mobile-menu-wrapper .nm-mobile-acc-title {
        font-weight: 700;
        font-size: 14px;
        color: #333333;
        line-height: 22px;
        text-align: right;
        flex: 1;
    }

    .mobile-menu-wrapper .nm-mobile-acc-panel {
        padding-inline-end: 10px;
        padding-bottom: 12px;
        box-sizing: border-box;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-item:last-child {
        border-bottom: none;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-trigger {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
        padding: 8px 0 10px;
        margin: 0;
        border: none;
        background: transparent;
        font-family: inherit;
        cursor: pointer;
        flex-direction: row-reverse;
        box-sizing: border-box;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-chevron {
        flex-shrink: 0;
        order: -1;
        margin-inline-start: auto;
        color: #9e9e9e;
        transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), color 0.25s ease;
        display: flex;
        align-items: center;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-item.is-open>.nm-mobile-subacc-trigger .nm-mobile-subacc-chevron {
        transform: rotate(180deg);
        color: #0031a2;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-item.is-open>.nm-mobile-subacc-trigger .nm-mobile-subacc-title {
        color: #0031a2;
        font-weight: 700;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-title {
        font-weight: 600;
        font-size: 13px;
        line-height: 20px;
        color: #424242;
        text-align: right;
        flex: 1;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-slot {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.45s cubic-bezier(0.33, 1, 0.68, 1);
    }

    .mobile-menu-wrapper .nm-mobile-subacc-item.is-open>.nm-mobile-subacc-slot {
        grid-template-rows: 1fr;
    }

    .mobile-menu-wrapper .nm-mobile-subacc-slot-inner {
        overflow: hidden;
        min-height: 0;
    }

    .mobile-menu-wrapper .nm-mobile-sec--flat+.nm-mobile-subacc-item,
    .mobile-menu-wrapper .nm-mobile-subacc-item+.nm-mobile-sec--flat,
    .mobile-menu-wrapper .nm-mobile-sec--flat+.nm-mobile-sec--flat {
        margin-top: 6px;
    }

    .btn-top {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-wrapper .nm-mobile-sec--flat {
        padding: 10px 0 6px;
    }

    .mobile-menu-wrapper .nm-mobile-sec--flat:last-child {
        border-bottom: none;
    }

    .mobile-menu-wrapper .nm-mobile-sec-title {
        font-weight: 600;
        font-size: 13px;
        color: #424242;
        text-align: right;
        display: block;
    }

    nav.woocommerce-breadcrumb {
        margin-top: 76px;
    }

    .mobile-menu-wrapper .nm-mobile-sec-links {
        list-style: none;
        margin: 0;
        padding: 4px 12px 12px 0;
    }
    .head-banner .head-img-banner-res{
        margin-top: 48px;
        padding-top: 24px;
    }
    .woocommerce-cart .head-banner .head-img-banner-res{
        margin-top: 0;
        padding-top: 0;
    }

    .mobile-menu-wrapper .nm-mobile-sec-links a {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: #6b6b6b;
        text-decoration: none !important;
        transition: color 0.2s ease;
    }

    .mobile-menu-wrapper .nm-mobile-sec-links a:hover,
    .mobile-menu-wrapper .nm-mobile-sec-links a:active {
        color: #0031a2;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo__link--static {
        display: block;
        border-radius: 10px;
        overflow: hidden;
        line-height: 0;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo__text {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.65;
        color: #4f4f4f;
        margin: 0;
        padding: 0 2px;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo__text p {
        margin: 0 0 8px;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo__text p:last-child {
        margin-bottom: 0;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo__link {
        display: block;
        border-radius: 10px;
        overflow: hidden;
        line-height: 0;
    }

    .mobile-menu-wrapper .nm-mobile-mega-promo__img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }

    .new-offers-sec h5 {
        display: none;
        font-weight: 600;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0%;
        text-align: right;
        color: #4F4F4F;
    }

    .banners-four {
        margin-top: 32px;
    }

    .nm-brands-slider .swiper-wrapper {
        padding-bottom: 2px;
    }



}

.equal-banners-four .nm-banner-box {
    border-radius: 12px;
    overflow: hidden;
}

.equal-banners-four .nm-banner-box img {
    /* width: 322px; */
    /* height: 192px; */
    object-fit: cover;
    display: block;
    max-width: 100%;
}



.equal-banners-four>[class*="col-"] {
    padding-right: 6px;
    padding-left: 6px;
    /* margin-bottom: 12px; */
    width: 50%;
}

.equal-banners-four .nm-banner-box {
    border-radius: 12px;
    overflow: hidden;
}

.acf-image-uploader .image-wrap img {
    max-width: 200px;
    max-height: 200px;
}

/*  */

.banner-slider {
    width: 100%;
    /* height: 183px; */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.banner-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.banner-slider .swiper-image {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

.swiper-container-horizontal>.banner-slider .swiper-pagination-bullets,
.banner-slider .swiper-pagination-custom,
.banner-slider .swiper-pagination-fraction {
    bottom: 2px !important;
}

/* بولت‌ها روی تصویر: z-index و کلیک فقط روی هر bullet */
.banner-slider .swiper-pagination {
    z-index: 15;
    left: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
    bottom: -3px !important;
}

.banner-slider .swiper-pagination-bullet {
    pointer-events: auto;
    cursor: pointer;
}

.recomendSwiper .swiper-pagination,
.nm-offers-products .swiper-pagination {
    /* display: none; */
}

.nm-more svg path {
    stroke: #BDBDBD;
}

/* دکمه‌های ناوبری */
.banner-slider .swiper-button-next,
.banner-slider .swiper-button-prev {
    z-index: 16;
    background-image: none !important;
    background: #F5F5F5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 44;
    height: 44;
    border-width: 1px;
    padding: 12px;
    transition: .4s;
}

.banner-slider .swiper-button-next:hover,
.banner-slider .swiper-button-prev:hover {
    background: #f5f5f597;
    transition: .4s;
}

.nm-banner-box img {
    /* height: 192px !important; */
    border-radius: 12px !important;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .banner-slider {
        height: auto;
        /* aspect-ratio: 1336 / 183; */
    }
}

.main-wrapper .boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;

}

.main-wrapper .box {
    width: 322px;
    background: hsl(0, 0%, 100%);
    border-radius: 12px;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 40px 0px #BDBDBD4D;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s;
}


.main-wrapper .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: repeat(2, 160px);
    gap: 0px;
    background: #fff;
    width: 322px;
    height: 322px;
    margin-bottom: 16px;
    border-radius: 12px;
}

.main-wrapper .image-grid img {
    width: 161px;
    height: 161px;
    object-fit: cover;
    display: block;
    transform: rotate(0deg);
    transition: 0.2s;
}


.main-wrapper .box-caption {
    font-weight: 700;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0%;
    text-align: center;
    color: #333333;
    padding: 16px;
}

.main-wrapper .box-caption p {
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 0%;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #828282;
    margin-top: 12px;
    margin-bottom: 0;
    justify-content: center;
}

.main-wrapper .box:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(232, 232, 232, 0.721);
}


@media (max-width: 750px) {
    .main-wrapper .boxes-container {
        gap: 20px;
    }

    .main-wrapper .box {
        width: 322px;
        height: auto;
        min-height: 408px;
    }

    .main-wrapper .image-grid {
        display: grid;
        grid-template-columns: repeat(2, 106px);
        grid-template-rows: repeat(2, 106px);
        gap: 0px;
        background: #fff;
        width: 322px;
        height: 322px;
        margin-bottom: 16px;
    }
}


.main-wrapper .section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #333333;

}



.main-wrapper .swiper {
    width: 100%;
    overflow: hidden;
}

.main-wrapper .swiper-wrapper {
    display: flex;
}

.main-wrapper .swiper-slide {
    flex-shrink: 0;
    width: auto;
    height: auto;
}

/* استایل‌های فعلی شما برای باکس‌ها */
.main-wrapper .boxes-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* استایل‌های پایه باکس‌ها */
.main-wrapper .box {
    width: 322px;
    background: hsl(0, 0%, 100%);
    border-radius: 12px;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 40px 0px #BDBDBD4D;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s;
    text-decoration: none;
}


.main-wrapper .image-grid img {
    width: 161px;
    height: 161px;
    object-fit: cover;
    display: block;
    padding: 20px;
}

.main-wrapper .box-caption {
    font-weight: 700;
    font-size: 14px;
    line-height: 27px;
    text-align: center;
    color: #333333;
    padding: 16px;
}

.main-wrapper .section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: #333333;
    margin-top: 0;
}



/* ========== حالت دسکتاپ (گرید) ========== */
.desktop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
}

.mobile-slider {
    display: none;
}

@media (max-width: 1280px) {
    .desktop-grid {
        flex-wrap: nowrap;
    }

    .main-wrapper .box {
        width: 260px;
    }

    .main-wrapper .image-grid {
        grid-template-columns: repeat(2, 129px);
        grid-template-rows: repeat(2, 152px);
        width: 255px;
        height: 255px;
        background-color: unset;
    }

    .main-wrapper .image-grid img {
        width: 116px;
        height: 116px;
    }
}

/* ========== حالت موبایل (اسلایدر) ========== */
@media (max-width: 750px) {
    .desktop-grid {
        display: none;
    }

    .mobile-slider {
        display: block;
        width: 100%;
        padding: 0 15px;
        overflow: hidden;
    }

    .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }

    .swiper-wrapper .swiper-slide {
        width: auto;
        height: auto;
    }

    .main-wrapper .box {
        width: unset;
        min-height: unset;
    }

    .main-wrapper .image-grid {
        width: max-content;
        height: unset;
    }

    .main-wrapper .image-grid img {
        width: 117px;
        height: 117px;
    }

    /* دکمه‌های ناوبری */
    .swiper-wrapper .swiper-button-prev,
    .swiper-wrapper .swiper-button-next {
        background: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .swiper-wrapper .swiper-button-prev:after,
    .swiper-wrapper .swiper-button-next:after {
        font-size: 18px;
        color: #333;
        font-weight: bold;
    }

    .swiper-wrapper .swiper-button-prev {
        left: 0;
    }

    .swiper-wrapper .swiper-button-next {
        right: 0;
    }

}

.nm-brands-banner {
    display: none;
}

.title-shape svg path {
    stroke: #4F4F4F;
}

.category-section .category-card .image {
    max-width: 80px !important;
    height: 80px !important;

}

.category-section .category-card .image img {
    border-radius: 50%;
}

.nm-brands-slider {
    width: 100%;
    border: 1px solid #E0E0E0;
    padding: 16px;
}

.nm-brands-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    margin: 0;
}

.sec-head-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nm-brands .btn {
    border: 1px solid #BDBDBD;
    height: 40;
    border-radius: 8px;
    border-width: 1px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4F4F4F;
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
}

.nm-brands .btn span {
    display: flex;
}

@media (max-width: 480px) {


    .main-wrapper .image-grid {
        grid-template-columns: repeat(2, 98px);
        grid-template-rows: repeat(2, 100px);
    }

    .main-wrapper .image-grid img {
        width: 75px;
        height: 88px;

    }

    .nm-product-slider .recomendSwiper .nm-product-box-title,
    .nin-products .recomendSwiper .nm-product-box-title,
    .new-offers-sec .newoffersstyle .nm-product-box-title {
        margin: 0 0 2px;
        padding: 0px 5px 0px 5px;
    }

    .nm-product-slider .recomendSwiper .nm-product-box>p.nm-product-box-title+.stars,
    .nin-products .recomendSwiper .nm-product-box>p.nm-product-box-title+.stars,
    .new-offers-sec .newoffersstyle .nm-product-box>p.nm-product-box-title+.stars {
        margin-bottom: 0;
    }




    .nm-content-editor .shadow-content {
        height: 65% !important;
    }

    .register-desing {
        color: #4F4F4F;

    }



}

@media (max-width: 750px) {
    .sec-head-brand {
        padding: 0 20px;
        justify-content: center;
    }

    .banner-slider .swiper-button-next,
    .banner-slider .swiper-button-prev {
        display: none;
    }

    .banner-slider .swiper-pagination .swiper-pagination-bullet-active {
        background: #333333;
    }

    .newoffersstyle .swiper-pagination-bullet {
        display: none;
    }

    .newoffersstyle .swiper-button-next,
    .newoffersstyle .swiper-button-prev {
        display: none;
    }

    .nm-brands .btn {
        width: 100%;
    }
}



.category-section .category-img img {
    max-width: 100% !important;
    height: 100% !important;
}

.category-section .category-img {
    padding: 0 !important;
}

.category-section .category-card {
    background: unset !important;

}

@media (min-width: 769px) {
    .category-section .categorySwiper {
        grid-template-columns: repeat(9, 1fr) !important;
        gap: 1px !important;
        box-shadow: 0px 0px 40px 0px #5959591F;
        padding: 16px 0;
        border-radius: 12px;
    }
}