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

:root {
	--wd-text-font: Yekanbakh;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: Yekanbakh;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: Yekanbakh;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: Yekanbakh;
	--wd-widget-title-font: Yekanbakh;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 10px;
	--wd-header-el-font: Yekanbakh;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,255,255);
	--wd-alternative-color: rgb(255,255,255);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(255,255,255);
	--btn-accented-bgcolor-hover: rgb(255,255,255);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(255,255,255);
	--notices-success-color: rgb(0,0,0);
	--notices-warning-bg: rgb(255,255,255);
	--notices-warning-color: rgb(0,0,0);
	--wd-link-color: rgb(255,255,255);
	--wd-link-color-hover: rgb(255,255,255);
}
.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;
}
: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, [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,0,0);
	--wd-form-placeholder-color: rgb(0,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--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;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


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



/* مخفی کردن دسته‌بندی نمونه‌کار وودمارت */
.portfolio-entry .proj-cats-list,
.portfolio-entry .wrap-meta {
    display: none !important;
}

/* ۱. حذف کامل خودِ دکمه و آیکون اشتراک‌گذاری در وودمارت */
.wd-portfolio-btns a.wd-share-btn,
.wd-portfolio-btns .wd-action-btn.wd-share-btn,
.portfolio-entry .wd-share-btn,
.wd-buttons-at-img .wd-share-btn,
a.wd-action-btn.wd-share-btn {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ۲. غیرفعال کردن کلیک راست و درگ برای جلوگیری از دانلود */
.portfolio-entry img,
.wd-portfolio-element img,
.pswp__img {
    pointer-events: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* ۳. حالت شیشه‌ای و بلر برای پس‌زمینه لایت‌باکس */
.pswp__bg {
    background-color: rgba(255, 255, 255, 0.65) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    opacity: 1 !important;
}

/* ۴. مخفی کردن دکمه‌های اضافی داخل لایت‌باکس */
.pswp__button--share,
.pswp__button--zoom,
.pswp__button--fs {
    display: none !important;
}

/* ۵. تنظیم رنگ دکمه بسته شدن و فلش‌ها */
.pswp__button--close,
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    filter: invert(1) !important;
}

/* ==========================================
   استایل نهایی و بدون نقص بخش آپلود فایل
   ========================================== */

/* ۱. چیدمان مرتب کادر و محتویات فایل */
.ginput_preview {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

/* ۲. اصلاح جابه‌جایی عدد و واحد KB (چپ‌به‌راست‌سازی استاندارد اعداد) */
.gfield_fileupload_filesize {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block !important;
    color: #64748b !important;
    font-size: 13px !important;
}

/* ۳. درج عبارت (100%) با رنگ سبز بعد از KB */
.gfield_fileupload_filesize::after {
    content: " (100%)" !important;
    color: #10b981 !important; /* سبز برند */
    font-weight: 700 !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}

/* ۴. نوار پیشرفت سبز رنگ و تمیز */
.ginput_preview .gfield_fileupload_progress {
    display: block !important;
    width: 100% !important;
    max-width: 220px !important;
    height: 5px !important;
    background: #e2e8f0 !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    margin-top: 4px !important;
}

.ginput_preview .gfield_fileupload_progressbar {
    height: 100% !important;
    background-color: #10b981 !important;
    display: block !important;
}

/* ۵. غیرفعال‌سازی المان درصد اصلی گرویتی فرمز جهت جلوگیری از تکرار */
.ginput_preview .gfield_fileupload_percent {
    display: none !important;
}

/* ========================================================
   پوشش ۱۰۰٪ تمام سطوح زیرمنوی دسکتاپ (سطح ۱، ۲ و ۳)
   ======================================================== */

/* ۱. ست کردن متغیر رنگ در تمام لایه‌ها */
:root, html, body {
    --wd-dropdown-bg: #001833 !important;
}

/* ۲. اعمال اجباری سرمه‌ای #001833 و گوشه گرد به تمام باکس‌های زیرمنو در هر عمقی */
html body .wd-nav-main ul.sub-menu,
html body .wd-nav-main .wd-dropdown-menu,
html body .wd-nav-main .sub-menu,
html body .wd-nav-main li .sub-menu,
html body .wd-nav-main li ul,
html body .wd-nav-main .wd-dropdown-standard,
html body .wd-nav-main .wd-dropdown-standard .sub-menu,
html body .wd-nav-main .sub-menu .sub-menu {
    background-color: #001833 !important;
    background: #001833 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
}

/* ۳. بی‌پست‌زمینه کردن آیتم‌های داخلی جهت حذف رنگ مشکی پیش‌فرض */
html body .wd-nav-main ul.sub-menu li,
html body .wd-nav-main .wd-dropdown-menu li,
html body .wd-nav-main .sub-menu li {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 2px !important;
}

html body .wd-nav-main ul.sub-menu li:last-child,
html body .wd-nav-main .wd-dropdown-menu li:last-child {
    border-bottom: none !important;
}

/* ۴. استایل فونت و لینک‌ها در تمامی سطوح */
html body .wd-nav-main ul.sub-menu a,
html body .wd-nav-main .wd-dropdown-menu a,
html body .wd-nav-main .sub-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: transparent !important;
    transition: all 0.25s ease !important;
}

/* ۵. افکت هاور کپسولی در تمام سطوح زیرمنو */
html body .wd-nav-main ul.sub-menu a:hover,
html body .wd-nav-main .wd-dropdown-menu a:hover,
html body .wd-nav-main .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    padding-right: 18px !important;
}


/* ========================================================
   حل کامل کادر سفید + بازگرداندن گوشه‌های گرد + زیرمنوی کم‌رنگ
   ======================================================== */

/* ۱. ساختار شناور و گوشه‌های گرد اصلی */
html body .mobile-nav-wrapper,
html body .wd-side-hidden,
html body .wd-drawer {
    background-color: #001833 !important;
    background: #001833 !important;
    top: 15px !important;
    bottom: 15px !important;
    height: calc(100vh - 30px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden !important;
}

/* ۲. حذف ریشه‌ای هرگونه پس‌زمینه سفید از کلید فلش و آی‌تم‌های فعال */
html body .mobile-nav *,
html body .wd-nav-mobile *,
html body .mobile-nav .wd-opener,
html body .mobile-nav .wd-opener *,
html body .mobile-nav li,
html body .mobile-nav li a,
html body .mobile-nav li.wd-active,
html body .mobile-nav li.wd-active > a,
html body .mobile-nav li.wd-active > .wd-opener {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* ۳. استایل آیتم‌های اصلی منو */
html body .mobile-nav ul.wd-nav-mobile > li > a {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
}

/* ۴. خط جداکننده بین آیتم‌های اصلی */
html body .mobile-nav ul.wd-nav-mobile > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ۵. استایل و کم‌رنگ کردن زیرمنوها (کم‌رنگ‌تر و تفکیک‌شده) */
html body .mobile-nav ul.sub-menu {
    background: rgba(0, 0, 0, 0.25) !important; /* زمینه تیره‌تر برای تفکیک */
    border-radius: 10px !important;
    margin: 5px 12px 10px 12px !important;
    padding: 6px 10px !important;
}

html body .mobile-nav ul.sub-menu li a {
    color: rgba(255, 255, 255, 0.55) !important; /* ۵۵٪ شفافیت برای کم‌رنگ شدن */
    font-size: 13.5px !important;
    padding: 8px 10px !important;
}

/* روشن شدن زیرمنو موقع لمس */
html body .mobile-nav ul.sub-menu li a:hover,
html body .mobile-nav ul.sub-menu li.current-menu-item > a {
    color: #ffffff !important;
}

/* ۶. تنظیم رنگ فلش‌های بازکننده */
html body .mobile-nav .wd-opener::before,
html body .mobile-nav .wd-opener::after {
    color: #ffffff !important;
}

/* روشن شدن زیرمجموعه‌ها هنگام لمس/هاور */
html body .mobile-nav ul.sub-menu li a:hover,
html body .mobile-nav ul.sub-menu li.current-menu-item > a {
    color: #ffffff !important;
}

/* اجبار به بزرگ‌شدن دکمه‌های لینک در هدر وودمارت */
.whb-header .whb-button a,
.whb-header .woodmart-button a,
.whb-header .btn {
    font-size: 16px !important;
    padding: 12px 26px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

/* ۴. خطوط جداکننده تمیز بین گزینه‌ها */
.wd-nav-mobile li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body, #page, #content, .site-footer {
    background-color: #0b192c !important; /* کد رنگ سورمه‌ای سایتت */
}
@media (max-width: 576px) {
	/* حذف متن منو */
.wd-tools-element.wd-header-mobile-nav .wd-tools-text {
    display: none !important;
}

/* کوچک کردن سایز آیکون منو */
.wd-header-mobile-nav .wd-tools-icon {
    width: 25px !important;  /* عرض آیکون */
    height: 25px !important; /* ارتفاع آیکون */
    font-size: 25px !important; /* سایز خودِ فونتِ آیکون */
}
html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100% !important;
}
/* ۴. تغییر رنگ دکمه ضربدر بستن منو به تیره */
.wd-close-side, .close-side-btn {
    color: #001833 !important;
}

}

