/* ==========================================================================
   اپل استور — استایل فروشگاه
   فونت: وزیرمتن (محلی) • راست‌چین • حالت تیره و روشن • ریسپانسیو
   ========================================================================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --tile: linear-gradient(180deg, #f7f7f9 0%, #eeeef1 100%);
  --glass: rgba(255, 255, 255, .78);
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .09);
  --line-2: rgba(0, 0, 0, .05);
  --accent: #0071e3;
  --accent-2: #0077ed;
  --accent-soft: rgba(0, 113, 227, .09);
  --gold: #9c7a45;
  --gold-2: #c9a46a;
  --gold-soft: #f6efe3;
  --danger: #e3342f;
  --success: #1f9d55;
  --warn: #c77700;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 40px -12px rgba(0, 0, 0, .12);
  --shadow-lg: 0 40px 100px -20px rgba(0, 0, 0, .25);
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --lux: linear-gradient(135deg, #1d1d1f 0%, #3a3632 100%);
  --font: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0c0c0e;
  --surface: #141416;
  --surface-2: #1d1d20;
  --tile: linear-gradient(180deg, #19191c 0%, #111113 100%);
  --glass: rgba(18, 18, 20, .72);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .06);
  --accent: #2997ff;
  --accent-2: #47a6ff;
  --accent-soft: rgba(41, 151, 255, .14);
  --gold: #d6b27a;
  --gold-2: #e6c898;
  --gold-soft: #272116;
  --shadow: 0 2px 6px rgba(0, 0, 0, .4), 0 18px 40px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 100px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.85; font-weight: 400; direction: rtl; min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  transition: background .4s, color .4s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 800; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.inline { display: inline; vertical-align: -3px; width: 15px; height: 15px; }
.en { direction: ltr; unicode-bidi: isolate; letter-spacing: -.02em; }
small.cur { font-size: .68em; color: var(--text-2); font-weight: 500; margin-inline-start: 3px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------ Announcement ----------------------------- */
.announce { background: #000; color: #e8e2d6; font-size: 12.5px; text-align: center; padding: 7px 16px; }
.announce span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce b { color: var(--gold-2); font-weight: 600; }

/* --------------------------------- Header -------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50; background: var(--glass);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line-2);
}
.header .container { display: flex; align-items: center; gap: 12px; height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--lux); color: #ead7b3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 12px -4px rgba(0, 0, 0, .4);
}
.logo .mark .ic { width: 19px; height: 19px; }
.logo small { display: block; font-size: 9.5px; font-weight: 600; color: var(--text-3); letter-spacing: .18em; direction: ltr; text-align: right; line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 2px; margin-inline: auto; height: 100%; }
.nav > .nav-item { position: static; display: flex; align-items: center; }
.nav > .nav-item > a { padding: 6px 13px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); transition: color .2s, background .2s; font-weight: 500; }
.nav > .nav-item:hover > a, .nav > .nav-item > a.active { color: var(--text); }
.nav > .nav-item > a.active { background: var(--surface-2); }
.h-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative;
  color: var(--text); transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .ic { width: 19px; height: 19px; }
.badge-dot {
  position: absolute; top: 2px; left: 2px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 10.5px; display: grid; place-items: center; font-weight: 700; line-height: 1;
}
.badge-dot:empty { display: none; }
.menu-btn { display: none; }

/* Mega menu */
.mega {
  position: absolute; top: 100%; right: 0; left: 0; background: var(--bg); display: none;
  border-bottom: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: block; animation: megaIn .3s var(--ease) both; opacity: 1; visibility: visible; transform: none; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega .container { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 30px 0 36px; height: auto; align-items: start; }
.mega h6 { font-size: 12px; color: var(--text-3); font-weight: 600; margin-bottom: 12px; }
.mega-links a { display: block; font-size: 20px; font-weight: 700; padding: 3px 0; transition: color .2s; }
.mega-links a:hover { color: var(--accent); }
.mega-links a.sm { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.mega-prods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mega-prods a { text-align: center; font-size: 12.5px; border-radius: 16px; padding: 12px 8px; transition: background .2s; }
.mega-prods a:hover { background: var(--surface-2); }
.mega-prods .m { height: 92px; display: grid; place-items: center; margin-bottom: 8px; }
.mega-prods .m > * { max-height: 92px; width: auto; height: 100%; object-fit: contain; }
.mega-prods b { display: block; font-weight: 600; font-size: 13px; }
.mega-prods span { color: var(--text-2); font-size: 11.5px; }

/* --------------------------------- Search -------------------------------- */
.search-panel {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s;
}
.search-panel.open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-box { background: var(--bg); padding: 24px 0 30px; transform: translateY(-20px); transition: .4s var(--ease); box-shadow: var(--shadow-lg); }
.search-panel.open .search-box { transform: none; }
.search-input { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.search-input .ic { width: 24px; height: 24px; color: var(--text-3); }
.search-input input { flex: 1; border: 0; outline: 0; background: none; font-size: 24px; font-weight: 700; min-width: 0; }
.search-results { margin-top: 16px; max-height: 62vh; overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; }
.search-results a:hover { background: var(--surface-2); }
.search-results .thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; flex: none; overflow: hidden; }
.search-results .thumb > * { width: 85%; height: 85%; object-fit: contain; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.label-sm { color: var(--text-3); font-size: 12.5px; font-weight: 600; }

/* ---------------------------------- Chip --------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: var(--surface-2); color: var(--text); border: 1px solid transparent; transition: .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--line); }
.chip.active { background: var(--text); color: var(--bg); }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, background .25s, box-shadow .25s, opacity .2s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 26px -8px rgba(0, 113, 227, .55); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { opacity: .88; }
.btn-light { background: #fff; color: #1d1d1f; }
.btn-light:hover { background: #f0f0f2; }
.btn-ghost { border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-gold { background: linear-gradient(135deg, #ecd6ae, #b88f52); color: #1d1d1f; }
.btn-gold:hover { box-shadow: 0 10px 28px -8px rgba(184, 143, 82, .6); }
.btn-link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; font-size: 15px; }
.btn-link .ic { width: 16px; height: 16px; transition: transform .2s; }
.btn-link:hover .ic { transform: translateX(-3px); }
.btn-block { width: 100%; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 16px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------------------------------- Hero --------------------------------- */
.hero { position: relative; overflow: hidden; background: #000; }
.slides { position: relative; height: clamp(620px, 88vh, 820px); }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(44px, 7vh, 80px); opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
  color: #f5f5f7; overflow: hidden; z-index: 0;
}
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: var(--slide-bg, #000); z-index: -2; }
.slide::after {
  content: ''; position: absolute; width: 900px; height: 900px; left: 50%; bottom: -520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow, rgba(216, 106, 46, .45)), transparent); z-index: -1; filter: blur(10px);
}
.slide.light { color: #1d1d1f; }
.slide .kicker { font-size: 15px; font-weight: 700; color: var(--k, #f5a46b); }
.slide h1 { font-size: clamp(38px, 6.2vw, 76px); font-weight: 900; line-height: 1.15; margin: 6px 0 10px; }
.slide h1 .en { letter-spacing: -.035em; }
.slide .sub { font-size: clamp(17px, 2.1vw, 24px); font-weight: 400; opacity: .82; max-width: 640px; padding: 0 20px; }
.slide .cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.slide .price-note { margin-top: 14px; font-size: 13.5px; opacity: .68; }
.slide .visual { margin-top: auto; width: min(620px, 92%); height: 50%; display: grid; place-items: end center; }
.slide .visual > * {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
  transform: translateY(30px); opacity: 0; transition: transform 1.2s var(--ease) .15s, opacity 1.2s var(--ease) .15s;
}
.slide.on .visual > * { transform: translateY(0); opacity: 1; }
.slide.on .visual > svg { animation: float 7s ease-in-out infinite 1.4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.slide-ctrl { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; z-index: 3; }
.slide-ctrl button.dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .4s var(--ease), background .3s; position: relative; overflow: hidden; }
.slide-ctrl button.dot.on { width: 44px; background: rgba(255, 255, 255, .3); }
.slide-ctrl button.dot.on::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: right; animation: prog var(--autoplay, 7s) linear forwards; }
.hero.light-ui .slide-ctrl button.dot { background: rgba(0, 0, 0, .2); }
.hero.light-ui .slide-ctrl button.dot.on::after { background: #1d1d1f; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero.paused .slide-ctrl button.dot.on::after { animation-play-state: paused; }

/* Trust strip */
.trust-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line-2); }
.trust-strip .container { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.trust-strip div { display: flex; align-items: center; gap: 12px; padding: 20px 12px; font-size: 13px; color: var(--text-2); }
.trust-strip div + div { border-inline-start: 1px solid var(--line); }
.trust-strip .ic { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.4; }
.trust-strip b { display: block; color: var(--text); font-size: 14.5px; font-weight: 700; line-height: 1.5; }

/* -------------------------------- Sections ------------------------------- */
section.block { padding-block: 84px; }
section.block.alt { background: var(--bg-alt); }
section.block.tight { padding-top: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; }
.sec-head h2 span { color: var(--text-3); font-weight: 800; }
.sec-head p { color: var(--text-2); margin-top: 6px; font-size: 16.5px; }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.eyebrow .ic { width: 16px; height: 16px; }

/* Category rail */
.cat-rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cat-item { text-align: center; padding: 8px 4px; border-radius: 20px; transition: transform .35s var(--ease); }
.cat-item .ci { height: 110px; border-radius: 22px; background: var(--tile); display: grid; place-items: center; margin-bottom: 10px; transition: box-shadow .35s; overflow: hidden; }
.cat-item .ci > * { height: 80%; width: auto; max-width: 80%; object-fit: contain; transition: transform .5s var(--ease); }
.cat-item:hover .ci > * { transform: scale(1.08); }
.cat-item b { font-size: 14.5px; font-weight: 700; display: block; }
.cat-item span { font-size: 11px; color: var(--text-3); direction: ltr; display: block; font-weight: 500; }

/* Rail (horizontal product scroller) */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px 2px 24px; scroll-padding: 0 2px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: .2s; }
.rail-nav button:hover { background: var(--line); }
.rail-nav button[disabled] { opacity: .35; pointer-events: none; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; }
.tabs::-webkit-scrollbar { display: none; }

/* Product grid & card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .media { aspect-ratio: 1 / .92; background: var(--tile); display: grid; place-items: center; position: relative; overflow: hidden; }
.card .media > svg, .card .media > img { width: 82%; height: 82%; object-fit: contain; transition: transform .7s var(--ease); }
.card:hover .media > svg, .card:hover .media > img { transform: scale(1.05); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card .tag {
  position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px;
  background: var(--surface); color: var(--gold); box-shadow: var(--shadow-sm);
}
.card .tag.sale { color: var(--danger); }
.card .wish { position: absolute; top: 8px; left: 8px; z-index: 2; background: transparent; }
.card .wish:hover { background: var(--surface); }
[data-wish].on { color: #e5484d; }
[data-wish].on svg { fill: currentColor; }
.card h3 { font-size: 17px; font-weight: 700; direction: ltr; text-align: right; letter-spacing: -.01em; line-height: 1.4; }
.card .fa { font-size: 12.5px; color: var(--text-3); margin-top: 1px; }
.card .tagline { font-size: 13.5px; color: var(--text-2); margin: 8px 0 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.swatches { display: flex; gap: 6px; margin-top: 12px; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.card .foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price { font-weight: 800; font-size: 17px; line-height: 1.35; white-space: nowrap; }
.price del { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; }
.price .from { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.add-btn {
  height: 36px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; transition: .25s; flex: none;
}
.add-btn .ic { width: 16px; height: 16px; }
.add-btn:hover { background: var(--accent-2); }
.stock-low { font-size: 12px; color: var(--warn); margin-top: 8px; font-weight: 500; }
.stock-out { font-size: 12px; color: var(--danger); margin-top: 8px; font-weight: 500; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: 30px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 48px 32px 0; background: var(--bg-alt); isolation: isolate; grid-column: span 3;
}
.tile.w2 { grid-column: span 2; min-height: 460px; }
.tile.w6 { grid-column: span 6; min-height: 520px; }
.tile.dark { background: #000; color: #f5f5f7; }
.tile.dark .t-sub { color: #a1a1a6; }
.tile.warm { background: linear-gradient(170deg, #faf5ec, #efe3cc); color: #1d1d1f; }
.tile.warm .t-sub { color: #6b5a3e; }
.tile.cool { background: linear-gradient(170deg, #eef3fb, #dde7f5); color: #1d1d1f; }
.tile.cool .t-sub { color: #52627a; }
.tile .t-kick { font-size: 14px; font-weight: 700; color: var(--gold); }
.tile.dark .t-kick { color: #f5a46b; }
.tile h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; line-height: 1.2; margin: 4px 0 6px; }
.tile .t-sub { color: var(--text-2); font-size: 17px; margin-bottom: 18px; }
.tile .actions { display: flex; gap: 16px; justify-content: center; align-items: center; }
.tile .t-vis { margin-top: auto; width: min(420px, 88%); height: 56%; display: grid; place-items: end center; }
.tile .t-vis > * { width: 100%; height: 100%; object-fit: contain; object-position: bottom; transform: translateY(8%); transition: transform .9s var(--ease); }
.tile:hover .t-vis > * { transform: translateY(3%) scale(1.03); }
.tile.w6 .t-vis { width: min(640px, 90%); }

/* Services band */
.svc-band { background: #000; color: #f5f5f7; position: relative; overflow: hidden; }
.svc-band::before { content: ''; position: absolute; width: 700px; height: 700px; top: -300px; right: -200px; background: radial-gradient(closest-side, rgba(214, 178, 122, .22), transparent); }
.svc-band .container { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.svc-band h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; line-height: 1.3; }
.svc-band p.lead { color: #a1a1a6; font-size: 17px; margin-top: 14px; max-width: 480px; }
.svc-band .row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.stats { display: flex; gap: 40px; margin-top: 40px; }
.stats b { display: block; font-size: 32px; font-weight: 900; color: var(--gold-2); line-height: 1.3; }
.stats span { color: #86868b; font-size: 13px; }
.svc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-mini a { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; padding: 22px; transition: background .3s, transform .3s var(--ease); }
.svc-mini a:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.svc-mini .ic { width: 30px; height: 30px; color: var(--gold-2); stroke-width: 1.4; margin-bottom: 14px; }
.svc-mini b { display: block; font-size: 16px; }
.svc-mini span { color: #86868b; font-size: 13px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.step { background: var(--surface); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line-2); position: relative; }
.step::before { counter-increment: st; content: counter(st, persian); position: absolute; top: 18px; left: 24px; font-size: 64px; font-weight: 900; color: var(--line); line-height: 1; }
.step .ic { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.4; margin-bottom: 16px; }
.step b { display: block; font-size: 18px; margin-bottom: 4px; }
.step span { color: var(--text-2); font-size: 14.5px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 0 22px; transition: background .2s; }
.faq summary h3 { font-size: inherit; font-weight: inherit; line-height: 1.6; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--text-3); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 20px; font-size: 15px; }

/* App CTA */
.app-cta { border-radius: 32px; background: var(--lux); color: #f5f5f7; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.app-cta::after { content: ''; position: absolute; width: 500px; height: 500px; left: -150px; bottom: -300px; background: radial-gradient(closest-side, rgba(214, 178, 122, .3), transparent); }
.app-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.app-cta p { color: #c8c8cc; margin: 10px 0 24px; font-size: 16.5px; }
.app-cta .row { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.app-cta .phone-mock { justify-self: center; width: 210px; aspect-ratio: 9 / 18.5; border-radius: 38px; background: #0b0b0c; border: 7px solid #2c2c2e; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); display: grid; place-items: center; position: relative; z-index: 1; }
.app-cta .phone-mock .app-ic { width: 74px; height: 74px; border-radius: 18px; }

/* Services page */
.svc-hero { background: var(--lux); color: #f5f5f7; border-radius: 32px; padding: 60px 48px; position: relative; overflow: hidden; }
.svc-hero::after { content: ''; position: absolute; width: 460px; height: 460px; left: -140px; top: -140px; background: radial-gradient(circle, rgba(214, 178, 122, .32), transparent 65%); }
.svc-hero h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; line-height: 1.3; position: relative; }
.svc-hero p { color: #c9c9ce; max-width: 580px; margin-top: 12px; position: relative; font-size: 17px; }
.svc-hero .row { position: relative; display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 8px; }
.svc .ico .ic { width: 27px; height: 27px; stroke-width: 1.5; }
.svc h4 { font-size: 18px; font-weight: 800; }
.svc p { color: var(--text-2); font-size: 14.5px; flex: 1; line-height: 1.8; }
.svc .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.svc .meta span { color: var(--text-2); display: inline-flex; align-items: center; gap: 5px; }
.svc .meta .ic { width: 15px; height: 15px; }

/* ----------------------------- Product detail ---------------------------- */
.crumbs { font-size: 13px; color: var(--text-3); padding-top: 22px; }
.crumbs ol { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--accent); }
.crumbs .ic { width: 13px; height: 13px; }
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-block: 22px 70px; align-items: start; }
.pd-gallery { position: sticky; top: 80px; }
.pd-stage { background: var(--tile); border-radius: 32px; aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.pd-stage::before { content: ''; position: absolute; inset: 18%; background: radial-gradient(circle, var(--glow, rgba(0, 0, 0, .06)), transparent 70%); filter: blur(30px); transition: background .6s; }
.pd-stage > svg, .pd-stage > img { width: 80%; height: 80%; object-fit: contain; position: relative; animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }
.pd-thumbs button { width: 64px; height: 64px; border-radius: 14px; background: var(--tile); display: grid; place-items: center; border: 2px solid transparent; transition: border-color .2s; overflow: hidden; }
.pd-thumbs button.on { border-color: var(--accent); }
.pd-thumbs button > * { width: 82%; height: 82%; object-fit: contain; }
.pd .kick { color: var(--gold); font-weight: 700; font-size: 14px; }
.pd h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; direction: ltr; text-align: right; letter-spacing: -.025em; line-height: 1.2; margin-top: 4px; }
.pd .fa-name { color: var(--text-3); font-size: 15px; }
.pd .headline { font-size: 21px; font-weight: 700; margin: 16px 0 4px; }
.pd .tagline { font-size: 16px; color: var(--text-2); }
.hl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.hl li { background: var(--surface-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.hl .ic { width: 14px; height: 14px; color: var(--success); }
.opt { margin-top: 28px; }
.opt-label { font-weight: 700; font-size: 15px; display: block; margin-bottom: 12px; }
.opt-label span { font-weight: 400; color: var(--text-2); }
.color-opts { display: flex; gap: 14px; flex-wrap: wrap; }
.color-opts button { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.color-opts button.on { outline-color: var(--accent); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.opt-grid button { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; text-align: right; transition: border-color .2s, box-shadow .2s; background: var(--surface); }
.opt-grid button:hover { border-color: var(--text-3); }
.opt-grid button b { display: block; font-size: 15px; font-weight: 700; }
.opt-grid button span { font-size: 12.5px; color: var(--text-2); }
.opt-grid button.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.buy-box { margin-top: 28px; background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.buy-box .total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; }
.buy-box .total > span { color: var(--text-2); font-size: 14px; }
.buy-box .total .price { font-size: 28px; font-weight: 900; }
.buy-box .row { display: flex; gap: 10px; }
.buy-box .row .btn-primary { flex: 1; min-width: 0; height: 52px; }
.buy-box .row > .icon-btn { flex: none; width: 52px; height: 52px; border: 1px solid var(--line); background: var(--surface); }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.pd-perks div { font-size: 12.5px; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 6px; }
.pd-perks .ic { color: var(--gold); width: 24px; height: 24px; stroke-width: 1.5; }
.pd-tabs { margin-top: 36px; }
.pd-tabs .tabs { border-bottom: 1px solid var(--line); gap: 0; margin-bottom: 0; }
.pd-tabs .tabs button { padding: 12px 18px; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: 15px; }
.pd-tabs .tabs button.on { color: var(--text); border-color: var(--text); }
.pd-tabs .pane { padding-top: 18px; display: none; }
.pd-tabs .pane.on { display: block; animation: fadeIn .4s; }
.desc { color: var(--text-2); line-height: 2.1; font-size: 15.5px; }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; vertical-align: top; text-align: right; }
.specs th { color: var(--text-3); width: 36%; font-weight: 500; }
.sticky-buy {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy .container { display: flex; align-items: center; gap: 14px; height: 70px; }
.sticky-buy b.en { font-size: 16px; }
.sticky-buy .price { margin-inline-start: auto; font-size: 17px; }

/* ------------------------------- Drawer/Cart ----------------------------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 80; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(440px, 100%); z-index: 85; background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(-102%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s, box-shadow .5s;
}
.drawer.open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.drawer-head h3 { font-size: 19px; }
.drawer-body { flex: 1; overflow: auto; padding: 6px 22px; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: var(--bg-alt); }
.ship-bar { font-size: 12.5px; color: var(--text-2); margin-bottom: 12px; }
.ship-bar .bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: var(--success); border-radius: 4px; transition: width .5s var(--ease); }
.line-item { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.line-item .thumb { background: var(--tile); border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.line-item .thumb > * { width: 84%; height: 84%; object-fit: contain; }
.line-item h4 { font-size: 15px; direction: ltr; text-align: right; font-weight: 700; }
.line-item .var { font-size: 12.5px; color: var(--text-2); }
.line-item .ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: var(--surface); }
.qty .ic { width: 15px; height: 15px; }
.qty b { min-width: 22px; text-align: center; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 5px 0; color: var(--text-2); }
.sum-row.total { color: var(--text); font-weight: 800; font-size: 17px; padding-top: 10px; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty > .ic { width: 56px; height: 56px; margin: 0 auto 14px; opacity: .35; stroke-width: 1.2; }

/* --------------------------------- Forms --------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px; outline: 0; transition: border-color .2s, box-shadow .2s; font-size: 15px; width: 100%;
}
.field textarea { height: 110px; padding: 12px 16px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.field .hint { font-size: 12px; color: var(--danger); }
.field .hint:empty { display: none; }
.ltr { direction: ltr; text-align: right; }
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; }
.panel h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.panel h3 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 14px; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding-block: 24px 80px; align-items: start; }
.checkout .side { position: sticky; top: 80px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: .2s; }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.pay-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pay-opt b { display: block; font-size: 15px; }
.pay-opt span { font-size: 13px; color: var(--text-2); }
.success-box { text-align: center; padding: 80px 20px; max-width: 560px; margin: 0 auto; }
.success-box .check { width: 92px; height: 92px; border-radius: 50%; background: rgba(31, 157, 85, .12); color: var(--success); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.success-box .check .ic { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.code-box { font-size: 26px; font-weight: 800; letter-spacing: .08em; direction: ltr; background: var(--surface-2); border-radius: 16px; padding: 14px; margin: 18px 0; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0; }
.timeline div { text-align: center; font-size: 12.5px; color: var(--text-3); position: relative; padding-top: 34px; }
.timeline div::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); z-index: 1; }
.timeline div::after { content: ''; position: absolute; top: 11px; right: 50%; width: calc(100% + 8px); height: 2px; background: var(--line); }
.timeline div:last-child::after { display: none; }
.timeline div.on { color: var(--text); font-weight: 700; }
.timeline div.on::before { background: var(--success); border-color: var(--success); }
.timeline div.done::after { background: var(--success); }

/* --------------------------------- Footer -------------------------------- */
footer { background: var(--bg-alt); border-top: 1px solid var(--line-2); padding: 60px 0 40px; font-size: 13.5px; color: var(--text-2); }
.f-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
footer h5 { color: var(--text); font-size: 14px; margin-bottom: 14px; font-weight: 700; }
footer li { list-style: none; margin-bottom: 9px; }
footer a:hover { color: var(--accent); }
.f-info p { line-height: 2; margin-bottom: 16px; }
.f-info div { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.f-info .ic { width: 16px; height: 16px; margin-top: 5px; }
.f-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.trust { display: flex; gap: 10px; margin-top: 16px; }
.trust span { width: 70px; height: 70px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 10.5px; text-align: center; line-height: 1.5; color: var(--text-3); }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); display: inline-flex; align-items: center; font-size: 12.5px; direction: ltr; }

/* ---------------------------- Mobile tab bar ----------------------------- */
.tabbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar nav { display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10.5px; color: var(--text-3); padding: 4px 0; position: relative; font-weight: 500; }
.tabbar a.active { color: var(--accent); }
.tabbar .ic { width: 23px; height: 23px; }
.tabbar .badge-dot { top: -2px; left: calc(50% - 22px); }

/* Mobile menu */
.m-menu { position: fixed; inset: 0; z-index: 88; background: var(--bg); padding: 76px 26px 30px; transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; overflow: auto; }
.m-menu.open { transform: none; visibility: visible; }
.m-menu a.m-link { display: flex; justify-content: space-between; align-items: center; font-size: 26px; font-weight: 800; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.m-menu a.m-link span { font-size: 12.5px; color: var(--text-3); font-weight: 600; direction: ltr; }
.m-menu .close { position: absolute; top: 14px; left: 16px; }

/* Toast */
.toasts { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; pointer-events: none; width: min(420px, 92%); }
.toast { background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 16px; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: tin .4s var(--ease); font-weight: 500; }
.toast .ic { color: #30d158; }
.toast.err .ic { color: #ff453a; }
@keyframes tin { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* Install banner */
.install {
  position: fixed; bottom: 88px; left: 16px; right: 16px; max-width: 460px; margin-inline: auto; z-index: 70; background: var(--surface);
  border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow-lg); display: none; gap: 12px; align-items: center; animation: tin .5s;
}
.install.show { display: flex; }
.app-ic { width: 52px; height: 52px; border-radius: 13px; background: var(--lux); color: #ead7b3; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.app-ic .ic { width: 55%; height: 55%; }
.install div b { display: block; font-size: 14px; }
.install div span { font-size: 12px; color: var(--text-2); }
.install .btn { margin-inline-start: auto; }
.ios-steps { font-size: 15px; line-height: 2.2; }
.ios-steps .ic { display: inline; width: 18px; height: 18px; vertical-align: middle; color: var(--accent); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-box { background: var(--bg); border-radius: 28px; padding: 30px; width: min(540px, 100%); max-height: 90vh; overflow: auto; transform: scale(.95) translateY(10px); transition: .4s var(--ease); position: relative; }
.modal.open .modal-box { transform: none; }
.modal-box .close { position: absolute; top: 14px; left: 14px; }
.modal-box h3 { font-size: 21px; margin-bottom: 16px; }

/* Page header */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; }
.page-head p { color: var(--text-2); font-size: 18px; margin-top: 4px; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 24px 0 26px; }
.toolbar .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.toolbar .chips::-webkit-scrollbar { display: none; }
.toolbar select { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
#app { min-height: 70vh; }
#app.enter { animation: pageIn .5s ease; }
@keyframes pageIn { from { opacity: 0; } }

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 40px) / 3); }
  .nav > .nav-item > a { padding: 6px 9px; }
  .mega-prods { grid-template-columns: repeat(4, 1fr); }
  .mega-prods a:nth-child(5) { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .logo { margin-inline-end: auto; }
  .cat-rail { grid-template-columns: repeat(4, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(3) { border-inline-start: 0; }
  .trust-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento .tile, .bento .tile.w2 { grid-column: span 6; min-height: 500px; }
  .svc-band .container { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .app-cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .app-cta .phone-mock { display: none; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: relative; top: 0; }
  .checkout { grid-template-columns: 1fr; }
  .checkout .side { position: static; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .tabbar { display: block; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .h-actions .hide-m { display: none; }
  .install { bottom: 84px; }
  .sticky-buy { bottom: calc(60px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .narrow { width: calc(100% - 32px); }
  section.block { padding-block: 56px; }
  .slides { height: clamp(600px, 84vh, 720px); }
  .slide .visual { height: 46%; }
  .cat-rail { grid-template-columns: repeat(7, 96px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; gap: 8px; }
  .cat-rail::-webkit-scrollbar { display: none; }
  .cat-item { scroll-snap-align: start; }
  .cat-item .ci { height: 88px; }
  .rail { grid-auto-columns: 72%; gap: 14px; margin-inline: -16px; padding-inline: 16px; scroll-padding: 0 16px; }
  .rail-nav { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid .card .body { padding: 12px 12px 14px; }
  .grid .card .tagline { display: none; }
  .grid .card h3 { font-size: 14px; }
  .grid .card .fa { font-size: 11.5px; }
  .grid .card .price { font-size: 14px; }
  .grid .card .add-btn { width: 34px; padding: 0; justify-content: center; }
  .grid .card .add-btn span { display: none; }
  .grid .card .foot { flex-wrap: nowrap; }
  .card .tag { top: 10px; right: 10px; font-size: 10.5px; padding: 2px 9px; }
  .card .wish { top: 4px; left: 4px; }
  .tile, .bento .tile, .bento .tile.w2, .tile.w6 { min-height: 440px; padding: 38px 20px 0; border-radius: 26px; }
  .trust-strip div { padding: 14px 6px; gap: 8px; font-size: 11.5px; }
  .trust-strip .ic { width: 22px; height: 22px; }
  .trust-strip b { font-size: 13px; }
  .stats { gap: 24px; }
  .stats b { font-size: 26px; }
  .svc-mini { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-mini a { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid > :first-child { grid-column: 1 / -1; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .svc-hero { padding: 40px 22px; border-radius: 26px; }
  .panel { padding: 20px; }
  .search-input input { font-size: 19px; }
  .buy-box { padding: 18px; }
  .buy-box .total .price { font-size: 23px; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .pd-stage { border-radius: 26px; }
  .modal-box { padding: 24px 20px; border-radius: 24px; }
}
@media (hover: none) { .mega { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (display-mode: standalone) {
  .announce { display: none; }
  .header { padding-top: env(safe-area-inset-top); }
}


/* ==========================================================================
   v3 — عکس واقعی، کارکرده، قیمت‌گذاری، سئو
   ========================================================================== */
/* Real product photos: white backgrounds blend into light tiles */
img.photo { mix-blend-mode: multiply; }
:root[data-theme="dark"] .card .media:has(> img.photo),
:root[data-theme="dark"] .pd-stage:has(> img.photo),
:root[data-theme="dark"] .pd-thumbs button:has(> img.photo),
:root[data-theme="dark"] .line-item .thumb:has(> img.photo),
:root[data-theme="dark"] .search-results .thumb:has(> img.photo),
:root[data-theme="dark"] .cat-item .ci:has(> img.photo),
:root[data-theme="dark"] .mega-prods .m:has(> img.photo),
:root[data-theme="dark"] .tile:not(.dark) .t-vis:has(> img.photo) { background: #f5f5f7; border-radius: 22px; }
.tile.dark .t-vis > img.photo, .slide:not(.light) .visual > img.photo { mix-blend-mode: normal; border-radius: 26px; }
.slide.light .visual > img.photo { filter: none; max-height: 100%; }
.tile .t-vis > img.photo { transform: none; object-position: center bottom; }
.tile:hover .t-vis > img.photo { transform: scale(1.03); }
.card .media > img.photo { width: 88%; height: 88%; }

/* Card structure */
.card .media { display: grid; }
.card h3 a:hover { color: var(--accent); }
.card .wish { position: absolute; top: 8px; left: 8px; z-index: 3; }
.page-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; }
.page-title span { color: var(--text-3); font-weight: 800; }
.h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-weight: 800; }
.h3 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 14px; }
address { font-style: normal; }
.sell-cta { margin-inline-end: 6px; height: 34px; padding: 0 14px; font-size: 13px; }
.cat-item .ci-used { color: var(--gold); }
.cat-item .ci-used .ic { width: 46px; height: 46px; stroke-width: 1.3; }
.tile.light { background: linear-gradient(170deg, #ffffff, #f1ede6); color: #1d1d1f; }
.tile.light .t-sub { color: #6b5a3e; }
.tile.citrus { background: linear-gradient(170deg, #fffef4, #f1eed0); color: #1d1d1f; }
.tile.citrus .t-sub { color: #6d6630; }
.tile.citrus .t-kick { color: #8a7a1c; }

/* Used promo (home) */
.used-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.up-card { border-radius: 30px; padding: 44px 40px; display: flex; flex-direction: column; gap: 12px; min-height: 420px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.up-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.up-card h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.25; }
.up-card p { font-size: 16px; max-width: 440px; }
.up-card .btn { margin-top: auto; align-self: flex-start; }
.up-buy { background: var(--surface); border: 1px solid var(--line-2); }
.up-buy p { color: var(--text-2); }
.up-buy::after { content: ''; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -160px; background: radial-gradient(closest-side, var(--accent-soft), transparent); }
.up-sell { background: var(--lux); color: #f5f5f7; }
.up-sell p { color: #c8c8cc; }
.up-sell::after { content: ''; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -200px; background: radial-gradient(closest-side, rgba(214, 178, 122, .35), transparent); }
.up-list { list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.up-list li { display: flex; align-items: center; gap: 8px; }
.up-list .ic { width: 18px; height: 18px; color: var(--success); }
.up-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.up-steps span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 5px 14px; font-size: 13px; }

/* Used cards */
.tag.grade { color: #fff; background: #1d1d1f; }
.tag.g-Ap { background: linear-gradient(135deg, #1f9d55, #16a37a); color: #fff; }
.tag.g-A { background: #0071e3; color: #fff; }
.tag.g-B { background: #c77700; color: #fff; }
.tag.g-C { background: #6e6e73; color: #fff; }
.used-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; font-size: 12px; color: var(--text-2); }
.used-meta > span { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 3px 10px; }
.used-meta .ic { width: 14px; height: 14px; }
.bat.hi { color: var(--success); }
.bat.mid { color: var(--warn); }
.bat.lo { color: var(--danger); }
.used-card.sold .media > *:not(.tag):not(.sold-badge) { opacity: .45; filter: grayscale(1); }
.sold-badge { position: absolute; inset: auto 0 45% 0; margin: auto; width: max-content; background: rgba(0, 0, 0, .78); color: #fff; font-weight: 800; padding: 6px 18px; border-radius: 999px; z-index: 2; font-size: 14px; }

/* Used hero */
.used-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 20px; }
.used-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 900; line-height: 1.25; margin: 8px 0 12px; }
.used-hero h1 span { color: var(--text-3); }
.used-hero p { color: var(--text-2); font-size: 17px; max-width: 540px; }
.used-hero .row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.used-trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.used-trust li { background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.used-trust .ic { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.4; margin-bottom: 6px; }
.used-trust b { font-size: 15.5px; }
.used-trust span { color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* Expert card (کارت کارشناسی) */
.expert { margin-top: 28px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.expert > header { background: var(--lux); color: #f5f5f7; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.expert > header > div:first-child { display: flex; align-items: center; gap: 12px; }
.ec-logo { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #ead7b3; }
.expert h2 { font-size: 17px; font-weight: 800; }
.expert header small { color: #a1a1a6; font-size: 11px; letter-spacing: .12em; direction: ltr; display: block; text-align: right; }
.ec-grade { text-align: center; background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 6px 14px; line-height: 1.3; }
.ec-grade b { display: block; font-size: 24px; font-weight: 900; direction: ltr; }
.ec-grade span { font-size: 11.5px; color: #c8c8cc; }
.ec-grade.g-Ap b { color: #30d158; }
.ec-grade.g-A b { color: #64b5ff; }
.ec-grade.g-B b { color: #ffb340; }
.ec-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 8px 22px; }
.ec-meta > div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.ec-meta > div:nth-child(odd) { margin-inline-end: 12px; }
.ec-meta > div:nth-child(even) { margin-inline-start: 12px; }
.ec-meta dt { color: var(--text-3); }
.ec-meta dd { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.bat-bar { width: 70px; height: 7px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bat-bar i { display: block; height: 100%; background: linear-gradient(90deg, #30d158, #1f9d55); border-radius: 6px; }
.expert h3 { font-size: 15px; padding: 16px 22px 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ec-ok, .ec-warn { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.ec-ok { background: rgba(31, 157, 85, .12); color: var(--success); }
.ec-warn { background: rgba(227, 52, 47, .1); color: var(--danger); }
.ec-checks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 22px 18px; }
.ec-checks li { display: flex; align-items: center; gap: 6px; font-size: 13px; background: var(--surface-2); border-radius: 10px; padding: 7px 10px; }
.ec-checks .ic { width: 15px; height: 15px; flex: none; }
.ec-checks li.ok .ic { color: var(--success); }
.ec-checks li.fail { background: rgba(227, 52, 47, .08); color: var(--danger); }
.expert > footer { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.expert > footer span { display: inline-flex; align-items: center; gap: 6px; }
.expert > footer .ic { width: 16px; height: 16px; color: var(--gold); }
.warranty-box { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 18px; border-radius: 20px; background: var(--gold-soft); }
.warranty-box > .ic { width: 30px; height: 30px; color: var(--gold); flex: none; }
.warranty-box b { display: block; }
.warranty-box span { font-size: 13.5px; color: var(--text-2); }
.tradein { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--gold-2); transition: background .2s; }
.tradein:hover { background: var(--gold-soft); }
.tradein > .ic:first-child { width: 28px; height: 28px; color: var(--gold); }
.tradein span { flex: 1; font-size: 13px; color: var(--text-2); }
.tradein b { display: block; color: var(--text); font-size: 14.5px; }

/* Sell / pricing calculator */
.sell { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; padding: 20px 0 20px; }
.sell-steps { display: grid; gap: 18px; }
.s-step { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; }
.s-step h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.s-step h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 14px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.model-grid button { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; text-align: right; background: var(--surface); transition: border-color .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 2px; }
.model-grid button:hover { border-color: var(--text-3); }
.model-grid button.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.model-grid .en { font-weight: 700; font-size: 15px; }
.model-grid small { color: var(--text-3); font-size: 12px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; background: var(--surface); transition: .2s; }
.pill:hover { border-color: var(--text-3); }
.pill.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.s-group + .s-group { margin-top: 20px; }
.help-text { font-size: 13px; color: var(--text-2); }
.bat-input { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.bat-input input { flex: 1; accent-color: var(--accent); height: 30px; }
.bat-input output { font-size: 28px; font-weight: 900; min-width: 80px; text-align: center; }
.switch-row { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--gold-soft); cursor: pointer; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--gold); }
.switch-row span { font-size: 13.5px; color: var(--text-2); }
.switch-row b { color: var(--text); }
.sell-side { position: sticky; top: 80px; }
.est { padding: 26px; }
.est-empty { text-align: center; padding: 30px 10px; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.est-empty .ic { width: 48px; height: 48px; color: var(--gold); stroke-width: 1.3; margin-bottom: 8px; }
.est-empty b { color: var(--text); }
.est-price { font-size: 34px; font-weight: 900; margin-top: 14px; }
.est-range { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.est-lines { list-style: none; border-top: 1px solid var(--line-2); padding: 10px 0; margin-bottom: 12px; font-size: 13px; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--text-2); }
.est-lines li.neg span:last-child { color: var(--danger); font-weight: 700; direction: ltr; }
.est-lines li.pos span:last-child { color: var(--success); font-weight: 700; direction: ltr; }
.est .field { margin-bottom: 12px; }
.est .field input, .est .field select { height: 46px; }

/* SEO guide + prose */
.seo-guide { margin-top: 70px; padding: 40px; border-radius: 30px; background: var(--bg-alt); }
.seo-guide h2 { font-size: 26px; margin-bottom: 20px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.g-grid h3 { font-size: 17px; margin-bottom: 6px; }
.g-grid p { color: var(--text-2); font-size: 14.5px; line-height: 2; }
.prose { color: var(--text-2); line-height: 2.1; font-size: 16px; margin-top: 18px; }
.prose h2 { color: var(--text); font-size: 22px; margin: 28px 0 8px; }
.prose ul { padding-inline-start: 22px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.contact-cards .panel { display: flex; flex-direction: column; gap: 4px; padding: 22px; }
.contact-cards .ic { width: 26px; height: 26px; color: var(--gold); margin-bottom: 6px; }
.contact-cards span, .contact-cards a { color: var(--text-2); font-size: 14px; }
.svc h3 { font-size: 18px; font-weight: 800; }
.svc-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; line-height: 1.3; position: relative; }
.slide .slide-title { font-size: clamp(38px, 6.2vw, 76px); font-weight: 900; line-height: 1.15; margin: 6px 0 10px; }

@media (max-width: 960px) {
  .used-promo, .used-hero, .sell { grid-template-columns: 1fr; }
  .sell-side { position: static; }
  .sell-cta { display: none; }
}
@media (max-width: 640px) {
  .up-card { padding: 32px 22px; min-height: 0; border-radius: 24px; }
  .used-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .used-trust li { padding: 14px; border-radius: 18px; }
  .ec-meta { grid-template-columns: 1fr; }
  .ec-meta > div:nth-child(n) { margin: 0; }
  .ec-checks { grid-template-columns: 1fr 1fr; }
  .s-step { padding: 18px; }
  .seo-guide { padding: 26px 20px; border-radius: 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .grid .used-card .used-meta span:not(.bat) { display: none; }
  .model-grid { grid-template-columns: 1fr 1fr; }
}
.sell > *, .sell-steps > *, .pd > *, .used-hero > *, .checkout > * { min-width: 0; }
.help-text { overflow-wrap: anywhere; }

/* ------------------------- سئو: جدول قیمت، پرسش‌ها، مجله ------------------------- */
.pd h1 .fa-name { display: block; direction: rtl; font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.8; margin-top: 2px; }
.price-table, .pd-faq, .pd-posts { margin-top: 56px; }
.price-table h2, .pd-faq h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.price-table .help { color: var(--text-3); font-size: 13.5px; margin-bottom: 14px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); }
.tbl-wrap table { width: 100%; border-collapse: collapse; min-width: 460px; }
.tbl-wrap th, .tbl-wrap td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.tbl-wrap thead th { background: var(--bg-alt); color: var(--text-2); font-weight: 600; font-size: 13.5px; }
.tbl-wrap tbody tr:last-child > * { border-bottom: 0; }
.tbl-wrap tbody th { font-weight: 600; }
.tbl-wrap a { color: var(--accent); }
.pd-faq .faq { margin-top: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-img { aspect-ratio: 16 / 10; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.pc-img img { width: 70%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.pc-body { padding: 18px 20px 22px; }
.pc-meta { color: var(--text-3); font-size: 13px; }
.pc-body h3 { font-size: 17px; font-weight: 800; line-height: 1.6; margin: 6px 0; }
.pc-body p { color: var(--text-2); font-size: 14px; line-height: 1.9; }
.post { max-width: 760px; margin: 0 auto; }
.post header { padding: 36px 0 10px; }
.post h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.45; margin: 10px 0; }
.post .lead { color: var(--text-2); font-size: 18px; line-height: 2; }
.toc { background: var(--bg-alt); border-radius: 18px; padding: 18px 22px; margin: 22px 0; }
.toc ol { margin: 8px 0 0; padding-inline-start: 22px; display: grid; gap: 4px; list-style-type: persian; }
.toc a { color: var(--accent); font-size: 14.5px; }
.post-body { font-size: 16.5px; line-height: 2.1; }
.post-body h2 { font-size: 24px; font-weight: 800; margin: 36px 0 10px; scroll-margin-top: 90px; }
.post-body h3 { font-size: 19px; font-weight: 700; margin: 24px 0 8px; }
.post-body p { margin: 0 0 14px; color: var(--text); }
.post-body ul { margin: 0 0 16px; padding-inline-start: 22px; display: grid; gap: 6px; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .pc-img { background: #f5f5f7; }
@media (max-width: 640px) {
  .price-table, .pd-faq, .pd-posts { margin-top: 40px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-body { font-size: 16px; }
}

/* عکس‌ها و تصویر شاخص مقاله */
.post-fig { margin: 22px auto 26px; text-align: center; }
.post-fig img { display: block; margin: 0 auto; max-width: 100%; height: auto; max-height: 320px; width: auto; object-fit: contain; border-radius: 18px; background: var(--tile); mix-blend-mode: multiply; }
.post-fig.wide img { width: 100%; max-height: none; mix-blend-mode: normal; }
.post-fig figcaption { color: var(--text-3); font-size: 13.5px; margin-top: 8px; }
:root[data-theme="dark"] .post-fig:not(.wide) img { background: #f5f5f7; mix-blend-mode: normal; }
.post-hero { margin: 8px 0 24px; border-radius: 22px; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--bg-alt); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-img.cover img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pc-img.cover { aspect-ratio: 1200 / 630; }

/* پیشنهاد محصول داخل مقاله و فیلتر مجله */
.blog-chips { margin: 0 0 22px; flex-wrap: wrap; }
.post-prod { margin: 26px 0; }
.post-prod a { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-decoration: none !important; color: inherit; transition: box-shadow .25s var(--ease); }
.post-prod a:hover { box-shadow: var(--shadow); }
.pp-img { width: 96px; height: 96px; flex: none; border-radius: 16px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.pp-img img, .pp-img svg { width: 88% !important; height: 88% !important; max-width: none; object-fit: contain; transform: none !important; }
.pp-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-body b { font-size: 16px; }
.pp-body > span:not(.pc-meta) { color: var(--text-2); font-size: 13.5px; }
.pp-body .price { font-size: 15px; margin-top: 4px; }
:root[data-theme="dark"] .pp-img { background: #f5f5f7; }
@media (max-width: 640px) { .post-prod a { flex-wrap: wrap; } .post-prod .btn { width: 100%; justify-content: center; } }
