@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//hamyarteam.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=7.5.1") format("woff2");
}

:root {
	--wd-text-font: "iransanse", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "rokh", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iransanse", 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: "iransanse", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "rokh", 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: "iransanse", 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(24,151,201);
	--wd-alternative-color: rgb(24,151,201);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(24,151,201);
	--btn-accented-bgcolor-hover: rgb(24,151,201);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(24,151,201);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(24,151,201);
	--notices-warning-color: #fff;
}
:is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg .wd-product {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.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;
}
.page-title-default {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: #ffffff;
	background-image: none;
}
.page .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.single-product .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.woodmart-archive-blog .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.single-post .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.woodmart-archive-portfolio .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.single-portfolio .main-page-wrapper {
	background-color: rgb(234,238,247);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--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: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

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

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


@font-face {
	font-family: "rokh";
	src: url("//hamyarteam.com/wp-content/uploads/2025/05/RokhFaNum-Black-1.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: "iransanse";
	src: url("//hamyarteam.com/wp-content/uploads/2025/05/IRANSansX-Bold.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

/* =========================
   1. تنظیمات عمومی (همه دستگاه‌ها)
========================= */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  line-height: 1.85;
  text-align: justify;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #222;
}

.wd-prefooter { padding-bottom: 0 !important; }

/* محتوا (مقالات، محصولات، توضیحات دسته‌ها) */
.entry-content,
.product-description,
.category-description {
  padding: 0 15px;
}

/* پاراگراف‌ها */
.entry-content p,
.product-description p,
.category-description p {
  margin-bottom: 1em;
}

/* تصاویر و ویدیوها */
.entry-content img,
.product-description img,
.category-description img,
.entry-content video,
.product-description video,
.category-description video,
.entry-content iframe,
.product-description iframe,
.category-description iframe {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}

/* جداول واکنش‌گرا و راست‌چین */
.entry-content table,
.product-description table,
.category-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  direction: rtl; /* راست‌چین کل جدول */
  overflow-x: auto;
  display: table; /* جدول باید نمایش جدول داشته باشد */
}

.entry-content th,
.entry-content td,
.product-description th,
.product-description td,
.category-description th,
.category-description td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: right; /* متن سلول راست‌چین شود */
}

.entry-content th,
.product-description th,
.category-description th {
  background: #f7f7f7;
}

/* لیست‌ها */
.entry-content ul,
.entry-content ol,
.product-description ul,
.product-description ol,
.category-description ul,
.category-description ol {
  padding-left: 25px;
  margin-bottom: 1em;
  line-height: 1.7;
  text-align: justify;
}

/* هدینگ‌ها */
.entry-content h1, .product-description h1, .category-description h1,
.entry-content h2, .product-description h2, .category-description h2,
.entry-content h3, .product-description h3, .category-description h3,
.entry-content h4, .product-description h4, .category-description h4,
.entry-content h5, .product-description h5, .category-description h5,
.entry-content h6, .product-description h6, .category-description h6 {
  margin: 1em 0 0.5em;
  line-height: 1.3;
  font-weight: 600;
  text-align: right;
}

/* وسط‌چین واقعی تصاویر در وردپرس */
.entry-content img.aligncenter,
.product-description img.aligncenter,
.category-description img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}@media (min-width: 1025px) {
	/* =========================
   2. دسکتاپ (≥992px)
========================= */
@media (min-width: 992px) {
  body { font-size: 17px; }
  .entry-content, .product-description, .category-description { padding: 0 20px; }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }

  table { display: table; }
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* =========================
   3. تبلت (768px تا 991px)
========================= */
@media (min-width: 768px) and (max-width: 991px) {
  body { font-size: 16px; }
  .entry-content, .product-description, .category-description { padding: 0 12px; }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 14px; }

  table th, table td { padding: 6px; font-size: 14px; }
}

}

@media (min-width: 577px) and (max-width: 767px) {
	/* =========================
   4. موبایل عریض (576px تا 767px)
========================= */
@media (min-width: 576px) and (max-width: 767px) {
  body { font-size: 15px; line-height: 1.8; }
  .entry-content, .product-description, .category-description { padding: 0 10px; }

  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }
  h5 { font-size: 14px; }
  h6 { font-size: 13px; }

  table { max-width: 100%; overflow-x: auto; }
  table th, table td { padding: 5px; font-size: 13px; }
}

}

@media (max-width: 576px) {
	/* =========================
   5. موبایل کوچک (≤575px)
========================= */
@media (max-width: 575px) {
  body { font-size: 14px; line-height: 1.75; }
  .entry-content, .product-description, .category-description { padding: 0 8px; }

  h1 { font-size: 20px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  h4 { font-size: 14px; }
  h5 { font-size: 12px; }
  h6 { font-size: 11px; }

  table { max-width: 100%; overflow-x: auto; }
  table th, table td { padding: 4px; font-size: 12px; }

  /* جلوگیری از مخفی شدن هدر در موبایل */
  header, .wd-header {
    position: relative !important;
    z-index: 999 !important;
    overflow: visible !important;
  }
}
}

