:root {
	--wd-text-font: dana;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(104,104,104);
	--wd-text-font-size: 16px;
	--wd-title-font: dana;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(70,70,70);
	--wd-entities-title-font: dana;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(109,109,109);
	--wd-entities-title-color-hover: rgb(112, 112, 112);
	--wd-alternative-font: dana;
	--wd-widget-title-font: dana;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: dana;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,32,78);
	--wd-alternative-color: rgb(160,21,62);
	--btn-default-font-family: IRANSansXFaNum;
	--btn-default-font-weight: 500;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: YekanBakhFaNum;
	--btn-accented-font-weight: 600;
	--btn-accented-bgcolor: rgb(255,32,78);
	--btn-accented-bgcolor-hover: rgb(255,32,78);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(103,196,60);
	--notices-success-color: rgb(252,252,252);
	--notices-warning-bg: rgb(206,206,206);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(31,179,198);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(0,0,0);
	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: 506px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.wd .product-label.new {
	background-color: rgb(129,215,66);
}
.wd .product-label.featured {
	background-color: rgb(252,71,58);
}
.wd .product-label.out-of-stock {
	background-color: rgb(238,238,34);
	color: rgb(91,91,91);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(35,174,234);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 10px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 44px;
	}

}
:root{
--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: 5px;
}



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

/* تنظیم کلی برای تمام تگ‌های h2 */ h2 { font-size: 24px !important; /* اندازه پیش‌فرض دسکتاپ */ line-height: 1.5 !important; } /* تنظیم اندازه برای موبایل */ @media (max-width: 600px) { h2 { font-size: 18px !important; /* اندازه کوچک‌تر برای موبایل */ } } /* تنظیم برای عناوین وبلاگ */ .blog h2, .single-post h2 { font-size: 22px !important; /* اندازه برای وبلاگ */ } /* تنظیم برای توضیحات محصولات */ .single-product .product-description h2 { font-size: 20px !important; /* اندازه برای توضیحات محصولات */ } /* تنظیم برای توضیحات دسته‌بندی‌ها */ .category-description h2 { font-size: 35px !important; /* اندازه برای توضیحات دسته‌بندی‌ها */ } /* تغییر اندازه در موبایل برای هر بخش */ @media (max-width: 600px) { .blog h2, .single-post h2 { font-size: 16px !important; } .single-product .product-description h2 { font-size: 16px !important; } .category-description h2 { font-size: 16px !important; } } .comment-form-rating .stars a { position: relative; color: transparent; /* متن رو نامرئی می‌کنه */ } .comment-form-rating .stars a { color: transparent; } .woocommerce-Price-currencySymbol { margin-right: 6px; /* برای زبان راست‌به‌چپ (مثل فارسی) */ } /* ===================== استپر مراحل خرید ===================== */ /* لیست افقی روی دسکتاپ و موبایل */ .checkout-step ul { display: flex; justify-content: space-between; /* فاصله مساوی بین مراحل */ list-style: none; padding: 0 10px; /* کمی فاصله از دو طرف */ margin: 30px 0; counter-reset: step; direction: rtl; /* راست‌چین */ flex-wrap: nowrap; /* تمام مراحل در یک ردیف */ } /* هر مرحله */ .checkout-step ul li { position: relative; flex: 1; text-align: center; font-weight: bold; color: #999; } /* متن زیر دایره */ .checkout-step ul li span { display: block; margin-top: 8px; font-size: 14px; } /* دایره مرحله */ .checkout-step ul li:before { counter-increment: step; content: counter(step); display: block; margin: 0 auto; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: #ddd; color: #333; z-index: 1; position: relative; transition: all 0.3s ease; } /* دایره مرحله فعال */ .checkout-step ul li.active:before { background: #0073aa; color: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.2); } /* فلش بین مراحل (دسکتاپ و موبایل) */ .checkout-step ul li:not(:last-child):after { content: ''; position: absolute; top: 18px; /* وسط دایره */ left: -50%; /* راست به چپ */ width: 100%; height: 4px; background: #ddd; z-index: 0; clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%); transition: all 0.3s ease; } /* فلش مرحله فعال */ .checkout-step ul li.active:not(:last-child):after { background: #0073aa; } /* مراحل بعدی که هنوز فعال نیستن */ .checkout-step ul li:not(.active):before { background: #ddd; color: #999; } /* حذف media query موبایل: مراحل افقی باقی بماند */ /* کانتینر ثابت (افقی وسط، عمودی ثابت با top) — جلوگیری از پرش */ #wc-add-to-cart-message { position: fixed; top: 35%; /* مکان عمودی ثابت (بدون translateY) */ left: 50%; transform: translateX(-50%); /* فقط مرکز افقی */ z-index: 99999; text-align: center; width: auto; max-width: 90%; pointer-events: none; /* اجازه کلیک به عناصر پشت باکس */ } /* خود باکس پیام */ #wc-add-to-cart-message .wc-msg-box { display: inline-flex; align-items: center; gap: 10px; background-color: #4CAF50; color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); font-size: 15px; line-height: 1; white-space: nowrap; pointer-events: auto; /* اگر داخل باکس دکمه داشتیم قابل کلیک باشد */ } /* تیک سفید داخل دایره */ #wc-add-to-cart-message .wc-msg-box .tick { background: #fff; color: #4CAF50; border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; } /* موبایل: کمی کوچکتر و پایین‌تر (اختیاری) */ @media (max-width: 480px) { #wc-add-to-cart-message { top: 60%; } #wc-add-to-cart-message .wc-msg-box { padding: 10px 14px; font-size: 14px; } } /* بلاک توضیحات کوتاه محصولات */ .woocommerce-product-details__short-description { background-color: #fdfdfd; /* زمینه سفید */ padding: 20px; margin: 20px 0; border-radius: 8px; font-family: 'Vazirmatn', 'Tahoma', sans-serif; border-left: none; /* حذف خط قرمز */ } /* نسخه ۲: ساختار همان CSS قدیمیِ شما (که کار می‌کرد) با اصلاحات حداقلی */ .term-description { position: relative; max-height: 250px; /* با عدد داخل JS یکی است */ overflow: hidden; transition: max-height 0.4s ease; } .term-description.expanded { max-height: 3000px; /* به‌جای none تا انیمیشن کار کند */ } /* متن کوتاه: بدون برش و بدون محوشدگی */ .term-description.no-collapse { max-height: none; } .term-description.no-collapse::after { display: none; } .term-description::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0)); pointer-events: none; /* لینک‌های زیر گرادیان قابل کلیک بمانند */ transition: opacity 0.3s ease; } .term-description.expanded::after { opacity: 0; } .show-more-cat { display: inline-block; border: 0; background: #f3f3f3; color: #333; padding: 8px 16px; border-radius: 8px; margin-top: 10px; cursor: pointer; transition: background-color 0.3s ease; font-family: 'Vazirmatn', 'Tahoma', sans-serif; font-size: 0.9rem; } .show-more-cat:hover { background: #e6e6e6; } /* پنهان کردن قیمت روش‌های ارسال در قالب وودمارت */ .woocommerce-shipping-methods label .woocommerce-Price-amount, .woocommerce-shipping-methods label .woocommerce-Price-currencySymbol { display: none !important; } /* حذف فاصله اضافه بعد از دو نقطه */ .woocommerce-shipping-methods label { white-space: nowrap; } /* استایل استاندارد و مرتب برای منوی سمت راست حساب کاربری */ .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; } .woocommerce-MyAccount-navigation li { margin: 0 0 10px 0; } .woocommerce-MyAccount-navigation li a { display: block; padding: 16px 19px; background: #fafafa; border-radius: 8px; font-size: 15px; line-height: 1.6; color: #333; border: 1px solid #e6e6e6; transition: 0.2s; } /* حالت هاور */ .woocommerce-MyAccount-navigation li a:hover { background: #f0f0f0; } /* حالت فعال */ .woocommerce-MyAccount-navigation li.is-active a { background: #4a6cf7; color: #fff; border-color: #4a6cf7; } /* فونت اعداد فارسی برای قیمت‌ها (حتی بعد از بازنویسی TM EPO) */ @font-face{font-family:'RD-FaNum';font-weight:100 550;font-display:swap;src:url('/wp-content/uploads/fonts/vazirmatn/Vazirmatn-FD-Regular.woff2') format('woff2')} @font-face{font-family:'RD-FaNum';font-weight:551 650;font-display:swap;src:url('/wp-content/uploads/fonts/vazirmatn/Vazirmatn-FD-Medium.woff2') format('woff2')} @font-face{font-family:'RD-FaNum';font-weight:651 1000;font-display:swap;src:url('/wp-content/uploads/fonts/vazirmatn/Vazirmatn-FD-Bold.woff2') format('woff2')} .price, .price *, .amount, .woocommerce-Price-amount, .woocommerce-Price-amount bdi, .tm-extra-product-options-totals, .tm-extra-product-options-totals * { font-family: 'RD-FaNum', sans-serif !important; } /* فیلتر قیمت */ .widget_price_filter .price_label { white-space: nowrap; font-size: 14px; color: #555; } .widget_price_filter .price_slider { height: 4px; background: #e6e6e6; border: 0; border-radius: 4px; } .widget_price_filter .ui-slider-range { background: #ff204e; border-radius: 4px; } .widget_price_filter .ui-slider-handle { width: 18px; height: 18px; top: -7px; border-radius: 50%; background: #fff; border: 3px solid #ff204e; box-shadow: 0 1px 4px rgba(0,0,0,.2); } .widget_price_filter .price_slider_amount .button { background: #ff204e; color: #fff; border: 0; border-radius: 6px; padding: 8px 24px; font-weight: 600; } .widget_price_filter .price_slider_amount .button:hover { background: #e01040; } /* عنوان فیلترها */ .filter-widget .widget-title { font-size: 16px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid #ff204e; display: inline-block; } /* لیست دسته‌ها */ .widget_product_categories .product-categories li a { font-size: 14px; color: #333; line-height: 1.9; } .widget_product_categories .product-categories li a:hover { color: #ff204e; } .widget_product_categories .count { background: #f3f3f3; color: #777; border-radius: 20px; }
مثبت و منفی محصولات در سبد خرید 
.quantity input[type="button"].minus,
.quantity input[type="button"].plus,
.quantity .minus,
.quantity .plus {
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
    opacity: 1 !important;
    font-size: 18px !important;
}
 
.woocommerce-terms-and-conditions svg {
  width: 1.1em !important;
  height: 1.1em !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex: 0 0 auto;
  fill: currentColor;
  vertical-align: middle;
  margin-inline-end: 6px;
}@media (min-width: 1025px) {
	.sidebar-container {
  --wd-col-lg: 2 !important;
  width: 15%; /* حداقل عرض سایدبار */
  min-width: 220px;  /* عرض حداقلی */
  max-width: 230px;  /* عرض حداکثری */
}

.wd-content-area {
  --wd-col-lg: 10 !important;
}

/* جابه‌جا کردن کل بخش محصول به سمت چپ */
.single-product .product {
  margin-right: 5%;
}

/* برای اطمینان از درست بودن عرض هم اینا بمونه */
.woocommerce-product-gallery {
  width: 99%;
  float: right;
  margin-left: 50%;
}

.summary.entry-summary {
  width: 80%;
  float: left;
}

.single-product .product {
  overflow: hidden;
}

.product-image-summary-inner {
  margin-right: 6%;
}
.woocommerce div.product .stock {
  margin-bottom: 10px;
  display: inline-block;
}

.header-cart {
    position: relative;
}

@media (min-width: 1025px) {
  .wd-header-cats .wd-nav-vertical > li > a {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    min-height: 0 !important;
  }
  .wd-header-cats .wd-nav-vertical > li > a .wd-nav-img {
    width: 20px !important;
    height: 20px !important;
  }
}

}

@media (max-width: 576px) {
	/* استایل عمومی Breadcrumbs */
.wd-breadcrumbs {
    font-size: 16px; /* اندازه مناسب برای دسکتاپ */
    line-height: 1.5; /* فاصله مناسب بین خطوط */
    padding: 10px 0; /* فاصله بالا و پایین */
    text-align: right; /* متن راست‌چین برای فارسی */
}

.wd-breadcrumbs a {
    color: #3e2835; /* رنگ لینک‌ها */
    text-decoration: none; /* حذف خط زیر لینک‌ها */
}

.wd-breadcrumbs a:hover {
    text-decoration: underline; /* نمایش خط زیر هنگام هاور */
}

/* جداکننده (Delimiter) */
.wd-delimiter {
    margin: 0 5px; /* فاصله از دو طرف */
    color: #555; /* رنگ دلخواه جداکننده */
}

/* استایل Breadcrumbs در موبایل */
@media (max-width: 768px) {
    .wd-breadcrumbs {
        font-size: 14px; /* کاهش اندازه متن */
        padding: 5px 0; /* کاهش فاصله در موبایل */
        line-height: 1.3; /* فاصله خط کمتر */
    }

    .wd-breadcrumbs a {
        font-size: 14px; /* اندازه کوچکتر لینک‌ها */
    }

    .wd-delimiter {
        margin: 0 3px; /* کاهش فاصله جداکننده در موبایل */
    }
}
/* فقط برای موبایل */
@media (max-width: 768px) {
  .woocommerce-product-details__short-description {
    font-size: 0.9rem; /* اندازه فونت کوچکتر در موبایل */
    font-family: 'IRANSans', 'Vazirmatn', 'Tahoma', sans-serif; /* فونت مخصوص موبایل */
    line-height: 1.7; /* فاصله خطی برای خوانایی بهتر */
    padding: 12px; /* کمی جمع‌تر برای موبایل */
  }

  .woocommerce-product-details__short-description h3 {
    font-size: 1rem; /* کوچک‌تر شدن عنوان */
  }

  .woocommerce-product-details__short-description ul li {
    font-size: 0.9rem; /* کوچک‌تر شدن متن لیست‌ها */
  }
}
@media (max-width: 768px) {
  .woocommerce-product-details__short-description ul {
    list-style: none; /* حذف بولت مرورگر */
    padding: 0;
    margin: 0;
  }

  .woocommerce-product-details__short-description ul li {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* تعداد خطوط قابل نمایش */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    padding-right: 20px; /* فاصله برای نقطه دستی */
    direction: rtl;
  }

  /* ساخت بولت ثابت که حذف نمی‌شود */
  .woocommerce-product-details__short-description ul li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #000;
    font-size: 1rem;
    top: 0;
  }

  /* حذف هر استایل بولت پیش‌فرض دیگر */
  .woocommerce-product-details__short-description ul li::marker {
    content: none !important;
  }
}

@media (max-width: 768px) {
  body .woocommerce-breadcrumb {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    font-size: 0.7rem !important;
    line-height: 1.35 !important; /* کمی بیشتر برای جلوگیری از برش پایین */
    letter-spacing: -0.3px !important;
    padding-bottom: 2px !important; /* 👈 فضای اضافه زیر متن */
    background-color: #fff; /* اختیاری: برای رفع سایه یا خط شفاف */
  }

  body .woocommerce-breadcrumb a,
  body .woocommerce-breadcrumb span {
    font-size: 0.7rem !important;
    color: #444 !important;
  }
}

@media (max-width: 768px) {
  .product_title.entry-title {
    font-size: 1.05rem !important; /* 👈 اندازه متعادل و خوانا */
    line-height: 1.5 !important;
    font-weight: 600 !important;
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', sans-serif !important;
    text-align: right !important; /* برای متن فارسی */
    margin-bottom: 10px !important;
    word-wrap: break-word !important; /* شکستن صحیح خطوط طولانی */
    overflow-wrap: anywhere !important; /* اگر کلمه خیلی بلند بود */
  }
}
@media (max-width: 768px) {
  .product .stock {
    display: block !important;
    margin-bottom: 10px !important; /* 👈 فاصله بین وضعیت و دکمه */
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .single-product .cart {
    margin-top: 5px !important; /* اطمینان از فاصله مناسب بالای دکمه */
  }
}



}

