@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.9") 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;
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.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 / WooCommerce – Lightweight Grid + Images
   - Equal height cards
   - Square image frame (aspect-ratio)
   - 2-line title clamp
   - Price fixed height
   - Button pinned to bottom
===================================================== */

/* ---------- 0) Title (single/quick title sizing) ---------- */
html .product-image-summary-wrap .product_title,
html .wd-single-title .product_title {
  font-family: inherit;
  font-size: 14px;
}

/* ---------- 1) Archive / Shop cards: equal height layout ---------- */
.woocommerce ul.products li.product .product-wrapper,
.woocommerce .product-grid-item .product-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* bottom section becomes flexible so footer can stick to bottom */
.woocommerce ul.products li.product .product-element-bottom,
.woocommerce .product-grid-item .product-element-bottom {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 10px;
}

/* ---------- 2) Archive images: square frame + clean fit ---------- */
/* WoodMart usually uses .product-element-top as image container */
.woocommerce ul.products li.product .product-element-top,
.woocommerce .product-grid-item .product-element-top {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

/* image fill inside square frame */
.woocommerce ul.products li.product .product-element-top img,
.woocommerce .product-grid-item .product-element-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* (optional) hover tile wrapper rounding */
.wd-hover-tiled .product-wrapper {
  border-radius: 10px;
}

/* ---------- 3) Archive text/price/button alignment ---------- */

/* Title always reserves 2 lines */
.woocommerce ul.products li.product .product-title,
.woocommerce ul.products li.product .product-title a,
.woocommerce ul.products li.product .wd-entities-title,
.woocommerce ul.products li.product .wd-entities-title a {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: calc(1.6em * 2);
}

/* Price area keeps same height (with/without discount) */
.woocommerce ul.products li.product .price {
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.woocommerce ul.products li.product .price del {
  font-size: 12px;
  opacity: 0.6;
}

.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price .amount {
  font-weight: 700;
}

/* Button/footer pinned to bottom */
.woocommerce ul.products li.product .wd-loop-footer,
.woocommerce ul.products li.product .wd-loop-action,
.woocommerce ul.products li.product .wd-buttons {
  margin-top: auto;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .woocommerce ul.products li.product .price {
    min-height: 40px;
  }
}


/* =====================================================
   ✅ Single Product (lightweight + responsive)
   - keeps square feel, max 500px on desktop
===================================================== */

.single-product div.product div.images {
  max-width: 500px;
  margin: 0 auto;
}

.single-product div.product div.images img.wp-post-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #fff;
}

/* wrapper follows the same max width and square */
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image:first-child {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  margin: 0 auto;
}

/* Thumbnails */
.single-product .flex-control-thumbs li {
  width: 80px;
  height: 80px;
  list-style: none;
  margin: 0 5px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.single-product .flex-control-thumbs li img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

@media (max-width: 768px) {
  .single-product div.product div.images {
    max-width: 100%;
  }

  .single-product .flex-control-thumbs li {
    width: 60px;
    height: 60px;
  }
}