/* ---------- فونت فارسی ---------- */
@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/IRANSansWeb.woff2") format("woff2");
}
@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/IRANSansWeb_Light.woff2") format("woff2");
}
@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2");
}

/* ---------- متغیرهای تم ---------- */
:root {
  --tj-font: "IRANSansWeb", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- پایه ---------- */
body {
  font-family: var(--tj-font) !important;
  text-align: right;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6,
a, button, input, select, textarea,
.btn, .banner-heading, .section-title-2, .section-pretitle,
.product-name, .footer-widget-title, .menu-item {
  font-family: var(--tj-font);
}
a { text-decoration: none; }

/* کانتینر واکنش‌گرا (بازگردانی رفتار بوت‌استرپ که site.css بازنویسی کرده بود) */
.container { padding-left: 15px; padding-right: 15px; }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (max-width: 1399px) and (min-width: 1200px) { .container { max-width: 1180px; } }
@media (max-width: 1199px) and (min-width: 992px) { .container { max-width: 960px; } }
@media (max-width: 991px) and (min-width: 768px) { .container { max-width: 720px; } }
@media (max-width: 767px) { .container { max-width: 100%; } }

/* ---------- نوار بالای هدر ---------- */
.tj-topbar {
  background: var(--theme-color, #83B735);
  color: #fff;
  font-size: 13px;
}
.tj-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  flex-wrap: wrap;
}
.tj-topbar a { color: #fff; }
.tj-topbar .tj-topbar-note i { margin-inline-end: 6px; }
.tj-topbar-links { display: flex; align-items: center; gap: 14px; }
.tj-topbar-links a:hover { opacity: .85; }
.tj-topbar-links .divider { width: 1px; height: 14px; background: rgba(255,255,255,.4); }

/* ---------- هدر اصلی ---------- */
.tj-header-main { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: relative; z-index: 50; }
.tj-header-main-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 18px 0; flex-wrap: wrap;
}
.tj-logo { display: flex; align-items: center; gap: 10px; }
.tj-logo .logo-mark {
  width: 145px; height: 50px; border-radius: 12px;
  color: #fff; display: grid; place-items: center; font-size: 22px;
}
.tj-logo .logo-text { line-height: 1.25; }
.tj-logo .logo-text b { font-size: 20px; font-weight: 500; color: #222; display: block; }
.tj-logo .logo-text span { font-size: 12px; color: #888; }

/* جستجو */
.tj-search {
  flex: 1 1 340px; max-width: 560px;
  display: flex; border: 2px solid #ececec; border-radius: 10px; overflow: hidden;
  background: #fafafa;
}
.tj-search input {
  flex: 1; border: 0; outline: none; background: transparent;
  padding: 11px 16px; font-size: 14px; font-family: var(--tj-font);
}
.tj-search button {
  border: 0; background: var(--theme-color, #83B735); color: #fff;
  padding: 0 20px; font-size: 16px; cursor: pointer; transition: filter .2s;
}
.tj-search button:hover { filter: brightness(.92); }

/* اکشن‌های سمت چپ هدر */
.tj-actions { display: flex; align-items: center; gap: 8px; }
.tj-action-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f4f6f4; color: #333; font-size: 17px; position: relative;
  transition: all .2s ease; cursor: pointer;
}
.tj-action-btn:hover { background: var(--theme-color, #83B735); color: #fff; }
.tj-action-btn .badge-dot {
  position: absolute; top: -4px; inset-inline-start: -4px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: #e94b3c; color: #fff; font-size: 11px; line-height: 19px; text-align: center;
}
.tj-login-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 2px solid var(--theme-color, #83B735); color: var(--theme-color, #83B735) !important;
  padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 500;
  transition: all .2s ease; white-space: nowrap;
}
.tj-login-btn:hover { background: var(--theme-color, #83B735); color: #fff !important; }
.tj-login-btn.solid { background: var(--theme-color, #83B735); color: #fff !important; }
.tj-login-btn.solid:hover { filter: brightness(.92); }

/* دکمه همبرگر موبایل */
.tj-hamburger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid #e5e5e5; background: #fff; color: #333;
  align-items: center; justify-content: center; font-size: 19px; cursor: pointer;
}
@media (max-width: 991px) {
  .tj-hamburger { display: inline-flex; }
  .tj-search { order: 3; flex-basis: 100%; max-width: none; }
}
/* ---------- منوی اصلی ---------- */
.tj-menu-area { background: #fff; border-top: 1px solid #f0f0f0; position: relative; z-index: 40; }
.tj-menu-ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.tj-menu-ul > li { position: relative; }
.tj-menu-ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 15px 18px; color: #2b2b2b !important; font-size: 15px; font-weight: 500;
  transition: color .2s ease;
}
.tj-menu-ul > li > a:hover, .tj-menu-ul > li > a.active { color: var(--theme-color, #83B735) !important; }
.tj-menu-ul > li > a i { font-size: 12px; transition: transform .25s ease; }

/* زیرمنوی دسکتاپ - CSS خالص */
.tj-dd {
  position: absolute; top: 100%; inset-inline-start: 0; min-width: 230px;
  background: #fff; border-radius: 10px; padding: 10px 0;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .28s ease; z-index: 60; list-style: none; margin: 0;
}
.tj-menu-ul > li:hover .tj-dd { opacity: 1; visibility: visible; transform: translateY(0); }
.tj-menu-ul > li:hover > a i { transform: rotate(180deg); }
.tj-dd li a {
  display: block; padding: 9px 22px; color: #444 !important; font-size: 14px;
  transition: all .18s ease;
}
.tj-dd li a:hover { color: var(--theme-color, #83B735) !important; padding-inline-start: 28px; background: #f7faf5; }
@media (max-width: 991px) { .tj-menu-area { display: none; } }

/* ---------- بنر / اسلایدر اصلی (بازسازی مطابق قالب Weiboon index-three) ---------- */
.banner.banner-2.bg-image-2 {
  background-image: url("/weiboon/images/background/bg.webp");
  background-size: cover;
  background-position: center center;
  background-color: #F5F6F2;
  padding: 0 !important;
  height: 500px;
  position: relative;
  overflow: hidden;
}
.banner.banner-2.bg-image-2 .banner-single {
  height: 500px;
  display: flex;
  align-items: center;
}
/* کادر داخلی اسلایدر فولعرض باشد (خنثی‌سازی max-width بوت‌استرپ container) */
.banner.banner-2.bg-image-2 .header-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-inline: 40px;
}
.banner .banner-single .single-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
/* چیدمان افقی LTR مثل قالب (متن چپ، تصویر راست)؛ متن فارسی داخل ستون خودش راست‌چین */
.banner.banner-2.bg-image-2 .banner-single .single-inner .contents {
  direction: rtl;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 2;
  right: 100px;
}
.banner.banner-2.bg-image-2 .banner-single .single-inner .slider-image {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 !important;
}
.banner .contents .banner-heading {
  font-size: 40px;
  line-height: 62px;
  font-weight: 700;
  color: #040404;
  max-width: 520px;
  margin-bottom: 10px;
}
.banner .contents p {
  font-size: 18px;
  line-height: 30px;
  color: #555;
  max-width: 470px;
  margin-bottom: 34px;
}
.banner .contents .banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--theme-color, #83B735);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 38px;
  border-radius: 3px;
  transition: background .3s ease;
}
.banner .contents .banner-btn:hover {
  background: #040404;
  color: #fff !important;
}
.banner .contents .banner-btn i {
  font-size: 14px;
  transition: transform .3s ease;
}
.banner .contents .banner-btn:hover i {
  transform: translateX(-8px);
}
.slider-image img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}
/* تصویر جایگزین اسلایدر وقتی عکس محصول وجود ندارد */
.hero-art {
  width: 300px; height: 300px; max-width: 80vw; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(131,183,53,.25), rgba(131,183,53,.06));
  display: grid; place-items: center; color: var(--theme-color, #83B735); font-size: 110px;
}
/* ---- اسلایدر fade سفارشی (جایگزین Swiper؛ همیشه فولعرض) ---- */
.banner.banner-2.bg-image-2 .rts-topSlide1 {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  overflow: hidden;
}
.banner.banner-2.bg-image-2 .rts-topSlide1 .swiper-wrapper {
  display: block;
  width: 100%;
  transform: none !important;
}
.banner.banner-2.bg-image-2 .rts-topSlide1 .swiper-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  pointer-events: none;
}
.banner.banner-2.bg-image-2 .rts-topSlide1 .swiper-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.rts-topSlide1 {
    flex: 1 0 100% !important; /* تمام عرض والد، بدون shrink */
    min-width: 100% !important; /* مقاوم به flex-shrink */
}

/* ---- دکمه‌های ناوبری (چپ و راست اسلایدر، عموداً وسط) ---- */
.slider-nav-container {
  position: static;
  height: 0;
  overflow: visible;
}
.banner.banner-2.bg-image-2 .slider-navigation {
  position: absolute;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  right: 0;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
}
.banner.banner-2.bg-image-2 .slider-navigation .slider-btn {
  pointer-events: auto;
}
.slider-navigation .slider-btn,
.slider-navigation .swiper-button-prev,
.slider-navigation .swiper-button-next {
  position: static;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  margin: 0;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #040404;
  cursor: pointer;
  box-shadow: 5px 8px 14px 2px rgba(0, 0, 0, .13);
  transition: all .25s ease;
}
.slider-navigation .slider-btn:hover {
  background: var(--theme-color, #83B735);
  color: #fff;
}
.slider-navigation .slider-btn::after {
  display: none;
}
@media (max-width: 768px) {
  .banner.banner-2.bg-image-2,
  .banner.banner-2.bg-image-2 .banner-single { height: auto; min-height: 480px; }
  .banner.banner-2.bg-image-2 .header-container { padding-inline: 15px; }
  .banner.banner-2.bg-image-2 .banner-single .single-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 40px 15px 70px;
    gap: 22px;
  }
  .banner.banner-2.bg-image-2 .banner-single .single-inner .contents {
    order: 2;
    max-width: 560px;
  }
  .banner .contents .banner-heading { font-size: 32px; line-height: 45px; }
  .banner .contents p { margin-inline: auto; font-size: 16px; }
  .slider-image img { max-height: 300px; }
  .banner.banner-2.bg-image-2 .slider-navigation { padding: 0 16px; }
  .slider-navigation .slider-btn { width: 42px; height: 42px; }
}

/* ---------- سرتیتر سکشنها ---------- */
.section-pretitle { color: var(--theme-color, #83B735) !important; font-size: 15px; letter-spacing: 0; display: block; font-weight: 500; }
.section-title-2 { font-weight: 500 !important; color: #232323 !important; }
.recent-products-header { text-align: center; margin-bottom: 42px; }

/* ---------- جعبههای مجموعه (Collections) ---------- */
.collection-section-item { position: relative; border-radius: 14px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; }
.collection-section-item.box-1 { background: linear-gradient(135deg, #eef7e4, #d8ecbe); }
.collection-section-item.box-2 { background: linear-gradient(135deg, #eaf3fb, #d3e6f5); }
.collection-section-item.box-3 { background: linear-gradient(135deg, #fdf3e6, #f8e3c6); }
.collection-section-item .picture, .collection-section-item .box-bg { position: absolute; inset: 0; }
.collection-section-item .picture img, .collection-section-item .box-bg img { width: 100%; height: 100%; object-fit: contain; }
.collection-section-item .contents { position: relative; z-index: 2; padding: 26px; width: 100%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }
.collection-text2 { color: #eee; font-size: 14px; margin-bottom: 4px; }
/* کادر متنی با سایه، چسبیده به پایین کارت */
.rts-collections-section .shop-now-box2 .contents {
  left: auto !important;
  right: 0 !important;
  top: auto !important;
  bottom: 0 !important;
  transform: none !important;
  width: 100%;
  direction: rtl;
  text-align: right;
  align-items: flex-end !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.25);
}
.collection-section-item .title { color: #fff !important; font-size: 24px; font-weight: 500; }
.shop-now-btn1 { color: #fff !important; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--theme-color, #83B735); padding-bottom: 4px; }
.shop-now-btn1:hover { gap: 12px; }

/* ---------- تبهای محصولات ---------- */
.product-tab-switch { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.product-tab-switch .filter-btn {
  border: 1px solid #e3e3e3; background: #fff; color: #555;
  padding: 9px 24px; border-radius: 999px; font-size: 14px; cursor: pointer;
  font-family: var(--tj-font); transition: all .2s ease;
}
.product-tab-switch .filter-btn.active,
.product-tab-switch .filter-btn:hover { background: var(--theme-color, #83B735); color: #fff; border-color: var(--theme-color, #83B735); }
.filterd-items.hide { display: none; }

/* ---------- کارت محصول ---------- */
.product-item { background: #fff; margin-bottom: 0; overflow: visible; }
.product-item .product-image {
  display: block; position: relative; border-radius: 12px; overflow: hidden;
  background: #f7f8f6; aspect-ratio: 3 / 2; margin-bottom: 0;
}
.product-item .product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-item:hover .product-image img { transform: scale(1.06); }
/* جای‌نگهدار تصویر محصول */
.product-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 54px; color: #9db884; }
.product-ph.ph-0 { background: linear-gradient(135deg,#f2f7ec,#dcedc9); }
.product-ph.ph-1 { background: linear-gradient(135deg,#eef4fa,#d8e8f6); color:#7ba3c9; }
.product-ph.ph-2 { background: linear-gradient(135deg,#fdf6ea,#f7e7c8); color:#c9a35b; }
.bottom-content { padding: 14px 4px 14px; }
.product-name { font-size: 15px; font-weight: 500 !important; color: #333 !important; display: block; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-name:hover { color: var(--theme-color, #83B735) !important; }
.action-wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
/* خنثی‌سازی محدودیت ارتفاع قالب اصلی (max-height: 35px + overflow: hidden) تا دکمه درخواست کامل دیده شود */
.product-item .action-wrap { max-height: none; overflow: visible; min-height: 54px; padding: 8px 0 4px; }
.product-price { font-size: 16px; font-weight: 500; color: #222; }
.product-price .unit { font-size: 11px; color: #999; font-weight: normal; }
.old-price { color: #b5b5b5; text-decoration: line-through; font-size: 13px; margin-inline-start: 6px; }
.addto-cart {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--theme-color, #83B735);
  color: var(--theme-color, #83B735) !important;
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
  transition: all .22s ease; cursor: pointer; font-family: var(--tj-font);
}
.addto-cart:hover { background: var(--theme-color, #83B735); color: #fff !important; }
/* خنثی‌سازی افکت اسلاید قالب اصلی (translateY) و یکدست‌سازی اندازه دکمه درخواست */
.product-item .addto-cart { transform: none; display: inline-flex; font-size: 13px; line-height: 1.5; }
.product-item .addto-cart i { color: inherit; }
.product-item:hover .action-wrap .product-price,
.product-item:hover .action-wrap .addto-cart { transform: none; }
.card-add-form { margin: 0; display: inline-flex; }
.product-tag {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 3;
  font-size: 11px; padding: 4px 10px; border-radius: 6px; color: #fff;
}
.new-tag { background: var(--theme-color, #83B735); }
.hot-tag { background: #e94b3c; }
.discount-tag { background: #f5a623; }
.all-products-link {
  display: inline-block; margin-top: 40px; padding: 13px 34px;
  border: 2px solid var(--theme-color, #83B735); border-radius: 8px;
  color: var(--theme-color, #83B735) !important; font-weight: 500; transition: all .2s ease;
}
.all-products-link:hover { background: var(--theme-color, #83B735); color: #fff !important; }

/* ---------- بنر خبرنامه ---------- */
.newsletter-banner2 { background-size: cover; background-position: center; padding: 70px 0; position: relative; }
.newsletter-banner2::before { content: ""; position: absolute; inset: 0; background: rgba(20,30,12,.72); }
.newsletter-banner2 .container { position: relative; z-index: 2; }
.newsletter-contents { max-width: 720px; margin: 0 auto; text-align: center; color: #fff; }
.newsletter-contents .section-pretitle { color: #cfe6ae !important; }
.newsletter-contents p { color: #d9d9d9; line-height: 2; }
.newsletter-input { display: flex; max-width: 520px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: #fff; }
.newsletter-input input { flex: 1; border: 0; outline: none; padding: 14px 18px; font-family: var(--tj-font); font-size: 14px; }
.subscribe-btn {
  border: 0; background: var(--theme-color, #83B735); color: #fff;
  padding: 0 26px; font-size: 14px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--tj-font);
}
.subscribe-btn:hover { filter: brightness(.92); }



/* ---------- نوار آمار (جایگزین حامیان) ---------- */
.tj-stats { padding: 64px 0; background: #fafcf7; }
.tj-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 767px) { .tj-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.tj-stat {
  background: #fff; border-radius: 14px; padding: 28px 18px; text-align: center;
  box-shadow: 0 6px 22px rgba(60,90,30,.07); transition: all .25s ease;
}
.tj-stat:hover { transform: translateY(-5px); }
.tj-stat i { font-size: 30px; color: var(--theme-color, #83B735); margin-bottom: 12px; }
.tj-stat .num { font-size: 28px; font-weight: 500; color: #222; display: block; }
.tj-stat .lbl { color: #888; font-size: 14px; }

/* ---------- کارت وبلاگ ---------- */
.full-wrapper { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #efefef; transition: all .25s ease; height: 100%; }
.full-wrapper:hover { box-shadow: 0 16px 38px rgba(0,0,0,.09); transform: translateY(-4px); }
.full-wrapper .image-part img { width: 100%; height: 210px; object-fit: cover; }
.blog-content { padding: 22px; position: relative; }
.date-full2 { position: absolute; top: -34px; inset-inline-start: 20px; background: var(--theme-color, #83B735); color: #fff; border-radius: 10px; text-align: center; padding: 8px 12px; line-height: 1.4; font-size: 13px; }
.blog-meta2 { list-style: none; padding: 0; margin: 0 0 8px; }
.blog-meta2 li a { color: var(--theme-color, #83B735) !important; font-size: 13px; }
.title-2 a { color: #333 !important; font-size: 17px; font-weight: 500; line-height: 1.9; display: block; }
.title-2 a:hover { color: var(--theme-color, #83B735) !important; }
.author-info .avatar i { font-size: 34px; color: #bbb; }
.author-info .author-name { margin: 0; font-size: 13px; font-weight: 500; color: #444; }
.author-info .author-dsg { margin: 0; font-size: 12px; color: #999; }
.blog-ph-img { width: 100%; height: 210px; display: grid; place-items: center; font-size: 52px; color: #a9c48b; background: linear-gradient(135deg,#f2f7ec,#dfeccc); }

/* ---------- فوتر ---------- */
.footer-area { background: #10150c; color: #cfd4c8; margin-top: 80px; }
.features-bar { border-bottom: 1px solid rgba(255,255,255,.08); padding: 34px 0; }
.features-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 767px) { .features-inner { grid-template-columns: repeat(2, 1fr); } }
.feature-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.feature-item .icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(131,183,53,.14); color: #a4cc6b; display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.feature-item .title { color: #fff !important; font-size: 15px; font-weight: 500; margin: 0 0 3px; }
.feature-item p { margin: 0; font-size: 13px; color: #97a08c; }
.footer-inner { padding: 56px 0 40px; }
.footer-widget-title { color: #fff !important; font-size: 17px; font-weight: 500; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-widget-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--theme-color, #83B735); }
.widget-text { line-height: 2.1; font-size: 13.5px; }
ul.footer-widget { list-style: none; padding: 0; margin: 0; }
.widget-list-item a { color: #b9c0af !important; font-size: 13.5px; display: inline-block; padding: 6px 0; transition: all .2s ease; }
.widget-list-item a:hover { color: #fff !important; padding-inline-start: 6px; }
.quick-contact .contact-item { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.quick-contact .icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(131,183,53,.14); color: #a4cc6b; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.quick-contact .title { display: block; font-size: 12px; color: #8d977f; }
.quick-contact .info { color: #dfe5d5 !important; font-size: 14px; }
.social-links-footer li a.platform { display: flex; align-items: center; gap: 10px; }
.footer-bottom-area { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.copyright { font-size: 13.5px; color: #f2f5ec; }
.copyright .site { color: #a4cc6b; }

/* ---------- پنل سبد خرید (کشویی از چپ در RTL) ---------- */
.cart-bar { right: auto; left: 0; transform: translateX(-100%); direction: rtl; }
.cart-bar.show { transform: translateX(0); }
.cart-header .cart-heading { font-family: var(--tj-font); font-size: 15px; font-weight: 500; margin: 0; }
.close-cart { cursor: pointer; font-size: 18px; color: #666; }
.cart-bar .product-thumb img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; }
.cart-empty-note { color: #888; text-align: center; padding: 30px 0; font-size: 14px; }
.cart-bottom-area { margin-top: auto; border-top: 1px solid #eee; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.spend-shipping, .total-price { font-size: 13.5px; color: #555; }
.checkout-btn, .view-btn {
  display: block; text-align: center; padding: 13px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
}
.checkout-btn { background: var(--theme-color, #83B735); color: #fff !important; }
.view-btn { border: 1px solid #ddd; color: #444 !important; }
.checkout-btn:hover { filter: brightness(.93); }
.view-btn:hover { border-color: var(--theme-color, #83B735); color: var(--theme-color, #83B735) !important; }

/* ---------- منوی موبایل (اسلاید از چپ در RTL) ---------- */
.slide-bar { right: auto; left: -100%; box-shadow: 5px 0 20px -5px rgba(0,0,0,.45); direction: rtl; }
.slide-bar.show { left: 0; right: auto; }
.offset-title { font-size: 16px; font-weight: 500; color: #333; }
.info-widget ul { list-style: none; padding: 0; }
.info-widget ul li { padding: 5px 0; font-size: 14px; color: #555; }
.side-mobile-menu ul { list-style: none; padding-right: 0; }
.side-mobile-menu a { color: #333 !important; font-size: 15px; display: block; padding: 10px 0; }
.side-mobile-menu .sub-menu a { font-size: 13.5px; color: #777 !important; padding: 7px 16px 7px 0; }
.hamburger-1 span { cursor: pointer; font-size: 20px; color: #333; }

/* ---------- دکمه اسکرول ---------- */
.scroll-top-btn { position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--theme-color, #83B735); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s ease; }
.scroll-top-btn.show-scroll { opacity: 1; visibility: visible; }

/* فرم افزودن به کارت قالب: داخل کارت بماند نه شناور روی تصویر */
.card-add-form { position: static !important; top: auto; left: auto; display: inline-flex; margin: 0; }

/* ---------- سازگاری صفحات قدیمی (Products/Cart/...) ---------- */
main { flex: 1 0 auto; }
.tj-page-head { background: #f6f9f2; padding: 46px 0; text-align: center; margin-bottom: 40px; }
.tj-page-head h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 500; color: #232323; margin-bottom: 8px; }
.tj-breadcrumb { font-size: 13.5px; color: #888; }
.tj-breadcrumb a { color: var(--theme-color, #83B735) !important; }
.section-gap { padding: 70px 0 0; }

/* ============================================================
   صفحات داخلی (درباره ما، تماس با ما، جزئیات بلاگ)
   ============================================================ */

/* ---------- درباره ما ---------- */
.tj-about-caption p { color: #5b5b5b; line-height: 2.1; font-size: 14.5px; margin-bottom: 18px; }
.tj-about-list { list-style: none; padding: 0; margin: 0 0 26px; }
.tj-about-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #444; font-size: 14.5px; }
.tj-about-list li i { color: var(--theme-color, #83B735); font-size: 15px; }
.tj-about-media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(60, 90, 30, .14); }
.tj-about-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.tj-about-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(131, 183, 53, .35); border-radius: 16px; pointer-events: none; }

/* کارت‌های ویژگی (ماموریت، چشم‌انداز، ارزش‌ها، مزیت‌ها) */
.tj-feature-card { background: #fff; border: 1px solid #efefef; border-radius: 16px; padding: 30px 24px; text-align: center; height: 100%; transition: all .25s ease; }
.tj-feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(60, 90, 30, .1); }
.tj-feature-card .icon { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(131, 183, 53, .18), rgba(131, 183, 53, .05)); color: var(--theme-color, #83B735); display: grid; place-items: center; font-size: 26px; }
.tj-feature-card h4 { font-size: 17px; font-weight: 500; color: #232323; margin-bottom: 10px; }
.tj-feature-card p { font-size: 14px; color: #666; line-height: 2; margin: 0; }

/* نوار آمار هماهنگ با بخش‌های قالب */
.tj-about-stats { background: #fafcf7; border-radius: 18px; padding: 40px 0; margin-top: 70px; }
.tj-about-stats .tj-stats-grid { margin-top: 34px; }
.tj-about-stats .tj-stat { box-shadow: 0 6px 22px rgba(60, 90, 30, .07); }

/* ---------- تماس با ما ---------- */
.contact-area-page .info-form .input-box { position: relative; z-index: 1; margin-bottom: 22px; }
.contact-area-page .info-form .input-box input,
.contact-area-page .info-form .input-box textarea {
  border: 1px solid #e4e4e4; border-radius: 10px; box-shadow: none;
  padding: 13px 18px; color: #555; font-size: 14px;
  background: #fff; width: 100%;
  font-family: var(--tj-font);
  transition: all .2s ease;
}
.contact-area-page .info-form .input-box input { height: 52px; }
.contact-area-page .info-form .input-box textarea { resize: vertical; min-height: 150px; }
.contact-area-page .info-form .input-box input:focus,
.contact-area-page .info-form .input-box textarea:focus {
  outline: none; border-color: var(--theme-color, #83B735);
  box-shadow: 0 0 0 3px rgba(131, 183, 53, .14);
}
.contact-area-page .info-form .input-box .field-validation-error { display: block; margin-top: 6px; }
.contact-area-page .form-btn {
  background: var(--theme-color, #83B735); color: #fff;
  border: 1px solid var(--theme-color, #83B735); font-size: 15px; font-weight: 500;
  line-height: 1; padding: 16px 42px; border-radius: 10px;
  transition: all .25s ease; cursor: pointer; font-family: var(--tj-font);
  display: inline-flex; align-items: center; gap: 9px;
}
.contact-area-page .form-btn:hover { background: transparent; color: var(--theme-color, #83B735); }

.tj-contact-side {
  background: #fff; border: 1px solid #efefef; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(60, 90, 30, .07);
  padding: 34px 30px; height: 100%;
}
.tj-contact-side h3 {
  font-size: 20px; font-weight: 500; color: #232323;
  margin-bottom: 26px; position: relative; padding-bottom: 12px;
}
.tj-contact-side h3::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 44px; height: 3px; border-radius: 3px; background: var(--theme-color, #83B735);
}
.tj-contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.tj-contact-item:last-child { margin-bottom: 0; }
.tj-contact-item .icon {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: rgba(131, 183, 53, .14); color: var(--theme-color, #83B735);
  display: grid; place-items: center; font-size: 20px;
}
.tj-contact-item h4 { font-size: 15px; font-weight: 500; color: #232323; margin: 0 0 4px; }
.tj-contact-item p { margin: 0; color: #6a6a6a; font-size: 14px; line-height: 1.9; word-break: break-word; }
.tj-contact-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f6f9f2; border: 1px dashed rgba(131, 183, 53, .45);
  color: #55664a; font-size: 13px; border-radius: 10px;
  padding: 11px 16px; margin-top: 26px; line-height: 1.9;
}
.tj-contact-note i { color: var(--theme-color, #83B735); }

/* ---------- جزئیات مقاله بلاگ ---------- */
.tj-article-card { background: #fff; border: 1px solid #efefef; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.tj-article-hero img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.tj-article-body { padding: 32px 36px 40px; }
.tj-article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 16px; }
.tj-article-cat { background: rgba(131, 183, 53, .14); color: var(--theme-color, #83B735); font-size: 13px; padding: 6px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.tj-article-meta-item { color: #888; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.tj-article-meta-item i { color: var(--theme-color, #83B735); }
.tj-article-title { font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; color: #232323; line-height: 1.8; margin: 0; }
.tj-article-summary { background: #f6f9f2; border-inline-start: 4px solid var(--theme-color, #83B735); border-radius: 10px; padding: 16px 20px; color: #4a5560; line-height: 2.1; font-size: 15px; margin: 18px 0 26px; }
.tj-article-attachment { margin-top: 26px; padding: 16px 20px; background: #f6f9f2; border-radius: 12px; font-size: 14px; color: #4a5560; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tj-article-attachment a { color: var(--theme-color, #83B735); font-weight: 500; }
.tj-related-more { margin-top: 12px; }

/* محتوای رندر شده مقاله (Html.Raw) - هماهنگ با قالب */
.tj-article-content { color: #4a5560; font-size: 15px; line-height: 2.2; word-wrap: break-word; }
.tj-article-content h2 { font-size: 22px; color: #232323; font-weight: 500; margin: 32px 0 12px; }
.tj-article-content h3 { font-size: 19px; color: #232323; font-weight: 500; margin: 26px 0 10px; }
.tj-article-content h4 { font-size: 17px; color: #232323; font-weight: 500; margin: 22px 0 8px; }
.tj-article-content p { margin: 0 0 16px; }
.tj-article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 14px 0; }
.tj-article-content ul, .tj-article-content ol { padding-right: 26px; margin: 0 0 16px; }
.tj-article-content blockquote { margin: 20px 0; padding: 16px 22px; border-inline-start: 4px solid var(--theme-color, #83B735); background: #f6f9f2; border-radius: 10px; color: #55664a; }
.tj-article-content a { color: var(--theme-color, #83B735); text-decoration: underline; }

/* ---------- راهنمای درخواست (Guide) ---------- */
.tj-step-card {
  background: #fff; border: 1px solid #efefef; border-radius: 16px;
  padding: 28px 24px; text-align: center; height: 100%;
  transition: all .25s ease; position: relative;
}
.tj-step-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(60, 90, 30, .1); }
.tj-step-card .step-num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--theme-color, #83B735); color: #fff;
  display: grid; place-items: center; font-size: 16px; font-weight: 600;
}
.tj-step-card .icon { font-size: 24px; color: var(--theme-color, #83B735); margin-bottom: 12px; }
.tj-step-card h4 { font-size: 16px; font-weight: 500; color: #232323; margin-bottom: 10px; }
.tj-step-card p { font-size: 13.5px; color: #666; line-height: 2; margin: 0; }

.tj-faq { background: #fff; border: 1px solid #efefef; border-radius: 16px; padding: 6px 26px; }
.tj-faq details { border-bottom: 1px solid #f0f0f0; }
.tj-faq details:last-child { border-bottom: 0; }
.tj-faq summary {
  cursor: pointer; padding: 17px 0; font-weight: 500; color: #333; font-size: 15px;
  display: flex; align-items: center; gap: 12px; list-style: none;
}
.tj-faq summary::-webkit-details-marker { display: none; }
.tj-faq summary i.chev { margin-inline-start: auto; color: #bbb; transition: transform .2s ease; }
.tj-faq details[open] summary .chev { transform: rotate(180deg); color: var(--theme-color, #83B735); }
.tj-faq summary::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--theme-color, #83B735); flex-shrink: 0;
}
.tj-faq details p { margin: 0; padding: 0 22px 18px 0; color: #6a6a6a; font-size: 14px; line-height: 2.1; }

.tj-guide-cta {
  background: #f6f9f2; border: 1px dashed rgba(131, 183, 53, .5);
  border-radius: 16px; padding: 34px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.tj-guide-cta h3 { font-size: 19px; font-weight: 500; color: #232323; margin: 0 0 6px; }
.tj-guide-cta p { margin: 0; color: #6a6a6a; font-size: 14px; line-height: 1.9; }

/* ============================================================
   بهینه‌سازی موبایل / رسپانسیو
   ============================================================ */
/* جلوگیری از سرریز افقی ناشی از پنل‌های آفکانس و عناصر مطلق */
html, body { overflow-x: hidden; }

@media (max-width: 991px) {
  /* پنل سبد و منوی موبایل در صفحات کوچکتر باریکتر شوند */
  .cart-bar { width: min(360px, 88vw); }
}

@media (max-width: 767px) {
  /* فاصله امن استاندارد از لبهها */
  .container { padding-left: 16px; padding-right: 16px; }

  /* ریتم عمودی بخشها در موبایل */
  .section-gap { padding-top: 44px; }
  .recent-products-header { margin-bottom: 28px; }
  .tj-stats { padding: 44px 0; }
  .features-bar { padding: 26px 0; }
  .footer-inner { padding: 38px 0 28px; }
  .footer-area { margin-top: 48px; }
  .blog-content { padding: 16px 16px 18px; }

  /* کارت محصول: نام بلند در موبایل کامل دیده شود */
  .product-name { white-space: normal; }
  .all-products-link { margin-top: 24px; padding: 11px 24px; }

  /* جدول سبد خرید قدیمی بدون سرریز */
  .table-wrap { display: block; overflow-x: auto; }
}

@media (max-width: 575px) {
  /* دکمههای اسلایدر کمی جمعتر، چسبیده به لبههای بنر با فاصله امن */
  .banner.banner-2.bg-image-2 .slider-navigation {
    padding: 0 12px;
    gap: 8px;
  }
  .slider-navigation .slider-btn,
  .slider-navigation .swiper-button-prev,
  .slider-navigation .swiper-button-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}