/* انفرادی مارکت · اپ مشتری فروشگاه آنلاین (گام ۴۳) — «طرح ج»: سرمه‌ای و طلایی لوگو، موبایل‌اول (۳۲۰ تا ۱۴۴۰ پیکسل) */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn.woff2') format('woff2-variations'), url('fonts/vazirmatn.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #16213a; --navy-2: #22305a; --gold: #f2b705; --gold-2: #ffd34d; --gold-ink: #2b2100;
  --bg: #f4f5f8; --card: #ffffff; --ink: #141a2b; --ink-2: #4a5470; --ink-3: #8a93ab; --line: #e3e6ee;
  --ok: #138a43; --ok-soft: #e6f6ec; --bad: #c8361c; --bad-soft: #fdecea; --warn-soft: #fff6d6; --info: #1f5bd8; --info-soft: #e8efff;
  --r: 14px; --shadow: 0 2px 10px rgba(22, 33, 58, .07); --nav-h: 56px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1220; --card: #161d2f; --ink: #eef1f8; --ink-2: #b8c0d6; --ink-3: #7c86a2; --line: #283250; --navy-2: #2a3a68;
    --ok-soft: #12301f; --bad-soft: #3a1714; --warn-soft: #3a2f0b; --info-soft: #14244a; --shadow: none; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14.5px/1.7 'Vazirmatn', Tahoma, sans-serif; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 10px; }
[hidden] { display: none !important; }

.sp-splash { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-3); }
.sp-logo { font-weight: 900; font-size: 22px; color: var(--navy); letter-spacing: -.3px; }
.sp-logo b { color: var(--gold); margin-inline-start: 4px; }

/* سربرگ */
.sp-top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; padding: 10px 14px 12px; padding-top: max(10px, env(safe-area-inset-top)); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.sp-top .row { gap: 10px; }
.sp-brand { font-weight: 900; font-size: 18px; text-decoration: none; white-space: nowrap; }
.sp-brand b { color: var(--gold); margin-inline-start: 3px; }
.sp-addr { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; color: #d6dcec; background: rgba(255, 255, 255, .08); border: 0; border-radius: 999px; padding: 4px 10px; cursor: pointer; max-width: 100%; }
.sp-addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-search { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: #fff; color: var(--ink); border-radius: 12px; padding: 0 12px; height: 42px; }
.sp-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; color: #141a2b; }
.sp-search svg { color: #8a93ab; flex: none; }
.sp-topnav { display: none; }
.sp-dots { display: none; }
.sp-addt { display: none; }
.sp-cartbtn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; flex: none; }
.sp-badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.sp-notice { background: var(--gold); color: var(--gold-ink); text-align: center; font-size: 12.5px; font-weight: 700; padding: 6px 12px; }

.sp-main { max-width: 1180px; margin: 0 auto; padding: 12px 14px calc(84px + env(safe-area-inset-bottom)); }
.sp-main.has-bar { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
.sp-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; }
.sp-h h2 { margin: 0; font-size: 16.5px; font-weight: 800; }
.sp-h a { margin-inline-start: auto; font-size: 13px; color: var(--info); text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }
.sp-h a svg { width: 16px; height: 16px; transform: scaleX(-1); }
.sp-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.sp-pad { padding: 14px; }
h1.sp-title { font-size: 19px; margin: 6px 0 12px; }

/* بنر */
.sp-banners { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 560px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); }
.sp-banners::-webkit-scrollbar { display: none; }
.sp-banner { scroll-snap-align: start; aspect-ratio: 3 / 1; border-radius: var(--r); overflow: hidden; background: var(--navy-2); display: block; }
.sp-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* دسته‌ها */
.sp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.sp-cat { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; text-decoration: none; text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.sp-cat i { font-style: normal; font-size: 26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--warn-soft); }
.sp-cat span { overflow-wrap: anywhere; }

/* کالا */
.sp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 158px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 168px), 1fr)); gap: 10px; }
.sp-prod { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; padding: 10px; min-width: 0; position: relative; }
.sp-prod a.sp-pimg { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; }
.sp-prod a.sp-pimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sp-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #b7bfd3; font-size: 34px; background: linear-gradient(135deg, #f6f7fb, #eceff6); }
.sp-pt { font-size: 13px; font-weight: 600; line-height: 1.6; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 41px; }
.sp-off { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 8px; padding: 0 6px; line-height: 22px; }
.sp-price { display: grid; gap: 0; }
.sp-price s { color: var(--ink-3); font-size: 12px; }
.sp-price b { font-size: 14.5px; }
.sp-price b small { font-weight: 500; font-size: 11px; color: var(--ink-3); margin-inline-start: 3px; white-space: nowrap; }
.sp-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.sp-buy.bare { flex: none; }
.sp-buy .sp-step, .sp-buy .sp-add, .sp-buy .sp-soldout { margin-inline-start: auto; }
.sp-add { width: 36px; height: 36px; border-radius: 11px; border: 0; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.sp-step { display: flex; align-items: center; gap: 2px; background: var(--warn-soft); border-radius: 11px; padding: 2px; flex: none; }
.sp-step button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.sp-step b { min-width: 30px; text-align: center; font-size: 13.5px; }
.sp-soldout { font-size: 12px; color: var(--bad); font-weight: 700; }

/* صفحهٔ کالا */
.sp-pd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 820px) { .sp-pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.sp-gal { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); background: #fff; aspect-ratio: 1; }
.sp-gal img { width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.sp-desc { white-space: pre-line; color: var(--ink-2); line-height: 2; overflow-wrap: anywhere; }

/* دکمه و فرم */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; cursor: pointer; text-decoration: none; }
.sp-btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.sp-btn.gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.sp-btn.block { width: 100%; }
.sp-btn.sm { height: 36px; padding: 0 12px; font-size: 13px; }
.sp-btn.ghost { background: transparent; }
.sp-btn:disabled { opacity: .55; cursor: default; }
.sp-btn svg { width: 18px; height: 18px; }
.sp-field { display: grid; gap: 4px; }
.sp-field label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.sp-input { height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--card); width: 100%; min-width: 0; outline: none; }
.sp-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 183, 5, .25); }
textarea.sp-input { height: auto; padding: 10px 12px; min-height: 80px; resize: vertical; }
.sp-input.code { font-size: 24px; letter-spacing: 10px; text-align: center; direction: ltr; }
.sp-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.sp-form .full { grid-column: 1 / -1; }
.sp-opt { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); }
.sp-opt:has(input:checked) { border-color: var(--gold); background: var(--warn-soft); }
.sp-opt input { margin-top: 5px; accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.sp-opt .grow { display: grid; gap: 2px; }
.sp-alert { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--info-soft); font-size: 13px; line-height: 1.9; }
.sp-alert.bad { background: var(--bad-soft); color: var(--bad); }
.sp-alert.warn { background: var(--warn-soft); }
.sp-alert.ok { background: var(--ok-soft); color: var(--ok); }
.sp-alert svg { flex: none; margin-top: 3px; width: 18px; height: 18px; }

/* سبد */
.sp-cl { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.sp-cl:last-child { border-bottom: 0; }
.sp-cl img, .sp-cl .sp-noimg { width: 64px; height: 64px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; font-size: 22px; }
.sp-cl .grow { display: grid; gap: 2px; }
.sp-cl .grow b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.sp-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.sp-sum .tot { font-size: 17px; font-weight: 800; }
.sp-bar { position: fixed; inset-inline: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 25; background: var(--card); border-top: 1px solid var(--line); padding: 10px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 -4px 16px rgba(22, 33, 58, .08); }
.sp-bar .grow { display: grid; line-height: 1.5; }
.sp-bar .sp-btn { flex: none; min-width: 150px; }

/* نوار پایین */
.sp-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 24; background: var(--card); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); }
.sp-nav a { display: grid; justify-items: center; gap: 1px; padding: 7px 2px 6px; font-size: 11px; color: var(--ink-3); text-decoration: none; position: relative; }
.sp-nav a.on { color: var(--navy); font-weight: 800; }
@media (prefers-color-scheme: dark) { .sp-nav a.on { color: var(--gold); } }
.sp-nav svg { width: 22px; height: 22px; }
.sp-nav .sp-badge { top: 2px; inset-inline-end: calc(50% - 22px); }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* سفارش */
.sp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.sp-steps div { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 11px; color: var(--ink-3); }
.sp-steps i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-3); font-style: normal; font-weight: 800; }
.sp-steps .on i { background: var(--gold); color: var(--gold-ink); }
.sp-steps .on { color: var(--ink); font-weight: 700; }
.sp-ev { display: flex; gap: 10px; padding: 6px 0; font-size: 13px; }
.sp-ev b { flex: none; min-width: 42px; color: var(--ink-3); font-weight: 600; }
.sp-ol { display: grid; gap: 4px; padding: 12px 14px; text-decoration: none; }
.sp-st { display: inline-block; padding: 0 8px; border-radius: 8px; font-size: 12px; font-weight: 700; background: var(--warn-soft); }
.sp-st.delivered { background: var(--ok-soft); color: var(--ok); }
.sp-st.cancelled { background: var(--bad-soft); color: var(--bad); }
.sp-card4 { font-size: 21px; font-weight: 800; letter-spacing: 2px; direction: ltr; text-align: center; padding: 10px; border-radius: 12px; background: var(--navy); color: #fff; }
.sp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sp-kpis div { display: grid; gap: 2px; padding: 10px; text-align: center; }
.sp-kpis b { font-size: 16px; }
.sp-kpis small { color: var(--ink-3); font-size: 11.5px; }

/* نقشه (کاشی‌ها با کشیدن جابه‌جا می‌شوند؛ نقطهٔ وسط = نشانی) */
.sp-map { position: relative; height: 300px; border-radius: var(--r); overflow: hidden; background: #dfe5ee; touch-action: none; user-select: none; cursor: grab; direction: ltr; }
.sp-map .tiles { position: absolute; inset: 0; }
.sp-map .tiles img { position: absolute; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.sp-map .pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 44px; margin: -44px 0 0 -17px; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.sp-map .ctl { position: absolute; top: 10px; left: 10px; display: grid; gap: 6px; }
.sp-map .ctl button, .sp-map .me { width: 38px; height: 38px; border-radius: 10px; border: 0; background: #fff; color: #16213a; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); font-size: 20px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.sp-map .me { position: absolute; bottom: 12px; right: 12px; width: auto; padding: 0 12px; gap: 6px; display: flex; font-size: 13px; direction: rtl; }
.sp-map .attr { position: absolute; bottom: 0; left: 0; font-size: 10px; background: rgba(255, 255, 255, .75); color: #333; padding: 0 4px; }

/* پنجره و پیام */
.sp-sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(9, 13, 25, .5); display: flex; align-items: flex-end; justify-content: center; }
.sp-sheet { background: var(--card); width: min(100%, 560px); max-height: 92dvh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
@media (min-width: 700px) { .sp-sheet-bg { align-items: center; } .sp-sheet { border-radius: 20px; } }
.sp-sheet h3 { margin: 0; font-size: 16px; }
.sp-toast { position: fixed; z-index: 80; bottom: calc(140px + env(safe-area-inset-bottom)); inset-inline: 14px; margin: 0 auto; max-width: 420px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); font-size: 13.5px; text-align: center; animation: sp-in .2s ease-out; }
.sp-toast.bad { background: var(--bad); }
@keyframes sp-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.sp-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 40px 14px; color: var(--ink-3); }
.sp-empty svg { width: 46px; height: 46px; color: var(--gold); }
.sp-closed { min-height: 70dvh; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.sp-skel { height: 160px; border-radius: var(--r); background: linear-gradient(90deg, var(--line) 0, var(--card) 50%, var(--line) 100%); background-size: 200% 100%; animation: sp-sk 1.2s infinite; }
@keyframes sp-sk { to { background-position: -200% 0; } }
@media (min-width: 1000px) {
  .sp-nav { inset-inline: auto; left: 50%; transform: translateX(-50%); width: 560px; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; }
  .sp-bar { inset-inline: auto; left: 50%; transform: translateX(-50%); width: min(1180px, 100%); border-radius: 16px 16px 0 0; border: 1px solid var(--line); }
}

/* ت۵۲ — نمای کامپیوتر (۱۰۰۰px به بالا): ستون وسط‌چین ۱۱۸۰، منوی بالا به‌جای نوار پایین، بنر تمام‌عرض، ۵ تا ۶ کالا در ردیف */
@media (min-width: 1000px) {
  .sp-top { padding: 12px 24px; }
  .sp-top .sp-in { max-width: 1152px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
  .sp-top .row { display: contents; }
  .sp-brand { order: 1; font-size: 21px; }
  .sp-search { order: 2; flex: 1; margin-top: 0; height: 44px; min-width: 0; }
  .sp-addr { order: 3; flex: 0 1 auto; max-width: 250px; padding: 6px 12px; }
  .sp-addr.grow { flex: 0 1 auto; }
  .sp-topnav { order: 4; display: flex; gap: 2px; }
  .sp-topnav a { color: #d6dcec; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
  .sp-topnav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .sp-topnav a.on { color: var(--gold); background: rgba(255, 255, 255, .06); }
  .sp-cartbtn { order: 5; width: 44px; height: 44px; }
  .sp-nav { display: none; }
  .sp-main { padding: 20px 14px 48px; }
  .sp-main.has-bar { padding-bottom: 110px; }
  .sp-bar { bottom: 0; width: min(1152px, 100%); }
  .sp-toast { bottom: 90px; }
  .sp-bwrap { position: relative; }
  .sp-banners { grid-auto-columns: 100%; }
  .sp-banner { aspect-ratio: 4 / 1; }
  .sp-dots { display: flex; gap: 6px; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
  .sp-dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .2s; }
  .sp-dots button.on { width: 24px; background: #fff; }
  .sp-h { margin: 26px 0 12px; }
  .sp-h h2 { font-size: 18px; }
  .sp-cats { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
  .sp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .sp-rail { grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; }
  .sp-prod { padding: 12px; transition: box-shadow .15s, transform .15s; }
  /* کارت کالا روی کامپیوتر: قیمت یک ردیف کامل، زیرش دکمهٔ تمام‌عرض «افزودن به سبد» که بعد از افزودن همان‌جا شمارنده می‌شود؛ همهٔ کارت‌ها هم‌قد */
  .sp-prod { grid-template-rows: auto auto 1fr; }
  .sp-prod .sp-buy { align-self: end; }
  .sp-prod .sp-price { min-height: 44px; align-content: end; }
  .sp-prod .sp-buy, .sp-pd .sp-buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sp-buy .sp-step, .sp-buy .sp-add, .sp-buy .sp-soldout { margin-inline-start: 0; }
  .sp-buy .sp-add { width: 100%; height: 38px; display: flex; justify-content: center; gap: 4px; font-weight: 700; font-size: 13.5px; }
  .sp-addt { display: inline; }
  .sp-buy .sp-step { width: 100%; height: 38px; justify-content: space-between; }
  .sp-buy .sp-step button { width: 34px; height: 34px; }
  .sp-buy .sp-soldout { height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--bad-soft); }
  .sp-pd .sp-buy .sp-add, .sp-pd .sp-buy .sp-step, .sp-pd .sp-buy .sp-soldout { height: 46px; }
  .sp-pd .sp-price b { font-size: 20px; }
  .sp-prod:hover { box-shadow: 0 8px 24px rgba(22, 33, 58, .12); transform: translateY(-2px); }
  .sp-pd { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 24px; }
  .sp-pd > .sp-card { position: sticky; top: 90px; }
}
@media (min-width: 1200px) {
  .sp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sp-rail { grid-auto-columns: calc((100% - 5 * 12px) / 6); }
}

/* erp061 (۶۰): نظرسنجی تیکی بعد از تحویل */
.sp-survey .sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip { border: 1.5px solid var(--line, #d8d2c4); background: transparent; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.sp-chip.on { border-color: var(--gold, #b8892d); background: color-mix(in srgb, var(--gold, #b8892d) 16%, transparent); font-weight: 700; }
.sp-chip:disabled { cursor: default; opacity: .85; }

/* erp071: خرید صوتی */
.sp-mic { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.sp-mic svg { color: inherit; }
.sp-mic.on { background: #d93025; color: #fff; animation: sp-mic 1s ease-in-out infinite; }
@keyframes sp-mic { 50% { box-shadow: 0 0 0 6px rgba(217, 48, 37, .18); } }
.sp-vrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sp-vrow input { width: 20px; height: 20px; flex: none; }
.sp-vrow img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; }
