/* ==========================================================================
   پولیش صفحات داخلی برق لاله‌زار (روی طرح افلاک)
   سربرگ صفحه‌ی دسته/برند/جستجو، کارت محصول بدون قیمت، صفحه‌ی محصول
   ========================================================================== */

/* ---------- سربرگ دسته‌بندی ---------- */
.lz-cat-head {
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 20px;
}
.lz-cat-head__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.lz-cat-head__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--tb-primary, #023078);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--tb-accent, #fca805);
}
.lz-cat-head__title i { font-size: 18px; color: var(--tb-accent, #fca805); }
.lz-cat-head__count {
  flex-shrink: 0;
  font-size: 13px;
  color: #6b7a8c;
  background: #f3f6fb;
  border-radius: 999px;
  padding: 5px 14px;
}
.lz-cat-head__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e2e7ef;
}
.lz-subchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e2e7ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.lz-subchip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  background: #f6f8fb;
  margin-inline-start: -6px;
}
.lz-subchip:hover {
  border-color: var(--tb-primary, #023078);
  color: var(--tb-primary, #023078);
  background: #f3f6fb;
}
@media (max-width: 767.98px) {
  .lz-cat-head { padding: 14px; border-radius: 12px; }
  .lz-cat-head__title { font-size: 16px; }
  /* در موبایل زیردسته‌ها در یک ردیف افقی اسکرول می‌شوند */
  .lz-cat-head__subs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -14px;
    padding-inline: 14px;
  }
  .lz-cat-head__subs::-webkit-scrollbar { display: none; }
  .lz-subchip { height: 36px; font-size: 12px; }
}

/* ---------- کارت محصول: بدون قیمت ---------- */
.lz-call-price {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.2px;
  color: var(--tb-primary, #023078);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: end;
  line-height: 32px;
}
.lz-call-price i { font-size: 10px; color: var(--tb-accent, #fca805); margin-inline-end: 1px; }
@media (max-width: 1199.98px) { .lz-call-price { font-size: 10px; letter-spacing: -.4px; } .lz-call-price i { display: none; } }

/* ---------- صفحه‌ی محصول ---------- */
.lz-product-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.8;
  color: #1e293b;
  margin: 0;
}
.lz-product-latin {
  margin: 4px 0 0;
  font-size: 13px;
  color: #94a3b8;
  direction: ltr;
  text-align: right;
}
.lz-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.lz-product-tags > * {
  font-size: 12px;
  color: #64748b;
  background: #f3f6fb;
  border-radius: 6px;
  padding: 4px 10px;
}
.lz-product-tags a:hover { color: var(--tb-primary, #023078); }
.lz-product-intro {
  font-size: 13px;
  line-height: 2;
  color: #475569;
  text-align: justify;
}
@media (max-width: 767.98px) {
  .lz-product-title { font-size: 16px; }
}

/* توضیحات: متن کامل نمایش داده می‌شود؛ فقط متن بلند جمع می‌شود */
.lz-desc { position: relative; }
.lz-desc__body { font-size: 14px; line-height: 2.1; color: #334155; text-align: justify; }
.lz-desc__body img { max-width: 100%; height: auto; border-radius: 8px; }
.lz-desc__state { display: none; }
.lz-desc--long .lz-desc__body {
  max-height: 340px;
  overflow: hidden;
  position: relative;
}
.lz-desc--long .lz-desc__body::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.lz-desc__state:checked ~ .lz-desc__body { max-height: none; }
.lz-desc__state:checked ~ .lz-desc__body::after { display: none; }
.lz-desc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--tb-primary, #023078);
  user-select: none;
}
.lz-desc__toggle i { font-size: 11px; }
.lz-desc__toggle .less { display: none; }
.lz-desc__state:checked ~ .lz-desc__toggle .more { display: none; }
.lz-desc__state:checked ~ .lz-desc__toggle .less { display: inline; }

/* محصولات مشابه: دو فلش کنار هم، سمت راست (قبل از عنوان)؛ دسکتاپ و موبایل */
.lz-related .header-content:first-child {
  padding-inline-end: 92px;
  margin-bottom: 12px;
  min-height: 38px;
}
.lz-related #product-slider { position: relative; width: 100%; padding: 0; }
.lz-related .owl-pro .owl-nav { direction: rtl; position: absolute; top: -52px; left: 0; right: auto; z-index: 2; display: flex; gap: 8px; margin: 0; }
.lz-related .owl-pro .owl-nav.disabled { display: none; }
.lz-related .owl-pro .owl-nav button { position: static !important; width: 36px; height: 36px; margin: 0 !important; border: 1px solid #e6eaf0 !important; font-size: 18px !important; }
.lz-related .owl-pro .owl-nav button.disabled { opacity: .4; cursor: default; }
.lz-related .owl-pro .owl-nav .owl-prev { order: 1; }
.lz-related .owl-pro .owl-nav .owl-next { order: 2; }

/* ستون‌های گرید زیر عرض محتوای nowrap (مثل متن تماس) جمع شوند و از کادر بیرون نزنند */
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid > * { min-width: 0; }
@media (max-width: 1199.98px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* متن تماس از padding ستون استفاده کند تا در کارت‌های باریک هم در یک خط کامل جا شود */
.cost-col > .col-12 > .lz-call-price { margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -.5 + 4px); text-align: center; }

/* ---------- گالری صفحه‌ی محصول ---------- */
.lz-gallery { position: relative; margin: 0; }
.lz-gallery > [class*="col-"] { position: relative; }
/* آیکون‌های علاقه‌مندی/اشتراک/مقایسه: ستونی روی گوشه‌ی کادر عکس */
.lz-gallery .box-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  z-index: 5;
}
.lz-gallery .share-box { flex-direction: column; gap: 6px; }
.lz-gallery .share-box li a,
.lz-gallery .share-box li button {
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
  border: 1px solid #edf0f5;
}
/* کادر عکس اصلی */
.lz-gallery ul.thumbnails .thumbnail {
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  padding: 24px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lz-gallery ul.thumbnails .thumbnail img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
/* thumbnailها: مربع‌های کوچک با اندازه‌ی ثابت */
.lz-gallery .slide-image2 { margin-top: 12px !important; }
.lz-gallery .thumb-product3 .item a {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lz-gallery .thumb-product3 .item img { height: 100%; padding: 6px; }
.lz-gallery .thumb-product3 .item:first-child a { border-color: var(--tb-primary, #023078); }
/* فقط یک عکس: نوار thumbnail لازم نیست */
.lz-gallery--single .slide-image2:not(:has(.thumb-product3-mob)) { display: none; }
/* موبایل */
.lz-gallery .product-gallery { border-radius: 16px; padding: 12px; }
.lz-gallery .thumb-product3-mob .item img { height: 280px; }

/* ---------- اسکرول‌بار باریک و سفارشی باکس‌های صفحه‌ی دسته‌بندی ---------- */
.pl-layout .li-item,
.pl-layout .options,
.pl-layout [class*="scroll"] {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7d0dd transparent;
  padding-inline-end: 4px;
}
.pl-layout .li-item::-webkit-scrollbar,
.pl-layout .options::-webkit-scrollbar,
.pl-layout [class*="scroll"]::-webkit-scrollbar { width: 4px; height: 4px; }
.pl-layout .li-item::-webkit-scrollbar-track,
.pl-layout .options::-webkit-scrollbar-track,
.pl-layout [class*="scroll"]::-webkit-scrollbar-track { background: transparent; }
.pl-layout .li-item::-webkit-scrollbar-thumb,
.pl-layout .options::-webkit-scrollbar-thumb,
.pl-layout [class*="scroll"]::-webkit-scrollbar-thumb { background: #c7d0dd; border-radius: 99px; }
.pl-layout .li-item:hover::-webkit-scrollbar-thumb,
.pl-layout .options:hover::-webkit-scrollbar-thumb { background: var(--tb-primary, #023078); }

/* mCustomScrollbar: ریل باریک، بدون دکمه‌های بالا/پایین */
.pl-layout .mCSB_scrollTools { width: 6px; opacity: 1; }
.pl-layout .mCSB_scrollTools .mCSB_draggerRail { width: 2px; background: #e8edf3; border-radius: 99px; }
.pl-layout .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { width: 4px; background: #c7d0dd !important; border-radius: 99px; }
.pl-layout .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
.pl-layout .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar { background: var(--tb-primary, #023078) !important; }
.pl-layout .mCSB_scrollTools .mCSB_buttonUp,
.pl-layout .mCSB_scrollTools .mCSB_buttonDown { display: none !important; }
.pl-layout .mCSB_scrollTools .mCSB_draggerContainer { top: 0; bottom: 0; }
.pl-layout .mCSB_inside > .mCSB_container { margin-left: 12px; margin-right: 0; }

/* ---------- تایمر تخفیف روی کارت: نشان شناور روی عکس ---------- */
.item-pro { position: relative; }
.item-pro > .lz-timer-row {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  z-index: 3;
  max-width: calc(100% - 64px);
}
.item-pro > .lz-timer-row > .col-12 { padding: 0; width: auto; }
.item-pro .lz-timer-row .timer {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tb-sale, #ef5661);
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  box-shadow: 0 3px 10px rgba(239, 86, 97, .3);
}
.item-pro .lz-timer-row .timer > div:first-child { display: none !important; } /* متن «زمان باقیمانده» */
.item-pro .lz-timer-row .timer-container {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  direction: ltr;
  white-space: nowrap;
  background: none;
  padding: 0;
}
.item-pro .lz-timer-row .timer::before {
  content: "\f017";
  font-family: var(--fa-family-free, "Font Awesome 6 Free");
  font-weight: 900;
  font-size: 10px;
}

/* ---------- مقالات ---------- */
.lz-articles .lz-cat-head { margin-top: 4px; }
.lz-cat-head__desc { margin: 10px 0 0; font-size: 13px; color: #64748b; line-height: 2; }
/* ستون‌های کناری sticky (فقط دسکتاپ؛ در موبایل هدر خودش sticky است) */
@media (min-width: 992px) {
  .lz-sticky-side { position: sticky; top: 20px; }
}
.lz-article-show { margin-top: 4px; }
.lz-popular li .article-post-list-item { align-items: flex-start; gap: 12px; }
.lz-popular__rank {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f3f6fb;
  color: var(--tb-primary, #023078);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lz-popular li:first-child .lz-popular__rank { background: var(--tb-accent, #fca805); color: #fff; }
.lz-popular .article-post-list-date i { font-size: 11px; margin-inline-end: 2px; }
.lz-side-cta {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 20px;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--tb-primary, #023078), var(--tb-primary-light, #2e5aa8));
}
.lz-side-cta__icon {
  position: absolute;
  left: -10px;
  bottom: -14px;
  font-size: 92px;
  opacity: .1;
}
.lz-side-cta__title { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.lz-side-cta p { font-size: 13px; line-height: 2; opacity: .85; margin: 0 0 14px; }
.lz-side-cta__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tb-accent, #fca805);
  color: #1e293b;
  font-weight: 800;
  font-size: 16px;
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 10px;
  direction: ltr;
}
.lz-side-cta__tel:hover { color: #1e293b; filter: brightness(1.05); }
.lz-side-cta__link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; }
.lz-side-cta__link:hover { color: var(--tb-accent, #fca805); }

/* موبایل: گالری محصول قاب دوتایی نداشته باشد */
.lz-gallery .thumb-product3-mob .item a { border: 0; }

/* ---------- تایمر تخفیف در صفحه‌ی محصول ---------- */
.lz-product-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
  border: 1px solid #fecdd3;
}
.lz-product-timer__label { display: flex; align-items: center; gap: 10px; color: var(--tb-sale-dark, #c62828); font-weight: 800; font-size: 15px; }
.lz-product-timer__label > i {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tb-sale, #ef5661); color: #fff; font-size: 15px;
}
.lz-product-timer__label small { display: block; font-weight: 400; font-size: 11px; color: #9f1239; opacity: .8; }
.lz-product-timer__clock { display: flex; gap: 6px; direction: ltr; background: none; padding: 0; }
.lz-tbox {
  min-width: 52px;
  display: flex; flex-direction: column; align-items: center;
  background: #fff;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  padding: 5px 4px 3px;
}
.lz-tbox b { font-size: 18px; font-weight: 800; color: var(--tb-sale-dark, #c62828); line-height: 1.3; }
.lz-tbox small { font-size: 10px; color: #64748b; }
@media (max-width: 575.98px) {
  .lz-product-timer { justify-content: center; text-align: center; }
  .lz-tbox { min-width: 46px; }
}

/* موجودی انبار در صفحه‌ی محصول */
.lz-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--tb-success, #1e5c3a);
  background: #ecfdf3;
  border: 1px solid #c6f0d6;
}
.lz-stock b { font-weight: 800; }
.lz-stock--low { color: var(--tb-sale-dark, #c62828); background: #fff1f2; border-color: #fecdd3; }

/* ---------- بخش فشرده‌ی اطلاعات محصول (جای سه کادر ویژگی/معرفی/امتیاز) ---------- */
.lz-meta { padding: 14px 0 4px; border-top: 1px solid #eef1f6; margin-top: 14px; }
.lz-meta__intro {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 2.1;
  color: #475569;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lz-meta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.lz-meta__rating {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #64748b;
}
.lz-meta__rating .stars { color: var(--tb-accent, #fca805); font-size: 12px; display: inline-flex; gap: 2px; }
.lz-meta__rating:hover { color: var(--tb-primary, #023078); }
.lz-meta__chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--tb-success, #1e5c3a);
  background: #ecfdf3; border-radius: 999px; padding: 4px 12px;
}
.lz-meta__specs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
}
.lz-meta__specs li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13px; padding: 7px 12px;
  background: #f8fafc; border-radius: 8px; min-width: 0;
}
.lz-meta__specs li > span { color: #94a3b8; flex-shrink: 0; }
.lz-meta__specs li > span::after { content: ":"; }
.lz-meta__specs li > a, .lz-meta__specs li > b { color: #1e293b; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lz-meta__specs li > a:hover { color: var(--tb-primary, #023078); }
@media (max-width: 575.98px) { .lz-meta__specs { grid-template-columns: 1fr; } }

/* ---------- صفحه‌ی تماس با ما ---------- */
.lz-contact { padding-bottom: 48px; }
.lz-contact__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 991.98px) { .lz-contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .lz-contact__cards { gap: 10px; }
  .lz-contact .lz-ccard { padding: 12px; border-radius: 12px; }
  .lz-contact .lz-ccard__icon { width: 34px; height: 34px; font-size: 14px; margin-bottom: 4px; }
  .lz-contact .lz-ccard__value { font-size: 14px; }
  .lz-contact .lz-ccard__value--sm { font-size: 12px; }
  /* ایمیل و ساعات کاری تمام‌عرض و افقی (جای خالی نماند) */
  .lz-contact__cards > a[href^="mailto"], .lz-contact__cards > div.lz-ccard { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .lz-contact__cards > a[href^="mailto"] .lz-ccard__icon, .lz-contact__cards > div.lz-ccard .lz-ccard__icon { grid-row: span 2; margin: 0; }
}
.lz-ccard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: #fff; border: 1px solid #e7ebf2; border-radius: 16px;
  padding: 18px; color: #1e293b; min-width: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.lz-ccard:hover { border-color: var(--tb-primary, #023078); box-shadow: 0 8px 24px rgba(2, 48, 120, .08); transform: translateY(-2px); color: #1e293b; }
.lz-ccard__icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #eef3fb; color: var(--tb-primary, #023078); font-size: 17px;
}
.lz-ccard:nth-child(2) .lz-ccard__icon { background: #ecfdf3; color: #16a34a; }
.lz-ccard:nth-child(3) .lz-ccard__icon { background: #fff7e6; color: #d97706; }
.lz-ccard:nth-child(4) .lz-ccard__icon { background: #fdf2f8; color: #db2777; }
.lz-ccard__label { font-size: 12px; color: #94a3b8; }
.lz-ccard__value { font-size: 17px; font-weight: 800; max-width: 100%; overflow-wrap: anywhere; }
.lz-ccard__value--sm { font-size: 14px; }
.lz-ccard small { font-size: 11px; color: #64748b; }

.lz-contact__box {
  background: #fff; border: 1px solid #e7ebf2; border-radius: 18px;
  padding: 24px; margin-bottom: 24px;
}
.lz-contact__main .lz-contact__box { margin-bottom: 0; }
.lz-contact__main { margin-bottom: 24px; }
.lz-contact__title { font-size: 17px; font-weight: 800; color: var(--tb-primary, #023078); margin: 0 0 6px; }
.lz-contact__sub { font-size: 13px; color: #64748b; margin: 0 0 18px; }
.lz-contact__mapbox { display: flex; flex-direction: column; }
.lz-contact__addr { font-size: 13px; color: #475569; line-height: 2; margin: 0 0 14px; }
.lz-contact__addr i { color: var(--tb-sale, #ef5661); margin-inline-end: 4px; }
.lz-contact__map { flex: 1; min-height: 320px; border-radius: 14px; overflow: hidden; background: #f1f5f9; }
.lz-contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.lz-contact__route {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 10px; border-radius: 12px;
  border: 1px solid var(--tb-primary, #023078); color: var(--tb-primary, #023078);
  font-size: 13px; font-weight: 700;
}
.lz-contact__route:hover { background: var(--tb-primary, #023078); color: #fff; }
.lz-contact__text { font-size: 14px; line-height: 2.1; color: #475569; }
@media (max-width: 575.98px) { .lz-contact__box { padding: 16px; border-radius: 14px; } }

/* فرم تماس */
.lz-cform__label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.lz-cform__label b { color: var(--tb-sale, #ef5661); font-weight: 700; }
.lz-cform__label small { color: #94a3b8; font-weight: 400; }
.lz-cform .form-control, .lz-cform .form-select {
  border: 1px solid #e2e7ef; border-radius: 12px; background-color: #f8fafc;
  font-size: 14px; padding: 10px 14px; min-height: 46px; box-shadow: none;
}
.lz-cform .form-control:focus, .lz-cform .form-select:focus { background-color: #fff; border-color: var(--tb-primary, #023078); box-shadow: 0 0 0 3px rgba(2, 48, 120, .08); }
.lz-cform textarea.form-control { min-height: 130px; resize: vertical; }
.lz-cform input[dir="ltr"]::placeholder { text-align: right; }
.lz-cform__file {
  display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0;
  border: 1px dashed #cbd5e1; border-radius: 12px; padding: 12px 14px; color: #475569; font-size: 13px;
}
.lz-cform__file:hover { border-color: var(--tb-primary, #023078); color: var(--tb-primary, #023078); }
.lz-cform__file > i { font-size: 18px; }
.lz-cform__file small { display: block; font-size: 11px; color: #94a3b8; }
.lz-cform__submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 18px; padding: 12px; border: 0; border-radius: 12px;
  background: var(--tb-primary, #023078); color: #fff; font-size: 15px; font-weight: 800;
  transition: background .15s;
}
.lz-cform__submit:hover { background: var(--tb-primary-dark, #011c47); }
.lz-cform__submit:disabled { opacity: .6; }

/* ---------- عنوان صفحات (سبد/تسویه/آدرس‌ها/صفحات): بدون خط خاکستری ---------- */
.title-section-inner { border-bottom: 0 !important; padding-bottom: 0; }
.title-section-inner span {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: var(--tb-primary, #023078);
  padding-bottom: 10px;
}
.title-section-inner span::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background: var(--tb-accent, #fca805);
}

/* ---------- سبد خرید ---------- */
.lz-cart-del {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #fecdd3; border-radius: 10px;
  background: #fff1f2; color: var(--tb-sale-dark, #c62828); font-size: 15px;
  transition: background .15s, color .15s;
}
.lz-cart-del:hover { background: var(--tb-sale, #ef5661); border-color: var(--tb-sale, #ef5661); color: #fff; }
.lz-cart-row .qty-stepper { margin: 0; }
.lz-cart-row .cart-row-price b { font-size: 17px; font-weight: 800; color: #1e293b; }
.lz-cart-row .cart-row-price small { color: #64748b; }
.lz-cart-old { color: #94a3b8; font-size: 13px; margin-inline-end: 8px; }
/* ستون متن ردیف سبد بتواند جمع شود (min-w-0 در این نسخه‌ی بوت‌استرپ نیست) */
.cart-product-row > .flex-grow-1 { min-width: 0; }
.cart-product-thumb { background: #fff; }
.cart-product-thumb img { object-fit: contain; padding: 4px; }
@media (max-width: 575.98px) {
  .cart-product-row .crd-pro-name h5 { font-size: 13.5px; line-height: 1.8; }
  .cart-product-row .crd-pro-name-option { white-space: normal; font-size: 11.5px; }
  .cart-product-row .cart-product-meta { column-gap: 10px; margin: 6px 0 4px; }
  .lz-cart-row { gap: 10px !important; }
  .lz-cart-row .cart-row-price { width: 100%; text-align: left; }
}

/* ---------- سبد خرید در موبایل: بدون قاب دوتایی، کنترل‌ها تمام‌عرض زیر عکس و نام ---------- */
.lz-cart-row .cart-row-price { white-space: nowrap; }
@media (max-width: 575.98px) {
  .lz-cart-list { border: 0 !important; background: none !important; box-shadow: none !important; }
  .lz-cart-list > .card-body { padding: 0 !important; }
  .lz-cart-list .cart-product-row { background: #fff; padding: 12px; gap: 12px; border-radius: 14px; }
  .lz-cart-list .cart-product-thumb { width: 72px; height: 72px; }
  /* ردیف تعداد/حذف/قیمت زیر عکس هم کشیده شود (عرض عکس ۷۲ + فاصله ۱۲) */
  .lz-cart-list .lz-cart-row {
    margin-inline-start: -84px;
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px dashed #e2e7ef;
    flex-wrap: nowrap !important;
  }
  .lz-cart-list .lz-cart-row .cart-row-price { width: auto; text-align: left; }
  .lz-cart-list .lz-cart-row .cart-row-price b { font-size: 15px; }
  .lz-cart-list .lz-cart-old { display: block; margin: 0; font-size: 11px; line-height: 1.4; }
  .lz-cart-list .qty-stepper-btn { width: 34px; }
  .lz-cart-list .qty-stepper-input { width: 34px; }
  .lz-cart-list .lz-cart-del { width: 38px; height: 38px; }
}

/* ---------- کارت محصول (فهرست دسته‌ها و «محصولات مشابه») ---------- */
/* علاقه‌مندی: دکمه‌ی کوچک گوشه‌ی بالا-چپ کارت (روی نام نمی‌افتد و جای نمی‌گیرد) */
.item.item-pro > .lz-fav { position: absolute; top: 8px; left: 8px; z-index: 3; line-height: 0; }
.item.item-pro > .lz-fav .wishlist {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid #eceff4;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #9aa3b2;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(2, 48, 120, .08);
  transition: color .2s, border-color .2s, background .2s, transform .15s;
}
.item.item-pro > .lz-fav .wishlist:hover { color: #e53935; border-color: #f6c7c6; transform: scale(1.08); }
.item.item-pro > .lz-fav .wishlist.active,
.item.item-pro > .lz-fav .wishlist.active i,
.item.item-pro > .lz-fav .wishlist i.fa-solid { color: #e53935; }
.item.item-pro > .lz-fav .wishlist.active { border-color: #f6c7c6; background: #fff1f1; }

@media (max-width: 767.98px) {
  .item.item-pro { padding: 10px; }
  .item.item-pro .item-img { height: 150px; }
  .item.item-pro .img-pro.position-relative a { height: 150px; align-items: center; }
  .item.item-pro .img-pro img { max-height: 140px; max-width: 100%; }
  .item.item-pro .name-col { margin-top: 8px !important; }
  .item.item-pro > .lz-fav { top: 6px; left: 6px; }
  .item.item-pro > .lz-fav .wishlist { width: 26px; height: 26px; font-size: 12px; }
}

/* ---------- فیلترها ---------- */
/* بلوک‌های فیلتر داخل مودال موبایل (ستون flex) جمع نشوند و عنوانشان بریده نشود */
.pl-filters > .pl-filter-block { flex-shrink: 0; }
/* نوار «فیلترهای فعال + پاک کردن» در دسکتاپ هم دیده شود */
.pl-active-filters:not(.is-hidden) { display: flex; }
.pl-active-filters-clear { cursor: pointer; }
.pl-active-filters-clear:hover { background: #fff1f1; border-color: #f6c7c6; }
/* نوار پایین موبایل روی مودال فیلتر/مرتب‌سازی نیفتد */
body.modal-open .lz-shell .bottom-nav { display: none; }

@media (max-width: 991px) {
  /* شیت فیلتر موبایل دقیقاً به پایین صفحه بچسبد */
  .pl-filters-modal .pl-filters { margin-bottom: 0; }
}
/* دسکتاپ: ستون فیلترها sticky و بدون اسکرول داخلی؛ اگر از صفحه بلندتر باشد،
   lalezar/js/shell.js مقدار top را منفی می‌کند تا ته ستون به پایین صفحه بچسبد */
@media (min-width: 992px) {
  .pl-layout > .pl-sidebar { position: sticky; top: var(--lz-side-top, 16px); align-self: flex-start; }
}

/* دسکتاپ: گروه‌های بسته‌ی فیلتر جمع‌وجورتر (ستون کوتاه‌تر، بدون اسکرول داخلی) */
@media (min-width: 992px) {
  .pl-sidebar .pl-filter-block { padding-top: 9px; padding-bottom: 9px; }
  .pl-sidebar .pl-filter-block .filter-cation { line-height: 26px; }
}

/* گالری محصول: عکس اصلی با کلیک در لایت‌باکس باز می‌شود */
.lz-gallery-main, .lz-gallery-main img, .thumb-product3-mob a[data-fancybox] { cursor: zoom-in; }
.fancybox-container { z-index: 99999; }

/* فلش‌های اسلایدر: آیکن در زمینه‌ی rtl آینه‌ای می‌شد و هر دو فلش «<» دیده می‌شدند */
.lz-related .owl-pro .owl-nav button, .lz-related .owl-pro .owl-nav button i { direction: ltr; unicode-bidi: isolate; }
/* کارت‌های اسلایدر در موبایل تو هم نروند */
.owl-pro .item { min-width: 120px; }
.lz-related .owl-pro .owl-nav button { transform: none !important; }

/* ---------- فیلتر قیمت (noUiSlider) ---------- */
.pl-price-block #double-handle-slider {
  height: 6px;
  margin: 18px 10px 20px;
  border: 0;
  border-radius: 6px;
  background: #e8ecf3;
  box-shadow: none;
}
.pl-price-block .noUi-connect { background: var(--tb-primary, #023078); }
.pl-price-block .noUi-handle {
  top: -7px !important;
  width: 20px !important;
  height: 20px !important;
  border: 3px solid var(--tb-primary, #023078);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(2, 48, 120, .25);
  cursor: grab;
}
.pl-price-block .noUi-horizontal .noUi-handle { right: -10px; left: auto; }
.pl-price-block .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle { left: -10px; right: auto; }
.pl-price-block .noUi-handle::before,
.pl-price-block .noUi-handle::after,
.pl-price-block .noUi-tooltip { display: none; }
.pl-price-block .cost-rang input { direction: ltr; text-align: center; font-weight: 700; }

/* ستون محصولات هرگز از عرض صفحه پهن‌تر نشود (در موبایل layout ستونی است و align-items:flex-start عرض را به محتوا می‌داد) */
.pl-layout > .pl-main { min-width: 0; }
@media (max-width: 991px) {
  .pl-layout { align-items: stretch; }
  .pl-layout > .pl-main, .pl-layout > .pl-sidebar { width: 100%; max-width: 100%; }
}

/* صفحه‌بندی در موبایل از عرض صفحه بیرون نزند */
.pl-pagination > div, .pl-pagination nav { max-width: 100%; min-width: 0; }
.pl-pagination .pagination { flex-wrap: wrap; justify-content: center; padding: 0; margin: 0; row-gap: 6px; }
@media (max-width: 575px) {
  .pl-pagination .pagination { gap: 4px; }
  .pl-pagination .page-link { min-width: 30px; height: 30px; padding: 0 6px; font-size: 13px; }
}

/* فیلترها: همه‌ی چک‌باکس‌ها در یک ستون، سمت چپ؛ متن سمت راست */
.pl-filter-block .customradio { justify-content: space-between; width: 100%; }
.pl-filter-block .customradio input[type="checkbox"] { order: 2; flex: 0 0 auto; margin: 0; margin-inline-start: auto; }
.pl-filter-block .customradio .logo-brand-mini { order: 0; }

/* صفحه‌ی محصول، موبایل: تب‌های توضیحات/مشخصات/نظرات بدون لایه‌های اضافه‌ی padding */
@media (max-width: 767.98px) {
  .product-desc .content-box > .container-fluid { padding-left: 12px; padding-right: 12px; }
  .product-descs .comment-form { padding: 14px; }
  .product-descs .comment-form .row { --bs-gutter-x: 0; margin-left: 0; margin-right: 0; }
  .product-descs .comment-form [class*="col-"] { padding-left: 0; padding-right: 0; }
  .product-descs .comment-form .mt-4 { margin-top: 12px !important; }
  #productTab { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  #productTab::-webkit-scrollbar { display: none; }
  #productTab .nav-link { white-space: nowrap; padding-left: 12px; padding-right: 12px; font-size: 14px; }
}
@media (max-width: 767.98px) {
  .product-descs .comment-form .row.gy-4 { --bs-gutter-y: .25rem; }
  .product-descs .comment-form p.text-muted { margin-bottom: 4px; }
  /* امتیازها: عنوان و ستاره‌ها در یک خط */
  .product-descs .comment-form [class*="col-"]:has(> .star-rating) {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px !important;
  }
  .product-descs .comment-form [class*="col-"]:has(> .star-rating) > label { margin: 0; }
}
@media (max-width: 767.98px) {
  /* کادر تب‌ها هم‌عرض کادر بالایی (همان فاصله‌ی ۱۲px از لبه‌ی صفحه) */
  .product-desc.mt-4 > .container-fluid > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
  /* دکمه‌های تب: بدون فاصله‌ی اضافه، یک‌خطی و پخش در عرض */
  #productTab { justify-content: space-between; gap: 4px; }
  #productTab .nav-item button { margin: 0 !important; padding: 12px 6px; white-space: nowrap; font-size: 14px; }
}
/* آلرت‌ها (مثل «هیچ دیدگاهی ثبت نشده») به محتوای بالایی نچسبند */
.product-descs .alert { margin-top: 16px; }
.product-descs .comment-form .alert { margin-top: 0; margin-bottom: 12px; }

/* مقاله: دکمه‌ی نشان کردن (bookmark) هم‌شکل آیکن‌های اشتراک؛ حالت ذخیره‌شده پررنگ */
.article-post-share a.lz-bookmark.is-saved { background: var(--tb-primary, #023078); color: #ffc107 !important; }

/* تسویه‌حساب: روش‌های ارسال سایت قبلی (کارت‌های قابل انتخاب) */
.lz-ship__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.lz-ship__opt { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 12px 14px; border: 1.5px solid #dfe4ec; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.lz-ship__title { font-weight: 700; color: #023078; font-size: 14px; }
.lz-ship__note { color: #6b778c; font-size: 12px; line-height: 1.8; }
.lz-ship .btn-check:checked + .lz-ship__opt { border-color: #023078; background: #f2f6ff; box-shadow: 0 0 0 2px rgba(2, 48, 120, .12); }
