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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//rfkala.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Vazirmatn", 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: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--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: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 15px;
	--wd-primary-color: rgb(19,29,32);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(221,51,51);
	--btn-default-font-family: "Vazirmatn", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "Vazirmatn", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(239,184,74);
	--btn-accented-bgcolor-hover: rgb(19,29,32);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(234,114,84);
	--notices-warning-color: rgb(0,0,0);
	--wd-sticky-btn-height: 95px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(221,153,51);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 750px;
	--wd-popup-padding: 4px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(236,165,72);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat-y;
	background-size: contain;
	background-position: center center;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
	background-size: inherit;
	background-attachment: scroll;
	background-position: left top;
}
.single-post .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-placeholder-color: rgb(165,165,165);
}
.product-labels .product-label.out-of-stock {
	background-color: rgba(221,108,108,0.51);
	color: rgb(0,0,0);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgba(236,165,72,0.69);
	color: rgb(0,0,0);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 600px;
}

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

}

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

}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--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;
}

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


/* =========================================================
🎨  استایل سفارشی وبلاگ فارسی
-----------------------------------------------------------
📌 شامل:
  1. دکمه فرالینک
  2. کارت مقالات
  3. کوئوت‌ها و نقل‌قول‌ها
  4. جدول‌ها
  5. فهرست‌ها و نقل‌قول‌ها
  6. عنوان صفحه و بردکرامب
  7. سایدبار چسبان
  8. تایپوگرافی پایه فارسی
========================================================= */

/*
 * ===================================================================
 * فونت‌های سفارشی (Custom Fonts)
 * ===================================================================
*/
/* تعریف فونت اصلی MyFallback */
@font-face {
    font-family: 'MyFallback';
    src: url('/wp-content/uploads/fonts/myfallback/Vazir-Regular.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/myfallback/Vazir-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* بهبود بارگذاری فونت */
}

/*
 * ===================================================================
 * فونت آیکن‌ها (Icon Fonts)
 * ===================================================================
 * ابتدا سعی می‌کنیم فونت آیکن‌های عمومی (مانند Font Awesome) را تنظیم کنیم.
 * این قوانین باید نسبتاً عمومی باشند تا آیکن‌های مختلف را پوشش دهند.
 */

/* انتخابگرهای عمومی برای آیکن‌ها (Font Awesome و مشابه) */
.wd-icon,
.wd-nav-icon,
.woodmart-nav-icon,
i.fa, i.fas, i.far, i.fab,
span.fa, span.fas, span.far, span.fab,
[class*=" fa-"], /* کلاس‌هایی که با fa- شروع می‌شوند */
[class^="fa-"]  /* کلاس‌هایی که با fa- شروع می‌شوند */
{
  /* اولویت بالا برای اطمینان از اعمال فونت آیکن */
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", inherit !important;
  font-weight: 900; /* وزن معمول برای آیکن‌های Font Awesome */
}

/* اطمینان از اینکه فرزندان آیکن‌ها هم از فونت اصلی ارث‌بری کنند */
/* این قانون برای موارد خاصی که ممکن است آیکن‌ها درون عناصر دیگری باشند */
.wd-icon *,
.wd-nav-icon *,
.woodmart-nav-icon *,
i *,
span * {
    font-family: inherit !important;
}

/*
 * ===================================================================
 * فونت متن‌ها (Text Fonts)
 * ===================================================================
 * در این بخش، فونت MyFallback را برای عناصر متنی مختلف اعمال می‌کنیم.
 * قوانین با اولویت بالاتر (specificity) اول قرار می‌گیرند.
 */

/* متن‌های داخل لینک‌های منو */
.nav-link-text, /* متن اصلی داخل لینک منو */
a.woodmart-nav-link, /* لینک‌های منوی وودمارت */
.woodmart-nav-link .nav-link-text /* ترکیب برای اطمینان بیشتر */
{
  font-family: 'MyFallback', Tahoma, sans-serif !important;
	font-size: 17px !important;
}

/* تگ‌های عنوان (H1 تا H6) */
h1, h2, h3, h4, h5, h6,
.wd-entities-title, /* کلاس‌های عنوان در وودمارت */
.wd-post-title,   /* کلاس عنوان پست */
.wp-block-heading  /* کلاس عنوان بلوک وردپرس */
{
  font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* لینک‌های عنوان (مانند لینک عنوان پست‌ها) */
a.wd-post-title,
a.title {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* لینک‌های مربوط به صفحه نظرات */
a[href*="comment-page"] {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}



/*
===================================
Fix WooCommerce Star Rating Icons
===================================
/* ===== بخش نظرات - نمایش ۵ ستاره گرافیکی ===== */
.comment-text .star-rating {
    font-family: inherit !important;
    position: relative;
    display: inline-block;
}

.comment-text .star-rating::before {
    content: "\2606\2606\2606\2606\2606" !important;
    color: #ccc !important;
    font-family: inherit !important;
}

.comment-text .star-rating span::before {
    content: "\2605\2605\2605\2605\2605" !important;
    color: #ffc107 !important;
    font-family: inherit !important;
}

/* ===== کارت محصول - نمایش "عدد ★" ===== */
.star-rating.wd-style-simple {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-family: inherit !important;
}

.star-rating.wd-style-simple > div {
    order: 1 !important;
}

.star-rating.wd-style-simple::after {
    content: "\2605" !important;
    order: 2 !important;
    color: #ffc107 !important;
    font-size: 1.1em !important;
}

/* مخفی کردن محصولات بدون امتیاز */
.star-rating:empty {
    display: none !important;
}

/* ویجت محصولات - نمایش عدد و ستاره */
.widget-product-info .star-rating {
    display: inline-block !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1 !important;
    color: #FFA500 !important;
}

.widget-product-info .star-rating::before {
    content: none !important;
}

.widget-product-info .star-rating::after {
    content: attr(aria-label) " \2605" !important;
    display: inline-block !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    color: #FFA500 !important;
    white-space: nowrap !important;
}

.widget-product-info .star-rating span {
    display: none !important;
}



/*
 * ===================================================================
 * دکمه‌ها و لینک‌های خرید (Buttons & Add to Cart)
 * ===================================================================
 */

/* دکمه "افزودن به سبد خرید" در صفحه محصول */
.single_add_to_cart_button {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* لینک "افزودن به سبد خرید" در لیست محصولات (حلقه) */
.add_to_cart_button.ajax_add_to_cart,
.add-to-cart-loop {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* متن داخل لینک "افزودن به سبد خرید" در حلقه محصولات */
.add_to_cart_button.ajax_add_to_cart span,
.add-to-cart-loop span {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}


 * ===================================================================
 * بخش سبد خرید و مراحل آن (Cart Page Sections)
 * ===================================================================
 */

/* عنوان صفحه و مراحل سبد خرید */
.wd-page-title .container .wd-checkout-steps li a span,
.wd-page-title .container .wd-checkout-steps li span,
.wd-page-title .container .wd-checkout-steps li.step-active a span,
.wd-page-title .container .wd-checkout-steps li.step-active span
{
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* پیام "سبد خرید شما در حال حاضر خالی است" */
.cart-empty.wd-empty-page.wc-empty-cart-message {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* دکمه "بازگشت به فروشگاه" */
.button.wc-backward {
    font-family: 'MyFallback', Tahoma, sans-serif !important;
}

/* =========================================================
🔸 1. دکمه فرالینک صفحه اول
========================================================= */
.limo-animated-btn {
  background: linear-gradient(45deg, #ff0080, #ff8c00);
  color: #fff !important;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: limo-pulse 2s infinite;
}

/* جلوه درخشش روی دکمه */
.limo-animated-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0));
  transform: skewX(-25deg);
  animation: limo-shine 2.5s infinite;
}

/* پالس درخشان */
@keyframes limo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(255, 140, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

/* انیمیشن درخشش */
@keyframes limo-shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* افکت هاور دکمه */
.limo-animated-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
}

/* =========================================================
🔸 2. کارت مقالات (پست‌ها)
========================================================= */
.wd-post-content.article-body-container {
  background-color: #ffffff !important;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e0e0e0; /* ✅ اضافه شد: بورد دور کارت */
  box-shadow: none !important; /* ✅ حذف سایه */
  transition: all 0.3s ease;
  color: #131d20;
}

/* تصویر پست */
.wd-post-content.article-body-container .wd-post-image img {
  border-bottom-left-radius: 0 !important; /* ✅ حذف گردی گوشه پایین چپ */
  border-bottom-right-radius: 0 !important; /* ✅ حذف گردی گوشه پایین راست */
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  box-shadow: none !important; /* ✅ حذف سایه از تصویر */
  display: block;
  width: 100%;
  height: auto;
}

/* عنوان پست */
.wd-post-content.article-body-container .wd-post-title a {
  color: #131d20 !important;
  text-decoration: none !important;
  transition: text-shadow 0.3s ease !important;
}
.wd-post-content.article-body-container .wd-post-title a:hover {
  color: #eca548  !important;
}

/* دسته‌بندی */
.wd-post-content.article-body-container .wd-post-cat a {
  background-color: #131d20;
  color: #eca548 !important;
  padding: 3px 8px;
}

/* اطلاعات نویسنده */
.article-body-container .wd-post-meta,
.article-body-container .wd-post-meta a,
.article-body-container .wd-post-meta span {
  color: #5a5a5aff;
}

/* دکمه اشتراک‌گذاری */
.article-body-container .wd-post-share,
.article-body-container .wd-post-share .wd-icon,
.article-body-container .wd-post-share .wd-icon svg {
  color: #5a5a5aff !important;
  fill: #5a5a5aff !important;
  stroke: #5a5a5aff !important;
  background-color: transparent !important;
}

/* دکمه ادامه مطلب */
.wd-post-content.article-body-container .wd-post-read-more.wd-style-link.read-more-section > a {
  color: #eca548 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color .25s ease, transform .2s ease;
}
.wd-post-content.article-body-container .wd-post-read-more.wd-style-link.read-more-section > a:hover {
  color: #131d20 !important;
  transform: translateX(3px);
}

/* شمارنده دیدگاه‌ها */
.wd-replies-count {
  color: #eca548 !important;
  font-weight: 600;
}


/* =========================================================
🔸 3. نقل‌قول‌ها (Quote & Pullquote)
========================================================= */

/* بلوک نقل‌قول ساده */
.wp-block-quote {
  position: relative;
  background: #eca548;
  border-left: 5px solid #131d20;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.wp-block-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.wp-block-quote::before {
  content: "❝";
  font-size: 3rem;
  color: #131d20;
  position: absolute;
  top: -10px;
  left: 15px;
  opacity: 0.2;
}
.wp-block-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
  color: #131d20;
}

/* Pullquote مدرن */
.wp-block-pullquote {
  background: #f1e9dd;
  border: 2px solid #eca548;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.wp-block-pullquote:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.9;
  color: #333;
}
.wp-block-pullquote::before,
.wp-block-pullquote::after {
  content: "❝";
  font-size: 3rem;
  color: #eca548;
  position: absolute;
  opacity: 0.2;
}
.wp-block-pullquote::before {
  top: -20px;
  left: 20px;
}
.wp-block-pullquote::after {
  content: "❞";
  bottom: -25px;
  right: 20px;
}


/* =========================================================
🔸 4. جدول‌ها
========================================================= */
.wp-block-table {
  margin: 2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(250, 181, 31, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.wp-block-table thead {
  background: linear-gradient(135deg, #e9d8c1ff, #eca548);
  color: #fff;
}
.wp-block-table th,
.wp-block-table td {
  border: none;
  padding: 0.9rem 1rem;
  text-align: center;
  color: #333;
}
.wp-block-table tbody tr:nth-child(odd) {
  background: rgba(128, 128, 128, 0.1);
}
.wp-block-table tbody tr:hover {
  background: rgba(250, 181, 31, 0.5);
}


/* =========================================================
🔸 5. فهرست‌ها و نقل‌قول‌ها
========================================================= */

/* استایل نکته مهم روی mark با inline style */
mark.has-inline-color.has-black-color {
  background-color: #eca548 !important; /* جایگزین رنگ inline */
  color: #000 !important; /* متن سفید */
  font-weight: 600;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/*
mark.has-inline-color.has-black-color:hover {
  background-color: #e94b4b !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: default;
}
*/

.wp-block-list {
  list-style: none;
  padding-right: 0;
  direction: rtl;
  text-align: right;
}
.wp-block-list li {
  position: relative;
  padding-right: 2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 500;
}
.wp-block-list li::before {
  content: "●";
  position: absolute;
  right: 0;
  color: #eca548;
  font-size: 1.2rem;
}

/* برچسب عکس */
figcaption.wp-element-caption {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-weight: 600;
  color: #333;
  border-right: 4px solid #eca548;
  border-left: 4px solid #eca548;
  border-radius: 0.3rem;
  background: rgba(236, 165, 72, 0.08);
  text-align: center;
  direction: rtl;
  margin: 1rem auto;
}


/* =========================================================
✨ عنوان صفحه و بردکرامب (نسخه فلت و جمع‌وجور)
========================================================= */
.wd-page-title.page-title {
  width: 100%;
  background: linear-gradient(120deg, #0D1A2D 0%, #12243c 100%);
  padding: 0.8rem 0.6rem;
  text-align: center;
  border-bottom: 1px solid rgba(236,165,72,0.35);
  direction: rtl;
  position: relative;
  overflow: hidden;
}

/* افکت نوری خیلی ظریف */
.wd-page-title.page-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(236,165,72,0.05), transparent 80%);
  z-index: 0;
}

/* عنوان */
.wd-page-title h3.entry-title.title {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f1f1;
  margin: 0.2rem 0 0.1rem 0;
  letter-spacing: 0.3px;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* خط زیر عنوان باریک‌تر و ظریف */
.wd-page-title h3.entry-title.title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 2px;
  background: rgba(236,165,72,0.8);
  border-radius: 2px;
}

/* بردکرامب */
.wd-page-title nav.wd-breadcrumbs {
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}

.wd-page-title nav.wd-breadcrumbs a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.wd-page-title nav.wd-breadcrumbs a:hover {
  color: #eca548;
}

.wd-page-title nav.wd-breadcrumbs span {
  color: #888;
  margin: 0 0.2rem;
}


/* =========================================================
🔸 7. سایدبار چسبان
========================================================= */
.sidebar-container,
#right-sidebar,
#left-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 5px;
}
.sidebar-container::-webkit-scrollbar,
#right-sidebar::-webkit-scrollbar,
#left-sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar-container::-webkit-scrollbar-thumb,
#right-sidebar::-webkit-scrollbar-thumb,
#left-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
}
@media (max-width: 991px) {
  .sidebar-container,
  #right-sidebar,
  #left-sidebar {
    position: static !important;
    max-height: none;
    overflow: visible;
  }
}


/* =========================================================
🔸 8. تایپوگرافی پایه فارسی
========================================================= */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  
  font-family: "Vazirmatn", "IRANSans", "Tahoma", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

/* تیترها */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin: 1.2em 0 0.6em;
}

/* پاراگراف‌ها */
p {
  font-size: 1rem !important;
  margin: 0 0 1.2em;
  text-align: justify;
  text-justify: inter-word;
}


/* واکنش‌گرا برای موبایل */
@media (max-width: 600px) {
  body { font-size: 0.95rem; }
}

/* =========================================================
RANKMATH - TOC فارسی اصلاح‌شده و استاندارد
========================================================= */

/* ریست فقط برای container — نه کل عناصر داخلی */
#rank-math-toc {
  all: unset;
  box-sizing: border-box;
}

/* استایل کلی TOC */
#rank-math-toc {
  display: block !important;
  background-color: #f9f9f9 !important;
  border: 2px solid #eca548 !important;
  border-radius: 1rem !important;
  padding: 1.5rem 1.8rem !important;
  margin: 2rem 0 !important;
  direction: rtl !important;
  text-align: right !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
  line-height: 1.6 !important;
}

/* تیتر فهرست */
#rank-math-toc h2 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #131d20 !important;
  margin-bottom: 1rem !important;
  position: relative !important;
  padding-right: 2rem !important;
}

#rank-math-toc h2::before {
  content: "📚" !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  font-size: 1.2rem !important;
}

/* ============================================
   ساختار شماره‌گذاری
============================================ */

/* سطح اول (H2) */
#rank-math-toc ol {
  counter-reset: section !important;
  list-style: none !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

#rank-math-toc ol > li {
  counter-increment: section !important;
  margin: 0.8rem 0 !important;
  position: relative !important;
  padding-right: 2rem !important;
  display: block !important;
}

#rank-math-toc ol > li::before {
  content: counter(section) ". " !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  color: #1E73BE !important;
  font-weight: 700 !important;
}

/* سطح دوم (H3) */
#rank-math-toc ol ol {
  counter-reset: subsection !important;
  padding-right: 2rem !important;
  margin-top: 0.5rem !important;
}

#rank-math-toc ol ol > li {
  counter-increment: subsection !important;
  margin: 0.4rem 0 !important;
  position: relative !important;
  padding-right: 2rem !important;
  display: block !important;
}

#rank-math-toc ol ol > li::before {
  content: counter(section) "." counter(subsection) ". " !important;
  position: absolute !important;
  right: 0 !important;
  color: #1E73BE !important;
  font-weight: 600 !important;
}

/* لینک‌ها */
#rank-math-toc ol li a {
  color: #1E73BE !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color .3s ease, transform .2s ease !important;
  cursor: pointer !important;
}

#rank-math-toc ol li a:hover {
  transform: translateX(-3px) !important;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  #rank-math-toc {
    padding: 1rem 1.2rem !important;
  }
  #rank-math-toc h2 {
    font-size: 1.1rem !important;
  }
  #rank-math-toc ol,
  #rank-math-toc ol ol {
    padding-right: 1rem !important;
  }
}




.success-titlem,
.success-subtitle,
.order-details-box,
.success-header {
  direction: rtl;
  text-align: right;
  color: gree;
}






/* === تنظیمات کلی و متغیرها === */
:root {
    --seo-primary-color: #eca548;
    /* رنگ اصلی */
    --seo-primary-hover: #d8943a;
    /* هاور رنگ اصلی */
    --seo-text-color: #ffffff;
    --seo-blur-bg: rgba(255, 255, 255, 0.85);
    /* پس زمینه شیشه‌ای */
    --seo-fade-height: 80px;
    /* ارتفاع محو شدگی */
    --seo-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --seo-button-shadow: 0 4px 15px rgba(236, 165, 72, 0.3);
}


/* مخفی کردن کادر سئو اگر محتوای داخلش خالی بود */
.category-seo-box:empty,
.category-seo-box .elementor-widget-container:empty {
    display: none !important;
}

/* کانتینر اصلی - استایل کارت */
[class*="category-seo-box"] {
    position: relative !important;
    display: block !important;
    /* overflow: hidden;  <-- این خط را حذف کردیم تا اگر دکمه بیرون زد دیده شود */
    /* جلوگیری از پرش محتوا */
    margin-bottom: 25px;

    /* استایل قاب گرد */
    border-radius: 20px !important;
    border: 2px solid #f4f4f4 !important;
    background: #ffffff !important;
    padding: 20px !important;
    padding-bottom: 60px !important;
    /* فضا برای دکمه در پایین کارت */

    /* برای اینکه گردی گوشه‌ها دیده شود و محتوای داخلی روی آن نیاید */
    overflow: hidden !important;

    /* سایه ملایم */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* حذف فاصله بالای اولین المنت محتوا */
[class*="category-seo-box"] h1:first-child,
 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* حذف بولت‌های اضافه لیست‌ها */
[class*="category-seo-box"] ul,
[class*="category-seo-box"] li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

[class*="category-seo-box"] li::before {
    display: none !important;
    /* حذف بولت‌های کاستوم قالب */
}

/* محدود کردن محتوا */
[class*="category-seo-box"] .elementor-widget-container,
[class*="category-seo-box"] .term-description,
[class*="category-seo-box"]>*:not(.category-seo-toggle) {
    /* اعمال روی همه فرزندان بجز دکمه */
    max-height: 220px !important;
    /* فورس کردن ارتفاع */
    /* افزایش ارتفاع برای نمایش 3 خط + هدر */
    overflow: hidden;
    transition: var(--seo-transition);
    will-change: max-height;
    /* بهینه‌سازی پرفورمنس */
}

/* حالت باز */
[class*="category-seo-box"].open .elementor-widget-container,
[class*="category-seo-box"].open .term-description,
[class*="category-seo-box"].open>*:not(.category-seo-toggle) {
    max-height: none !important;
    /* حذف کامل محدودیت ارتفاع */
    overflow: visible !important;
}

/* افکت محو شدگی (Fade Out) با ظاهر Premium */
[class*="category-seo-box"]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* افزایش ارتفاع محو شدگی */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
}

[class*="category-seo-box"].open::after {
    opacity: 0;
    visibility: hidden;
    /* مخفی کردن کامل */
}

/* === استایل دکمه Premium === */
.category-seo-toggle.premium-btn {
    position: absolute;
    bottom: 15px;
    /* داخل پدینگ پایین قرار گیرد */
    left: 20px;
    /* هماهنگ با پدینگ چپ */
    z-index: 10;

    background: var(--seo-primary-color);
    color: var(--seo-text-color) !important;

    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    /* ارث‌بری فونت قالب */

    border-radius: 50px;
    /* دکمه کپسولی */
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 6px;
    /* فاصله بین متن و آیکون */

    box-shadow: var(--seo-button-shadow);
    transition: var(--seo-transition);

    /* افکت شیشه‌ای ملایم */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* هاور دکمه */
.category-seo-toggle.premium-btn:hover {
    background: var(--seo-primary-hover);
    transform: translateY(-2px);
    /* حرکت جزیی به بالا */
    box-shadow: 0 6px 20px rgba(236, 165, 72, 0.4);
}

/* حالت کلیک شده (Active - بستن) */
.category-seo-toggle.premium-btn:active {
    transform: translateY(0);
}

.category-seo-toggle.premium-btn.active {
    /* دکمه بستن وسط باشد */
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
    /* همان فاصله از پایین */

    /* استایل متفاوت برای بستن */
    background: #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 30px;

    position: absolute;
    /* همچنان ابسولوت نسبت به پایین باکس باز شده */
    margin-top: 0;
}

.category-seo-toggle.premium-btn.active:hover {
    background: #555;
    transform: translateX(-50%) translateY(-2px);
}

/* افکت پایان سکشن (خط پایین رنگی) */
[class*="category-seo-box"].open {
    padding-bottom: 40px;
    /* فضا برای دکمه بستن */
    border-bottom: 3px solid var(--seo-primary-color);
    /* خط رنگی پایان */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    /* سایه انتهایی */
}

/* آیکون فلش (CSS Pure) */
.category-seo-toggle.premium-btn i {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transition: transform 0.3s;
}

.category-seo-toggle.premium-btn i.icon-arrow-down {
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.category-seo-toggle.premium-btn.active i.icon-arrow-up {
    transform: rotate(-135deg);
    margin-top: 4px;
}

/* === واکنش‌گرایی (Responsive) === */

@media (max-width: 768px) {
    /* تبلت و موبایل */

    /*
       قبلا اینجا ارتفاع را 100 پیکسل کرده بودیم.
       الان حذفش میکنیم تا همان 280 پیکسل دسکتاپ اعمال شود
       و با تنظیمات جاوا اسکریپت هماهنگ باشد.
    */

    /* فورس کردن ارتفاع در موبایل ادستگاه‌های کوچک */
    [class*="category-seo-box"] .elementor-widget-container,
    [class*="category-seo-box"] .term-description,
    [class*="category-seo-box"]>*:not(.category-seo-toggle) {
        max-height: 280px !important;
    }

    /* کاهش ارتفاع محو شدگی در موبایل برای فضای بیشتر */
    [class*="category-seo-box"]::after {
        height: 60px;
        /* کمی کمتر از دسکتاپ */
    }

    /* در موبایل هم دکمه ادامه مطلب چپ باشد */
    .category-seo-toggle.premium-btn {
        width: auto;
        left: 20px;
        bottom: 15px;
        padding: 8px 20px;
    }

    /* دکمه بستن در موبایل هم وسط باشد */
    .category-seo-toggle.premium-btn.active {
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }
}





/* cssهای  کادر توضیحات دسته


/* استایل کانتینر پلیر */
.minimal-player {
  position: relative;
  width: 100%;
  max-width: 800px; /* حداکثر عرض */
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px; /* گردی گوشه‌ها مطابق وودمارت */
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin: 20px auto;
}

/* استایل عکس کاور */
.minimal-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.minimal-player:hover img {
  transform: scale(1.05); /* افکت زوم هنگام هاور */
}

/* استایل دکمه پلی */
.minimal-player .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px); /* افکت شیشه‌ای مدرن */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.4);
}

.minimal-player .play-btn svg {
  width: 30px;
  height: 30px;
  color: #fff;
  margin-left: 4px; /* اصلاح تراز آیکون */
}

.minimal-player:hover .play-btn {
  background: rgb(238, 159, 11); /* رنگ سبز وودمارت یا رنگ برند شما */
  transform: translate(-50%, -50%) scale(1.1);
}

/* استایل تگ ویدئو که بعدا اضافه می‌شود */
.minimal-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

