/* ================= parts shop (lcfix.ir/shop) — same tokens as site.css ================= */
.shop .sh-wide { display: block; place-items: normal; max-width: 1200px; margin: 0 auto; padding: 88px 22px 64px; min-height: calc(100vh - 100px); }
.shop small { font-size: .78em; }
.shop h1, .shop h2, .shop h3 { letter-spacing: -.01em; }

/* ---------- search box + live suggestions ---------- */
.sh-bar { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; }
.sh-sbox { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 5px 6px 5px 6px; transition: border-color .2s, box-shadow .2s; }
.sh-sbox:focus-within { border-color: var(--led); box-shadow: 0 0 0 4px color-mix(in srgb, var(--led) 14%, transparent); }
.sh-sic { width: 20px; height: 20px; margin-right: 8px; flex: none; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.sh-sbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; padding: 8px 4px; }
.sh-sbox input::-webkit-search-cancel-button { display: none; }
.sh-sbox .btn { padding: 8px 18px; border-radius: 12px; cursor: pointer; font-family: inherit; }
.sh-sbox.big { padding: 8px; border-radius: 22px; box-shadow: 0 18px 50px -30px var(--led-glow); }
.sh-sbox.big input { font-size: 17px; padding: 12px 6px; }
.sh-sbox.big .btn { padding: 12px 26px; font-size: 16px; border-radius: 16px; }
.sh-sug { position: absolute; z-index: 30; inset: calc(100% + 6px) 0 auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.35); max-height: min(70vh, 560px); overflow: auto; padding: 6px; text-align: right; }
.sh-sug p { margin: 8px 10px 4px; font-size: 12px; color: var(--faint); }
.sh-sug a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: 14.5px; }
.sh-sug a:hover, .sh-sug a.act { background: var(--sub); }
.sh-sug a small { color: var(--faint); margin-right: auto; white-space: nowrap; }
.sh-sug a.m svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--led); stroke-width: 1.6; }
.sh-sug a.m span { font-weight: 600; }
.sh-sug .ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: hsl(var(--h) 70% 50% / .12); color: hsl(var(--h) 55% 42%); }
[data-theme="dark"] .sh-sug .ic { color: hsl(var(--h) 70% 70%); }
.sh-sug .ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-sug .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-sug .pr { white-space: nowrap; font-weight: 700; font-size: 13.5px; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.sh-sug .pr s { color: var(--faint); font-weight: 400; font-size: 11.5px; }
.sh-sug .pr em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--faint); }
.sh-sug .pr em.s2 { color: var(--led); }
.sh-sug a.all { justify-content: center; color: var(--soft); font-size: 13.5px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.sh-sug .none { padding: 16px; color: var(--soft); font-size: 14px; text-align: center; }

.sh-cartlink { position: relative; flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center; color: var(--soft); }
.sh-cartlink:hover { color: var(--ink); border-color: var(--soft); }
.sh-cartlink svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sh-count { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center;
  background: var(--led); color: #0E1116; font-size: 12px; font-weight: 700; }
.sh-count[hidden] { display: none; }

/* ---------- home ---------- */
.sh-home { padding-top: 96px; }
.sh-hero { text-align: center; max-width: 860px; margin: 18px auto 34px; }
.sh-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 4px 14px; margin: 0 0 18px; }
.sh-hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.35; margin: 0 0 12px; font-weight: 800; }
.sh-hero h1 em { font-style: normal; color: var(--led); }
.sh-lead { color: var(--soft); font-size: 16px; margin: 0 auto 24px; max-width: 640px; line-height: 1.9; }
.sh-try { margin-top: 14px; font-size: 13.5px; color: var(--faint); display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; }
.sh-try a { border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; color: var(--soft); background: var(--card); }
.sh-try a:hover { color: var(--ink); border-color: var(--led); }
.sh-trust { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: right; }
.sh-trust li { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--card); display: grid; gap: 2px; }
.sh-trust b { font-size: 14.5px; }
.sh-trust span { font-size: 12.5px; color: var(--soft); }
.sh-sec2 { margin: 40px 0 0; }
.sh-sech { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sh-sech h2 { font-size: 21px; margin: 0; }
.sh-sech a { font-size: 14px; color: var(--soft); }
.sh-sech a:hover { color: var(--ink); }
.sh-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sh-cats a { display: grid; gap: 4px; justify-items: start; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.sh-cats a:hover { transform: translateY(-2px); border-color: hsl(var(--h) 60% 50% / .6); box-shadow: 0 14px 34px -22px hsl(var(--h) 70% 45%); }
.sh-cic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 6px;
  background: hsl(var(--h) 75% 50% / .12); color: hsl(var(--h) 55% 40%); }
[data-theme="dark"] .sh-cic { color: hsl(var(--h) 75% 70%); }
.sh-cic svg, .sh-jump svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sh-cats b { font-size: 14.5px; }
.sh-cats small { color: var(--faint); font-size: 12px; }
.sh-brands { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.sh-brands button { flex: none; display: grid; justify-items: center; gap: 0; min-width: 96px; padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); color: var(--soft); cursor: pointer; font: inherit; }
.sh-brands button span { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.sh-brands button small { font-size: 11.5px; color: var(--faint); }
.sh-brands button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sh-brands button[aria-selected="true"] small { color: var(--bg); opacity: .7; }
.sh-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.sh-models a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font-weight: 600; font-size: 14px; text-align: left; transition: border-color .2s; }
.sh-models a:hover { border-color: var(--led); }
.sh-models a small { font-weight: 400; color: var(--faint); font-size: 12px; direction: rtl; text-align: left; }
.sh-models a.sh-allm { display: grid; place-items: center; text-align: center; color: var(--soft); font-weight: 600; border-style: dashed; direction: rtl; }
.sh-about { border-top: 1px solid var(--line); padding-top: 26px; color: var(--soft); max-width: 820px; }
.sh-about h2 { color: var(--ink); font-size: 18px; }
.sh-about p { line-height: 2; font-size: 14.5px; }
.sh-about a { color: var(--ink); border-bottom: 1px dashed var(--line); }

/* deals banner */
.sh-banner { position: relative; overflow: hidden; border-radius: 24px; margin: 8px 0 0; }
.sh-btrack { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sh-bslide { flex: 0 0 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 26px 30px; color: var(--ink);
  background: linear-gradient(120deg, hsl(var(--h) 80% 55% / .16), hsl(calc(var(--h) + 40) 80% 55% / .06)); border: 1px solid hsl(var(--h) 60% 50% / .3); border-radius: 24px; }
.sh-bpct { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--led); color: #0E1116; font-size: 30px; font-weight: 900; line-height: 1; }
.sh-bpct small { font-size: 12px; font-weight: 600; }
.sh-bbody { display: grid; gap: 6px; }
.sh-bbody b { font-size: 19px; line-height: 1.7; }
.sh-bprice { font-size: 20px; font-weight: 800; }
.sh-bprice s { font-size: 14px; font-weight: 400; color: var(--faint); margin-left: 6px; }
.sh-buntil { font-size: 13px; color: var(--soft); }
.sh-bic svg { width: 84px; height: 84px; fill: none; stroke: hsl(var(--h) 55% 45%); stroke-width: 1; opacity: .8; }
.sh-bdots { position: absolute; left: 18px; bottom: 14px; display: flex; gap: 6px; }
.sh-bdots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.sh-bdots button.on { width: 22px; background: var(--led); }

/* ---------- headings / crumbs ---------- */
.sh-crumb { font-size: 13px; color: var(--faint); margin: 0 0 12px; }
.sh-crumb a { color: var(--soft); } .sh-crumb a:hover { color: var(--ink); }
.sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sh-title { font-size: 26px; margin: 0 0 4px; }
.sh-intro { color: var(--soft); font-size: 14.5px; margin: 0; line-height: 1.9; }
.sh-model-head { display: flex; gap: 16px; align-items: center; margin: 4px 0 18px; }
.sh-model-head h1 { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 4px; }
.sh-lap { width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--led) 14%, transparent); }
.sh-lap svg { width: 34px; height: 34px; fill: none; stroke: var(--led); stroke-width: 1.4; stroke-linejoin: round; }
.sh-brandmark { flex: none; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: var(--bg); font-weight: 900; font-size: 20px; letter-spacing: .03em; }
.sh-jump { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 18px; scrollbar-width: thin; position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); padding-top: 8px; }
.sh-jump a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); font-size: 13.5px; }
.sh-jump a svg { width: 18px; height: 18px; color: hsl(var(--h) 55% 45%); }
[data-theme="dark"] .sh-jump a svg { color: hsl(var(--h) 70% 70%); }
.sh-jump a small { color: var(--faint); }
.sh-jump a:hover { border-color: hsl(var(--h) 60% 50% / .6); }
.sh-group { margin: 6px 0 30px; scroll-margin-top: 70px; }
.sh-group h2 { font-size: 18px; margin: 0 0 12px; }
.sh-group h2 span { color: var(--soft); font-weight: 600; }
.sh-series { margin: 18px 0; }
.sh-series h2 { font-size: 16px; color: var(--soft); margin: 0 0 10px; direction: ltr; text-align: right; }
.sh-mfind input { width: 100%; max-width: 420px; font: inherit; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); outline: 0; }
.sh-mfind input:focus { border-color: var(--led); }
.sh-didyou { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; padding: 12px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--led) 10%, transparent); border: 1px solid color-mix(in srgb, var(--led) 30%, transparent); font-size: 14px; }
.sh-didyou a { padding: 4px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.sh-didyou a small { color: var(--faint); font-weight: 400; }
.sh-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px dashed var(--line); border-radius: 20px; padding: 18px 20px; margin-top: 30px; }
.sh-cta p { margin: 4px 0 0; color: var(--soft); font-size: 14px; }

/* ---------- listing with filters ---------- */
.sh-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.sh-filters { position: sticky; top: 16px; display: grid; gap: 8px; max-height: calc(100vh - 32px); overflow: auto; padding-left: 4px; scrollbar-width: thin; }
.sh-fbox { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 4px 10px 8px; }
.sh-fbox summary { cursor: pointer; font-weight: 700; font-size: 14px; padding: 8px 2px; list-style: none; display: flex; justify-content: space-between; }
.sh-fbox summary::after { content: '+'; color: var(--faint); }
.sh-fbox[open] summary::after { content: '−'; }
.sh-chk { display: flex; align-items: center; gap: 8px; padding: 5px 4px; font-size: 13.5px; color: var(--soft); border-radius: 8px; }
.sh-chk::before { content: ''; width: 15px; height: 15px; flex: none; border: 1.5px solid var(--line); border-radius: 5px; transition: background .15s, border-color .15s; }
.sh-chk:hover { color: var(--ink); background: var(--sub); }
.sh-chk.on { color: var(--ink); font-weight: 600; }
.sh-chk.on::before { background: var(--led); border-color: var(--led); box-shadow: inset 0 0 0 2px var(--card); }
.sh-chk small { margin-right: auto; color: var(--faint); font-weight: 400; }
.sh-chk[dir="ltr"] { flex-direction: row-reverse; justify-content: flex-end; }
.sh-chk[dir="ltr"] small { margin-right: 0; margin-left: auto; }
.sh-ffind { width: 100%; font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); margin: 2px 0 6px; outline: 0; }
.sh-fscroll { max-height: 260px; overflow: auto; scrollbar-width: thin; }
.sh-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sh-tools .sh-hint { margin: 0; }
.sh-sort { margin-right: auto; font-size: 13.5px; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.sh-sort select { font: inherit; font-size: 13.5px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.sh-ftoggle { display: none; }
.sh-active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sh-active a { font-size: 13px; padding: 3px 10px; border-radius: 20px; background: var(--ink); color: var(--bg); }
.sh-empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: 20px; }
.sh-empty p { margin: 0 0 8px; }

/* ---------- product cards ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.sh-card { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.sh-card:hover { border-color: hsl(var(--h) 60% 50% / .55); transform: translateY(-2px); box-shadow: 0 14px 34px -22px hsl(var(--h) 70% 45%); }
.sh-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.sh-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: hsl(var(--h) 75% 50% / .12); color: hsl(var(--h) 55% 40%); }
[data-theme="dark"] .sh-ic { color: hsl(var(--h) 75% 70%); }
.sh-ic svg, .sh-pic svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sh-off { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 20px; background: #E11D48; color: #fff; }
.sh-n { font-size: 14.5px; font-weight: 700; line-height: 1.75; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sh-en { margin: 0; font-size: 11.5px; color: var(--faint); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.sh-p { font-weight: 800; font-size: 15.5px; white-space: nowrap; display: grid; }
.sh-p s { font-size: 12px; font-weight: 400; color: var(--faint); }
.sh-p small, .sh-price small, .sh-sum small, .sh-lines small, .sh-bprice small { font-weight: 400; font-size: .7em; color: var(--soft); }
.sh-add.mini { position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--led); background: var(--led); color: #0E1116;
  display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .15s; }
.sh-add.mini:hover { transform: scale(1.06); }
.sh-add.mini svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sh-add.mini.in { background: transparent; color: var(--led); }

.sh-badge { display: inline-block; border-radius: 20px; padding: 2px 10px; font-size: 12px; white-space: nowrap; margin: 0; font-weight: 600; }
.sh-badge.in { background: color-mix(in srgb, var(--led) 16%, transparent); color: var(--led); }
.sh-badge.ask { background: color-mix(in srgb, #F59E0B 18%, transparent); color: #B45309; }
[data-theme="dark"] .sh-badge.ask { color: #FBBF24; }
.sh-badge.out { background: var(--sub); color: var(--faint); border: 1px solid var(--line); font-weight: 400; }

.sh-pages { display: flex; justify-content: center; gap: 6px; margin: 28px 0 0; flex-wrap: wrap; }
.sh-pages a, .sh-pages span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.sh-pages span { border: 0; }
.sh-pages a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- product page ---------- */
.sh-prod { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 6px; }
.sh-pic { position: relative; aspect-ratio: 1; border-radius: 26px; display: grid; place-items: center; color: hsl(var(--h) 55% 45%);
  background: radial-gradient(circle at 30% 25%, hsl(var(--h) 80% 60% / .22), transparent 60%), var(--card); border: 1px solid var(--line); }
[data-theme="dark"] .sh-pic { color: hsl(var(--h) 75% 70%); }
.sh-pic svg { width: 46%; height: 46%; stroke-width: .9; }
.sh-off.big { top: 16px; left: 16px; font-size: 14px; padding: 5px 12px; }
.sh-info h1 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 6px; line-height: 1.7; }
.sh-entitle { color: var(--soft); font-size: 14px; margin: 0 0 6px; text-align: left; }
.sh-code { color: var(--faint); font-size: 13px; margin: 0 0 14px; }
.sh-buybox { border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; background: var(--card); max-width: 560px; }
.sh-pricebox { display: grid; gap: 4px; justify-items: start; }
.sh-price { font-size: 28px; font-weight: 900; margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sh-price s { color: var(--faint); font-size: 16px; font-weight: 400; }
.sh-deal-until { margin: 0; font-size: 13px; color: #E11D48; font-weight: 600; }
.sh-tag { font-size: 12px; font-weight: 600; border-radius: 20px; padding: 1px 10px; background: color-mix(in srgb, var(--led) 16%, transparent); color: var(--led); }
.sh-buy { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sh-buy .btn { padding: 11px 24px; font-size: 15px; cursor: pointer; font-family: inherit; }
.sh-add.in:not(.mini) { background: transparent; color: var(--led); }
.sh-hint { color: var(--soft); font-size: 13.5px; margin: 10px 0; line-height: 1.9; }
.sh-hint a { color: var(--ink); border-bottom: 1px dashed var(--line); }
.sh-details { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin-top: 26px; }
.sh-sec { border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; background: var(--card); }
.sh-sec:first-child:last-child { grid-column: 1 / -1; }
.sh-sec h2 { font-size: 17px; margin: 0 0 4px; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sh-chips a, .sh-chips span { font-size: 13px; padding: 4px 11px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.sh-chips a:hover { border-color: var(--led); color: var(--led); }
.sh-chips.mono span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.sh-chips [hidden] { display: none; }
.sh-morebtn { margin-top: 8px; border: 0; background: none; color: var(--led); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; }
.sh-spec { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.sh-spec th, .sh-spec td { text-align: right; padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sh-spec tr:last-child th, .sh-spec tr:last-child td { border-bottom: 0; }
.sh-spec th { color: var(--soft); font-weight: 400; width: 38%; }
.sh-spec a { color: var(--ink); border-bottom: 1px dashed var(--line); }
.sh-raw { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--soft); text-align: left !important; }
.sh-h2 { font-size: 19px; margin: 36px 0 12px; }
.sh-err { color: #DC2626; font-size: 14px; margin: 6px 0; }
[data-theme="dark"] .sh-err { color: #F87171; }

/* forms */
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.sh-ask, .sh-order { display: grid; gap: 10px; max-width: 560px; }
.sh-ask { margin-top: 6px; }
.sh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-ask label, .sh-order label { display: grid; gap: 4px; font-size: 13.5px; color: var(--soft); }
.sh-ask input, .sh-order input:not([type=radio]), .sh-order textarea { font: inherit; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); outline: none; }
.sh-ask input:focus, .sh-order input:focus, .sh-order textarea:focus { border-color: var(--led); box-shadow: 0 0 0 4px color-mix(in srgb, var(--led) 15%, transparent); }
.sh-ask .btn, .sh-order > .btn { justify-self: start; padding: 10px 26px; font-size: 15px; cursor: pointer; font-family: inherit; }
.sh-order { margin-top: 18px; }
.sh-order h2 { font-size: 18px; margin: 8px 0 0; }
.sh-del { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 10px; margin: 0; display: grid; gap: 4px; }
.sh-del legend { font-size: 13.5px; color: var(--soft); padding: 0 6px; }
.sh-del label { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 14.5px; cursor: pointer; }
.sh-post { display: grid; gap: 10px; }
.sh-post[hidden] { display: none; }

/* cart */
.sh-cart { max-width: 760px; }
.sh-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.sh-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 32px; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sh-lines li:last-child { border-bottom: 0; }
.sh-lines li.gone { color: var(--faint); }
.sh-lines a { color: var(--ink); font-weight: 600; }
.sh-lines .q { color: var(--faint); font-size: 13px; }
.sh-lines .p { font-weight: 800; white-space: nowrap; }
.sh-lines .p s { color: var(--faint); font-weight: 400; font-size: 12px; }
.sh-lines button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--soft); cursor: pointer; font: inherit; }
.sh-lines button:hover { color: #DC2626; border-color: #DC2626; }
.sh-sum { text-align: left; font-size: 17px; margin: 12px 4px; }
.sh-no { font-size: 22px; letter-spacing: 2px; }

.sh-toast { position: fixed; z-index: 99; bottom: 22px; left: 50%; transform: translate(-50%, 20px); opacity: 0; transition: .25s; background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 14px; font-size: 14px; box-shadow: 0 14px 40px -18px rgba(0,0,0,.5); }
.sh-toast.on { opacity: 1; transform: translate(-50%, 0); }
.sh-toast a { color: var(--led); font-weight: 700; }

/* rules / about */
.sh-doc { display: block; place-items: normal; max-width: 760px; margin: 0 auto; padding: 100px 22px 60px; }
.sh-doc h1 { font-size: 26px; margin: 0 0 6px; }
.sh-doc h2 { font-size: 18px; margin: 26px 0 8px; }
.sh-doc li, .sh-doc p { color: var(--soft); font-size: 15px; line-height: 2; }
.sh-doc a { color: var(--ink); border-bottom: 1px dashed var(--line); }
.sh-doc ul { padding-right: 18px; }
.sh-doc li a { white-space: nowrap; }
.foot .row.links { border-top: 1px solid var(--line); align-items: center; }
.foot .enamad img { max-height: 70px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sh-layout { grid-template-columns: 1fr; }
  .sh-filters { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); max-height: none; z-index: 60; background: var(--bg); padding: 70px 14px 20px;
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); transform: translateX(110%); transition: transform .3s; }
  .sh-filters.open { transform: none; }
  .sh-ftoggle { display: inline-flex; padding: 7px 14px; font-size: 14px; cursor: pointer; font-family: inherit; }
  .sh-prod { grid-template-columns: 1fr; gap: 16px; }
  .sh-pic { aspect-ratio: auto; height: 170px; }
  .sh-details { grid-template-columns: 1fr; }
  .sh-trust { grid-template-columns: 1fr; }
  .sh-bslide { grid-template-columns: auto 1fr; padding: 20px; }
  .sh-bic { display: none; }
}
@media (max-width: 760px) {
  .shop .sh-wide { padding: 76px 12px 40px; }
  .sh-home { padding-top: 80px; }
  .sh-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sh-card { padding: 11px; border-radius: 15px; }
  .sh-ic { width: 38px; height: 38px; }
  .sh-n { font-size: 13.5px; }
  .sh-en { display: none; }
  .sh-off { top: 11px; left: 11px; }
  .sh-foot { gap: 6px; }
  .sh-p { font-size: 14px; }
  .sh-row { grid-template-columns: 1fr; }
  .sh-lines li { grid-template-columns: minmax(0, 1fr) auto 32px; }
  .sh-lines .q { display: none; }
  .sh-cats { grid-template-columns: repeat(2, 1fr); }
  .sh-models { grid-template-columns: repeat(2, 1fr); }
  .sh-sbox .btn { display: none; }
  .sh-sbox.big .btn { display: inline-flex; padding: 10px 16px; }
  .sh-bpct { width: 70px; height: 70px; font-size: 22px; }
  .sh-bbody b { font-size: 15px; }
  .sh-sug .pr em { display: none; }
}

/* top bar on small phones: the extra «فروشگاه» link must not push the page sideways */
@media (max-width: 480px) {
  .top { padding: 12px 12px; gap: 8px; }
  .top nav { gap: 11px; font-size: 13px; }
  .top-home .mark { width: 78px; }
  .top nav a[href*="wa.me"] { display: none; }
  .theme { width: 34px; height: 34px; }
}
.sh-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.sh-tags span { font-size: 11.5px; padding: 1px 8px; border-radius: 8px; background: var(--sub); color: var(--soft); border: 1px solid var(--line); }
.sh-tags { align-self: start; align-items: flex-start; }
.sh-sug .n { display: grid; white-space: normal; line-height: 1.6; }
.sh-sug .n bdi { unicode-bidi: isolate; }
.sh-sug .n i { font-style: normal; font-size: 11.5px; color: var(--faint); }
.sh-sug .n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sh-sug .n i { display: block; }
.sh-sug .pr b { font-weight: 800; }
.sh-fhead { display: none; }
@media (max-width: 980px) {
  .sh-fhead { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -70px; margin: -56px 0 6px; padding: 8px 2px; background: var(--bg); z-index: 2; }
  .sh-fclose { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 20px; cursor: pointer; }
  body.sh-fopen::after { content: ''; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.35); }
}
.nw { white-space: nowrap; }
.sh-more-m { margin: 0; font-size: 12px; color: var(--led); }

/* workshop-verified boards */
.sh-vf { display: inline-block; background: #e7f6ec; color: #17803d; border-radius: 999px; padding: 1px 10px; font-size: 12.5px; font-weight: 600; margin-left: 6px; }
.sh-board { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 18px 0; }
.sh-board h2 { margin: 0 0 4px; font-size: 17px; }
.sh-board .sh-spec td[dir="ltr"] { text-align: left; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }

/* =================== v6: more colour, compact categories =================== */
.shop { background:
  radial-gradient(1200px 500px at 85% -10%, rgba(22,163,74,.10), transparent 60%),
  radial-gradient(900px 500px at 0% 20%, rgba(14,165,233,.08), transparent 60%), var(--bg); }
[data-theme="dark"] .shop { background:
  radial-gradient(1200px 500px at 85% -10%, rgba(74,222,128,.08), transparent 60%),
  radial-gradient(900px 500px at 0% 20%, rgba(56,189,248,.07), transparent 60%), var(--bg); }

/* hero band */
.sh-hero { max-width: none; margin: 10px 0 30px; padding: 44px 24px 30px; border-radius: 28px; position: relative; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.18), transparent 60%),
              radial-gradient(500px 260px at 0% 100%, rgba(253,224,71,.20), transparent 60%),
              linear-gradient(135deg, #065F46 0%, #059669 45%, #0E7490 100%);
  box-shadow: 0 30px 60px -36px rgba(6,95,70,.7); }
.sh-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.sh-hero > * { position: relative; z-index: 1; max-width: 860px; margin-left: auto; margin-right: auto; }
.sh-hero .sh-kicker { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.sh-hero h1 { color: #fff; }
.sh-hero h1 em { color: #FDE047; }
.sh-hero .sh-lead { color: rgba(255,255,255,.88); }
.sh-hero .sh-sbox { z-index: 20; }   /* suggestions above the trust boxes */
.sh-hero .sh-sug { max-height: min(70vh, 520px); overflow-y: auto; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); }
.sh-hero .sh-sbox { box-shadow: 0 18px 40px -20px rgba(0,0,0,.45); border-color: transparent; }
.sh-hero .sh-try { color: rgba(255,255,255,.8); }
.sh-hero .sh-try a { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.sh-hero .sh-try a:hover { background: rgba(255,255,255,.26); border-color: #fff; }
.sh-hero .sh-trust li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.sh-hero .sh-trust b { color: #fff; }
.sh-hero .sh-trust span { color: rgba(255,255,255,.8); }

/* section headings with an accent bar */
.sh-sech h2, .sh-group h2, .sh-sec h2 { position: relative; padding-right: 14px; }
.sh-sech h2::before, .sh-group h2::before, .sh-sec h2::before { content: ""; position: absolute; right: 0; top: .28em; bottom: .28em; width: 5px; border-radius: 3px;
  background: linear-gradient(180deg, #22C55E, #0EA5E9); }

/* compact categories: one line each */
.sh-cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.sh-cats a { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border-radius: 14px;
  background: linear-gradient(90deg, hsl(var(--h) 80% 50% / .10), transparent 70%), var(--card); border: 1px solid hsl(var(--h) 50% 50% / .22); }
.sh-cats .sh-cic { width: 36px; height: 36px; border-radius: 11px; margin: 0; flex: none; background: hsl(var(--h) 75% 50% / .18); }
.sh-cats .sh-cic svg { width: 20px; height: 20px; }
.sh-cats b { font-size: 13.5px; line-height: 1.5; flex: 1; min-width: 0; }
.sh-cats small { flex: none; font-size: 11.5px; padding: 1px 8px; border-radius: 20px; background: hsl(var(--h) 70% 50% / .12); color: hsl(var(--h) 45% 35%); font-weight: 600; }
[data-theme="dark"] .sh-cats small { color: hsl(var(--h) 70% 72%); }

/* brands + models */
.sh-brands button[aria-selected="true"] { background: linear-gradient(135deg, #059669, #0E7490); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -14px #059669; }
.sh-brands button[aria-selected="true"] small { color: #fff; }
.sh-models a:hover { border-color: #10B981; background: linear-gradient(90deg, rgba(16,185,129,.08), transparent), var(--card); }

/* product cards: colour strip + livelier price/button */
.sh-card { overflow: hidden; }
.sh-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, hsl(var(--h) 75% 50%), hsl(calc(var(--h) + 40) 75% 55%)); opacity: .85; }
.sh-ic { background: linear-gradient(135deg, hsl(var(--h) 80% 50% / .20), hsl(calc(var(--h) + 30) 80% 55% / .10)); }
.sh-p { color: #047857; }
[data-theme="dark"] .sh-p { color: #4ADE80; }
.sh-add.mini { background: linear-gradient(135deg, #22C55E, #059669); border-color: transparent; color: #fff; box-shadow: 0 8px 16px -10px #059669; }
.sh-add.mini.in { background: transparent; border-color: var(--led); box-shadow: none; }
.sh-off { background: linear-gradient(135deg, #F43F5E, #E11D48); box-shadow: 0 6px 14px -8px #E11D48; }

/* deals banner: warmer */
.sh-bslide { background: radial-gradient(500px 200px at 100% 0%, hsl(var(--h) 85% 60% / .25), transparent 70%),
  linear-gradient(120deg, #FFF7ED, #FEF3C7 60%, #ECFDF5); border-color: rgba(245,158,11,.35); }
[data-theme="dark"] .sh-bslide { background: linear-gradient(120deg, #2A1B0B, #1F2A1E); border-color: rgba(245,158,11,.3); }
.sh-bpct { background: linear-gradient(135deg, #F43F5E, #F97316); color: #fff; box-shadow: 0 14px 30px -14px #F43F5E; }
.sh-bdots button.on { background: #F97316; }

.sh-model-head .sh-lap, .sh-brandmark { background: linear-gradient(135deg, #059669, #0E7490); color: #fff; }
.sh-model-head .sh-lap svg { stroke: #fff; }

@media (max-width: 640px) {
  .sh-hero { padding: 30px 14px 20px; border-radius: 22px; margin-top: 4px; }
  .sh-cats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .sh-cats a { padding: 7px 8px; gap: 8px; }
  .sh-cats .sh-cic { width: 30px; height: 30px; }
  .sh-cats b { font-size: 12.5px; }
  .sh-cats small { display: none; }
}
@media (max-width: 640px) {
  .sh-hero .sh-lead { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
  .sh-hero .sh-trust { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
  .sh-hero .sh-trust li { padding: 8px 6px; text-align: center; border-radius: 12px; }
  .sh-hero .sh-trust b { font-size: 11.5px; line-height: 1.5; }
  .sh-hero .sh-trust span { display: none; }
  .sh-hero .sh-try a:nth-of-type(n+3) { display: none; }
}

/* SEO text blocks */
.sh-story { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 14px 0; color: var(--soft); font-size: 14.5px; line-height: 2.05; }
.sh-story p { margin: 0 0 4px; }
.sh-guide { margin-top: 26px; }
.sh-guide p { color: var(--soft); line-height: 2.05; font-size: 14.5px; max-width: 900px; }
.sh-guide h3 { font-size: 16px; margin: 18px 0 10px; }

/* ===== product photos (v9) ===== */
.sh-ph { display: block; margin: -2px -2px 2px; border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; }
.sh-ph img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s; }
.sh-card:hover .sh-ph img { transform: scale(1.04); }
.sh-gal { display: grid; gap: 10px; min-width: 0; }
.sh-pic.has-ph { background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.sh-pic.has-ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sh-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.sh-thumbs button { flex: 0 0 62px; height: 62px; padding: 0; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; overflow: hidden; }
.sh-thumbs button.on { border-color: hsl(var(--h) 70% 48%); }
.sh-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) {
  .sh-pic.has-ph { aspect-ratio: 1; height: auto; max-width: 420px; width: 100%; margin-inline: auto; }
  .sh-ph { aspect-ratio: 1; }
}
