@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//darupol.com/wp-content/themes/woodmart/fonts/woodmart-font-2-700.woff2?v=8.3.9") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//darupol.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-cat-brd-radius: 265px;
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(51,51,51);
	--wd-text-font-size: 13px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(51,51,51);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(51,51,51);
	--wd-entities-title-color-hover: rgb(1, 116, 119);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(1,116,119);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(51,51,51);
	--wd-alternative-color: rgb(0,161,154);
	--btn-default-font-family: "IRANSansXFaNum", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(0,161,154);
	--btn-default-bgcolor-hover: rgb(0,161,154);
	--btn-accented-font-family: "IRANSansXFaNum", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 700;
	--btn-accented-bgcolor: rgb(1,156,136);
	--btn-accented-bgcolor-hover: rgb(0,178,169);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(69,150,71);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(255,152,0);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(1,116,119);
	--wd-link-color-hover: rgb(0,161,154);
	--wd-sticky-btn-height: 60px;
}
.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;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(255,255,255);
	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(132,132,132);
	--wd-form-placeholder-color: rgb(193,193,193);
	--wd-form-brd-color: rgb(186,186,186);
	--wd-form-brd-color-focus: rgb(178,178,178);
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgba(255,255,255,0);
	color: rgba(255,255,255,0);
}
.product-labels .product-label.new {
	background-color: rgb(27,40,69);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(39,110,249);
	color: rgb(255,255,255);
}
.product-labels .product-label.out-of-stock {
	background-color: rgba(255,255,255,0);
	color: rgba(255,255,255,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 53px;
	}

}
:root{
--wd-container-w: 1222px;
--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: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}



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

/* شیشه‌ای کردن نوار ابزار (Toolbar) در داروپل */
.wd-toolbar.wd-toolbar-label-show {
    background: rgba(255, 255, 255, 0.2) !important; /* پس‌زمینه شیشه‌ای */
    backdrop-filter: blur(12px) !important; /* افکت شیشه‌ای */
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
;
    transition: background 0.3s;
    z-index: 900;   
}
/* برچسب مورب تخفیف در صفحه تکی محصول */
.single-product .custom-corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  z-index: 10;
}


.corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #e6123d, #c80028);
  color: white;
  z-index: 10;
  clip-path: path("M 0 0 H 45 V 45 H 16 Q 0 45 0 33 V 0 Z");
  padding: 3px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  font-family: iranyekan, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  direction: rtl;              /* ✅ جهت نوشتار فارسی */
  unicode-bidi: plaintext;     /* ✅ حل مشکل نمایش علامت درصد */
}

/* برچسب مورب مخصوص صفحه تکی محصول */
.single-product .single-corner-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  z-index: 20;
  pointer-events: none; /* تا چیزی زیرش کلیک‌پذیر بمونه */
}

.single-product .single-corner-badge::before {
  content: attr(data-discount);
  position: absolute;
  width: 160px;
  height: 30px;
  top: 35px;
  right: -45px;
  background: #e60023;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  font-family: iranyekan, sans-serif;
  text-align: center;
  line-height: 30px;
  transform: rotate(45deg);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  direction: rtl;
  unicode-bidi: plaintext;
}
.wd-cart-number.wd-tools-count {
  background-color: #019C88 !important; /* رنگ پس‌زمینه عدد */
  color: #ffffff !important; /* رنگ خود عدد */
  border: 1px solid #017477; /* اختیاری: برای دورش */
}
@media (min-width: 1025px) {
	#shop-carousel .carousel-image img
{
	min-width:250px;
}
}

