:root {
	--wd-text-font: "Vazirmatn 400", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: "Vazirmatn 700", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Vazirmatn 600", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Vazirmatn 400", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Vazirmatn 500", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Vazirmatn 600", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,255,255);
	--wd-alternative-color: rgb(224,234,240);
	--btn-default-transform: none;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(245,154,87);
	--btn-accented-bgcolor-hover: rgb(223,140,79);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(242,110,33);
	--notices-success-color: rgb(255,255,255);
	--notices-warning-bg: #E0B252;
	--notices-warning-color: rgb(255,255,255);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(245,154,87);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 480px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-footer {
	background-color: rgb(15,15,15);
	background-image: url();
}
html .wd-nav-mobile > li > a {
	font-family: "Vazirmatn 400", Arial, Helvetica, sans-serif;
	text-transform: capitalize;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: "Vazirmatn 400", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
}
 {
	font-family: "Vazirmatn 800", Arial, Helvetica, sans-serif;
	font-weight: 800;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-family: "Vazirmatn 400", Arial, Helvetica, sans-serif;
	font-size: 18px;
}
html .wd-nav.wd-nav-main > li > a {
	font-family: "Vazirmatn 500", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 13px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
html .btn.wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgba(16,16,16,0.9);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(51,51,51);
}
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(119,119,119);
	--wd-form-placeholder-color: rgb(255,255,255);
	--wd-form-brd-color: rgb(255,255,255);
	--wd-form-brd-color-focus: rgb(255,255,255);
	--wd-form-bg: rgb(255,255,255);
}
.wd .product-label.onsale {
	background-color: rgb(246,128,41);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 30px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--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;
}

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


.wd-page-title {
background-color: rgb(f6681c);
}

/* ==========================================================
   ۱. أرشیو و محصولات: بج تخفیف و اتمام موجودی
   ========================================================== */
.product-grid-item .product-element-top,
.wd-product .product-element-top,
.product .product-element-top,
.wd-product-image {
  position: relative !important;
}

.product-grid-item .onsale,
.product-grid-item .onsale-label,
.product-grid-item .product-labels,
.wd-product .onsale,
.wd-product .onsale-label,
.wd-product .product-labels,
.wd-product-labels {
  position: absolute !important;
  top: auto !important;
  bottom: 8px !important;
  left: 8px !important;
  right: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 5 !important;
}

/* حل قطعی شکسته‌شدن درصد تخفیف و ابعاد بج */
.labels-rectangular .onsale,
.labels-rounded .onsale,
.labels-circular .onsale,
.product-label.onsale,
.wd-label-onsale,
.woocommerce-badge.onsale,
span.onsale,
.product-grid-item .onsale,
.wd-product .onsale,
.onsale-label {
  background-color: #f58029 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  direction: ltr !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 6px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-align: center !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.product-label.onsale *,
.wd-label-onsale *,
span.onsale * {
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline !important;
  direction: ltr !important;
}

.labels-rounded .product-label.out-of-stock,
.product-label.out-of-stock {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  padding: 6px !important;
  box-sizing: border-box !important;
}


/* ==========================================================
   ۲. قیمت‌ها و سبد خرید
   ========================================================== */
.product-grid-item .price,
.product-grid-item .price ins,
.product-grid-item .price > .amount,
.product-grid-item .price ins .amount,
.product-grid-item .price bdi,
.wd-carousel-item .price,
.wd-carousel-item .price ins,
.wd-carousel-item .price bdi,
.wd-entities-slider .price,
.wd-entities-slider .price ins,
.wd-entities-slider .price bdi,
.wd-widget-shopping-cart .woocommerce-Price-amount,
.widget_shopping_cart .woocommerce-Price-amount,
.wd-widget-shopping-cart .wd-cart-subtotal,
.wd-dropdown-cart .woocommerce-Price-amount,
.woocommerce-mini-cart__total .woocommerce-Price-amount,
.woocommerce-mini-cart .woocommerce-Price-amount,
.woocommerce-mini-cart .amount {
  color: #111111 !important;
  font-weight: bold !important;
}

.product-grid-item .price del,
.product-grid-item .price del .amount,
.product-grid-item .price del bdi,
.wd-carousel-item .price del,
.wd-carousel-item .price del bdi,
.wd-entities-slider .price del,
.wd-entities-slider .price del bdi {
  color: #999999 !important;
  font-weight: normal !important;
  text-decoration: line-through !important;
}

.wd-widget-shopping-cart .quantity,
.widget_shopping_cart .quantity,
.woocommerce-mini-cart .quantity {
  color: #555555 !important;
}

.wd-header-cart .wd-cart-number,
.woodmart-shopping-cart .wd-tools-count,
.woodmart-cart-number,
.wd-tools-element .wd-tools-count,
.wd-cart-number {
  color: #000000 !important;
  font-weight: bold !important;
}

.product-grid-item .price,
.woodmart-price-wrapper,
.product-grid-item .price-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

.product-grid-item .price del {
  order: 1 !important;
  font-size: 13px !important;
  opacity: 0.7 !important;
  line-height: 1.2 !important;
}

.product-grid-item .price ins {
  order: 2 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}


/* ==========================================================
   ۳. فرم‌ها و اینپوت‌ها (ورود/ثبت‌نام)
   ========================================================== */
.woocommerce-form input[type="text"],
.woocommerce-form input[type="password"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="tel"],
.woocommerce-form .input-text,
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text,
.woodmart-my-account-links input,
.woocommerce-account .form-row input.input-text {
  border: 1px solid #dcdfe4 !important;
  background-color: #ffffff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  height: 48px !important;
  color: #333333 !important;
  display: block !important;
  width: 100% !important;
  box-shadow: none !important;
  font-size: 14px !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.woocommerce-form input[type="text"]:focus,
.woocommerce-form input[type="password"]:focus,
.woocommerce-form input[type="email"]:focus,
.woocommerce-form input[type="tel"]:focus,
.woocommerce-form .input-text:focus,
.woocommerce form.login input.input-text:focus,
.woocommerce form.register input.input-text:focus,
.woocommerce-account .form-row input.input-text:focus {
  border-color: #f58029 !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.04) !important;
  outline: none !important;
}

.woocommerce-form-row,
.form-row,
.woocommerce-Input-wrapper,
p.form-row {
  position: relative !important;
}

.woocommerce-form-row .show-password-input,
.form-row .show-password-input,
.password-input .show-password-input,
span.show-password-input {
  position: absolute !important;
  left: 12px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 5 !important;
  line-height: 1 !important;
}

.show-password-input::after,
.show-password-input i,
.show-password-input svg,
.show-password-input:hover::after {
  color: #f58029 !important;
  fill: #f58029 !important;
  opacity: 1 !important;
}

.woocommerce-form-row input[type="password"],
.woocommerce-form-row input[type="text"][name*="password"],
p.form-row input[type="password"] {
  padding-left: 42px !important;
}


/* ==========================================================
   ۴. منوی موبایل و هاورها
   ========================================================== */
.wd-side-hidden.wd-opened,
.mobile-nav.wd-opened,
.wd-side-hidden.wd-left.wd-opened,
.mobile-nav.wd-left.wd-opened {
  transform: translate3d(0,0,0) !important;
}

.wd-side-hidden.wd-left,
.mobile-nav.wd-left,
.wd-side-hidden {
  left: auto !important;
  right: 0 !important;
  transform: translate3d(100%,0,0) !important;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94) !important;
}

.wd-nav-mob-vertical li.opener-page > a,
.wd-nav-mob-vertical li.opener-page > a .nav-link-text,
.wd-nav-mobile li.opener-page > a,
.wd-nav-mobile li.opener-page > a .nav-link-text,
.wd-nav-mob-vertical li:hover > a,
.wd-nav-mob-vertical li:focus > a,
.wd-nav-mob-vertical li.current-menu-item > a,
.wd-nav-mob-vertical li.current-menu-ancestor > a,
.wd-nav-mobile li:hover > a,
.wd-nav-mobile li:focus > a,
.wd-nav-mobile li.current-menu-item > a,
.wd-nav-mobile li.current-menu-ancestor > a,
.mobile-nav .wd-nav-mob-vertical li > a:focus,
.mobile-nav .wd-nav-mob-vertical li > a:active,
.wd-nav-mob-vertical .sub-menu-dropdown a,
.wd-nav-mobile .sub-menu-dropdown a {
  color: #d1d2d4 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.whb-header .wd-nav a,
.whb-header .wd-dropdown a,
.whb-header .wd-dropdown-menu a,
.wd-sub-menu a {
  opacity: 1 !important;
  transition: none !important;
  -webkit-transition: none !important;
}

.whb-header .wd-nav .wd-dropdown-menu li a:hover,
.whb-header .wd-nav .wd-dropdown li a:hover,
.wd-dropdown .wd-sub-menu li a:hover,
.wd-sub-menu li a:hover {
  color: #d1d2d4 !important;
  background-color: transparent !important;
  opacity: 1 !important;
}

.whb-header .wd-nav .wd-dropdown-menu li a:hover span,
.wd-dropdown .wd-sub-menu li a:hover span,
.wd-sub-menu li a:hover span,
.wd-sub-menu li a:hover .wd-nav-img {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* سفید کردن پس‌زمینه کلی در موبایل */
html, body {
  background-color: #ffffff !important;
}


/* ==========================================================
   ۵. منوی سفارشی و دسکتاپ
   ========================================================== */
#menu-item-12788 .nav-link-text {
  font-size: 0 !important;
}

#menu-item-12788 .nav-link-text::after {
  content: "☰ لیست محصولات" !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f58029 !important;
  display: inline-block !important;
}

#menu-item-12788 > a {
  color: #f58029 !important;
}

.whb-main-header .wd-sub-menu > li.item-level-1 > a.woodmart-nav-link {
  color: #f58029 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

.whb-main-header .wd-sub-menu li.item-level-2 > a.woodmart-nav-link {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.whb-main-header .wd-sub-menu li.item-level-3 > a.woodmart-nav-link {
  color: #000000 !important;
  font-weight: 400 !important;
  font-size: 13px !important;
}


/* ==========================================================
   ۶. گالری محصول (۳تایی)
   ========================================================== */
.woocommerce-product-gallery .wd-gallery-thumb {
  display: none !important;
}

.woocommerce-product-gallery .wd-gallery-images,
.woocommerce-product-gallery .wd-carousel-container {
  width: 100% !important;
  overflow: hidden !important;
  position: relative;
}

.woocommerce-product-gallery .wd-gallery-images .wd-carousel-wrap {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.3s ease;
  align-items: flex-start !important;
}

.woocommerce-product-gallery .wd-gallery-images .wd-carousel-item {
  flex: 0 0 33.3333% !important;
  max-width: 33.3333% !important;
  width: 33.3333% !important;
  box-sizing: border-box !important;
  padding: 0 5px !important;
  text-align: center;
}

.woocommerce-product-gallery .wd-gallery-images .wd-carousel-item img {
  width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  cursor: pointer !important;
  object-fit: cover;
  display: block;
}

.woocommerce-product-gallery .wd-gallery-images .wd-nav-arrows {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.woocommerce-product-gallery .wd-gallery-images .woocommerce-product-gallery__image a {
  pointer-events: auto !important;
  display: block;
}

@media (max-width: 768px) {
  .woocommerce-product-gallery figure.woocommerce-product-gallery__wrapper.wd-carousel {
    --wd-col-sm: 3 !important;
    --wd-col-xs: 3 !important;
  }
  
  .woocommerce-product-gallery .wd-gallery-images .wd-carousel-item {
    width: calc((100% - 16px) / 3) !important;
    min-width: calc((100% - 16px) / 3) !important;
    max-width: calc((100% - 16px) / 3) !important;
    flex: 0 0 calc((100% - 16px) / 3) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================
   ۷. اعمال سراسری فونت وزیرمتن (به‌ویژه بخش‌های اختصاصی موبایل)
   ========================================================== */
html, 
body, 
p, 
span:not([class*="icon"]):not([class*="fa"]):not([class*="wd-icon"]), 
a, 
input, 
button, 
textarea, 
select,
h1, h2, h3, h4, h5, h6,
.title, 
.product-title,
.wd-entities-title,
/* منوها و ناوبری موبایل */
.mobile-nav,
.mobile-nav *,
.wd-nav-mob-vertical,
.wd-nav-mob-vertical *,
.wd-nav-mobile,
.wd-nav-mobile *,
.wd-header-mobile-nav,
/* هدر، ابزارها و نوار چسبان پایین در موبایل */
.whb-header,
.whb-header *,
.wd-toolbar,
.wd-toolbar *,
.wd-tools-element,
.wd-tools-text,
/* دکمه‌ها و عناصر ووکامرس */
.btn,
.button,
.price,
.price *,
.woocommerce-Price-amount,
.quantity input,
/* ویجت‌ها و پنجره‌های پاپ‌آپ موبایل */
.wd-side-hidden,
.wd-side-hidden *,
.woodmart-woocommerce-layered-nav,
.wd-search-full-screen,
.wd-dropdown {
  font-family: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Tahoma, sans-serif !important;
}

/* ایجاد کادر استاندارد برای کارت‌های محصول در صفحات آرشیو و دسته‌بندی */
.archive .products .product-grid-item .product-wrapper,
.tax-product_cat .products .product-grid-item .product-wrapper,
.woocommerce-shop .products .product-grid-item .product-wrapper {
    border: 1px solid #e9ecef; /* خط کادر ملایم دور کارت */
    border-radius: 12px; /* گردی گوشه‌ها مطابق طراحی صفحه اصلی */
    padding: 15px; /* فاصله داخلی محتوا از کادر */
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); /* سایه بسیار ملایم */
    transition: all 0.3s ease;
}

/* اجبار شدید برای سیاه شدن قیمت در تمام حالت‌های جستجوی وودمارت */
div[class*="search"] .price,
div[class*="search"] .price *,
div[class*="search"] span.amount,
div[class*="search"] span.amount bdi,
div[class*="search"] span.amount span,
.wd-dropdown-results .price,
.wd-dropdown-results .price *,
.woodmart-search-full-screen .price,
.woodmart-search-full-screen .price * {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important; /* خنثی‌کردن استایل‌های گرادینت یا fill شفاف */
    opacity: 1 !important;
    visibility: visible !important;
}

/* قیمت خط‌خورده قبلی طوسی */
div[class*="search"] del,
div[class*="search"] del *,
div[class*="search"] del .amount,
div[class*="search"] del .amount bdi {
    color: #888888 !important;
    -webkit-text-fill-color: #888888 !important;
    text-decoration: line-through !important;
    font-size: 0.9em !important;
    font-weight: normal !important;
}

/* قیمت نهایی یا تخفیف‌خورده مشکی پررنگ */
div[class*="search"] ins,
div[class*="search"] ins *,
div[class*="search"] ins .amount,
div[class*="search"] ins .amount bdi {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    font-weight: 700 !important;
}

/* زیر هم قرار گرفتن قیمت‌ها */
div[class*="search"] .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-top: 5px !important;
}

/* ۱. آماده‌سازی ترنزیشن نرم برای تمام کارت‌های محصول در کل سایت */
.product-grid-item .product-wrapper,
.wd-product .product-wrapper,
ul.products li.product .product-wrapper,
.product-grid-item {
    transition: all 0.3s ease !important;
}

/* ۲. افکت ملایم شناور شدن هنگام هاور برای تمام کارت‌های محصول در تمام برگه ها */
.product-grid-item:hover .product-wrapper,
.wd-product:hover .product-wrapper,
ul.products li.product:hover .product-wrapper,
.product-grid-item:hover {
    border-color: #d1d2d4 !important; /* رنگ خط خاکستری سازمانی هنگام هاور */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* مشخص‌کردن شماره صفحه فعال در صفحه‌بندی دسته‌های فروشگاه */
.woocommerce-pagination .page-numbers.current,
.wd-pagination .page-numbers.current,
.page-numbers.current {
    background-color: #d1d2d4 !important;
    color: #3b454e !important;
    border-color: #d1d2d4 !important;
    font-weight: 700;
}
