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

:root {
	--wd-header-banner-h: 30px;
	--wd-text-font: "iranyekanwebregularfanum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(51,51,51);
	--wd-text-font-size: 14px;
	--wd-title-font: "iranyekanwebboldfanum", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(4,23,53);
	--wd-entities-title-font: "iranyekanwebregularfanum", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iranyekanwebregularfanum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iranyekanwebregularfanum", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 18px;
	--wd-primary-color: rgb(211,16,33);
	--wd-alternative-color: rgb(0,9,63);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-font-family: "iranyekanwebregularfanum", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "iranyekanwebregularfanum", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 400;
	--btn-accented-bgcolor: rgb(193,54,75);
	--btn-accented-bgcolor-hover: rgb(193,34,58);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--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-popup-width: 800px;
}
: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 {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.page .wd-page-content {
	background-color: #FCFEFF;
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: #FCFEFF;
	background-image: none;
}
.single-product .wd-page-content {
	background-color: #FCFEFF;
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(252,254,255);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(252,254,255);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(252,254,255);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(252,254,255);
	background-image: none;
}
.wd-nav-scroll {
	--wd-nscroll-drag-bg: rgb(193,54,75);
	--wd-nscroll-drag-bg-hover: rgb(193,31,55);
}
.product-labels .product-label.onsale {
	background-color: rgb(193,54,75);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(64,209,151);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(221,153,51);
	color: rgb(255,255,255);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(193,54,75);
	color: rgb(255,255,255);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 15px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 30px;
	}

}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

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


@font-face {
	font-family: "iranyekanwebregularfanum";
	src: url("//staging.diacooptic.ir/wp-content/uploads/2025/10/iranyekanwebregularfanum.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "iranyekanwebboldfanum";
	src: url("//staging.diacooptic.ir/wp-content/uploads/2025/10/iranyekanwebboldfanum.woff") format("woff");
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "iranyekanweblightfanum";
	src: url("//staging.diacooptic.ir/wp-content/uploads/2025/10/iranyekanweblightfanum.woff") format("woff");
	font-weight: 300;
	font-display:swap;
	font-style: normal;
}

@media (max-width: 576px) {
	@media (max-width: 767px) {

  /* ===============================
     نوار استیکی اصلی
  =============================== */
  .diaco-mobile-sticky-cart {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;

    background: #fff;
    box-shadow: 0 -10px 30px rgba(0,0,0,.18);

    /* فاصله safe-area موبایل */
    padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 10px);

    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
  }

  .diaco-mobile-sticky-cart.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* ===============================
     کانتینر داخلی
  =============================== */
  .diaco-sticky-inner {
    display: flex;
    flex-direction: column;
  }

  /* ===============================
     SnappPay
  =============================== */
  .diaco-snapp-box {
    width: 100%;
    margin: 0;
    padding: 0 0 8px 0;
  }

  .diaco-snapp-box > * {
    width: 100%;
    max-width: 100%;
  }

  /* ===============================
     ردیف اصلی
  =============================== */
  .diaco-sticky-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 12px;
  }

  /* ===============================
     قیمت‌ها
  =============================== */
  .diaco-price-box {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 4px 8px;

    min-width: 110px;
    direction: ltr;
    text-align: left;
  }

  .diaco-discount-badge {
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 0 8px;
    height: 20px;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .diaco-price-old {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
  }

  .diaco-price-new,
  .diaco-price-new span,
  .diaco-price-old,
  .diaco-price-old span {
    color: #000;
  }

  .diaco-discount-badge,
  .diaco-discount-badge *,
  .diaco-discount-badge span {
    color: #fff !important;
  }

  .diaco-price-new {
    grid-column: 1 / -1;
    font-size: 17px;
    font-weight: 800;
    color: #000;
  }

  /* ===============================
     دکمه
  =============================== */
  .diaco-action-box {
    min-width: 45%;
    display: flex;
    justify-content: flex-end;
  }

  .diaco-action-box button,
  .diaco-action-box a {
    width: 100%;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    font-weight: 700;

    background: var(--wd-primary-color, #e11d48);
    color: #fff;
    border: none;
  }
}
/* =================================================
   VARIATION FOCUS MODE (فوکوس اجباری انتخاب متغیر)
================================================= */

/* بک‌دراپ تیره کل صفحه */
#diaco-variation-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  pointer-events: none;
}

/* فعال شدن مود */
body.diaco-variation-open {
  overflow: hidden;
}

/* نمایش بک‌دراپ */
body.diaco-variation-open #diaco-variation-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ✅ باکس متغیر کاملاً فعال و بالاتر از overlay */
body.diaco-variation-open .variations_form {
  position: relative;
  z-index: 999999;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}

/* ✅ هیچ pointer-events روی main / header / footer نذار */

}

