@charset "UTF-8";
/* common */


/* ============================================================
   فونت
   ============================================================ */
/* فایل‌های فونت در assets/fonts/ ـ نسخه‌ی FaNum ارقام فارسی را هم دارد */

/* اسکرول‌بارهای باریک و ملایم */
/* فونت همه‌جا یکی باشد (دکمه، ورودی، select و … پیش‌فرض ارث نمی‌برند) */
*, *::before, *::after { font-family: inherit; }
input, button, select, textarea, optgroup { font: inherit; letter-spacing: inherit; }

* { scrollbar-width: thin; scrollbar-color: #d5d6da transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d5d6da; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #bcbec4; }
::-webkit-scrollbar-corner { background: transparent; }

/* عنصرهایی که hidden دارند همیشه پنهان می‌مانند */
[hidden] { display: none !important; }

/* ============================================================
   توکن‌ها
   ============================================================ */
:host {
  --font: var(--rs-font, 'IRANYekanXFaNum-Regular', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif);

  --c-text: var(--rs-c-text, #23254b);
  --c-icon: var(--rs-c-icon, #81858b);
  --c-line: var(--rs-c-line, #e0e0e2);
  --c-surface: var(--rs-c-surface, #f7f7f9);
  --c-tile: var(--rs-c-tile, #e7e7e8);   /* بک‌گراند کاشی‌های موبایل */

  --c-red: var(--rs-c-red, #e7133d);
  --c-red-soft: var(--rs-c-red-soft, #f2b1be);
  --c-offer-bg: var(--rs-c-offer-bg, var(--rs-primary-soft, #eef2f8));
  --offer-bar-h: var(--rs-offer-bar-h, 3px);   /* چقدر از نوار پیشرفت بالای کارت دیده شود */

  --lb-dim: var(--rs-lb-dim, #a1a3a8);

  --thumb: var(--rs-thumb, 70px);
  --thumb-m: var(--rs-thumb-m, 58px);
  --group-radius: var(--rs-group-radius, 10px);
  --group-gap: var(--rs-group-gap, 12px);

  /* رنگ پیغام‌های روی گالری */
  --msg-1: var(--rs-msg-1, #e7133d);
  --msg-2: var(--rs-msg-2, #00a049);
  --msg-3: var(--rs-msg-3, #b07d00);
  --msg-4: var(--rs-msg-4, #1f6fd4);
  --msg-5: var(--rs-msg-5, #7b4bd1);
  --msg-6: var(--rs-msg-6, #0d8b9b);
  --msg-7: var(--rs-msg-7, #d9328c);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
:host { -webkit-text-size-adjust: 100%; font-family: var(--font); }

:host {
  font-family: var(--font);
  color: var(--c-text);
  background: #fff;
  direction: rtl;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* آیکن‌های lucide: همیشه خطی، بدون پرشدگی */
svg.lc {
  fill: none !important;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.lc.is-flip { transform: rotate(180deg); }
img { display: block; }
:focus-visible { outline: 2px solid #19bfd3; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   نوار تبلیغاتی بالای هدر
   ============================================================ */
.topstrip {
  position: relative;
  display: block;
  width: 100%;
  height: 46px;
  overflow: hidden;
  background: #2549b4;
}
.topstrip__slide {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0;
  animation: tsSlide 12s cubic-bezier(.4, 0, .2, 1) infinite;
}
.topstrip__slide--blue { background: linear-gradient(90deg, #1f3f9e, #2b55c8 55%, #1f3f9e); }
.topstrip__slide--red  { background: linear-gradient(90deg, #cf2338, #ef4056 55%, #cf2338); animation-delay: 6s; }
.topstrip__slide b { font-weight: 700; }
.topstrip__slide span { opacity: .9; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.topstrip__ic {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  animation: tsPop 2.6s ease-in-out infinite;
}
.topstrip__ic svg { width: 15px; height: 15px; }
.topstrip__go {
  display: flex; align-items: center;
  animation: tsNudge 1.6s ease-in-out infinite;
}
.topstrip__go svg { width: 15px; height: 15px; }

@keyframes tsSlide {
  0%   { opacity: 0; transform: translateY(100%); }
  4%   { opacity: 1; transform: translateY(0); }
  46%  { opacity: 1; transform: translateY(0); }
  50%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
@keyframes tsPop {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
@keyframes tsNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .topstrip__slide { animation: none; opacity: 1; }
  .topstrip__slide--red { display: none; }
  .topstrip__ic, .topstrip__go { animation: none; }
}

/* ============================================================
   هدر دسکتاپ
   ============================================================ */
.dheader {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f0f0f2;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.dheader__main {
  max-width: 1520px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.dheader__logo img { display: block; height: 26px; width: auto; }

/* جستجو */
.dsearch-wrap { position: relative; flex: 1 1 auto; max-width: 620px; }
.dsearch-wrap.is-open { z-index: 70; }
.dsearch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f0f1;
  border-radius: 8px;
  padding: 0 14px;
  height: 42px;
}
.dsearch svg { width: 19px; height: 19px; color: #81858b; flex: 0 0 auto; }
.dsearch input {
  flex: 1 1 auto;
  border: 0; background: none; outline: none;
  font: inherit; font-size: 13px; color: #23254b;
}
.dsearch input::placeholder { color: #a1a3a8; }

/* دکمه‌های سمت چپ */
.dheader__actions { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.dheader__call {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 28px; padding: 0 14px;
  border: 1px solid #e0e0e2; border-radius: 14px;
  color: #23254b; font-size: 12px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.dheader__call:hover { background: #f7f7f9; }
.dheader__call svg { width: 14px; height: 14px; }
.dheader__call bdi { direction: ltr; unicode-bidi: isolate; }
.dnav__call { margin-right: auto; }
.rs-minicart-slot { display: flex; align-items: center; }
.dheader__sep { width: 1px; height: 26px; background: #ededf0; }

.dact-wrap { position: relative; }
.dact {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: #23254b;
}
.dact:hover { background: #f7f7f9; }
.dact svg { width: 22px; height: 22px; }
.dact__badge {
  position: absolute;
  bottom: 3px; right: 3px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  background: #ef4056; color: #fff;
  font-size: 9.5px; font-weight: 700;
  border: 1.5px solid #fff; border-radius: 9px;
}
.dact--login {
  width: auto; height: 38px;
  gap: 8px; padding: 0 14px;
  border: 1px solid #e0e0e2;
  font-size: 12.5px;
}
.dact--login svg { width: 18px; height: 18px; }

/* منوی دوم */
.dnav {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 16px 10px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.dnav__cats {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #23254b;
}
.dnav__cats svg { width: 19px; height: 19px; }

.dnav__links { list-style: none; display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; }
.dnav__links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #62666d; text-decoration: none;
  white-space: nowrap;
}
.dnav__links a:hover { color: #23254b; }
.dnav__links svg { width: 17px; height: 17px; }
.dnav__divider { width: 1px; height: 16px; background: #ededf0; }

.dnav__addr {
  margin-right: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff3e6; color: #d98500;
  border-radius: 999px; padding: 6px 12px;
  font-size: 12px; white-space: nowrap;
}
.dnav__addr svg { width: 16px; height: 16px; }

/* ---- کشویی‌های هدر ---- */
.dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 330px;
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 10px;
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 60;
}
.dd[hidden] { display: none; }
.dd__head {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px; font-size: 13.5px; font-weight: 700;
}
.dd__head b { font-weight: 400; color: #9da0a8; }
.dd__body { max-height: 300px; overflow-y: auto; }
.dd { width: 420px; }
.dd--acc { width: 250px; }
.dd__row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border-bottom: 1px solid #f7f7f9;
}
.dd__img {
  width: 62px; height: 62px; object-fit: contain;
  flex: 0 0 auto; order: -1;
  background: #fff;
}
.dd__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dd__info p {
  font-size: 12px; line-height: 1.8; color: #23254b; text-align: right;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.dd__line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.dd__qty {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid #ededf0; border-radius: 20px; padding: 2px;
}
.dd__qty > span {
  min-width: 26px; text-align: center;
  font-size: 12.5px; font-weight: 700; color: var(--rs-primary, #183661);
}
.dd__qty > span small { display: block; font-size: 8.5px; font-weight: 400; color: #9da0a8; }
.dd__q {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rs-primary, #183661); background: none;
}
.dd__q svg { width: 15px; height: 15px; }
.dd__q:hover { background: #fdecef; }

.dd__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.dd__price-top { display: flex; align-items: center; gap: 5px; }
.dd__price-top b {
  padding: 1px 6px; border-radius: 10px;
  background: var(--rs-primary, #183661); color: #fff; font-size: 10px; font-weight: 700;
}
.dd__price-top s { font-size: 10px; color: #c0c2c5; }
.dd__price-now { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: #23254b; }

.dd__empty { padding: 26px 14px; text-align: center; font-size: 12.5px; color: #9da0a8; }
.dd__foot { padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.dd__total { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.dd__total-top { display: flex; align-items: center; gap: 5px; }
.dd__off {
  padding: 1px 6px; border-radius: 10px;
  background: #ef4056; color: #fff; font-size: 10px; font-weight: 700;
}
.dd__total-top s { font-size: 10px; color: #c0c2c5; }
.dd__total-now { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 700; color: #23254b; }
.dd__cta {
  flex: 1 1 auto;
  background: var(--rs-primary, #183661); color: #fff; text-decoration: none;
  border-radius: 8px; padding: 12px 26px;
  font-size: 13px; font-weight: 700; text-align: center;
}
.dd__cta:hover { background: #e02e45; }
.dd__list { list-style: none; margin: 0; padding: 6px 0; }
.dd__list a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 12.5px; color: #23254b; text-decoration: none;
}
.dd__list a:hover { background: #f7f7f9; }
.dd__list svg { width: 18px; height: 18px; color: #81858b; }

/* مگامنو: باریک‌تر و بلندتر، زیر دکمه «دسته‌بندی محصولات» */
.megamenu {
  position: absolute;
  top: 100%;
  right: max(16px, calc((100% - 1520px) / 2 + 16px));
  left: auto;
  display: flex;
  width: min(940px, calc(100% - 32px));
  max-width: none;
  margin: 0;
  min-height: 480px;
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 60;
}
.megamenu[hidden] { display: none; }
.megamenu__side {
  list-style: none; margin: 0; padding: 8px 0;
  width: 190px; flex: 0 0 auto;
  border-left: 1px solid #f2f2f4;
  max-height: min(640px, calc(100vh - 170px)); overflow-y: auto;
}
.megamenu__side li {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; font-size: 12.5px; color: #23254b; cursor: pointer;
}
.megamenu__side li.is-active { color: var(--rs-primary, #183661); background: var(--rs-primary-soft, #eef2f8); }
.megamenu__side li a { color: inherit; text-decoration: none; display: block; width: 100%; }
.megamenu__panel {
  flex: 1 1 auto; min-width: 0; padding: 18px 20px;
  max-height: min(640px, calc(100vh - 170px)); overflow-y: auto;
}
.megaall {
  display: inline-flex; align-items: center; gap: 3px;
  margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; color: #1672dd; text-decoration: none;
}
.megaall svg { width: 15px; height: 15px; }
.megagroups {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px;
  align-content: start;
}
.megagroup__title { font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.megagroup__title a { color: var(--rs-primary, #183661); text-decoration: none; }
.megagroup__title a:hover { text-decoration: underline; }
.megagroup ul { list-style: none; margin: 0; padding: 0; }
.megagroup a { display: block; padding: 5px 0; font-size: 12px; color: #62666d; text-decoration: none; }
.megagroup a:hover { color: #23254b; }

/* ============================================================
   فوتر
   ============================================================ */
.sfooter { border-top: 1px solid #f0f0f2; background: #fff; }
.sfooter__inner { max-width: 1520px; margin: 0 auto; padding: 24px 16px 40px; }

.sfooter__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sfooter__logo img { height: 60px; width: auto; display: block; }
.sfooter__totop {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid #e0e0e2; border-radius: 8px;
  padding: 8px 14px; font-size: 12.5px; color: #23254b;
}
.sfooter__totop svg { width: 16px; height: 16px; }

.sfooter__phone { margin-top: 14px; font-size: 12px; color: #62666d; }
.sfooter__phone b { font-weight: 400; color: #23254b; }
.sfooter__phone span { margin-right: 10px; }

.sfeatures {
  list-style: none; margin: 30px 0 34px; padding: 0;
  display: flex; justify-content: space-between; gap: 16px;
}
.sfeatures li {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11.5px; color: #62666d; text-align: center;
}
.sfeatures__ic {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #62666d;
}
.sfeatures__ic svg { width: 30px; height: 30px; }
.sfeatures__ic img { width: 34px; height: 34px; object-fit: contain; }

.scols { display: flex; gap: 30px; }
.scol { flex: 1 1 0; }
.scol__title {
  display: block; width: 100%; text-align: right;
  font-size: 13px; font-weight: 700; color: #23254b; margin-bottom: 14px;
}
.scol__chev { display: none; }
.scol__list { list-style: none; margin: 0; padding: 0; }
.scol__list li a { display: block; padding: 5px 0; font-size: 12.5px; color: #62666d; text-decoration: none; }
.scol__list li a:hover { color: #23254b; }

.ssocial { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.ssocial a {
  color: #9da0a8; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: 0 0 22px;
}
.ssocial svg, .ssocial a img {
  width: 22px; height: 22px; max-width: 22px; max-height: 22px;
  display: block; object-fit: contain;
}
.snews__title { font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.snews { display: flex; gap: 8px; }
.snews input {
  flex: 1 1 auto; min-width: 0;
  background: #f0f0f1; border: 0; border-radius: 8px;
  padding: 0 12px; height: 40px; font: inherit; font-size: 12.5px;
}
.snews input::placeholder { color: #a1a3a8; }
.snews button {
  background: #f0f0f1; color: #a1a3a8;
  border-radius: 8px; padding: 0 18px; height: 40px; font-size: 12.5px;
}

.sapp {
  display: flex; align-items: center; gap: 16px;
  background: #23254b; color: #fff;
  border-radius: 10px; padding: 14px 18px; margin: 32px 0 26px;
}
.sapp__logo img { height: 22px; width: auto; display: block; }
.sapp__title { font-size: 13px; font-weight: 700; }
.sapp__badges { margin-right: auto; display: flex; gap: 10px; }
.sapp__badges img { height: 38px; width: auto; border-radius: 6px; display: block; }

.sabout { display: flex; gap: 30px; align-items: flex-start; padding-top: 22px; border-top: 1px solid #f0f0f2; }
.sabout__text { flex: 1 1 auto; }
.sabout__text h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.sabout__text p {
  font-size: 11.5px; line-height: 2.1; color: #9da0a8; text-align: justify;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.sabout.is-open .sabout__text p { display: block; -webkit-line-clamp: none; line-clamp: none; }
.sabout__more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; font-size: 12px; color: #1672dd;
}
.sabout__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.sabout.is-open .sabout__more svg { transform: rotate(180deg); }
.sabout__trust { display: flex; gap: 10px; flex: 0 0 auto; }
.sabout__trust a { display: block; }
.sabout__trust img {
  width: 76px; height: 76px; object-fit: contain;
  border: 1px solid #ededf0; border-radius: 8px; padding: 6px; background: #fff;
}

/* ============================================================
   منوی پایین موبایل
   ============================================================ */
.mnav { display: none; }

/* ============================================================
   نمایش/مخفی‌سازی بر اساس کلاس‌های body
   ============================================================ */
:host(.no-dheader) .topstrip,
:host(.no-dheader) .dheader { display: none; }
:host(.no-footer) .sfooter { display: none; }

@media (max-width: 768px) {
  .topstrip, .dheader { display: none; }

  .sfooter__inner { padding: 18px 14px 24px; }
  .sfooter__top { justify-content: center; }
  .sfooter__logo { display: none; }
  .sfooter__totop { border-radius: 999px; }
  .sfooter__phone { text-align: center; margin-top: 16px; }
  .sfooter__phone span { display: block; margin: 6px 0 0; }

  .sfeatures { display: none; }

  .scols { flex-direction: column; gap: 0; }
  .scol { border-bottom: 1px solid #f0f0f2; }
  .scol__title {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 2px; margin: 0;
  }
  .scol__chev { display: block; width: 18px; height: 18px; color: #62666d; transition: transform .2s ease; }
  .scol.is-open .scol__chev { transform: rotate(180deg); }
  .scol__list { display: none; padding-bottom: 14px; }
  .scol.is-open .scol__list { display: block; }

  .sapp { flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
  .sapp__badges {
    margin: 0; width: 100%;
    overflow-x: auto; scrollbar-width: none;
  }
  .sapp__badges::-webkit-scrollbar { display: none; }
  .sapp__badges img { height: 34px; flex: 0 0 auto; }

  .sabout { flex-direction: column; gap: 16px; }
  .sabout__trust { flex-wrap: wrap; }

  /* منوی پایین */
  .mnav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 45;
    display: flex;
    background: #fff;
    border-top: 1px solid #f0f0f2;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mnav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: 10.5px; color: #62666d; text-decoration: none;
  }
  .mnav__item > span:not(.mnav__ic) {
    max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mnav__item svg { width: 22px; height: 22px; }
  .mnav__item.is-active { color: var(--rs-primary, #183661); }
  .mnav__ic { position: relative; display: block; overflow: visible; line-height: 0; }
  .mnav__badge {
    position: absolute;
    top: -4px; left: -8px;
    min-width: 16px; height: 16px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: #ef4056; color: #fff;
    font-size: 9.5px; font-weight: 700;
    border: 1.5px solid #fff; border-radius: 9px;
  }

  body:not(.no-mnav) { padding-bottom: 64px; }
  body.no-mnav .mnav { display: none; }
  body.no-footer-m .sfooter { display: none; }
}

/* آیکن تومان؛ هیچ‌جا کلمه‌ی «تومان» نوشته نمی‌شود */
.toman-icon { width: 13px; height: 13px; object-fit: contain; opacity: .85; vertical-align: -2px; }
.topstrip .toman-icon { filter: brightness(0) invert(1); opacity: .95; }


/* ============================================================
   پاپ‌آپ جستجو
   ============================================================ */
.spanel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0; left: 0;
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  padding: 16px;
  z-index: 70;
  display: flex; flex-direction: column; gap: 18px;
}
.spanel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.spanel__head h4 { font-size: 12.5px; font-weight: 700; color: #23254b; }
.spanel__clear { background: none; font-size: 11.5px; color: #9da0a8; }
.spanel__clear:hover { color: var(--rs-primary, #183661); }
.spanel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spanel__chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border: 1px solid #ededf0;
  border-radius: 18px;
  font-size: 12px; color: #3f4064; text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.spanel__chip:hover { border-color: var(--rs-primary, #183661); color: var(--rs-primary, #183661); }
.spanel__chip svg { width: 13px; height: 13px; color: #9da0a8; }
.spanel__empty { font-size: 12px; color: #9da0a8; }

.spanel__banner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1f3f9e, #2b55c8);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.spanel__banner-body { display: flex; flex-direction: column; gap: 6px; }
.spanel__banner-body b { font-size: 14px; font-weight: 700; }
.spanel__banner-body span { font-size: 11.5px; opacity: .9; }
.spanel__banner-body i {
  align-self: flex-start;
  margin-top: 6px;
  padding: 5px 20px;
  border-radius: 16px;
  background: #fff; color: #23254b;
  font-style: normal; font-size: 11.5px; font-weight: 700;
}
.spanel__banner img { width: 120px; height: 90px; object-fit: contain; flex: 0 0 auto; }

/* جستجوی تمام‌صفحه‌ی موبایل */
.msearch {
  position: fixed; inset: 0; z-index: 95;
  background: #fff;
  display: flex; flex-direction: column;
}
.msearch__head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f2;
}
.msearch__back { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #23254b; background: none; }
.msearch__back svg { width: 22px; height: 22px; }
.msearch__field {
  flex: 1 1 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ededf0; border-radius: 12px;
}
.msearch__field svg { width: 18px; height: 18px; color: #9da0a8; }
.msearch__field input { flex: 1 1 auto; border: 0; background: none; font-size: 12.5px; }
.msearch__cam {
  width: 30px; height: 30px; border-radius: 8px;
  background: #f3f0fd; color: #7a5af5;
  display: flex; align-items: center; justify-content: center;
}
.msearch__body { flex: 1 1 auto; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 20px; }

/* ============================================================
   لپ‌تاپ و تبلت (۷۶۹ تا ۱۲۸۰ پیکسل)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1280px) {
  .dheader__main { gap: 12px; padding: 12px 14px; }
  .dsearch-wrap { max-width: none; }
  .dnav { gap: 12px; padding: 0 14px 10px; }
  .dnav__links { gap: 12px; }
  .dnav__links a { font-size: 12px; }
  .megamenu { width: min(900px, calc(100% - 28px)); right: 14px; }
  .megagroups { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) and (max-width: 1100px) {
  /* نوار پیوندهای هدر در عرض کم، افقی اسکرول می‌شود تا بیرون نزند */
  .dnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .dnav::-webkit-scrollbar { display: none; }
  .dnav__cats,
  .dnav__addr { flex: 0 0 auto; }
  .dnav__addr { margin-right: 12px; }
  .dnav__links { flex: 0 0 auto; }

  .dheader__logo img { height: 22px; }
  .dact--login span { display: none; }

  .megagroups { grid-template-columns: repeat(2, 1fr); }
  .sfooter__cols { gap: 18px; }
  .sabout { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* پیام کوتاه */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 18px);
  z-index: 120;
  max-width: 88vw;
  padding: 12px 20px;
  border-radius: 10px;
  background: #23254b;
  color: #fff;
  font-size: 12.5px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 768px) { .toast { bottom: 84px; } }

/* ============================================================
   آیکن تومان همیشه کنار قیمت می‌ماند (هیچ‌وقت به سطر بعد نمی‌افتد)
   ============================================================ */
.toman-icon { flex: 0 0 auto; }

.main-price,
.new-price,
.hcard__now,
.pcard__now,
.acc-prod__now,
.acc-gift__amount,
.acc-shipitem__price,
.rec-card__price,
.saved-item__price,
.cart-row__now,
.relcard__price,
.dd__price-now,
.dd__total-now,
.cbar__price,
.ko-ship-cost,
.sum-row b,
.topstrip__slide span,
.acc-mwallet b,
.acc-wallet__head span {
  white-space: nowrap;
}

/* هر عنصری که مستقیم آیکن تومان دارد */
:is(span, b, div, p, a):has(> .toman-icon) {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

/* لودر مرحله‌ای سبک و اسکلت بخش‌های دیررس */
.site-skeleton-target { position:relative !important; }
.site-skeleton-mask { position:absolute; z-index:50; inset:0; overflow:hidden; min-height:150px; padding:16px; border-radius:inherit; background:#fff; pointer-events:none; }
.site-skeleton-mask__heading,.site-skeleton-mask__card i,.site-skeleton-mask__card b,.site-skeleton-mask__card em { display:block; border-radius:4px; background:linear-gradient(100deg,#eeeeef 25%,#f8f8f8 42%,#e9e9eb 62%); background-size:220% 100%; animation:site-shimmer 1.35s ease-in-out infinite; }
.site-skeleton-mask__heading { width:min(32%,190px); height:16px; margin-bottom:14px; }
.site-skeleton-mask__cards { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.site-skeleton-mask__card { min-width:0; padding:0 3px 10px; background:#fff; }
.site-skeleton-mask__card i { height:clamp(72px,12vw,132px); border-radius:8px; margin-bottom:5px; }
.site-skeleton-mask__card b { height:11px; margin:4px 0; }
.site-skeleton-mask__card b:last-child { width:72%; }
.site-skeleton-mask__card em { width:55%; height:22px; border-radius:14px; margin:10px 0 0 auto; }
.site-loader { position:fixed; inset:0; z-index:99999; pointer-events:none; background:#fff; transition:opacity .2s ease,visibility .2s ease; }
.site-loader.is-skeleton-phase { background:transparent; }
.site-loader.is-hidden { opacity:0; visibility:hidden; }
.site-loader__dots { position:absolute; left:50%; top:50%; display:flex; gap:4px; transform:translate(-50%,-50%); }
.site-loader__dots i { width:5px; height:5px; border-radius:50%; background:#999; animation:site-dot 1s infinite ease-in-out; }
.site-loader__dots i:nth-child(2) { animation-delay:.15s; }
.site-loader__dots i:nth-child(3) { animation-delay:.3s; }
.site-loader.is-skeleton-phase .site-loader__dots { display:none; }
.login-splash { position:fixed; inset:0; z-index:100000; display:grid; place-items:center; background:#155dfb; transition:opacity .35s ease,visibility .35s ease; }
.login-splash.is-hidden { opacity:0; visibility:hidden; }
.login-splash__brand { display:flex; align-items:center; gap:16px; }
.login-splash__icon { width:70px; height:70px; border-radius:22px; background:#fff; display:grid; place-items:center; opacity:0; animation:splash-icon .35s .1s ease forwards; }
.login-splash__icon svg { width:44px; height:44px; fill:#155dfb; }
.login-splash__wordmark { color:#fff; direction:ltr; font-size:48px; line-height:1; letter-spacing:-3px; font-weight:700; font-family:Arial,Vazirmatn,sans-serif; clip-path:inset(0 100% 0 0); animation:splash-word .55s .65s ease forwards; }
@keyframes splash-icon { to { opacity:1; transform:scale(1.04); } }
@keyframes splash-word { to { clip-path:inset(0 0 0 0); } }
@keyframes site-shimmer { to { background-position:-220% 0; } }
@keyframes site-dot { 0%,60%,100% { opacity:.35; transform:translateY(0); } 30% { opacity:1; transform:translateY(-3px); } }
@media(max-width:600px) { .site-skeleton-mask { padding:10px; } .site-skeleton-mask__cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .site-skeleton-mask__card:nth-child(n+3) { display:none; } .login-splash__brand { transform:scale(.78); } }
@media(prefers-reduced-motion:reduce) { .site-skeleton-mask__heading,.site-skeleton-mask__card i,.site-skeleton-mask__card b,.site-skeleton-mask__card em,.site-loader__dots i { animation-duration:2.5s; } }

/* وضعیت ورود در هدر */
.dact--account { width:58px; height:38px; gap:5px; padding:0 8px; border:1px solid #ededf0; }
.dact--account .dact__avatar { width:21px; height:21px; }
.dact--account .dact__chevron { width:14px; height:14px; }
.dd--acc { width:250px; max-width:min(250px,calc(100vw - 24px)); left:0; right:auto; top:calc(100% + 8px); }
.dd--acc .dd__head--link { display:block; padding:16px 15px; color:#343653; text-decoration:none; border-bottom:1px solid #ededf0; }
.dd--acc .dd__list { padding:3px 0; }
.dd--acc .dd__list li + li { border-top:1px solid #f0f0f2; }
.dd--acc .dd__list a { min-height:43px; padding:10px 14px; font-weight:600; }
@media(max-width:768px) { .dd--acc { position:absolute; } }

.dd--acc .dd__plus { color:#d52cbd; font-weight:700; }
.dd--acc .dd__plus svg { color:#d52cbd; }

/* Bottom bar: the categories entry is a button, the cart carries its count. */
button.mnav__item { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.mnav__badge { font-style: normal; }
.mnav__badge[hidden] { display: none; }

/* blog */


/* ============================================================
   بلاگ: صفحه اصلی بلاگ، صفحه مقاله، آخرین مقاله‌ها
   ============================================================ */

.bl, .ba { --bl-gap: 16px; --bl-accent: var(--sw-accent, var(--rs-primary, #183661)); color: var(--c-text, #23254b); font-size: 13px; line-height: 1.9; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- کارت مقاله ---------- */
.bl-card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #ededf0; min-width: 0; transition: transform .2s ease; box-shadow: none; }
.bl-card:hover { transform: translateY( -2px ); }
.bl-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #eceef2; overflow: hidden; }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bl-card__cat { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 10px; border-radius: 999px; background: rgba( 255, 255, 255, .92 ); color: var( --bl-accent ); font-style: normal; font-size: 11px; font-weight: 700; }
.bl-card__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 12px; flex: 1 1 auto; }
.bl-card__title { font-size: 13.5px; font-weight: 700; line-height: 1.9; color: #2a2c4e; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.8em; }
.bl-card__ex { font-size: 12px; color: #62666d; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card__meta { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 11.5px; color: #8a8f99; }
.bl-card__go { display: inline-flex; align-items: center; gap: 2px; color: #1672dd; font-size: 12px; margin-inline-end: auto; }
.bl-card__go svg, .bl-card__time svg { width: 14px; height: 14px; }
.bl-card__time { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- صفحه اصلی بلاگ ---------- */
.bl-top { display: grid; grid-template-columns: minmax( 0, 1fr ) 320px; gap: var( --bl-gap ); align-items: start; margin-bottom: 28px; }
.bl-main { display: flex; flex-direction: column; gap: var( --bl-gap ); min-width: 0; }
.bl-hero { position: relative; height: 380px; border-radius: 20px; overflow: hidden; background: #14213d; }
.bl-hero__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.bl-hero__track::-webkit-scrollbar { display: none; }
.bl-hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: block; }
.bl-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.bl-hero__shade { position: absolute; inset: 0; background: linear-gradient( to top, rgba( 8, 14, 30, .85 ), rgba( 8, 14, 30, 0 ) 60% ); }
.bl-hero__text { position: absolute; inset-inline: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.bl-hero__text b { font-size: 18px; line-height: 1.8; }
.bl-hero__text small { opacity: .8; font-size: 12px; }
.bl-hero__nav { position: absolute; top: 50%; transform: translateY( -50% ); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba( 255, 255, 255, .9 ); color: #23254b; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bl-hero__nav.is-prev { right: 12px; }
.bl-hero__nav.is-next { left: 12px; }
.bl-hero__nav svg { width: 18px; height: 18px; }
.bl-hero__dots { position: absolute; bottom: 8px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.bl-hero__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba( 255, 255, 255, .5 ); cursor: pointer; }
.bl-hero__dots i.is-on { width: 20px; border-radius: 4px; background: #fff; }

.bl-grid { display: grid; grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); gap: var( --bl-gap ); }

.bl-side { background: #fff; border: 1px solid #ededf0; border-radius: 20px; padding: 16px 14px; }
.bl-side h2, .ba-box h2 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #23254b; }
.bl-mini { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f3f3f5; align-items: flex-start; }
.bl-mini:last-of-type { border-bottom: 0; }
.bl-mini__img { flex: 0 0 64px; height: 64px; border-radius: 10px; background: #eceef2; overflow: hidden; }
.bl-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.bl-mini__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bl-mini__body b { font-size: 12.5px; line-height: 1.8; color: #2a2c4e; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-mini__body small { font-size: 11px; color: #8a8f99; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-side__all { display: flex; align-items: center; gap: 4px; margin-top: 8px; color: #1672dd; font-size: 12.5px; }
.bl-side__all svg { width: 15px; height: 15px; }

.bl-sec { margin-bottom: 30px; }
.bl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bl-head h2 { margin: 0; font-size: 15px; font-weight: 700; color: #23254b; }
.bl-head a { display: inline-flex; align-items: center; gap: 2px; color: #1672dd; font-size: 12.5px; }
.bl-head a svg { width: 15px; height: 15px; }

/* ردیف کارت‌ها: دسکتاپ می‌شکند، تبلت و موبایل اسکرول افقی با کارت نیمه‌پیدا */
.bl-rail { display: flex; flex-wrap: wrap; gap: var( --bl-gap ); }
.bl-rail > .bl-card { flex: 0 0 calc( ( 100% - ( var( --bl-cols, 4 ) - 1 ) * var( --bl-gap ) ) / var( --bl-cols, 4 ) ); }
@media ( max-width: 1024px ) {
	.bl-rail > .bl-card { flex-basis: calc( ( 100% - ( var( --bl-cols-t, 2.3 ) - 1 ) * var( --bl-gap ) ) / var( --bl-cols-t, 2.3 ) ); }
}
@media ( max-width: 767px ) {
	.bl-rail > .bl-card { flex-basis: calc( ( 100% - ( var( --bl-cols-m, 1.5 ) - 1 ) * var( --bl-gap ) ) / var( --bl-cols-m, 1.5 ) ); }
}

/* ---------- صفحه مقاله ---------- */
.ba { --ba-side: 340px; --ba-radius: 20px; }
.ba-hero { position: relative; height: 340px; border-radius: var( --ba-radius ); overflow: hidden; background: #14213d; margin-bottom: 16px; }
.ba-hero img { width: 100%; height: 100%; object-fit: cover; }
.ba-hero__shade { position: absolute; inset: 0; background: linear-gradient( to top, rgba( 8, 14, 30, .88 ), rgba( 8, 14, 30, .05 ) 65% ); }
.ba-hero__text { position: absolute; inset-inline: 26px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #fff; }
.ba-hero__cat { padding: 2px 12px; border-radius: 999px; background: var( --bl-accent ); color: #fff; font-size: 11.5px; }
.ba-hero__title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.9; color: #fff; }
.ba-hero__title.is-plain { color: #23254b; margin-bottom: 14px; }
.ba-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; opacity: .92; }
.ba-share { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: inherit; cursor: pointer; font-size: 12px; }
.ba-share svg { width: 15px; height: 15px; }

.ba-body { display: grid; grid-template-columns: minmax( 0, 1fr ) var( --ba-side ); gap: 16px; align-items: start; }
.ba.is-side-start .ba-body { grid-template-columns: var( --ba-side ) minmax( 0, 1fr ); }
.ba.is-side-start .ba-side { order: -1; }
.ba:not( .has-side ) .ba-body { grid-template-columns: minmax( 0, 1fr ); }
.ba-text { background: #fff; border: 1px solid #ededf0; border-radius: var( --ba-radius ); padding: 26px 30px; min-width: 0; }
.ba-intro { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #f4f6fa; color: #3f4064; font-weight: 600; }

/* متن مقاله: استایل خود افزونه، نه آنچه از بیرون چسبانده شده */
.ba-prose { font-size: 14px; line-height: 2.2; color: #2f3150; overflow-wrap: anywhere; }
.ba-prose p { margin: 0 0 14px; }
.ba-prose h2 { margin: 26px 0 10px; font-size: 18px; color: #183661; line-height: 1.8; }
.ba-prose h3 { margin: 22px 0 8px; font-size: 16px; color: #23254b; }
.ba-prose h4 { margin: 18px 0 6px; font-size: 14.5px; }
.ba-prose a { color: #1672dd; }
.ba-prose ul, .ba-prose ol { margin: 0 0 14px; padding-inline-start: 22px; }
.ba-prose li { margin-bottom: 4px; }
.ba-prose blockquote { margin: 16px 0; padding: 10px 16px; border-inline-start: 4px solid var( --bl-accent ); background: #f6f8fb; border-radius: 8px; }
.ba-prose pre, .ba-prose code { direction: ltr; text-align: left; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: #f1f3f6; border-radius: 6px; }
.ba-prose code { padding: 1px 6px; }
.ba-prose pre { padding: 12px 14px; overflow-x: auto; margin: 0 0 14px; }
.ba-prose pre code { padding: 0; background: none; }
.ba-prose figure { margin: 18px 0; text-align: center; }
.ba-prose figure img { margin: 0 auto; border-radius: 12px; height: auto; }
.ba-prose figcaption { margin-top: 6px; font-size: 12px; color: #8a8f99; }
.ba-prose img { max-width: 100%; height: auto; }
.ba-prose .bl-table { margin: 16px 0; overflow-x: auto; border: 1px solid #e3e6ec; border-radius: 12px; }
.ba-prose table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.ba-prose th, .ba-prose td { padding: 10px 14px; border-bottom: 1px solid #eceef2; text-align: start; }
.ba-prose th { background: #f1f4f9; color: #183661; font-weight: 700; white-space: nowrap; }
.ba-prose tr:last-child td { border-bottom: 0; }
.ba-prose caption { padding: 8px; font-size: 12px; color: #62666d; caption-side: bottom; }
.ba-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #f0f2f5; }
.ba-tags a { padding: 3px 12px; border-radius: 999px; background: #f1f3f6; color: #62666d; font-size: 12px; }

.ba-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ba-box { background: #fff; border: 1px solid #ededf0; border-radius: var( --ba-radius ); padding: 16px 16px 14px; }
.ba-products h2 { text-align: center; }
.ba-slider { position: relative; overflow: hidden; }
.ba-slider__track { display: flex; transition: transform .45s ease; }
.ba-prod { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 28px 6px; text-align: center; }
.ba-prod__img { display: block; width: 100%; aspect-ratio: 1; }
.ba-prod__img img { width: 100%; height: 100%; object-fit: contain; }
.ba-prod__title { font-size: 12.5px; font-weight: 700; line-height: 1.9; color: #2a2c4e; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ba-prod__price { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ba-prod__off { display: flex; align-items: center; gap: 6px; }
.ba-prod__off b { padding: 1px 7px; border-radius: 10px; background: #ef4056; color: #fff; font-size: 10.5px; }
.ba-prod__off s { color: #b3b6bd; font-size: 11px; }
.ba-prod__now { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 800; }
.ba-prod__now img { width: 13px; height: 13px; }
.ba-prod__btn { display: block; width: 100%; padding: 9px 12px; border-radius: 10px; background: #ef4056; color: #fff; font-size: 13px; font-weight: 700; }
.ba-prod__btn.is-ask { background: var( --bl-accent ); }
.ba-slider__nav { position: absolute; top: 40%; width: 26px; height: 26px; border: 0; background: none; color: #62666d; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ba-slider__nav.is-prev { right: 0; }
.ba-slider__nav.is-next { left: 0; }
.ba-slider__nav svg { width: 20px; height: 20px; }
.ba-banner { display: block; border-radius: var( --ba-radius ); overflow: hidden; }
.ba-banner img { width: 100%; height: auto; }

/* ---------- تبلت ---------- */
@media ( max-width: 1024px ) {
	.bl-top { grid-template-columns: minmax( 0, 1fr ); }
	.bl-hero { height: 320px; }
	.bl-rail { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
	.bl-rail::-webkit-scrollbar { display: none; }
	.bl-rail > .bl-card { scroll-snap-align: start; }
	.ba-body, .ba.is-side-start .ba-body { grid-template-columns: minmax( 0, 1fr ); }
	.ba.is-side-start .ba-side { order: 0; }
	.ba-hero { height: 300px; }
}

/* ---------- موبایل ---------- */
@media ( max-width: 768px ) {
	.bl-hero { height: 230px; border-radius: 16px; }
	.bl-hero__text b { font-size: 14.5px; }
	.bl-hero__nav { display: none; }
	.bl-grid { grid-template-columns: minmax( 0, 1fr ); }
	.bl-card { border-radius: 16px; }
	.ba-hero { height: 230px; border-radius: 16px; }
	.ba-hero__text { inset-inline: 16px; bottom: 14px; }
	.ba-hero__title { font-size: 16px; }
	.ba-text { padding: 18px 16px; border-radius: 16px; }
	.ba-prose { font-size: 13.5px; }
	.ba-box { border-radius: 16px; }
}

/* Banners under the side lists, and the full article list with its pager. */
.bl-banners { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.bl-banner { display: block; border-radius: 16px; overflow: hidden; }
.bl-banner img { width: 100%; height: auto; }
.ba-side .bl-banners { margin-top: 0; }
.bl-allgrid { display: grid; grid-template-columns: repeat( var( --bl-all-cols, 4 ), minmax( 0, 1fr ) ); gap: var( --bl-gap ); }
.bl-pager { display: flex; justify-content: center; margin: 26px 0 6px; }
.bl-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; margin: 0 3px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid #ededf0; color: #23254b; font-size: 13px; }
.bl-pager .page-numbers.current { background: var( --bl-accent ); border-color: var( --bl-accent ); color: #fff; }
@media ( max-width: 1024px ) { .bl-allgrid { grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); } }
@media ( max-width: 768px ) { .bl-allgrid { grid-template-columns: minmax( 0, 1fr ); } }

.rs-shadow{visibility:visible;animation:none}
