:root {
	--wd-hb-opt-h: 40px;
	--wd-text-font: "IRANYekanX", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(91,91,91);
	--wd-text-font-size: 16px;
	--wd-title-font: "IRANYekanX", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "ایران یکان", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "ایران یکان", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "ایران یکان", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 12px;
	--wd-header-el-font: "ایران یکان", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(7,88,196);
	--wd-alternative-color: rgb(52,53,0);
	--btn-default-font-family: iranyekan;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: iranyekan;
	--btn-accented-font-size: 17px;
	--btn-accented-bgcolor: rgb(224,242,254);
	--btn-accented-bgcolor-hover: rgb(252,100,0);
	--wd-form-brd-width: 0px;
	--notices-success-bg: rgb(205,255,5);
	--notices-success-color: rgb(22,22,22);
	--notices-warning-bg: rgb(234,0,0);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-hb {
	background-color: rgb(216,13,13);
	background-image: none;
}
: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;
}
body, h1, h2, h3, h4, h5, h6, .wd-nav, .price, .product-title {
	font-family: "IRANYekanX", Arial, Helvetica, sans-serif;
	font-weight: 400;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
	background-size: cover;
	background-position: center center;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-image: url(https://8abzar.com/wp-content/uploads/2026/07/ایت-ابزار-بهترین-در-ابزار.webp);
	background-repeat: repeat;
	background-size: contain;
	background-position: center top;
}
 {
	font-family: iranyekan;	font-size: 21px;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,28,71);
	--wd-form-placeholder-color: rgb(255,104,58);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-size: 4px;
}
.wd .product-label.onsale {
	background-color: rgb(252,88,17);
}
.wd .product-label.out-of-stock {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 0px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 51px;
	--wd-header-el-font-size: 2px;
	--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-header-el-font-size: 4px;
	--wd-sticky-btn-height: 42px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 4px;
	}

}
:root{
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #333;
--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: 5px;
--wd-cat-brd-radius: 12px;
}



.wd-page-title {
background-color: rgb(255,255,255);
}

@font-face {
	font-family: "IRANYekanX";
	src: url("//8abzar.com/wp-content/uploads/2026/07/IRANYekanX-Bold.woff2") format("woff2"), 
url("//8abzar.com/wp-content/uploads/2026/07/IRANYekanX-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "IRANYekanX";
	src: url("//8abzar.com/wp-content/uploads/2026/07/IRANYekanX-Regular.woff2") format("woff2"), 
url("//8abzar.com/wp-content/uploads/2026/07/IRANYekanX-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/* ایجاد فضای تنفسی بین عدد و تومان */
.woocommerce-Price-currencySymbol {
    margin-right: 5px !important; /* فاصله به سمت راست عدد */
    display: inline-block !important; /* برای اینکه مارجین اعمال شود */
}
/* یکدست‌سازی فونت تمام بخش‌های سایت */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, input, .elementor-widget, .woocommerce-Price-amount {
    font-family: 'IRANYekanX', tahoma, sans-serif !important;
}

/* بولد کردن اختصاصی عناوین محصولات */
.wd-entities-title,
.product-grid-item .wd-entities-title a,
.product-title,
.woocommerce-loop-product__title,
.single-product-page .product_title {
    font-weight: 700 !important;
    font-family: 'IRANYekanX', tahoma, sans-serif !important;
}
/* =========================================
   1. تنظیمات استاندارد دسکتاپ (صفحه‌نمایش‌های بالای 768px)
   ========================================= */
@media (min-width: 769px) {
    .wd-product .product-labels .out-of-stock,
    .product-grid-item .product-labels .out-of-stock,
    .woocommerce-badges .out-of-stock {
        white-space: nowrap !important;
        font-size: 11px !important;
        line-height: 52px !important;
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        border-radius: 50% !important;
        text-align: center !important;
        padding: 0 !important;
        display: inline-block !important;
    }
}

/* =========================================
   2. تنظیمات موبایل و تبلت (صفحه‌نمایش‌های زیر 768px)
   ========================================= */
@media (max-width: 768px) {
    .wd-product .product-labels .out-of-stock,
    .product-grid-item .product-labels .out-of-stock,
    .woocommerce-badges .out-of-stock {
        white-space: nowrap !important;
        font-size: 10px !important;
        width: auto !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
        padding: 3px 7px !important;
        border-radius: 4px !important;
        line-height: 1.3 !important;
        display: inline-block !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
	@media (max-width: 768px) {
    /* 1. تنظیم فونت و خط عنوان در کارت محصولات موبایل */
    .product-grid-item .wd-entities-title,
    .wd-product .wd-entities-title,
    p.woocommerce-loop-product__title {
        font-size: 11.5px !important;      /* کاهش هوشمندانه سایز فونت برای جا شدن متن */
        line-height: 1.45 !important;      /* تنظیم فاصله عمودی خطوط */
        min-height: 52px !important;       /* ایجاد ارتفاع مناسب برای نمایش کامل ۳ خط */
        max-height: none !important;       /* حذف محدودیت برش خط آخر */
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;  /* نمایش تا ۳ خط به شکل تمیز */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* 2. ایجاد فاصله استاندارد و جلوگیری از همپوشانی عنوان با دکمه */
    .product-grid-item .product-element-bottom {
        padding: 8px 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    /* 3. مرتب‌سازی دکمه اطلاعات بیشتر / سبد خرید */
    .product-grid-item .wd-add-btn {
        margin-top: auto !important;
    }
}

}

@media (min-width: 577px) and (max-width: 767px) {
	@media (max-width: 768px) {
    /* 1. تنظیم فونت و خط عنوان در کارت محصولات موبایل */
    .product-grid-item .wd-entities-title,
    .wd-product .wd-entities-title,
    p.woocommerce-loop-product__title {
        font-size: 11.5px !important;      /* کاهش هوشمندانه سایز فونت برای جا شدن متن */
        line-height: 1.45 !important;      /* تنظیم فاصله عمودی خطوط */
        min-height: 52px !important;       /* ایجاد ارتفاع مناسب برای نمایش کامل ۳ خط */
        max-height: none !important;       /* حذف محدودیت برش خط آخر */
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;  /* نمایش تا ۳ خط به شکل تمیز */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* 2. ایجاد فاصله استاندارد و جلوگیری از همپوشانی عنوان با دکمه */
    .product-grid-item .product-element-bottom {
        padding: 8px 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    /* 3. مرتب‌سازی دکمه اطلاعات بیشتر / سبد خرید */
    .product-grid-item .wd-add-btn {
        margin-top: auto !important;
    }
}

}

@media (max-width: 576px) {
	/* شبکه ۲×۲ ویژگی‌ها فقط برای موبایل */
@media (max-width: 767px) {
    .mobile-features-grid > .e-con-inner,
    .mobile-features-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 15px 0 !important;
        padding: 15px 5px !important;
    }

/* حل قطعی سفیدی سمت چپ و اسکرول افقی آیفون */
html, body {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
}
/* اصلاح شکستگی کلمه ناموجود و ابعاد دایره بج در وودمارت */
.wd-product .product-labels .out-of-stock,
.product-grid-item .product-labels .out-of-stock,
.woocommerce-badges .out-of-stock {
    white-space: nowrap !important; /* جلوگیری از شکستن حرف د به خط بعد */
    font-size: 11px !important;     /* سایز فونت متناسب */
    line-height: 1.2 !important;
    min-width: 46px !important;     /* عرض کافی برای جا شدن کامل کلمه */
    height: auto !important;
    padding: 6px 4px !important;
    border-radius: 50% !important;  /* حفظ فرم گرد */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
@media (max-width: 768px) {
    /* 1. تنظیم فونت و خط عنوان در کارت محصولات موبایل */
    .product-grid-item .wd-entities-title,
    .wd-product .wd-entities-title,
    p.woocommerce-loop-product__title {
        font-size: 11.5px !important;      /* کاهش هوشمندانه سایز فونت برای جا شدن متن */
        line-height: 1.45 !important;      /* تنظیم فاصله عمودی خطوط */
        min-height: 52px !important;       /* ایجاد ارتفاع مناسب برای نمایش کامل ۳ خط */
        max-height: none !important;       /* حذف محدودیت برش خط آخر */
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;  /* نمایش تا ۳ خط به شکل تمیز */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* 2. ایجاد فاصله استاندارد و جلوگیری از همپوشانی عنوان با دکمه */
    .product-grid-item .product-element-bottom {
        padding: 8px 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    /* 3. مرتب‌سازی دکمه اطلاعات بیشتر / سبد خرید */
    .product-grid-item .wd-add-btn {
        margin-top: auto !important;
    }
}



}

