:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 300;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "YekanBakhFaNum", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 300;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,70,162);
	--wd-alternative-color: rgb(224,234,240);
	--btn-default-transform: none;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-weight: 300;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(255,70,162);
	--btn-accented-bgcolor-hover: rgb(255,70,162);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgba(4,150,6,0.66);
	--notices-success-color: #fff;
	--notices-warning-bg: rgba(234,3,0,0.37);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 94px;
}
.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-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center top;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.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(119,119,119)7;
	--wd-form-bg: 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) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

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

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #333;
--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(174,182,161);
}

@media (max-width: 576px) {
	@media (max-width: 767px) {

  /* متغیرها و فضای انتهای صفحه */
  body.single-product {
    --ps-toolbar-height: 55px;
    --ps-buy-height: 100px;
  }

  body.single-product.ps-buy-ready {
    padding-bottom: calc(
      var(--ps-toolbar-height) + var(--ps-buy-height)
    ) !important;
  }

  /* نوار خرید */
  body.single-product .wd-sticky-btn {
    --wd-sticky-btn-height: 100px;

    position: fixed !important;
    inset-inline: 0 !important;
    bottom: var(--ps-toolbar-height) !important;
    z-index: 390 !important;

    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 100px !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 16px !important;
    padding-inline: 10% !important;

    background: #fff !important;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 18px rgb(0 0 0 / 7%);

    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.single-product .wd-sticky-btn > .container {
    direction: rtl;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    padding-inline: 0 !important;
  }

  /* جزئیات اضافی نوار */
  body.single-product .wd-sticky-btn :is(
    .wd-sticky-btn-thumbnail,
    .wd-entities-title,
    .wd-wishlist-btn,
    .wd-compare-btn
  ) {
    display: none !important;
  }

  body.single-product .wd-sticky-btn-content {
    display: flex !important;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
  }

  body.single-product .wd-sticky-btn-cart {
    direction: rtl;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto;
    order: 0;
    gap: 10px;
    min-width: 0;
  }

  /* قیمت */
  body.single-product .wd-sticky-btn .price {
    display: block !important;
    flex-shrink: 0;
    margin: 0 !important;
    color: #222;
    font-size: 18.75px !important;
    font-weight: 700;
    line-height: 1.7;
  }

  body.single-product .wd-sticky-btn-content,
  body.single-product .wd-sticky-btn .price {
    order: 2;
    margin-inline-start: auto !important;
    text-align: left !important;
  }

  body.single-product .wd-sticky-btn .price del {
    display: block;
    color: #999;
    font-size: 15px !important;
    font-weight: 400;
  }

  body.single-product .wd-sticky-btn .price ins {
    background: transparent;
    text-decoration: none;
  }

  /* فرم و دکمه خرید */
  body.single-product .wd-sticky-btn form.cart {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 0 auto !important;
    order: 0;
    gap: 8px;
    width: auto !important;
    margin: 0 !important;
  }

  body.single-product .wd-sticky-btn :is(
    .single_add_to_cart_button,
    .wd-sticky-add-to-cart
  ) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto !important;
    order: 0;

    width: auto !important;
    min-width: min(160px, 42vw) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 12px !important;
    border-radius: 10px !important;

    font-size: 14px !important;
    line-height: 1.6;
    white-space: normal;
    text-align: center;
  }

  body.single-product form.variations_form {
    scroll-margin-top: 110px;
  }

  /* مخفی کردن دکمه و تعداد اصلی؛ حفظ اجزای نوار */
  body.single-product :is(
    .summary,
    .elementor-widget-woocommerce-product-add-to-cart,
    .wd-single-add-cart
  ) form.cart :is(
    .single_add_to_cart_button,
    .quantity
  ):not(.wd-sticky-btn *) {
    display: none !important;
  }

  /* مخفی کردن قیمت اصلی صفحه */
  body.single-product :is(
    .summary .price,
    .wd-single-price,
    .elementor-widget-woocommerce-product-price
  ):not(.wd-sticky-btn, .wd-sticky-btn *) {
    display: none !important;
  }

  /* مخفی کردن نوارهای پایین هنگام باز شدن پنل‌ها */
  body.single-product:has(
    .wd-side-hidden.wd-opened,
    .cart-widget-side.wd-opened,
    .mobile-nav.wd-opened,
    .sidebar-container.wd-opened,
    .wd-close-side.wd-close-side-opened,
    .wd-close-side.woodmart-close-side-opened
  ) :is(.wd-sticky-btn, .wd-toolbar),
  body:has(.cart-widget-side.wd-opened)
  :is(.wd-sticky-btn, .wd-toolbar) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.single-product:has(
    .wd-side-hidden.wd-opened,
    .cart-widget-side.wd-opened,
    .mobile-nav.wd-opened,
    .sidebar-container.wd-opened,
    .wd-close-side.wd-close-side-opened,
    .wd-close-side.woodmart-close-side-opened
  ) :is(.wd-sticky-btn, .wd-toolbar) {
    transition: none !important;
  }

  /* سبد خرید تمام‌صفحه */
  body .cart-widget-side {
    top: 0 !important;
    bottom: 0 !important;
    z-index: 100001 !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;

    padding-inline: 10% !important;
    box-sizing: border-box !important;
  }

  body .cart-widget-side :is(
    .widget-heading,
    .wd-heading,
    .widget_shopping_cart,
    .widget_shopping_cart_content,
    .shopping-cart-widget-body,
    .shopping-cart-widget-footer
  ) {
    padding-inline: 0 !important;
    min-width: 0;
  }

  body .cart-widget-side .shopping-cart-widget-footer {
    padding-bottom: max(
      16px,
      env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  /* مخفی کردن مشاهده سبد؛ حفظ تسویه‌حساب */
  body .cart-widget-side .woocommerce-mini-cart__buttons
  a.wc-forward:not(.checkout) {
    display: none !important;
  }

  /* دکمه حذف کالا */
  body .cart-widget-side .woocommerce-mini-cart-item a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px;

    font-size: 0 !important;
    line-height: 1 !important;
    background: transparent !important;
    color: #dc2626 !important;
  }

  body .cart-widget-side .woocommerce-mini-cart-item
  a.remove > :is(svg, i) {
    display: none !important;
  }

  body .cart-widget-side .woocommerce-mini-cart-item
  a.remove::after {
    content: none !important;
  }

  /* آیکون سطل زباله */
  body .cart-widget-side .woocommerce-mini-cart-item
  a.remove::before {
    --ps-trash-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M9 6V4h6v2M5 6l1 14h12l1-14M10 10v6M14 10v6'/%3E%3C/svg%3E");

    content: "" !important;
    display: block !important;
    position: static !important;
    flex: 0 0 17.6px;

    width: 17.6px !important;
    height: 17.6px !important;
    margin: 0 !important;
    transform: none !important;
    background-color: currentColor !important;

    -webkit-mask: var(--ps-trash-icon) center / contain no-repeat;
    mask: var(--ps-trash-icon) center / contain no-repeat;
  }

  body .cart-widget-side .woocommerce-mini-cart-item
  a.remove:hover {
    background: #fef2f2 !important;
  }
}
}

