@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//niawear.ir/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.4") format("woff2");
}

:root {
	--wd-header-banner-h: 70px;
	--wd-text-font: "doran-reg", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "doran-bold", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "doran-bold", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "doran-thin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "doran-reg", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "doran--black", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 800;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,0,0);
	--wd-alternative-color: rgb(102,102,102);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(81,81,81);
	--btn-accented-bgcolor-hover: rgb(12,12,12);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://niawear.ir/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 40px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}



.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "doran-reg";
	src: url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-Regular.woff2") format("woff2"), 
url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "doran-bold";
	src: url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-Bold.woff2") format("woff2"), 
url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "doran-thin";
	src: url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-Thin.woff2") format("woff2"), 
url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-Thin.woff") format("woff");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: "doran--black";
	src: url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-ExtraBold.woff2") format("woff2"), 
url("//niawear.ir/wp-content/uploads/2024/04/DoranFaNum-ExtraBold.woff") format("woff");
	font-weight: 800;
	font-style: normal;
}

.wd-nav[class*="wd-style-"]>li:hover>a {
    color: var(--wd-primary-color);
}
.wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:after {
	transition: all .25s ease;
}
.wd-nav[class*="wd-style-"]>li:hover:is(.wd-has-children,.menu-item-has-children)>a:after {
    color: var(--wd-primary-color);
}
.wd-dropdown {
    background-color: var(--wd-primary-color);
}
.woodmart-products-tabs .tabs-name {
    font-weight: 600 !important;
}
.labels-rectangular .product-label {
    border-radius: 7px;
}
.labels-rectangular {
    right: 13px !important;
}
.wd-swatch.wd-disabled {
    opacity: 0.1 !important;
}
.osize {
    background-color: #bd0000;
    border-radius: 6px;
}
.osize a {
    color: white !important;
}
.product-label.onsale {
    background-color: #bd0000 !important;
    direction: ltr;
}

.wd-nav[class*="wd-style-"]>li:hover>a {
    color: rgb(193 193 193);
}

/* قرمز کردن متن در تمام حالت‌ها (عادی، هاور، کلیک شده و فعال) */
.menu-red-text > a,                 /* حالت عادی */
.menu-red-text > a:hover,           /* وقتی موس روی آن است */
.menu-red-text > a:active,          /* لحظه کلیک کردن */
.menu-red-text > a:focus,           /* وقتی انتخاب شده */
.menu-red-text.current-menu-item > a,     /* وقتی داخل آن صفحه هستید */
.menu-red-text.current-menu-ancestor > a  /* وقتی داخل زیرمجموعه‌های آن هستید */
{
    color: #ff0000 !important;
}



tr.fee,tr.order-total {
    display: none!important;
}



add_action('wp_head', function () {
    ?>
    <style>
        body.wallet-active .coupon.wd-coupon-form,
        body.wallet-active .woocommerce-form-coupon-toggle {
            display: none !important;
        }
    </style>
    <?php
});





/* ========================================================
   یکپارچه‌سازی و کوچک‌کردن ویجت‌های ترب‌پی و اسنپ‌پی
======================================================== */

/* --- ۱. تنظیمات محفظه اصلی (باکس کلی) --- */
.torobpay-widget,
.snapppay-widget {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important; /* فاصله کاملاً یکسان بین لوگو و متن در هر دو ویجت */
    background-color: #f8f9fa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important; /* گوشه‌های کمی تیزتر برای ظاهر جمع‌وجور */
    padding: 8px 12px !important; /* کاهش پدینگ برای کوچک‌تر شدن باکس */
    margin: 10px 0 !important; /* فاصله یکسان ۱۰ پیکسلی از بالا و پایین برای هر دو */
    max-width: 270px !important; /* محدود کردن عرض برای سایز کوچکتر */
    width: 100% !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    box-shadow: none !important; /* حذف سایه‌های احتمالی افزونه‌ها */
}

/* --- ۲. تنظیمات دقیق و هم‌اندازه لوگوها --- */
.torobpay-widget-image,
.snapppay-widget-image {
    width: 30px !important; /* سایز کوچکتر و دقیق برای لوگوها */
    height: 30px !important;
    min-width: 30px !important; /* جلوگیری از فشرده شدن لوگو */
    object-fit: contain !important;
    margin: 0 !important; /* خنثی کردن فاصله‌های مزاحم افزونه‌ها */
    padding: 0 !important;
}

/* خنثی کردن محفظه اضافه لوگوی ترب‌پی تا رفتارش دقیقاً مثل اسنپ‌پی شود */
.torobpay-widget-media {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

/* --- ۳. تنظیمات کانتینر دربرگیرنده متن‌ها --- */
.torobpay-widget-content,
.snapppay-widget-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important; /* فاصله دقیق بین عنوان و توضیحات زیرین */
    margin: 0 !important;
    padding: 0 !important;
}

/* --- ۴. یکسان‌سازی فونت و سایز عناوین (خط اول: مبلغ) --- */
.torobpay-widget-title,
.snapppay-widget-title,
.torobpay-widget-title .amount,
.snapppay-widget-title .amount {
    font-size: 12px !important; /* فونت کوچکتر و یکسان */
    font-weight: bold !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: inherit !important; /* وادار کردن ویجت به استفاده از فونت زیبای قالب خودتان */
}

/* --- ۵. یکسان‌سازی فونت و سایز توضیحات (خط دوم: شرایط قسط) --- */
.torobpay-widget-description,
.snapppay-widget-description {
    font-size: 10.5px !important; /* فونت ریزتر برای توضیحات */
    font-weight: normal !important;
    color: #777 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: inherit !important;
}

/* ایجاد فاصله ملایم از بالا برای اسنپ‌پی */
.snapppay-widget {
    margin-top: 10px !important; 
}
/* یکسان‌سازی دقیق کادر و حذف خطوط یا سایه‌های مزاحم افزونه‌ها */
.torobpay-widget,
.snapppay-widget {
    border: 1px solid #e0e0e0 !important; /* یک رنگ طوسی ملایم و کاملاً یکسان */
    box-shadow: none !important;
    outline: none !important;
}

/* حذف کادر یا بک‌گراند اضافی از محفظه بیرونی ترب‌پی که باعث خطای دید می‌شد */
#torobpay-variation-widget-container {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}@media (min-width: 1025px) {
	.whb-main-header .wd-nav>li>a {
    padding-right: 15px;
    padding-left: 15px;
}
}

@media (max-width: 576px) {
	.banners-carousel-wrapper .owl-dots {
    margin-top: -40px !important;
	z-index: 3 !important;
    position: relative !important;
}
}

