:root {
	--wd-text-font: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(21,21,21);
	--wd-text-font-size: 14px;
	--wd-title-font: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: rgb(51,51,51);
	--wd-entities-title-font: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(51,51,51);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(51,51,51);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(28,97,231);
	--wd-alternative-color: rgb(51,51,51);
	--btn-default-bgcolor: rgb(28,97,231);
	--btn-default-bgcolor-hover: rgb(70,137,255);
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(70,137,255);
	--wd-form-brd-width: 0px;
	--notices-success-bg: rgb(223,240,216);
	--notices-success-color: rgb(84,141,68);
	--notices-warning-bg: rgb(252,242,176);
	--notices-warning-color: rgb(224,178,82);
	--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: 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: rgb(244,244,244);
	background-image: none;
}
html .wd-nav.wd-nav-main > li > a {
	font-family: "yekan-bakh-web", Arial, Helvetica, sans-serif;
	font-size: 15px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(248,248,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(248,248,248);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(248,248,248);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(248,248,248);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(248,248,248);
	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-placeholder-color: rgb(126,126,126);
	--wd-form-brd-color: rgb(255,255,255);
	--wd-form-bg: rgb(239,241,245);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1300px;
--wd-form-brd-radius: 5px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

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


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

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 100;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 200;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 300;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 500;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 700;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 800;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekan-bakh-web";
	src: url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff2") format("woff2"), 
url("//tasisatgostar.com/wp-content/uploads/2026/05/YekanBakhFaNum-VF.woff") format("woff");
	font-weight: 900;
	font-display:swap;
	font-style: normal;
}

/* Start Header Style */
/*استایل لوگو*/
.site-logo {
    max-height: inherit;
    margin: 0 1.1rem 1rem 0;
}
@media (max-width: 768.98px) {
    .site-logo {
        margin: 0 0 1rem 0 !important; 
    }
}
/* استایل هدر اصلی */
form.searchform.wd-with-cat.has-categories-dropdown.wd-style-default.search-style-default.woodmart-ajax-search {
	background-color: #F7F8FA;
	border: none !important ;
	border-radius: 5px !important;
}

@media (min-width: 769px){
.searchform.wd-with-cat input[type="text"] {
	padding-right: 190px ;
}}

/* اصلاح فونت منوی هدر */
.wd-nav.wd-nav-main > li > a {
    font-family: 'yekan-bakh-web', sans-serif !important;
}


/* استایل دسته بندی هدر */
.wd-search-cat{
	right: 0 !important;
	left:auto !important
}
.wd-search-cat>a{
	background-color: var( --e-global-color-primary );
	border: none ;
	color: #fff !important;
	border-radius: 5px !important;
	box-shadow: -2px 0 8px #ef3a4f40;
}
/* استایل زیر دسته ها دسته بندی هدر */
.wd-dropdown-search-cat{
	right:0 !important;
	width: 172px !important;
	top: 55px;
	border-radius: 6px;
}
/* استایل منو بازشو حساب کاربری در هدر */
.menu-item-my-account.menu-item-register.sub-menu-dropdown.wd-design-default.wd-dropdown.wd-dropdown-menu.wd-dropdown-my-account{
	border-radius: 10px;
	border: solid 1px #e8e8e8;
	z-index: 10000;
	box-shadow: 0 0 10px #e8e8e878;
}
/* استایل دسته اصلی مگامنو */
.menu-opener{
	min-width: 110px !important;
}
.menu-open-label {
    font-weight: bold;
}
.whb-main-header div[role='navigation'] img {
    width: 18px;
}
.menu-opener:after{
	visibility:hidden;
}
/* استایل زیر دسته های مگامنو */
.wd-dropdown.wd-dropdown-cats.categories-menu-dropdown {
    width: 240px;
}
.wd-dropdown.wd-dropdown-cats.categories-menu-dropdown {
    border-radius: 0 0 15px 15px !important;
}
.vertical-navigation .menu-simple-dropdown,
.vertical-navigation .menu-mega-dropdown{
	border-bottom: none !important;
}
.vertical-navigation .menu-simple-dropdown .nav-link-text,
.vertical-navigation .menu-mega-dropdown .nav-link-text{
    font-weight: 500;
}
/* استایل زیردسته مگامنو- تجهیزات برق اضطراری */
li#menu-item-18264 {
    margin-bottom: 2.65rem;
	border-bottom-right-radius:8px;
}


/* استایل زیر دسته های مگامنو  - هاور */
.wd-nav-vertical.wd-design-default>li:hover>a {    
  color: var( --e-global-color-primary ) !important;
	opacity: 1 !important;
	border-right: solid 3px var( --e-global-color-primary ) ;
	background-color:#fff !important;
}
.wd-nav-vertical.wd-design-default > li:hover > a {
    position: relative;
}

.wd-nav-vertical.wd-design-default > li:hover > a img {
    display: block;
    width: 100%; /* Ensure the image covers the entire anchor */
    height: auto; /* Maintain aspect ratio */
    filter: grayscale(100%) brightness(0);
}

.wd-nav-vertical.wd-design-default > li:hover > a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1C61E7;
    mix-blend-mode: screen;
    pointer-events: none;
}


/* استایل مگامنو */
.wd-dropdown-menu.wd-dropdown.wd-design-sized.color-scheme-dark.sub-menu-dropdown {
    padding: 0px !important;
}
/* استایل منو هدر */
.wd-header-main-nav .nav-link-text{
	color: #9D9D9D ;
	font-size: 14px ;
}
.wd-header-main-nav .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
	margin-top: 14px;
}
img.wd-nav-img {
	width:18px !important;	
}

/* استایل منو هدر - هاور */
.wd-header-main-nav .wd-event-hover:hover .nav-link-text {
    color: var(--e-global-color-primary);
}

.wd-header-main-nav .wd-event-hover:hover img.wd-nav-img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(5000%) hue-rotate(190deg);
    transition: all 0.2s;
}

/* استایل منو هدر - فعال */
.wd-header-main-nav .current-menu-item .nav-link-text {
    color: var(--e-global-color-primary);
}

.wd-header-main-nav .current-menu-item img.wd-nav-img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(5000%) hue-rotate(190deg);
}

li.icon-service-gostar img.wd-nav-img {
	margin-inline-end: 0 !important;
}


.wd-search-results .wd-entities-title {
    font-size: 0.8em !important;
	line-height: 1.5em !important;
}

/* End Header Style */

/* استایل تولبار موبایل */
.wd-toolbar {
    z-index: 1000;
}

/* استایل های ورود و ثبت نام */
.wd-dropdown.wd-dropdown-register.menu-item-register.sub-menu-dropdown {
    border-radius: 10px !important;
    box-shadow: none !important;
    border: 1px solid #ebebeb !important;
}

.form-row.form-row-username.form-row-wide.woocommerce-FormRow.woocommerce-FormRow--wide > label, .form-row.form-row-password.form-row-wide.woocommerce-FormRow.woocommerce-FormRow--wide > label {
	font-size: 15px !important;
	font-family: 'yekan-bakh-web', sans-serif !important;
}

button[name='login'] {
	font-weight: normal !important;
}

form.woocommerce-ResetPassword.lost_reset_password {
    text-align: right;
    font-size: 16px;
    line-height: 2rem;
}

.wd-switch-to-register {
	font-weight: normal !important;
}

.wd-login-title {
    font-size: 20px !important;
     font-family: 'yekan-bakh-web', sans-serif !important;
}

.wd-registration-page.woodmart-registration-page.wd-register-tabs.woodmart-register-tabs.active-register {
    text-align: right !important;
}

input#reg_email {
	font-weight: normal !important;
}

div#customer_login {
    text-align: right;
}

/* باکس اصلی پاپ‌آپ افزودن به سبد */
.wd-popup-wrap .wd-popup-added-cart {
    padding: 30px 25px !important;
    border-radius: 12px !important;
    text-align: center;
    font-family: inherit !important;
}

/* عنوان پیام */
.wd-popup-wrap .wd-popup-added-cart .added-to-cart h3,
.wd-popup-wrap .wd-popup-added-cart h3 {
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
}

/* دکمه‌ها */
.wd-popup-wrap .wd-popup-added-cart .added-to-cart .btn {
    margin: 5px !important;
    padding: 10px 20px !important;
    font-family: inherit !important;
}

/* ۱. در دسکتاپ همیشه مخفی باشد */
@media (min-width: 1025px) {
    .wd-toolbar {
        display: none !important;
    }
}

/* ۲. فقط در موبایل و فقط در صفحه اصلی نمایش داده شود */
@media (max-width: 1024px) {
    body.home .wd-toolbar {
        display: flex !important;
    }
    
    /* مخفی ماندن در صفحات تکی محصول */
    body.single-product:not(.home) .wd-toolbar {
        display: none !important;
    }
}


/* ۱. استایل کلی و دسکتاپ نوتیفیکیشن */
.custom-cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: #ffffff;
    color: #333;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 99999999;
    font-size: 14px;
    direction: rtl;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: max-content;
    max-width: 90%;
    pointer-events: auto;
}

.custom-cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.custom-cart-toast .toast-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    background: #10b981;
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

.custom-cart-toast .toast-text {
    line-height: 1.4;
    font-weight: 500;
}

.custom-cart-toast .toast-link {
    color: #60a5fa !important;
    font-weight: 600;
    text-decoration: underline;
    font-size: 13px;
    margin-right: 6px;
    white-space: nowrap;
}

/* ۲. بازطراحی (Redesign) و بهینه‌سازی ویژه موبایل */
@media (max-width: 768px) {
    .custom-cart-toast {
        bottom: 15px; /* کمی نزدیک‌تر به پایین صفحه در موبایل */
        left: 15px;
        right: 15px;
        transform: translateY(40px);
        width: auto;
        max-width: none;
        border-radius: 12px; /* گوشه‌های کمی گردتر و مدرن‌تر برای موبایل */
        padding: 14px 16px;
        justify-content: space-between;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
    }

    .custom-cart-toast.show {
        transform: translateY(0);
    }
}
