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

:root {
	--wd-text-font: "IRANSansWeb", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "IRANSansWeb", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IRANSansWeb", 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: "IRANSansWeb", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IRANSansWeb", 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: "IRANSansWeb", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(238,173,22);
	--btn-accented-bgcolor-hover: rgb(237,200,113);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 800px;
}
: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 center;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--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: 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;
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

mark{
	line-height: 27px !important;
}
.wp-block-video {
  position: relative;
  width: 100%;
  max-width: 800px; /* در دسکتاپ حداکثر اندازه ویدیو */
  margin: 20px auto !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* نسبت تصویر ثابت برای تمام ویدیوها (مثل 16:9) */
.wp-block-video::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio */
}

.wp-block-video video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

#comments {
    max-width: 900px;
    margin: 40px auto; /* فاصله از بالا و پایین و وسط چین کردن */
    padding: 20px;
    background-color: #f9f9f9; /* پس زمینه روشن برای کل بخش */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* سایه نرم و جذاب */
    direction: rtl; /* جهت متن راست به چپ */
    text-align: right;
}

/* استایل عنوان نظرات */
.comments-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff; /* خط زیرین با رنگ اصلی سایت */
}

.comments-title span {
    color: #007bff; /* رنگی کردن تعداد یا بخش خاصی از عنوان */
    font-weight: 900;
}

/* ------------------------------------------------------------------- */

/* لیست نظرات */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* استایل هر آیتم نظر (li.comment) */
.comment {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    border-right: 5px solid #ccc; /* خط کناری برای تمایز */
    transition: all 0.3s ease;
}

.comment:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-right-color: #007bff; /* تغییر رنگ خط کناری هنگام هاور */
}

/* استایل بدنه نظر */
.comment-body {
    padding: 10px;
}

/* اطلاعات نویسنده نظر */
.comment-author.vcard {
    font-weight: 700;
    font-size: 1.1em;
    color: #333;
    display: flex; /* برای تنظیم آواتار و نام در آینده */
    align-items: center;
}

.comment-author .fn {
    color: #007bff; /* رنگ نام نویسنده */
    font-weight: 900;
    margin-left: 5px;
}

.comment-author .says {
    color: #888;
    font-style: italic;
    font-weight: 400;
}

/* اطلاعات متا (تاریخ و لینک ویرایش) */
.comment-meta.commentmetadata {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 5px;
}

.comment-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
    margin-right: 10px; /* فاصله بین لینک‌ها */
}

.comment-meta a:hover {
    color: #007bff;
}

/* متن اصلی نظر */
.comment-body > p {
    line-height: 1.8;
    color: #555;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1em;
    white-space: pre-wrap; /* حفظ شکست خطوط در صورت وجود */
}

/* دکمه پاسخ */
.reply a.comment-reply-link {
    display: inline-block;
    background-color: #28a745; /* رنگ سبز جذاب */
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.2s;
    float: left; /* قرار دادن دکمه پاسخ در سمت چپ (در RTL) */
    clear: both;
}

.reply a.comment-reply-link:hover {
    background-color: #218838;
}

/* ------------------------------------------------------------------- */

/* استایل برای پاسخ‌ها (سلسله مراتب) */
.comment-list .children {
    list-style: none;
    padding-right: 30px; /* تورفتگی برای پاسخ‌ها */
    margin-top: 20px;
    border-right: 2px solid #ddd; /* خط عمودی برای نمایش سلسله مراتب */
}

.comment-list .children .comment {
    background-color: #f5f5f5; /* پس زمینه کمی متفاوت برای پاسخ‌ها */
    margin-top: 15px;
    border-right: 5px solid #ccc;
}

/* استایل خاص برای نظر نویسنده پست (admin) */
.comment-list .bypostauthor {
    background-color: #e6f7ff; /* رنگ آبی روشن برای تاکید */
    border-right: 5px solid #007bff; /* رنگ اصلی سایت برای خط کناری */
    padding: 20px;
    margin-top: 25px;
}

.bypostauthor .comment-author .fn {
    color: #0056b3; /* رنگ آبی تیره‌تر برای نام نویسنده پست */
    /* افزودن یک آیکون یا نشانه‌ی خاص برای نویسنده پست می‌تواند جذاب باشد (نیاز به افزودن آیکون فونت یا تصویر دارد) */
}
.comment-form{
	margin-bottom: 50px !important;
}
article p a{
	color: #FF5722 !important;
}
article li a{
	color: #FF5722 !important;
}

/*دسته بندی محصولات*/

.p-cat-n-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
	border-top: 1px solid #F5F5F5;
}

.p-cat-n-intro h2 {
  color: #1c3faa;
	    font-size: 18px;
    text-align: center;
}

.p-cat-n-box {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.p-cat-n-img img {
  width: 200px;
  border-radius: 10px;
}

.p-cat-n-content h3 {
  margin: 0 0 8px;
}

.p-cat-n-cement { border-right: 5px solid #2e86de; }
.p-cat-n-stone  { border-right: 5px solid #27ae60; }
.p-cat-n-iso    { border-right: 5px solid #e67e22; }

.p-cat-n-lifetime {
  background: #f1f5ff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  margin: 30px 0;
}
.p-cat-n-usage {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
}

.p-cat-n-usage ul {
  margin: 8px 0 0;
  padding-right: 18px;
}

.p-cat-n-usage-blue   { background:#eef4ff; border-right:4px solid #2e86de; }
.p-cat-n-usage-green  { background:#eefaf3; border-right:4px solid #27ae60; }
.p-cat-n-usage-teal   { background:#eafafa; border-right:4px solid #16a085; }
.p-cat-n-usage-orange { background:#fff3e6; border-right:4px solid #e67e22; }
.p-cat-n-usage-red    { background:#fdeeee; border-right:4px solid #c0392b; }
.p-cat-n-faq h2 {
  margin-bottom: 15px;
  color: #1c3faa;
	   font-size: 18px;
    text-align: center;
}

.p-cat-n-faq-item {
  background: #fafafa;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* ================================
   یکسان‌سازی ارتفاع کارت محصولات
   ================================ */

/* کل کارت محصول */
.wd-product .product-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ناحیه تصویر محصول */
.wd-product .product-element-top {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* نسبت استاندارد برای همه تصاویر */
  overflow: hidden;
  background: #f7f8fa;
  border-radius: 12px;
}

/* لینک و عکس */
.wd-product .product-image-link,
.wd-product .product-element-top img {
  width: 100%;
  height: 100%;
  display: block;
}

/* فیت شدن تصویر بدون بهم ریختگی */
.wd-product .product-element-top img {
  object-fit: cover;
  object-position: center;
}

/* بخش اطلاعات محصول */
.wd-product .product-element-bottom {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 12px;
}

/* عنوان محصول – ارتفاع ثابت */
.wd-product .wd-entities-title {
  min-height: 48px;
  line-height: 1.5;
}

/* قیمت و امتیاز همیشه پایین کارت */
.wd-product .product-rating-price {
  margin-top: auto;
}

/* دکمه‌ها هم‌تراز */
.wd-product .wd-bottom-actions {
  margin-top: auto;
}

/*دکمه های مشاوره*/
        .tamas-nano-sazeh-btns {
            display: flex;
            gap: 12px;
            padding: 10px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
					    background: darkgray;
    border-radius: 8px;
    padding: 25px;
        }

        /* استایل پایه دکمه‌ها - بسیار شیک و مینیمال */
        .tamas-nano-sazeh-btn {
            position: relative;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            outline: none;
            min-width: 150px;
            text-align: center;
            border: none;
        }

        /* دکمه آبی - استعلام هزینه */
        .tamas-nano-sazeh-primary {
            background-color: #2563eb; /* آبی مدرن */
            color: #ffffff;
            box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
        }

        .tamas-nano-sazeh-primary:hover {
            background-color: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
        }

        /* دکمه مشکی لایت - مشاوره محصول */
        .tamas-nano-sazeh-dark {
            background-color: #334155; /* مشکی لایت شیک */
            color: #ffffff;
            box-shadow: 0 4px 6px -1px rgba(51, 65, 85, 0.1);
        }

        .tamas-nano-sazeh-dark:hover {
            background-color: #1e293b;
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(51, 65, 85, 0.2);
        }

        /* افکت کلیک */
        .tamas-nano-sazeh-btn:active {
           

@media (max-width: 576px) {
	  .wp-block-video {
    max-width: 100%;
    margin: 15px auto;
    border-radius: 8px;
  }
.comments-area .comment-body {
    position: relative;
    padding-inline-start: 17px !important;
}
.custom-article > h1 {
font-size: 20px !important;
	 line-height: 28px !important;
}
article h2 {
font-size: 15px !important;
	 line-height: 28px !important;
}
article h3 {
font-size: 14px !important;
	line-height: 28px !important;
}

/*دسته بندی محصولات*/
  .p-cat-n-box {
    flex-direction: column;
    text-align: center;
  }
  .p-cat-n-img img {
    width: 100%;
    max-width: 300px;
    margin: auto;
  }
/*یکسان سازی باکس محصولات*/
  .wd-product .product-element-top {
    aspect-ratio: 1 / 1; /* مربعی در موبایل */
    border-radius: 10px;
  }

  .wd-product .wd-entities-title {
    min-height: auto;
    font-size: 14px;
  }

/*دکمه های مشاوره*/
      .tamas-nano-sazeh-btns {
                flex-direction: column;
                width: 100%;
                gap: 10px;
            }
            
            .tamas-nano-sazeh-btn {
                width: 85%;
                max-width: 300px;
            }
}

