@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, 'IRANYekanX', '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__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: 0; left: 0;
  display: flex;
  max-width: 1520px;
  margin: 0 auto;
  min-height: 320px;
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 0 0 10px 10px;
  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: 220px; flex: 0 0 auto;
  border-left: 1px solid #f2f2f4;
  max-height: 420px; 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; padding: 18px 20px;
  max-height: 420px; 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(4, 1fr); gap: 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: 28px; 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; gap: 14px; margin-bottom: 18px; }
.ssocial a { color: #9da0a8; }
.ssocial svg { width: 24px; height: 24px; }
.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__panel { max-height: 380px; }
  .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; }

/* chrome */
/* ============================================================
   Site chrome: the phone headers and the product-page call strip.

   The header, menus and footer are drawn in their own shadow roots
   (Site_Chrome, and the header / footer widgets), which load common.css
   and this file. The template keeps each phone header's rules in that
   page's own sheet (single-product, home, shop, static); they are
   gathered here, with the template's values, so every header has its
   styles on every page. The root's host is what sticks (root_style()),
   so the headers themselves stay in the flow.
   ============================================================ */

.mheader,
.sh-mhead,
.ct-mhead,
.st-mhead { display: none; }

/* shared round icon buttons (template single-product.css .mh-btn) */
.mh-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #23254b;
  position: relative;
  background: none;
  text-decoration: none;
  flex: 0 0 auto;
}
.mh-btn svg { width: 23px; height: 23px; }
.mh-actions { display: flex; align-items: center; gap: 2px; }
.mh-logo, .st-mhead__logo { display: flex; align-items: center; text-decoration: none; color: #23254b; }
.mh-logo img, .st-mhead__logo img { max-height: 30px; width: auto; }
.mh-logo .rs-brand b, .st-mhead__logo .rs-brand b { font-size: 15px; font-weight: 800; }
.mh-logo .rs-brand small, .st-mhead__logo .rs-brand small { display: none; }

@media (max-width: 768px) {
  /* product page (template single-product.css) */
  .mheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    min-height: var(--rs-mh-h, 50px);
    background: #fff;
  }

  /* shop page (template shop.css) */
  .sh-mhead {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #f0f0f2;
  }
  .sh-mhead__back { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #23254b; background: none; flex: 0 0 auto; }
  .sh-mhead__back svg { width: 22px; height: 22px; }
  .sh-msearch {
    flex: 1 1 auto;
    min-width: 0;
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f0f0f1;
  }
  .sh-msearch svg { width: 18px; height: 18px; color: #9da0a8; flex: 0 0 auto; }
  .sh-msearch input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font-size: 12.5px; outline: 0; }

  /* home page (template home.css) */
  .ct-mhead { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 12px 4px; background: #fff; border-bottom: 1px solid #f0f0f2; }
  .home-mobile-search-row { display: flex; align-items: center; gap: 10px; height: 44px; }
  .ct-msearch { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; height: 40px; padding: 3px 8px; border: 1px solid #ededf0; border-radius: 24px; background: #fff; }
  .ct-msearch > svg { flex: 0 0 18px; width: 18px; height: 18px; color: #9da0a8; }
  .ct-msearch input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font-size: 11px; outline: 0; }
  .home-mobile-search-brand { color: #d90035; font-size: 12px; font-weight: 800; white-space: nowrap; }
  .home-mobile-notification { position: relative; flex: 0 0 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #e8e8ec; border-radius: 50%; color: #344064; background: #fff; text-decoration: none; }
  .home-mobile-notification svg { width: 21px; height: 21px; }
  .home-mobile-notification i { position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: #e5324b; }

  /* text pages (template static.css) */
  .st-mhead {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #f0f0f2;
  }
  .st-mhead__back { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: none; color: #23254b; flex: 0 0 auto; }
  .st-mhead__back svg { width: 22px; height: 22px; }
  .st-mhead__title { font-size: 15px; font-weight: 700; color: #23254b; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .st-mhead__actions { margin-right: auto; }
}

/* ============================================================
   Product page call strip (phone), in the template's bottom-bar shape
   ============================================================ */
.mcall { display: none; }

@media (max-width: 768px) {
  .mcall {
    position: fixed;
    right: 0; left: 0; bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 12px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -6px 18px rgba(0,0,0,.10);
  }
  .mcall__title { display: flex; flex-direction: column; align-items: flex-end; text-align: left; min-width: 0; }
  .mcall__title b { font-size: 15px; font-weight: 800; color: var(--rs-primary, #183661); white-space: nowrap; }
  .mcall__title small { font-size: 11px; color: #81858b; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .mcall__people { display: flex; align-items: flex-start; gap: 10px; }
  .mcall__person { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: #3f4064; font-size: 10px; max-width: 56px; }
  .mcall__person > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .mcall__avatar {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--rs-primary, #183661);
    padding: 2px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
  }
  .mcall__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  .mcall__avatar em { font-style: normal; font-weight: 700; font-size: 15px; color: #23254b; width: 100%; height: 100%; border-radius: 50%; background: #f0f0f1; display: flex; align-items: center; justify-content: center; }
  .mcall__avatar.is-online::after { content: ''; position: absolute; bottom: 1px; left: 1px; width: 10px; height: 10px; border-radius: 50%; background: #00a049; border: 2px solid #fff; }
}

/* ============================================================
   Mega menu additions: red column headings with «›», and a column
   of products shown as image tiles (the site's «ضدیخ»).
   ============================================================ */
.megagroup__title > span { color: var(--rs-primary, #183661); }
.megagroup__title a, .megagroup__title > span { display: inline-flex; align-items: center; gap: 4px; padding: 0; font-size: 12.5px; font-weight: 700; }
.megaprods { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.megaprod { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 10px; border-radius: 12px; text-decoration: none; color: #23254b; font-size: 12.5px; text-align: center; transition: background .15s ease; }
.megaprod:hover { background: #f7f7f8; }
.megaprod__img { width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; color: #c9cad0; }
.megaprod__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.megaprod__img svg { width: 48px; height: 48px; }

/* header account icon widget */
.rs-dact { display: inline-block; }
.rs-dact .dact { color: var(--rs-dact-color, #23254b); text-decoration: none; background: none; }
.rs-dact .dact--login { border-color: var(--rs-dact-border, #e0e0e2); }

/* product header cart (template single-product.css .mh-cart) */
.mh-cart { color: var(--rs-primary, #183661) !important; text-decoration: none; }
.mh-cart__count { position: absolute; bottom: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 3px; display: flex; align-items: center; justify-content: center; background: #ef4056; color: #fff; font-size: 10px; font-weight: 700; border-radius: 4px; border: 1.5px solid #fff; }
.mh-cart__count[hidden] { display: none; }

/* ============================================================
   Search box: the template's .spanel and .msearch, plus the live
   results (the template has none: drawn in its type and colours).
   ============================================================ */
.msearch[hidden], .spanel[hidden], .rs-sres[hidden], .rs-sbox__clear[hidden] { display: none !important; }
.rs-sbox .dsearch { position: relative; }
.rs-sbox__clear { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #e7e7ea; color: #62666d; cursor: pointer; padding: 0; }
.rs-sbox__clear svg.lc { width: 14px; height: 14px; }
[data-sb-idle] { display: flex; flex-direction: column; gap: 20px; }
[data-sb-idle]:empty { display: none; }
.spanel__chip { text-decoration: none; cursor: pointer; }
.spanel__chip .rs-sb-x { margin-right: 4px; color: #c0c2c5; font-style: normal; }
.spanel__chip .rs-sb-x:hover { color: var(--rs-primary, #183661); }

.rs-sres { display: flex; flex-direction: column; gap: 16px; }
.rs-sres__sec h4 { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #9da0a8; display: flex; justify-content: space-between; }
.rs-sres__sec h4 b { font-weight: 400; }
.rs-sres__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; color: #23254b; }
.rs-sres__item:hover, .rs-sres__item.is-on { background: #f5f5f7; }
.rs-sres__img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 8px; background: #f3f3f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rs-sres__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rs-sres__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rs-sres__title { font-size: 12.5px; line-height: 1.8; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rs-sres__meta { font-size: 11px; color: #9da0a8; }
.rs-sres__tag { font-size: 10px; font-weight: 700; color: #ef4056; background: #fdecf0; border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.rs-sres mark { background: none; color: var(--rs-primary, #183661); font-weight: 700; }
.rs-sres__all { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 10px; border: 1px solid #ededf0; color: #1672dd; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.rs-sres__all:hover { background: #f7f9fd; }
.rs-sres__none { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-size: 13px; color: #3f4064; }
.rs-sres__none p { margin: 0; }
.rs-sres__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-sres__btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--rs-primary, #183661); border-radius: 8px; background: #fff; color: var(--rs-primary, #183661); font: inherit; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.rs-sres__btn svg.lc { width: 16px; height: 16px; }
.rs-sres__did { color: #1672dd; text-decoration: none; font-weight: 700; cursor: pointer; background: none; border: 0; font: inherit; padding: 0; }
.rs-sres__loading { font-size: 12px; color: #9da0a8; }
.spanel { max-height: min(70vh, 560px); overflow-y: auto; }

/* Search fields: no browser focus box or native clear button — the
   template draws its own border and × . */
.rs-sbox input[type="search"], .rs-msearch input { outline: 0 !important; box-shadow: none; -webkit-appearance: none; appearance: none; }
.rs-sbox input[type="search"]::-webkit-search-cancel-button,
.rs-sbox input[type="search"]::-webkit-search-decoration,
.rs-msearch input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }

/* Top bar: the close button, pictures in slides, the banner mode. */
.topbanner-wrap { position: relative; display: block; }
.topstrip__close {
  position: absolute; top: 50%; left: 10px; z-index: 3;
  transform: translateY(-50%);
  width: 26px; height: 26px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .22); color: #fff; cursor: pointer;
}
.topstrip__close:hover { background: rgba(0, 0, 0, .35); }
.topstrip__close svg { width: 14px; height: 14px; }
.topstrip__img { display: block; height: 28px; width: auto; max-width: 120px; object-fit: contain; }

/* «شماره تماس»: floating just above the phone's bottom bar. */
.mcallbtn { display: none; }
@media (max-width: 768px) {
  .mcallbtn {
    position: fixed; z-index: 46;
    left: 50%; bottom: calc(70px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 18px;
    border-radius: 999px;
    background: var(--rs-primary, #183661); color: #fff;
    font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
    box-shadow: 0 8px 22px rgba(24, 54, 97, .35);
    animation: mcallIn .35s ease both;
  }
  .mcallbtn:active { transform: translateX(-50%) scale(.97); }
  .mcallbtn svg { width: 18px; height: 18px; }
  @keyframes mcallIn { from { opacity: 0; transform: translate(-50%, 12px); } }
}

.mh-ds svg { width: 20px; height: 20px; }

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