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

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: none;
	background-repeat:no-repeat;
	background-size:contain;
	background-position:left center;
}

.header-banner{
	background-color:rgb(0,0,0);
	background-image: none;
}

.page-title-default{
	background-color:#e8e8e8;
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:#f4f4f4;
	background-image: none;
}

:root{
--wd-text-font:iranyekan, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:iranyekan, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:iranyekan, sans-serif;
--wd-entities-title-font-weight:500;
--wd-entities-title-color:#333333;
--wd-entities-title-color-hover:rgb(51 51 51 / 65%);
}
:root{
--wd-alternative-font:iranyekan, sans-serif;
}
:root{
--wd-widget-title-font:iranyekan, sans-serif;
--wd-widget-title-font-weight:600;
--wd-widget-title-transform:uppercase;
--wd-widget-title-color:#333;
--wd-widget-title-font-size:16px;
}
:root{
--wd-header-el-font:iranyekan, sans-serif;
--wd-header-el-font-weight:600;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:13px;
}
:root{
--wd-primary-color:rgb(231,169,141);
}
:root{
--wd-alternative-color:rgb(163,122,201);
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-bgcolor:#f7f7f7;
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-accented-bgcolor:rgb(231,169,141);
}
:root{
--btn-accented-bgcolor-hover:rgb(56,56,56);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}

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

	
	
			:root{
			--wd-container-w: 1322px;
		}
	
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
			:root {
			--wd-header-banner-h: 186px;
		}
		@media (max-width: 1024px) {
			:root {
				--wd-header-banner-h: 184px;
			}
		}
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 233px;
		}
	
						rs-slides :is([data-type=text],[data-type=button]) {
				font-family: iranyekan, sans-serif !important;
			}
		
					rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
				font-family: iranyekan, sans-serif !important;
			}
			
.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
.promo-banner {
    border-radius: 15px;
	overflow: hidden;
}
.banner-hover-background.color-scheme-dark:not(.banner-border) .wrapper-content-banner:after {
    border-radius: 15px;
}
.woodmart-hover-tiled .product-wrapper {
    background: #fff;
    overflow: hidden;
    border-radius: 15px;
}
.product-grid-item.woodmart-hover-tiled .hover-img img, .product-grid-item.woodmart-hover-tiled .product-image-link img {
    width: 100%;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}

@media (min-width: 1025px) {
	.whb-general-header {
    max-width: 1520px;
    margin: auto;
    margin-top: -37px;
    border-radius: 44px;
}
.whb-sticked .whb-general-header {
    max-width: 100%;
    margin: auto;
    margin-top: 0px;
    border-radius: 0px;
}
.whb-header-bottom {
    border-bottom-right-radius: 41px;
    border-bottom-left-radius: 41px;
    padding: 0 43px;
    max-width: 1350px;
    margin: auto;
}
.whb-general-header .wd-logo:before {
    content: '';
    width: 239px;
    height: 239px;
    background: #f5f5f5;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    top: 59px;
}
.whb-sticked .whb-general-header .wd-logo:before {
    top: -14px;
	width: 200px;
    height: 200px;
	background:#fff;
}
.whb-general-header:before {
    content: "";
    background: url("http://clasyiran.com/wp-content/uploads/Central_Curve_shadow2.svg") no-repeat;
    width: 364px;
    height: 325px;
    display: inline-block;
    margin: auto;
    left: 0;
    right: 0;
    background-size: contain;
    top: -4px;
    position: absolute;
}
.whb-sticked .whb-general-header:before {
    content: "";
    background: url("http://clasyiran.com/wp-content/uploads/Central_Curve_shadow2.svg") no-repeat;
    top: -117px;
	width: 364px;
    height: 325px;
}
.whb-general-header .site-logo {
	z-index:9999;
	max-height: 190px;
}
.whb-sticked  .whb-general-header .site-logo {
	max-height: 120px;
	margin-top:60px
}
	.whb-general-header-inner, .whb-top-bar-inner {
    padding: 0px 20px;
}
}
.wd-dropdown-menu.wd-design-default, .wd-dropdown-menu.wd-design-default .wd-dropdown {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.wd-info-box .info-box-title {
    line-height: 1.5;
    margin-bottom: 0;
}
.box-icon-align-right .box-icon-wrapper {
    margin-left: 9px;
}
.main-page-wrapper {
    margin-top: -126px;
		padding-top:126px;
}
.page-title {
    padding-top: 163px !important;
}

.wd-nav[class*=wd-style-]>li>a:before {
    content: '';
    background: rgba(255,254,237,.4);
    background: -moz-linear-gradient(top,rgba(255,254,237,.4) 0%,rgba(255,221,0,0) 100%);
    background: -webkit-gradient(left top,left bottom,color-stop(0%,rgba(255,254,237,.4)),color-stop(100%,rgba(255,221,0,0)));
    background: -webkit-linear-gradient(top,rgba(255,254,237,.4) 0%,rgba(255,221,0,0) 100%);
    background: -o-linear-gradient(top,rgba(255,254,237,.4) 0%,rgba(255,221,0,0) 100%);
    background: -ms-linear-gradient(top,rgba(255,254,237,.4) 0%,rgba(255,221,0,0) 100%);
    background: linear-gradient(to bottom,rgba(255,254,237,.4) 0%,rgba(255,221,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffeed',endColorstr='#ffdd00',GradientType=0);
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: -5px;
    transform: skew(-20deg);
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    -webkit-transition: .8s;
    -moz-transition: .8s;
    -ms-transition: .8s;
    -o-transition: .8s;
    transition: .8s;
    opacity: 0;
}
.wd-nav[class*=wd-style-]>li:hover>a:before {
    opacity: 1;
}
.owl-stage-outer .wd-info-box .info-box-content {
    margin-top: 15px;
}




@media (min-width: 1025px) {
  .whb-general-header .site-logo {
    z-index: 9999;
    max-height: 265px;
  }
}











/* CSS برای فیلتر موجودی خطی (Inline Stock Filter) */
.custom-inline-stock-filter-wrapper {
    display: flex; 
    flex-wrap: wrap;
    gap: 15px; 
    align-items: center;
    padding: 15px 0; 
    font-size: 14px;
    border-bottom: 1px solid #eee; 
    margin-bottom: 25px; 
}

.custom-inline-stock-filter-wrapper .filter-title {
    font-weight: bold;
    color: #333;
    margin-left: 15px; 
}

.custom-inline-stock-filter-wrapper a {
    text-decoration: none;
    color: #555;
    padding: 7px 14px; 
    border: 1px solid #ccc; 
    border-radius: 20px; 
    transition: all 0.2s;
    font-weight: 500;
}

.custom-inline-stock-filter-wrapper a:hover {
    color: #000;
    border-color: #000;
    background-color: #f9f9f9;
}


/* حالت فعال/انتخاب شده (مانند دکمه فیلتر فعال) */
.custom-inline-stock-filter-wrapper .custom-active-filter {
    background-color: #333333; 
    color: white !important; 
    border-color: #333333 !important; 
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-inline-stock-filter-wrapper .clear-filter {
    color: #e82a2a;
    border-color: transparent;
    background: none;
    font-weight: normal;
}







/* ==================================================================== */
/* 1. تنظیمات والد (برای کارکرد صحیح نمایش لیبل Absolute)              */
/* ==================================================================== */
/* این تنظیمات ensure می‌کند که .product-wrapper و عناصر مرتبط به عنوان مرجع برای لیبل‌های absolute عمل کنند. */
.product-grid-item .product-wrapper,
.product-element-top, 
.woodmart-product-content {
    position: relative !important; /* مطلقاً relative باشد */
    overflow: visible !important; /* برای نمایش Box Shadow لیبل‌ها */
    z-index: 10; 
}

/* برای ریسپانسیو بودن و جلوگیری از بهم‌ریختگی در حالت Inline */
.product-element-bottom {
    overflow: visible !important;
}

/* ==================================================================== */
/* 2. استایل عمومی و رنگ‌بندی (استفاده از متغیرهای تزریق شده از PHP)    */
/* ==================================================================== */
.custom-dynamic-label {
    /* عمومی */
    color: #fff;
    font-size: 13px; 
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    line-height: 1.2;
    direction: rtl; 
    text-align: center;
    transition: none;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 99; /* بالاتر از همه */
    
    /* تنظیمات پیش‌فرض برای ریسک کمتر */
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
}

/* رنگ بندی: استفاده از متغیرهای CSS تزریق شده توسط PHP */
.custom-dynamic-label.marketplace {
    /* اگر متغیر PHP تزریق نشد، از رنگ پیش‌فرض استفاده کند */
    background-color: var(--marketplace-bg-color, #FF5722) !important; 
}
.custom-dynamic-label.lowstock {
    /* اگر متغیر PHP تزریق نشد، از رنگ پیش‌فرض استفاده کند */
    background-color: var(--lowstock-bg-color, #E53935) !important; 
}

/* ==================================================================== */
/* 3. موقعیت‌های روی تصویر (Absolute Positioning)                      */
/* ==================================================================== */

/* ------------------------------------------- */
/* 3.1. سمت راست (Top-Left در CSS) - زیر لیبل‌های استاندارد وودمارت */
/* ------------------------------------------- */

/* تنظیمات پایه برای سمت راست */
.custom-dynamic-label.top-left { 
    position: absolute; /* باید absolute باشد */
    right: 10px; 
    left: auto; 
}

/* **A. موقعیت لیبل "محصول بازاری" (زیر تخفیف استاندارد) ** */
.custom-dynamic-label.marketplace.top-left {
    top: 40px; 
}

/* **B. موقعیت لیبل "موجودی کم!" (زیر بازاری) ** */
.custom-dynamic-label.lowstock.top-left {
    /* اگر لیبل بازاری وجود داشته باشد، این لیبل به 70px منتقل می‌شود. */
    top: 70px; 
}


/* ------------------------------------------- */
/* 3.2. سمت چپ (Top-Right در CSS) - بدون تداخل با تخفیف‌ها */
/* ------------------------------------------- */
.custom-dynamic-label.top-right { 
    position: absolute;
    top: 10px; 
    left: 10px; 
    right: auto; 
}

/* جابجایی لیبل دوم در سمت چپ */
/* از selector مجاور (+) استفاده می‌کنیم تا لیبل دوم را زیر لیبل اول قرار دهیم. */
.custom-dynamic-label.top-right + .custom-dynamic-label.top-right {
    top: 40px; 
}


/* ==================================================================== */
/* 4. استایل لیبل‌های خطی (Inline - زیر عنوان/بالای قیمت)               */
/* ==================================================================== */

/* آرشیو محصولات (Product Grid) */
.custom-dynamic-label.inline { 
    position: static !important; /* باید static باشد */
    display: inline-block;
    margin: 3px 8px 3px 0; /* فاصله از راست (8px) و بالا/پایین (3px) */
    z-index: auto;
    box-shadow: none; /* بدون سایه در حالت خطی */
}

.custom-single-product-labels-wrapper {
    /* والد لیبل‌های خطی */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 5px 0 10px 0; /* فاصله از عنوان و قیمت */
    width: 100%;
}

/* استایل لیبل در صفحه محصول تکی */
.custom-dynamic-label.inline.single-product-label {
    margin-bottom: 0; /* مارجین پایین را حذف کنید */
    font-size: 14px; /* کمی بزرگتر برای صفحه تکی */
}