@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//modaresanpishgam.ir/wp-content/themes/woodmart/fonts/woodmart-font-3-700.woff2?v=8.0.6") format("woff2");
}

:root {
	--wd-text-font: "iransans ایرانسنس", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "iransans ایرانسنس", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iransans ایرانسنس", 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: "iransans ایرانسنس", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iransans ایرانسنس", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iransans ایرانسنس", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(16,0,96);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: rgb(21,39,132);
	--wd-link-color-hover: rgb(54,114,34);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(16,0,96);
	--btn-accented-bgcolor-hover: rgb(6,0,45);
	--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;
}
.woodmart-woocommerce-layered-nav .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;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--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;
--wd-brd-radius: 8px;
}

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

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


@font-face {
	font-family: "iransans ایرانسنس";
	src: url("//modaresanpishgam.ir/wp-content/uploads/2025/02/IRANSansWeb.woff2") format("woff2"), 
url("//modaresanpishgam.ir/wp-content/uploads/2025/02/IRANSansWeb.woff") format("woff");
	font-weight: 400;
	font-display:block;
	font-style: normal;
}

p{
text-align:justify;}

body .wd-add-btn-replace .add-to-cart-loop:before{
    content: "\f143";
		font-weight: 400;
}
/* ============================================
   گرید دسته‌بندی‌ها فقط در صفحات فروشگاه/دسته‌بندی
   دسکتاپ: ۵ ستون | موبایل: ۲ ستون | فاصله: ۱۰ پیکسل
   ============================================ */

/* فقط صفحه فروشگاه و صفحات آرشیو دسته‌بندی */
body.woocommerce-shop .wd-cat.category-grid-item,
body.tax-product_cat .wd-cat.category-grid-item {
    width: calc((100% - 40px) / 5) !important;   /* ۵ ستون با ۴ فاصله ۱۰ پیکسلی */
    max-width: calc((100% - 40px) / 5) !important;
    flex: 0 0 calc((100% - 40px) / 5) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* کانتینر والد که آیتم‌ها داخلشه */
body.woocommerce-shop .products.wd-cats,
body.woocommerce-shop .wd-products-element .products,
body.tax-product_cat .products.wd-cats,
body.tax-product_cat .wd-products-element .products,
body.woocommerce-shop .products:has(.wd-cat),
body.tax-product_cat .products:has(.wd-cat) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
}

/* موبایل: ۲ ستون */
@media (max-width: 767px) {
    body.woocommerce-shop .wd-cat.category-grid-item,
    body.tax-product_cat .wd-cat.category-grid-item {
        width: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
        flex: 0 0 calc((100% - 10px) / 2) !important;
    }
}


/* ===== بک‌گراند شیشه‌ای آبی کمرنگ ===== */
.post-single-page,
.related-posts-slider {
  background: linear-gradient(
    135deg,
    rgba(173, 216, 255, 0.28) 0%,
    rgba(210, 232, 255, 0.18) 50%,
    rgba(190, 225, 255, 0.25) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(100, 160, 230, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* درخشش ملایم گوشه بالا (افکت شیشه) */
.post-single-page::before,
.related-posts-slider::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 70%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* محتوا بالاتر از لایه درخشش بمونه */
.post-single-page > *,
.related-posts-slider > * {
  position: relative;
  z-index: 1;
}

.post-single-page:hover,
.related-posts-slider:hover {
  box-shadow:
    0 12px 40px rgba(100, 160, 230, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* حالت دارک (اختیاری) */
@media (prefers-color-scheme: dark) {
  .post-single-page,
  .related-posts-slider {
    background: linear-gradient(
      135deg,
      rgba(90, 140, 210, 0.18),
      rgba(60, 100, 170, 0.12)
    );
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
}

/* ===== جداول ریسپانسیو ===== */
.post-single-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  overflow: hidden;
}

.post-single-page table th,
.post-single-page table td {
  padding: 10px 14px;
  border: 1px solid rgba(120, 170, 230, 0.25);
  text-align: right;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.post-single-page table th {
  background: rgba(173, 216, 255, 0.4);
  font-weight: 700;
}

/* موبایل */
@media (max-width: 768px) {
  .post-single-page table {
    display: block;
    max-width: 100%;
    overflow-x: auto;              /* اگه باز هم جا نشد، اسکرول افقی داخل خود جدول */
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }

  .post-single-page table th,
  .post-single-page table td {
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .post-single-page table,
  .post-single-page table th,
  .post-single-page table td {
    font-size: 12px;
  }

  .post-single-page table th,
  .post-single-page table td {
    padding: 6px 8px;
  }
}