/* =========================================================================
   bluTshirt — main theme stylesheet
   Mobile-first, RTL-first. Tokens come from tokens.css.
   Sections: base · layout · type · buttons/pills · badges · ticker · header
   · mobile menu · bottom nav · footer · home · faq · marquee · size-guide
   ========================================================================= */

/* ---------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-fa-num); /* FaNum renders Persian numerals */
  font-weight: var(--weight-body);
  font-size: var(--text-body-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-bottom-nav { padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { body.has-bottom-nav { padding-bottom: 0; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--text-link); text-decoration: none; transition: color var(--motion-fast) var(--motion-ease); }
a:hover { color: var(--blu-700); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
[data-lucide], .lucide { display: inline-block; vertical-align: middle; stroke-width: 1.75; flex: 0 0 auto; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Hidden above the viewport (no off-screen -9999px, which caused RTL overflow);
   slides in on keyboard focus. */
.skip-link { position: fixed; top: 8px; inset-inline-start: 16px; transform: translateY(-250%);
  background: var(--blu-500); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill);
  z-index: 1000; transition: transform var(--motion-base) var(--motion-ease); }
.skip-link:focus { transform: translateY(0); color: #fff; }

/* --------------------------------------------------------------- layout --- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }
/* Safety net against stray horizontal overflow (esp. RTL, where it shifts the
   viewport and clips the start of every line). overflow-x:clip keeps vertical
   position:sticky working. */
.site-content { overflow-x: clip; }
img, table { max-width: 100%; }
.section { margin-block: var(--space-7); }
.section--tight { margin-block: var(--space-6); }
.stack > * + * { margin-top: var(--space-4); }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--space-4); }
.section-head__title { font-size: var(--text-h3); font-weight: var(--weight-title); color: var(--text-strong); margin: 0; line-height: 1.3; }
.section-head__sub { font-size: var(--text-caption); font-weight: var(--weight-body); color: var(--muted); margin-top: 2px; }
.section-head__link { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-caption);
  font-weight: var(--weight-strong); color: var(--text-link); white-space: nowrap; } /* a11y: blu-500 = 2.6:1 بود */
.section-head__link svg { width: 15px; height: 15px; }
@media (min-width: 1024px) {
  .section-head__title { font-size: var(--text-h2); }
}

/* --------------------------------------------------------- type helpers --- */
h1,h2,h3,h4 { font-weight: var(--weight-title); color: var(--text-strong); line-height: 1.3; }
.kicker { font-size: var(--text-caption); font-weight: var(--weight-strong); color: var(--blu-500); letter-spacing: .01em; }
.muted { color: var(--muted); }
.price { font-weight: var(--weight-title); color: var(--blu-500); white-space: nowrap; }
.price .unit { font-size: .72em; font-weight: var(--weight-ui); }
.price del, del.price { color: var(--muted-2); font-weight: var(--weight-ui); text-decoration: line-through; font-size: .82em; }
.en { font-family: var(--font-en); direction: ltr; unicode-bidi: isolate; }
.num { font-family: var(--font-fa-num); }

/* ------------------------------------------------------- buttons / pills --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-fa); font-size: var(--text-button); font-weight: var(--weight-strong);
  line-height: 1; padding: 13px 24px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  background: var(--gray-100); color: var(--text-body); cursor: pointer;
  transition: background var(--motion-base) var(--motion-ease), color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
  text-align: center;
}
.btn svg { width: 19px; height: 19px; }
/* v1.6.0 — a11y: سفید روی blu-500 فقط 2.6:1 بود؛ پایهٔ دکمهٔ توپر یک پله تیره‌تر شد
   (blu-600 ≈ 3.5:1، هاور blu-700 ≈ 4.7:1). برای AA کامل، پایه را blu-700 کن. */
.btn--primary { background: var(--blu-600); color: #fff; }
.btn--primary:hover { background: var(--blu-700); color: #fff; }
.btn--primary:active { background: var(--blu-700); }
.btn--outline { background: #fff; border-color: var(--blu-500); color: var(--blu-700); }
.btn--outline:hover { background: var(--blu-100); color: var(--blu-700); }
.btn--ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn--dark { background: var(--slate-700); color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 15px 28px; border-radius: var(--radius-lg); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  background: var(--gray-100); color: var(--text-body); font-size: var(--text-caption);
  font-weight: var(--weight-ui); padding: 7px 16px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast);
}
.chip:hover { border-color: var(--border-soft); }
.chip.is-active, .chip[aria-current="true"] { background: var(--blu-500); color: #fff; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------- badges --- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: var(--weight-strong);
  padding: 3px 9px; border-radius: var(--radius-pill); line-height: 1.4; white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge--bestseller { background: var(--blu-500); color: #fff; }
.badge--new       { background: var(--success); color: #fff; }
.badge--sale      { background: var(--danger); color: #fff; }
.badge--custom    { background: var(--slate-600); color: #fff; }
.badge--ready     { background: var(--gray-150); color: var(--slate-600); }
.badge--lowstock  { background: var(--warning); color: #fff; }
.badge--soldout   { background: #fff; color: var(--muted-2); border: 1px solid var(--border-soft); }
.badge--limited   { background: var(--info-purple); color: #fff; }
.badge--lg { font-size: 11px; padding: 4px 10px; }

/* ------------------------------------------------------ status pills (UI) --- */
.status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: var(--weight-strong);
  padding: 4px 10px; border-radius: var(--radius-pill); }
.status-pill svg { width: 13px; height: 13px; }
.status-pill--info    { background: var(--blu-100); color: var(--blu-700); }
.status-pill--success { background: rgba(31,157,87,.12); color: var(--success); }
.status-pill--warning { background: rgba(232,147,42,.14); color: var(--warning); }
.status-pill--danger  { background: rgba(210,59,59,.12); color: var(--danger); }
.status-pill--muted   { background: var(--gray-100); color: var(--muted); }

/* --------------------------------------------------- announcement ticker --- */
.ticker { background: var(--blu-500); color: #fff; height: var(--ticker-h); overflow: hidden; }
.ticker__viewport { height: var(--ticker-h); overflow: hidden; }
.ticker__track { display: flex; flex-direction: column; }
.ticker__item { height: var(--ticker-h); display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; font-weight: var(--weight-ui); padding-inline: 16px; text-align: center; }
.ticker__item svg { width: 15px; height: 15px; }
.ticker__item a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
/* JS-driven vertical rotation; CSS fallback animates when js disabled */
.no-js .ticker__track { animation: blu-tick var(--ticker-cycle, 13s) cubic-bezier(.7,0,.3,1) infinite; }

/* --------------------------------------------------------------- header --- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; }
.site-header__bar { display: flex; align-items: center; gap: 12px; position: relative;
  max-width: var(--container-max); margin-inline: auto;
  height: var(--header-h); padding-inline: var(--container-pad); border-bottom: 1px solid var(--border-soft); }
.site-header--transparent { position: absolute; inset: 0 0 auto 0; background: transparent; }
.site-header--transparent .site-header__bar { border-bottom: 0; }

/* Order: menu-toggle · brand · nav · actions.
   Mobile  → toggle (start/right), brand centered, actions (end/left).
   Desktop → brand (start/right), nav centered, actions (end/left). */
.menu-toggle { order: 0; }
/* Mobile: brand absolutely centered between the toggle (start) and icons (end). */
.site-header__brand { order: 1; display: inline-flex; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.primary-nav { order: 2; }
.site-header__actions { order: 3; margin-inline-start: auto; } /* push icons to the end (left in RTL) */
.site-header__actions .header-icon--account { display: none; } /* account lives in the bottom-nav on mobile */

.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  color: var(--slate-600); background: transparent; border: 0; border-radius: var(--radius-pill); }
.header-icon svg { width: 23px; height: 23px; }
.header-icon:hover { color: var(--blu-600); }
.site-header--transparent .header-icon { color: #fff; }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.site-header__center { flex: 1; display: flex; justify-content: center; }
.site-header__actions, .site-header__nav-left { display: flex; align-items: center; gap: 4px; }

.cart-link { position: relative; }
.cart-count { position: absolute; top: 2px; inset-inline-start: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--blu-500); color: #fff; font-size: 10px; font-weight: var(--weight-strong);
  border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; }
.cart-count.is-empty { display: none; }
.site-header--transparent .cart-count { background: #fff; color: var(--blu-500); }

/* desktop nav */
.primary-nav { display: none; }
@media (min-width: 1024px) {
  .site-header__bar { height: 72px; }
  .brand img { height: 44px; }
  .menu-toggle { display: none; }
  /* brand pinned to the start (right in RTL); nav fills + centers; icons at end (left) */
  .site-header__brand { order: 0; margin-inline: 0; position: static; transform: none; }
  .site-header__actions .header-icon--account { display: inline-flex; }
  .primary-nav { order: 1; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 28px; }
  .site-header__actions { order: 2; }
  .primary-nav a { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-fa);
    font-size: 15px; font-weight: var(--weight-ui); color: var(--slate-700); white-space: nowrap; }
  .primary-nav a:hover { color: var(--blu-600); }
  .primary-nav .current-menu-item > a,
  .primary-nav .current_page_item > a,
  .primary-nav a[aria-current] { color: var(--blu-500); font-weight: var(--weight-strong); }
  .header-icon { width: 40px; height: 40px; }
}

/* ----------------------------------------------------------- mobile menu --- */
.menu-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.menu-drawer.is-open { visibility: visible; }
.menu-drawer__overlay { position: absolute; inset: 0; background: rgba(20,26,30,.5); opacity: 0;
  transition: opacity var(--motion-base) var(--motion-ease); }
.menu-drawer.is-open .menu-drawer__overlay { opacity: 1; }
.menu-drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 340px);
  background: #fff; transform: translateX(-100%); transition: transform var(--motion-slow) var(--motion-ease);
  display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--shadow-raised); }
html[dir="rtl"] .menu-drawer__panel { transform: translateX(100%); }
.menu-drawer.is-open .menu-drawer__panel { transform: translateX(0); }
.menu-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft); }
.menu-drawer__nav { padding: 8px 0; }
.menu-drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px;
  font-family: var(--font-fa); font-size: 15px; font-weight: var(--weight-ui); color: var(--slate-700);
  border-bottom: 1px solid #f3f3f3; }
.menu-drawer__nav a:hover { background: var(--gray-100); }
/* submenu accordion (mobile): collapsed by default; a caret toggles each parent.
   .is-accordion is added by theme.js only after the carets exist, so with JS off
   the sub-menus stay open and no link is lost. Tapping the label still follows
   the parent category link — only the caret toggles. */
.menu-drawer__nav .menu-item-has-children { position: relative; }
.menu-drawer__nav.is-accordion .menu-item-has-children > a { padding-inline-end: 56px; }
.menu-drawer__nav.is-accordion .sub-menu { display: none; }
.menu-drawer__nav.is-accordion .menu-item-has-children.is-open > .sub-menu { display: block; }
.menu-drawer__nav.is-accordion .sub-menu a { padding-block: 12px; padding-inline-start: 34px; font-size: 14px;
  color: var(--slate-600); background: #fafafa; }
/* v1.6.5 — سطح سوم منو (کالکشن‌ها ← ورزشی ← فوتبال…): تورفتگی بیشتر. همین قوانین
   در theme.js هم تزریق می‌شوند تا UCSS برای مهمان حذفشان نکند. */
.menu-drawer__nav.is-accordion .sub-menu .sub-menu a { padding-inline-start: 52px; font-size: 13.5px; background: #f3f5f6; }
.menu-drawer__nav.is-accordion .sub-menu .submenu-toggle { background: transparent; }
.menu-drawer__nav .submenu-toggle { position: absolute; top: 0; inset-inline-end: 0; width: 56px; min-height: 44px;
  display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; background: transparent;
  color: var(--slate-600); cursor: pointer; z-index: 2; -webkit-tap-highlight-color: transparent; }
.menu-drawer__nav .submenu-toggle:hover, .menu-drawer__nav .submenu-toggle:focus-visible { background: var(--gray-100); }
.menu-drawer__nav .submenu-toggle svg { width: 20px; height: 20px; transition: transform var(--motion-base, .25s) ease; }
.menu-drawer__nav .menu-item-has-children.is-open > .submenu-toggle svg { transform: rotate(180deg); }
.menu-drawer__foot { margin-top: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .menu-drawer { display: none; } }

/* ------------------------------------------------------------ bottom nav --- */
.bottom-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 90; background: #fff;
  border-top: 1px solid var(--border-soft); display: flex; justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); }
.bottom-nav__item { display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--muted-2); font-size: 10px; font-weight: var(--weight-ui); min-width: 44px; min-height: 44px;
  justify-content: center; position: relative; }
.bottom-nav__item svg { width: 23px; height: 23px; }
.bottom-nav__item.is-active { color: var(--blu-500); font-weight: var(--weight-strong); }
.bottom-nav .cart-count { top: -2px; inset-inline-start: 50%; transform: translateX(50%); }
html[dir="rtl"] .bottom-nav .cart-count { transform: translateX(-50%); inset-inline-start: 56%; }
@media (min-width: 1024px) { .bottom-nav { display: none; } }

/* --------------------------------------------------------------- footer --- */
.site-footer { background: var(--slate-600); color: #fff; margin-top: var(--space-7); }
.site-footer__inner { padding-block: 26px 16px; }
/* Mobile: brand full-width on top, then the three link columns side-by-side
   (3-up) so the footer stays compact instead of one tall stack. */
.site-footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 12px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand img { height: 32px; margin-bottom: 10px; }
.site-footer__brand p { font-size: 12.5px; font-weight: var(--weight-body); line-height: 1.85;
  color: rgba(255,255,255,.72); margin: 0; max-width: 420px; }
.footer-col__title { font-size: 13px; font-weight: var(--weight-strong); margin-bottom: 9px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 12.5px; font-weight: var(--weight-body); color: rgba(255,255,255,.78); }
.footer-col a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 14px; font-size: 12.5px; font-weight: var(--weight-body); color: rgba(255,255,255,.6); }
.footer-seals { display: none; flex-wrap: wrap; gap: 10px; } /* mobile: seals already shown in the home trust section */
.footer-seal { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 6px 11px; font-size: 11px; font-weight: var(--weight-ui);
  color: rgba(255,255,255,.85); }
.footer-seal svg { width: 14px; height: 14px; }
@media (min-width: 1024px) {
  .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__brand img { height: 34px; }
  .footer-seals { display: flex; }
}

/* footer contact: address / phone / email under the brand */
.footer-contact { list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px; }
.footer-contact__item { display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; line-height: 1.75; color: rgba(255,255,255,.78); }
.footer-contact__item svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px;
  color: var(--blu-500); }
.footer-contact__item a { color: rgba(255,255,255,.9); }
.footer-contact__item a:hover { color: #fff; }
.footer-contact__addr span { max-width: 30ch; }
/* the phone is a memorable number — make it the prominent line */
.footer-contact__phone { align-items: center; }
.footer-contact__phone a, .footer-contact__phone span { font-size: 18px;
  font-weight: var(--weight-strong); letter-spacing: .5px; color: #fff; }

/* trust seals strip (eNamad + extra badges) — white cards on the dark footer */
.footer-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.enamad-seal { display: inline-flex; background: #fff; border-radius: var(--radius-md);
  padding: 6px; line-height: 0; box-shadow: 0 2px 12px rgba(0,0,0,.2); transition: transform .15s ease; }
.enamad-seal:hover { transform: translateY(-2px); }
.enamad-seal img { display: block; height: 84px; width: auto; }
.footer-trust__extra { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; line-height: 0; }
.footer-trust__extra img { height: 84px; width: auto; border-radius: var(--radius-md); }

/* ============================================================ HOME ====== */

/* hero — one or more cross-fading slides (slides share one grid cell so the
   container auto-sizes to the tallest slide; the engine is initSlideshow) */
.hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; margin-top: var(--space-4); display: grid; }
.hero__slide { position: relative; grid-area: 1 / 1; }
.hero--multi .hero__slide { opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.hero--multi .hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__media { width: 100%; height: 290px; object-fit: cover; display: block; }
/* v1.4.0 — when a portrait phone image is supplied, give it a real 4:5 frame
   instead of the flat 290px strip that used to crop it in half. */
.hero--has-mobile .hero__media { height: auto; aspect-ratio: 4 / 5; }
.hero picture { display: contents; } /* keep <img> the direct grid/flex child */
.hero__overlay { position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(22,28,32,.85), rgba(22,28,32,.05)); padding: 20px 18px 18px; }
.hero__title { font-size: 24px; font-weight: var(--weight-title); color: #fff; line-height: 1.35; margin: 0 0 4px; }
.hero__sub { font-size: 13px; font-weight: var(--weight-body); color: rgba(255,255,255,.88); line-height: 1.7; margin: 0 0 13px; }
.hero__cta { display: flex; gap: 9px; flex-wrap: wrap; }
.hero__cta .btn { padding: 10px 18px; }
/* dots (only rendered when there are 2+ slides); reuse .slideshow__dot styling */
.hero__dots { position: absolute; inset: auto 0 12px 0; z-index: 4; display: flex; justify-content: center; gap: 6px; }
.hero--multi .hero__overlay { padding-bottom: 34px; } /* clear the dots on mobile */
@media (min-width: 1024px) {
  .hero__slide { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--gray-100); }
  /* v1.4.0 — a fixed 4:5 frame. Previously the image kept its intrinsic ratio,
     so the tallest slide dictated the height of the whole hero and every other
     slide lost up to ~25% of its width to the crop. */
  .hero__media { height: auto; aspect-ratio: 4 / 5; min-height: 460px; max-height: 760px; }
  .hero--split .hero__panel { order: -1; display: flex; flex-direction: column; justify-content: center; padding: 60px 56px; }
  .hero--split .hero__overlay { position: static; background: none; padding: 0; }
  .hero--split .hero__title { font-size: 48px; color: var(--text-strong); margin-bottom: 16px; }
  .hero--split .hero__sub { font-size: 16px; color: var(--slate-500); max-width: 380px; margin-bottom: 28px; }
  .hero--split .hero__kicker { color: var(--blu-500); font-weight: var(--weight-strong); margin-bottom: 14px; }
  .hero--split .btn--ghost { background: #fff; border-color: #d8dcde; color: var(--slate-600); }
  .hero--multi .hero__overlay { padding-bottom: 0; } /* desktop: panel layout, no overlap */
}

/* line tiles (آماده چاپ / بیسیک) */
.line-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.line-tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 15px 14px; min-height: 84px; }
.line-tile__title { font-size: 15px; font-weight: var(--weight-title); margin-bottom: 3px; }
.line-tile__sub { font-size: 11.5px; font-weight: var(--weight-body); line-height: 1.6; }
.line-tile__icon { position: absolute; inset-inline-start: -6px; bottom: -8px; width: 40px; height: 40px; opacity: .25; }
.line-tile--ready { background: var(--blu-500); color: #fff; }
.line-tile--basic { background: var(--gray-150); color: var(--text-strong); }
.line-tile--basic .line-tile__sub { color: var(--slate-500); }
.line-tile--basic .line-tile__icon { color: #9aa1a6; opacity: .3; }

/* collections — homepage = 2-row HORIZONTAL scroller (swipe left/right; ~2 columns
   visible per view + a peek, on mobile AND desktop). The collections landing page
   keeps .collections-grid (vertical 2 → 3 columns). */
.home-collections { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
  grid-auto-columns: 46%; gap: 11px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 8px; }
.home-collections::-webkit-scrollbar { height: 6px; }
.home-collections::-webkit-scrollbar-thumb { background: #cfd6da; border-radius: 9px; }
.home-collections .collection-tile { scroll-snap-align: start; }
.collections-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.collection-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg);
  display: flex; align-items: flex-end; color: #fff; text-decoration: none;
  transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease); }
.collection-tile:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(20, 30, 35, .15); }
.collection-tile__img { position: absolute; inset: 0; background: #dfe3e6 center top / cover no-repeat;
  transition: transform var(--motion-slow) var(--motion-ease); }
.collection-tile:hover .collection-tile__img { transform: scale(1.05); }
.collection-tile--noimg .collection-tile__img { background: linear-gradient(150deg, #1f6f8b, #0c2c38);
  display: flex; align-items: center; justify-content: center; }
.collection-tile__watermark { width: 46%; height: auto; opacity: .16; }
.collection-tile__scrim { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 22, .82) 6%, rgba(12, 18, 22, 0) 50%); }
.collection-tile__body { position: relative; padding: 11px 13px; width: 100%; }
.collection-tile__name { font-size: 15px; font-weight: var(--weight-title); color: #fff; }
.collection-tile__count { font-size: 11.5px; font-weight: var(--weight-body); color: #fff; opacity: .92; margin-top: 1px; }
@media (min-width: 768px) {
  .collections-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
  .home-collections { grid-auto-columns: 38%; gap: 16px; }  /* ~2 columns visible + peek; scrolls horizontally */
  .collections-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .collection-tile__name { font-size: 18px; }
  .collection-tile__count { font-size: 12.5px; }
}

/* why-us */
.whyus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.whyus-card { background: var(--gray-100); border-radius: var(--radius-lg); padding: 16px 13px; text-align: center; }
.whyus-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--blu-100);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 9px; }
.whyus-card__icon svg { width: 23px; height: 23px; color: var(--blu-500); }
.whyus-card__title { font-size: 14px; font-weight: var(--weight-title); color: var(--text-strong); margin-bottom: 3px; }
.whyus-card__text { font-size: 11px; font-weight: var(--weight-body); color: var(--muted); line-height: 1.6; }
@media (min-width: 1024px) { .whyus-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* promo */
.promo { background: linear-gradient(135deg, var(--blu-500), #0079b3); border-radius: var(--radius-xl);
  padding: 22px 20px; color: #fff; }
.promo__title { font-size: 18px; font-weight: var(--weight-title); margin-bottom: 5px; }
.promo__sub { font-size: 13px; font-weight: var(--weight-body); opacity: .92; margin-bottom: 13px; }
.promo__code { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16);
  border: 1px dashed rgba(255,255,255,.6); border-radius: var(--radius-sm); padding: 9px 16px;
  font-size: 15px; font-weight: var(--weight-strong); letter-spacing: .05em; cursor: pointer; color: #fff; }
.promo__code svg { width: 15px; height: 15px; }
@media (min-width: 1024px) { .promo { display: flex; align-items: center; justify-content: space-between; padding: 32px 40px; }
  .promo__title { font-size: 24px; } .promo__sub { margin-bottom: 0; } }

/* faq */
.faq-item { border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 13px 14px; }
.faq-item + .faq-item { margin-top: 9px; }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  background: none; border: 0; padding: 0; text-align: start; font-size: 14px; font-weight: var(--weight-strong);
  color: var(--text-strong); line-height: 1.5; }
.faq-item__q svg { width: 18px; height: 18px; color: var(--blu-500); transition: transform var(--motion-base); }
.faq-item.is-open .faq-item__q .faq-icon-plus { display: none; }
.faq-item:not(.is-open) .faq-item__q .faq-icon-minus { display: none; }
.faq-item__a { font-size: 12.5px; font-weight: var(--weight-body); color: var(--slate-500); line-height: 1.85;
  margin-top: 9px; padding-top: 9px; border-top: 1px solid #f0f0f0; }
.faq-item:not(.is-open) .faq-item__a { display: none; }

/* brand marquee */
.marquee { overflow: hidden; margin-inline: calc(-1 * var(--container-pad));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: blu-scrollx 24s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 56px;
  padding: 0 22px; background: var(--gray-100); border-radius: var(--radius-md); font-size: 14px;
  font-weight: var(--weight-strong); color: var(--muted); }
.marquee__item img { max-height: 32px; width: auto; object-fit: contain; }

/* trust seals */
.seals { background: var(--gray-100); border-radius: var(--radius-lg); padding: 16px 12px; }
.seals__title { font-size: 12.5px; font-weight: var(--weight-strong); color: var(--slate-700); text-align: center; margin-bottom: 13px; }
.seals__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seal { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 11px 4px; text-align: center; }
.seal svg { width: 21px; height: 21px; color: var(--blu-500); margin-inline: auto; }
.seal__t { font-size: 10px; font-weight: var(--weight-strong); color: var(--slate-700); margin-top: 5px; }
.seal__s { font-size: 8.5px; font-weight: var(--weight-body); color: var(--muted-2); }

/* info note (blue tint) */
.note { display: flex; align-items: flex-start; gap: 9px; background: var(--blu-100);
  border-radius: var(--radius-md); padding: 11px 14px; font-size: 12px; font-weight: var(--weight-body);
  color: var(--slate-500); line-height: 1.7; }
.note svg { width: 17px; height: 17px; color: var(--blu-500); margin-top: 1px; }

/* cta card (e.g. "طرح دلخواهت نیست؟") */
.cta-card { background: var(--gray-150); border-radius: var(--radius-lg); padding: 18px; text-align: center; }
.cta-card__title { font-size: 15px; font-weight: var(--weight-title); color: var(--text-strong); margin-bottom: 4px; }
.cta-card__text { font-size: 12.5px; font-weight: var(--weight-body); color: var(--slate-500); line-height: 1.7; margin-bottom: 14px; }

/* ============================================ slideshow (collections) === */
.slideshow { position: relative; overflow: hidden; background: #16323a; height: 320px; }
.slideshow__slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--motion-slow) var(--motion-ease); }
.slideshow__slide.is-active { opacity: 1; }
.slideshow__slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow__scrim { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,28,34,.92), rgba(13,28,34,.25) 55%, rgba(13,28,34,.5)); }
.slideshow__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 20px 18px 34px; color: #fff;
  text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.slideshow__kicker { font-size: 13px; font-weight: var(--weight-strong); color: #7fe0ff; margin-bottom: 7px; }
.slideshow__title { font-size: 26px; font-weight: var(--weight-title); line-height: 1.3; margin: 0 0 6px; }
.slideshow__sub { font-size: 13px; font-weight: var(--weight-body); color: rgba(255,255,255,.85); line-height: 1.7; max-width: 360px; }
.slideshow__dots { position: absolute; inset-inline: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.slideshow__dot { width: 6px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.5); border: 0; padding: 0;
  transition: width var(--motion-base); cursor: pointer; }
.slideshow__dot.is-active { width: 20px; background: #fff; }
@media (min-width: 1024px) {
  .slideshow { height: 520px; }
  .slideshow__scrim { background: linear-gradient(to left, rgba(13,28,34,.92), rgba(13,28,34,.15) 60%); }
  html[dir="rtl"] .slideshow__scrim { background: linear-gradient(to right, rgba(13,28,34,.92), rgba(13,28,34,.15) 60%); }
  .slideshow__caption { top: 0; bottom: 0; inset-inline-start: auto; width: 46%;
    display: flex; flex-direction: column; justify-content: center; padding: 0 56px; }
  .slideshow__title { font-size: 42px; }
  .slideshow__sub { font-size: 15px; }
}

/* ===================================================== size-guide modal == */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,26,30,.55); }
.modal__sheet { position: absolute; inset-inline: 0; bottom: 0; background: #fff;
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0; max-height: 90vh; overflow-y: auto;
  transform: translateY(100%); transition: transform var(--motion-slow) var(--motion-ease); padding-bottom: 18px; }
.modal.is-open .modal__sheet { transform: translateY(0); }
.modal__grab { width: 42px; height: 5px; border-radius: 9px; background: #cdd2d4; margin: 9px auto 4px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 14px;
  border-bottom: 1px solid #f0f0f0; }
.modal__title { font-size: 17px; font-weight: var(--weight-title); color: var(--text-strong); }
.modal__close { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100); border: 0;
  display: flex; align-items: center; justify-content: center; color: var(--slate-600); }
.modal__body { padding: 16px 18px 4px; }
@media (min-width: 768px) {
  .modal__sheet { inset: 50% auto auto 50%; transform: translate(-50%, -45%) scale(.96);
    inset-inline: auto; width: min(440px, 92vw); border-radius: var(--radius-xl); max-height: 88vh; }
  .modal.is-open .modal__sheet { transform: translate(-50%, -50%) scale(1); }
  html[dir="rtl"] .modal__sheet { inset-inline-start: 50%; }
  .modal__grab { display: none; }
}

/* size-guide table + diagram */
.sizeguide__diagram { display: flex; justify-content: center; margin-bottom: 8px; }
.sizeguide__legend { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.sizeguide__legend span { display: inline-flex; align-items: center; gap: 5px; background: var(--blu-100);
  color: var(--blu-700); font-size: 11px; font-weight: var(--weight-strong); padding: 5px 10px; border-radius: var(--radius-pill); }
.size-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); overflow: hidden; font-size: 12px; }
.size-table th, .size-table td { padding: 9px 3px; text-align: center; }
.size-table thead { background: var(--gray-100); color: var(--slate-600); font-weight: var(--weight-strong); font-size: 10.5px; line-height: 1.5; }
.size-table__ref { display: block; font-weight: var(--weight-body); color: var(--blu-500); font-size: 10px; font-family: var(--font-fa-num); }
.size-table tbody { font-family: var(--font-fa-num); }
.size-table tbody tr { border-top: 1px solid #f0f0f0; }
.size-table tbody td:first-child { font-weight: var(--weight-title); color: var(--blu-500); font-family: var(--font-fa); white-space: nowrap; }
.sizeguide__note { font-size: 11px; font-weight: var(--weight-body); color: var(--muted-2); margin: 12px 0 14px; text-align: start; }
.sizeguide__note strong { color: var(--text-strong); font-weight: var(--weight-strong); }
.sizeguide__note ul { margin: 5px 0 0; padding-inline-start: 16px; list-style: disc; }
.sizeguide__note li { margin-bottom: 3px; line-height: 1.7; }

/* ----------------------------------------------------------- utilities --- */
.is-hidden { display: none !important; }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.full-bleed { margin-inline: calc(-1 * var(--container-pad)); }

/* --------------------------------------------------- content / blog ----- */
.entry-content > * + * { margin-top: var(--space-4); }
.entry-content h2 { font-size: var(--text-h3); margin-top: var(--space-6); }
.entry-content img { border-radius: var(--radius-md); }
.entry-content a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.page-article__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-5); }
.post-list .card { border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; padding: 0 0 16px; }
.post-list .card__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-list .card__title { font-size: var(--text-h3); margin: 14px 16px 6px; }
.post-list .card__title a { color: var(--text-strong); }
.post-list .card .muted, .post-list .card__excerpt { margin-inline: 16px; }
.post-list .card .section-head__link { margin: 10px 16px 0; }
.blu-searchform input { flex: 1; }
.pagination, .woocommerce-pagination { margin-top: 24px; }

/* ---------------------------------------------------------- animations --- */
@keyframes blu-tick {
  0%,15%{transform:translateY(0)} 20%,35%{transform:translateY(-20%)}
  40%,55%{transform:translateY(-40%)} 60%,75%{transform:translateY(-60%)}
  80%,100%{transform:translateY(-80%)}
}
@keyframes blu-scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-name: blu-scrollx-rtl; }
@keyframes blu-scrollx-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; }
  .marquee__track, .ticker__track { animation: none !important; }
}

/* ============================================================
   «راهنمای تیشرت با طرح دلخواه» — how it works (home)
   Mobile = compact rows; desktop = three screenshot cards.
   Flat (no gradient), official palette, calm motion (brand spec).
   ============================================================ */
.hiw { background: var(--gray-100); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-4); }
.hiw__head { text-align: center; max-width: 640px; margin: 0 auto var(--space-5); }
.hiw__kicker { display: inline-block; font-size: var(--text-caption); font-weight: var(--weight-title); letter-spacing: .08em; color: var(--blu-700); margin-bottom: var(--space-2); }
.hiw__title { font-size: var(--text-h3); line-height: 1.35; font-weight: var(--weight-title); color: var(--text-strong); margin: 0; }
.hiw__sub { margin-top: var(--space-2); font-size: var(--text-button); color: var(--text-body); }
.hiw__grid { display: flex; flex-direction: column; gap: var(--space-3); max-width: 1040px; margin: 0 auto; }

.hiw__step { display: flex; align-items: center; gap: var(--space-3); background: var(--white); border: 1px solid var(--gray-150); border-radius: var(--radius-lg); padding: var(--space-3); box-shadow: var(--shadow-card); transition: transform var(--motion-slow) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease); animation: hiwUp .5s var(--motion-ease) backwards; }
.hiw__step:nth-child(1) { animation-delay: .05s; }
.hiw__step:nth-child(2) { animation-delay: .16s; }
.hiw__step:nth-child(3) { animation-delay: .27s; }
.hiw__step:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.hiw__phone { position: relative; flex: 0 0 auto; width: 64px; height: 64px; border-radius: var(--radius-md); overflow: hidden; background: var(--gray-150); border: 1px solid var(--gray-150); }
.hiw__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform var(--motion-slow) var(--motion-ease); }
.hiw__badge { position: absolute; top: 4px; inset-inline-start: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--blu-500); color: #fff; font-weight: var(--weight-title); font-size: 14px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; animation: hiwBadge .5s var(--motion-ease) backwards; }
.hiw__step:nth-child(1) .hiw__badge { animation-delay: .18s; }
.hiw__step:nth-child(2) .hiw__badge { animation-delay: .29s; }
.hiw__step:nth-child(3) .hiw__badge { animation-delay: .40s; }
.hiw__body { flex: 1; min-width: 0; }
.hiw__step-title { font-size: var(--text-button); font-weight: var(--weight-title); color: var(--text-strong); margin: 0 0 2px; }
.hiw__step-desc { font-size: var(--text-caption); color: var(--text-body); line-height: 1.8; margin: 0; }

.hiw__cta { display: flex; flex-direction: column; gap: var(--space-2); align-items: stretch; max-width: 360px; margin: var(--space-5) auto 0; }
.hiw__cta .btn { width: 100%; }
.hiw__cta .btn--primary { animation: hiwPulse 2.6s var(--motion-ease) infinite; }
.hiw__cta .btn--primary:hover { animation: none; }
.hiw__trust { text-align: center; margin-top: var(--space-3); font-size: var(--text-caption); color: var(--muted); }

@keyframes hiwUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hiwBadge { from { opacity: 0; transform: scale(.65); } to { opacity: 1; transform: scale(1); } }
@keyframes hiwPulse { 0% { box-shadow: 0 0 0 0 rgba(0,173,230,.35); } 70% { box-shadow: 0 0 0 12px rgba(0,173,230,0); } 100% { box-shadow: 0 0 0 0 rgba(0,173,230,0); } }

@media (min-width: 1024px) {
  .hiw { padding: var(--space-7) var(--space-6); }
  .hiw__head { margin-bottom: var(--space-6); }
  .hiw__title { font-size: var(--text-h2); }
  .hiw__sub { font-size: var(--text-body-md); }
  .hiw__grid { flex-direction: row; gap: var(--space-4); }
  .hiw__step { flex: 1; display: block; text-align: right; padding: var(--space-4); }
  .hiw__step:hover { transform: translateY(-6px); }
  .hiw__step:hover .hiw__phone img { transform: scale(1.06); }
  .hiw__phone { width: auto; height: auto; aspect-ratio: 9 / 13; border-radius: var(--radius-md); margin-bottom: var(--space-3); }
  .hiw__badge { top: 10px; inset-inline-start: 10px; width: 42px; height: 42px; font-size: var(--text-h3); border: 0; }
  .hiw__step-title { font-size: var(--text-button); margin-bottom: var(--space-1); }
  .hiw__step-desc { font-size: 14px; }
  .hiw__cta { flex-direction: row; justify-content: center; gap: var(--space-3); max-width: none; }
  .hiw__cta .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hiw__step, .hiw__badge { animation: none; }
  .hiw__phone img { transition: none; }
  .hiw__cta .btn--primary { animation: none; }
}

/* =========================================================================
 * v1.6.0 — دکمهٔ CTA هدر (دسکتاپ)
 * ====================================================================== */
.header-cta { display: none; }
@media (min-width: 1024px) {
  .header-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
    font-size: 13.5px; font-weight: 700; margin-inline-end: 4px; white-space: nowrap; }
  .header-cta svg { width: 17px; height: 17px; }
}

/* =================================================== v1.6.8 — search UX === */
/* شیت جستجو: فرم استایل‌دار جادار (قبلاً فرم خام ووکامرس، اینپوت ۲۴px مرورگر). */
.search-overlay .modal__body { padding: 16px 18px 24px; }
.search-overlay .blu-searchform .input { height: 52px; font-size: 16px; }
.search-overlay .blu-searchform .btn { min-width: 52px; height: 52px; flex: none; }
.search-overlay__hint { margin: 10px 2px 0; font-size: 12px; color: var(--muted); }

/* ============================================ v1.6.9 — collections mega === */
@media (min-width: 1024px) {
  .primary-nav .menu-item { position: relative; }
  .primary-nav .has-mega > a::after { content: ""; display: inline-block; margin-inline-start: 2px;
    border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
  .mega-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px);
    width: min(560px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--border-soft);
    border-radius: 16px; box-shadow: 0 18px 48px rgba(15, 35, 43, .14); padding: 14px;
    opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 120; }
  /* پل نامرئی تا هاور بین لینک و پنل قطع نشود */
  .mega-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
  .has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .mega-panel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .mega-panel__item { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; text-decoration: none; }
  .mega-panel__item:hover { background: var(--gray-100); }
  .mega-panel__thumb { display: block; aspect-ratio: 1 / 1; border-radius: 10px;
    background-color: var(--gray-100); background-size: cover; background-position: center; }
  .mega-panel__name { font-size: 13px; font-weight: var(--weight-strong); color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mega-panel__count { font-size: 11px; color: var(--muted); }
  .mega-panel__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px;
    padding-top: 12px; border-top: 1px solid var(--border-soft); font-size: 13px; font-weight: var(--weight-strong);
    color: var(--text-link); text-decoration: none; }
}
@media (max-width: 1023.98px) { .mega-panel { display: none; } }

/* ================================================= v1.7.1 — header fit === */
/* «نقطه‌ها»ی بین آیتم‌های منو مارکر پیش‌فرض <li>های لخت داخل nav بود؛ حذف. */
.primary-nav li, .menu-drawer__nav li { list-style: none; }
@media (min-width: 1024px) {
  /* با ۷ آیتم، برند دیگر له نمی‌شود و ردیف جا می‌شود. */
  .site-header__brand, .site-header__brand img { flex: none; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 14px; }
}

/* v1.7.2 — بندانگشتی مگامنو: aspect-ratio در فلکس ستونی به ۰ می‌رسید؛ ارتفاع صریح. */
@media (min-width: 1024px) { .mega-panel__thumb { height: 78px; aspect-ratio: auto; } }

/* ================================================ v1.7.3 — بستهٔ ۲ ===== */
/* راهنمای فشردهٔ خانه (کارت تک‌ردیفه به‌جای ~۳ ویوپورت). */
.hiw--compact { background: var(--gray-100); border-radius: var(--radius-lg, 16px); padding: 20px 18px; text-align: center; }
.hiw--compact .hiw__title { margin-bottom: 12px; }
.hiwc-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hiwc-steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: var(--weight-ui); color: var(--text-strong); }
.hiwc-num { width: 24px; height: 24px; border-radius: 50%; background: var(--blu-600); color: #fff; flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-family: var(--font-fa-num); }
@media (min-width: 768px) { .hiwc-steps { flex-direction: row; justify-content: center; gap: 22px; } }

/* بنر جمع‌وجور B2B در خانه (فرم در صفحهٔ اختصاصی). */
.b2b-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--slate-700); color: #fff; border-radius: var(--radius-lg, 16px); padding: 20px 22px; }
.b2b-banner__title { margin: 0 0 4px; font-size: 17px; color: #fff; }
.b2b-banner__sub { margin: 0; font-size: 13px; opacity: .85; }

/* صفحهٔ چاپ سازمانی. */
.b2b-page__hero { text-align: center; padding-top: 14px; }
.b2b-page__title { font-size: 30px; font-weight: 800; margin: 8px 0 10px; }
.b2b-page__sub { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 2; font-size: 14.5px; }
@media (min-width: 1024px) { .b2b-page__title { font-size: 40px; } }

/* ================================================= v1.7.4 — فاز ۳ ===== */
/* آیکن‌های سوشال فوتر (فقط با آدرس ست‌شده). */
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social__link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: rgba(255, 255, 255, .10); color: #fff; transition: background .15s; }
.footer-social__link:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* دکمهٔ شناور واتساپ — پیش‌فرض خاموش؛ بالای باتم‌نو در موبایل. */
.wa-fab { position: fixed; inset-inline-start: 14px; bottom: 16px; z-index: 95; width: 54px; height: 54px;
  border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45); }
.wa-fab:hover { color: #fff; transform: translateY(-2px); }
.has-bottom-nav .wa-fab { bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 14px); }
@media (min-width: 1024px) { .wa-fab { bottom: 22px; } }
/* روی صفحاتی که نوار CTA چسبان دارند، حباب واتساپ بالاتر می‌نشیند. */
@media (max-width: 1023.98px) {
  .single-product .wa-fab, .woocommerce-cart .wa-fab, .woocommerce-checkout .wa-fab {
    bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 96px); }
}
