@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. CSS عمومی (همه دستگاه‌ها)
========================= */
.wd-prefooter { padding-bottom:0!important; }

body:not(.home) .entry-content p,
body:not(.home) .product-description p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 1em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.entry-content,
.product-description {
  padding: 0 15px;
}

/* تصاویر، ویدیو و iframe */
.entry-content img,
.entry-content video,
.entry-content iframe,
.product-description img,
.product-description video,
.product-description iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

/* جداول */
.entry-content table,
.product-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  display: block;
  overflow-x: auto;
}

.entry-content table th,
.entry-content table td,
.product-description table th,
.product-description table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.entry-content table th,
.product-description table th {
  background-color: #f7f7f7;
}

/* لیست‌ها */
.entry-content ul,
.entry-content ol,
.product-description ul,
.product-description ol {
  padding-left: 25px;
  margin-bottom: 1em;
  text-align: justify;
  line-height: 1.6;
}

/* هدینگ‌ها */
.entry-content h1, .product-description h1,
.entry-content h2, .product-description h2,
.entry-content h3, .product-description h3,
.entry-content h4, .product-description h4,
.entry-content h5, .product-description h5,
.entry-content h6, .product-description h6 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 600; /* تاکید هدینگ‌ها برای SEO */
}
@media (min-width: 1025px) {
	/* =========================
   2. دسکتاپ (992px به بالا)
========================= */
@media (min-width: 992px) {
  body:not(.home) .entry-content p,
  .product-description p { font-size: 18px; line-height: 1.9; }
  .entry-content, .product-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; }

  .entry-content table, .product-description table { display: table; }
}
/* =========================
   نکات بهینه‌سازی و SEO
========================= */
.entry-content img,
.product-description img,
.category-description img,
.entry-content video,
.product-description video,
.category-description video { display:block; margin:auto; }

h1, h2, h3, h4, h5, h6 { font-weight:700; }

.entry-content p, .product-description p, .category-description p { text-align:justify; }

table { border-collapse:collapse; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* =========================
   3. تبلت (768px تا 991px)
========================= */
@media (min-width: 768px) and (max-width: 991px) {
  body:not(.home) .entry-content p,
  .product-description p { font-size: 16.5px; line-height: 1.85; }
  .entry-content, .product-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:not(.home) .entry-content p,
  .product-description p { font-size: 15.5px; line-height: 1.8; }
  .entry-content, .product-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 th, table td { padding: 5px; font-size: 13px; }
  table { max-width: 100%; overflow-x: auto; }
}

}

@media (max-width: 576px) {
	/* =========================
   5. موبایل کوچک (تا 575px)
========================= */
@media (max-width: 575px) {
  body:not(.home) .entry-content p,
  .product-description p { font-size: 14px; line-height: 1.75; }
  .entry-content, .product-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: 10px; }

  table th, table td { padding: 4px; font-size: 12px; }
  table { max-width: 100%; overflow-x: auto; }
}
}

