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

:root {
	--wd-text-font: "iranyekanx", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(48,48,48);
	--wd-text-font-size: 14px;
	--wd-title-font: "iranyekanx", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: rgb(76,76,76);
	--wd-entities-title-font: "iranyekanx", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(15,15,15);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "iranyekanx", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iranyekanx", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(38,38,38);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iranyekanx", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(224,111,6);
	--wd-alternative-color: rgb(229,128,61);
	--btn-default-bgcolor: rgb(255,136,0);
	--btn-default-bgcolor-hover: rgb(160,98,6);
	--btn-accented-bgcolor: rgb(255,136,0);
	--btn-accented-bgcolor-hover: rgb(160,98,6);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(155,124,124);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(0,0,0);
	--wd-link-color-hover: rgb(67,142,68);
	--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;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 280px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(0,0,0);
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "IRANSans", Arial, Helvetica, sans-serif;
	font-size: 14px;
}
.page .wd-page-content {
	background-color: rgb(246,245,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: #f6f6f6;
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(246,245,248);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 2px;
}

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

}

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

}
:root{
--wd-container-w: 1280px;
--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: 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: 12px;
}

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

rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekanx !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekanx !important;
}

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

@font-face {
	font-family: "iranyekanx";
	src: url("//pulbazar.ir/wp-content/uploads/2023/10/IRANYekanXFaNum-DemiBold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "iranyekanx";
	src: url("//pulbazar.ir/wp-content/uploads/2023/10/IRANYekanXFaNum-ExtraBlack.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: "iranyekanx";
	src: url("//pulbazar.ir/wp-content/uploads/2023/10/IRANYekanXFaNum-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

/* =====================================================
   🎨 تنظیمات ظاهری عنوان و کارت محصول (WoodMart)
===================================================== */
html .product-image-summary-wrap .product_title,
html .wd-single-title .product_title {
  font-family: inherit;
  font-size: 14px;
}

.wd-hover-tiled .product-wrapper {
  border-radius: 10px !important;
}

.product-grid-item .product-element-top {
  border-radius: 10px;
  overflow: hidden;
}

/* =====================================================
   🖼️ فقط تصویر اصلی محصول در صفحه محصول (۵۰۰×۵۰۰، بدون برش)
===================================================== */

/* خود تصویر اصلی محصول */
.single-product div.product div.images img.wp-post-image {
  width: 500px !important;
  height: 500px !important;
  object-fit: contain !important;  /* تصویر کامل بدون برش */
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  display: block;
  background-color: #fff;          /* زمینه سفید اطراف تصویر */
  margin: 0 auto;                  /* مرکز چین */
}

/* قاب تصویر اصلی */
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image:first-child {
  width: 500px !important;
  height: 500px !important;
  max-width: none !important;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  margin: 0 auto;
}

/* =====================================================
   🖼️ گالری تصاویر (بندانگشتی‌های پایین) – ابعاد یکسان، بدون برش
   (برای ساختار پیش‌فرض ووکامرس / WoodMart)
===================================================== */

/* هر آیتم بندانگشتی */
.single-product .flex-control-thumbs li {
  width: 80px !important;
  height: 80px !important;
  list-style: none;
  margin: 0 5px !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  background-color: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* خود تصویر بندانگشتی داخل آیتم */
.single-product .flex-control-thumbs li img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;

  object-fit: contain !important;   /* بدون برش، حفظ تناسب */
  background-color: #fff !important;
  border-radius: 8px !important;
  display: block !important;
}

/* اگر قالب از کلاس‌های دیگری برای اسلایدر بندانگشتی استفاده کند، این‌ها کمک می‌کنند */
.single-product .woocommerce-product-thumbnails .woocommerce-product-gallery__image,
.single-product .product-thumbnails-slider .woocommerce-product-gallery__image {
  border-radius: 8px !important;
  overflow: hidden !important;
  background-color: #fff !important;
}

/* =====================================================
   📱 واکنش‌گرا (در موبایل)
===================================================== */
@media (max-width: 768px) {

  /* تصویر اصلی در موبایل: کل عرض، ارتفاع خودکار */
  .single-product div.product div.images img.wp-post-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image:first-child {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* بندانگشتی‌ها کمی کوچکتر */
  .single-product .flex-control-thumbs li {
    width: 60px !important;
    height: 60px !important;
  }
}
