/* 3D Tech — dark store, neon blue. Arabic: Noto Kufi Arabic · Latin: Chakra Petch. */
@font-face { font-family: "Noto Kufi Arabic"; src: url(/assets/fonts/kufi-ar.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: "Noto Kufi Arabic"; src: url(/assets/fonts/kufi-lat.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Chakra Petch"; src: url(/assets/fonts/chakra-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/assets/fonts/chakra-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #050912; --bg2: #08111f; --panel: rgba(14, 26, 48, .62); --line: rgba(80, 170, 255, .22);
  --ink: #eef5ff; --ink2: #b9cce6; --neon: #2aa8ff; --neon2: #6fdcff; --rgb: #1f8fff;
  --bad: #ff3b4f; --warn: #ffb53b; --ok: #36d6ff;
  --ar: "Noto Kufi Arabic", system-ui, sans-serif; --lat: "Chakra Petch", "Noto Kufi Arabic", system-ui, sans-serif;
  --r: 18px; --top: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ar); font-size: 17px; line-height: 1.75; overflow-x: clip; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(31, 120, 255, .22), transparent 60%), radial-gradient(900px 600px at 100% 40%, rgba(40, 200, 255, .08), transparent 60%), var(--bg); }
html[lang="en"] body { font-family: var(--lat); }
input, select { -webkit-user-select: text; user-select: text; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--neon2); outline-offset: 2px; }
.num, output, .card-price, .pp-price, .bl-price { font-family: var(--lat); font-variant-numeric: tabular-nums; }

/* header */
.top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 14px; padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(5, 9, 18, .82); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--neon2); direction: ltr; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(42, 168, 255, .7)); }
.logo-word { font: 700 24px/1 var(--lat); color: var(--ink); letter-spacing: .02em; }
.logo-word b { color: var(--neon2); text-shadow: 0 0 14px rgba(42, 168, 255, .8); }
.top-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.top-nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; color: var(--ink2); font-size: 15px; }
.top-nav a:hover { color: var(--ink); background: rgba(42, 168, 255, .1); }
.lang { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; }
.lang:lang(en) { font-family: var(--lat); }
.lang:lang(ar) { font-family: var(--ar); }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; text-decoration: none; font-weight: 700;
  background: #19c463; color: #03140a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 8px 28px rgba(25, 196, 99, .25); transition: transform .15s var(--ease); }
.btn-wa:active { transform: scale(.97); }
.top-wa { min-height: 44px; padding: 0 14px; }

/* the store: shelves around the bench */
.store { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(420px, 1.35fr) minmax(300px, 1fr); gap: 18px; padding: 16px clamp(12px, 2vw, 28px) 24px;
  min-height: calc(100svh - var(--top)); align-items: stretch; }
.shelves { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; min-width: 0; }
.shelf-tabs { display: none; }
.shelf { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 10px 12px 18px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(16, 30, 56, .55), rgba(8, 16, 32, .35)); border: 1px solid var(--line); }
/* the glass plank the products stand on */
.shelf::after { content: ""; position: absolute; inset-inline: 12px; bottom: 12px; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent); box-shadow: 0 0 18px 2px rgba(42, 168, 255, .55); opacity: .85; }
.shelf-head { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.shelf-no { font: 700 13px/1 var(--lat); color: var(--neon2); padding: 5px 7px; border: 1px solid var(--line); border-radius: 8px; }
.shelf-head h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; flex: 1; }
.shelf-arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: rgba(42, 168, 255, .06); }
.shelf-arrow .ic { width: 18px; height: 18px; }
[dir="rtl"] .shelf-arrow[data-dir="next"] .ic { transform: scaleX(-1); }
[dir="ltr"] .shelf-arrow[data-dir="prev"] .ic { transform: scaleX(-1); }
.shelf-row { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 8px 2px 16px; flex: 1; align-items: flex-end; scrollbar-width: thin; scrollbar-color: rgba(42, 168, 255, .35) transparent; }

/* product card */
.card { position: relative; flex: none; width: 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 1px; padding: 8px 8px 10px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, rgba(30, 52, 92, .45), rgba(12, 22, 42, .7)); border: 1px solid rgba(120, 190, 255, .16);
  touch-action: pan-x; -webkit-touch-callout: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; cursor: grab; }
.card:hover { transform: translateY(-3px); border-color: rgba(111, 220, 255, .55); box-shadow: 0 10px 30px rgba(31, 143, 255, .22); }
.card:active { transform: scale(.97); }
.card-img { display: block; aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 50% 60%, rgba(42, 168, 255, .22), transparent 70%); }
.card-img img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.shelf .card-img { aspect-ratio: auto; height: clamp(62px, 9.5vh, 110px); }
.shelf .card-name { -webkit-line-clamp: 1; min-height: 1.3em; }
.shelf-row { padding-bottom: 14px; }
.shelf .card-tag { display: none; }
.card-brand { font: 500 11.5px/1.3 var(--lat); color: var(--neon2); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.card-name { font: 700 13px/1.3 var(--lat); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-tag { font-size: 12px; line-height: 1.4; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { font-weight: 700; font-size: 16px; color: var(--neon2); }
.card-flag { position: absolute; top: 6px; inset-inline-start: 6px; display: none; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 8px; line-height: 1.5; }
.card-flag .ic { width: 12px; height: 12px; stroke-width: 3; }
.card.is-in { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon) inset, 0 0 22px rgba(42, 168, 255, .35); }
.card.is-in .flag-in { display: inline-flex; background: var(--neon); color: #021022; }
.card.is-bad { opacity: .72; }
.card.is-bad .flag-bad { display: inline-flex; background: var(--bad); color: #fff; }
.card.is-lifted { opacity: .35; }
.card.is-shake { animation: shake .45s; border-color: var(--bad); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.drag-ghost { position: fixed; z-index: 90; top: 0; left: 0; width: 96px; height: 96px; pointer-events: none; border-radius: 18px;
  background: radial-gradient(circle, rgba(42, 168, 255, .4), rgba(5, 9, 18, .2) 70%); border: 1px solid var(--neon2); box-shadow: 0 0 30px rgba(42, 168, 255, .6); }
.drag-ghost img { width: 100%; height: 100%; object-fit: contain; }
body.is-dragging { cursor: grabbing; }

/* bench: total + stage + tools + buttons */
.bench { display: flex; flex-direction: column; min-width: 0; gap: 10px; }
.bench-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bench-title { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 800; }
.bench-title span { color: var(--neon2); }
.total { display: flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-radius: 14px; background: rgba(8, 20, 40, .8); border: 1px solid var(--neon); box-shadow: 0 0 24px rgba(42, 168, 255, .3), 0 0 0 1px rgba(111, 220, 255, .2) inset; }
.total-label { font-size: 14px; color: var(--ink2); }
.total output { font-size: 28px; font-weight: 700; color: #fff; text-shadow: 0 0 16px rgba(42, 168, 255, .85); line-height: 1.1; }
.total.is-bump output { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }
.stage { position: relative; flex: 1; min-height: 380px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 62%, rgba(31, 143, 255, .2), transparent 70%), linear-gradient(180deg, #081326, #050a15);
  border: 1px solid var(--line); box-shadow: 0 0 0 1px rgba(111, 220, 255, .06) inset; }
.stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit; box-shadow: 0 0 0 2px var(--rgb) inset, 0 0 40px color-mix(in srgb, var(--rgb) 45%, transparent) inset; opacity: .35; transition: opacity .3s; }
.stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.stage.is-live .stage-poster { opacity: 0; pointer-events: none; }
.stage-gl { position: absolute; inset: 0; }
.stage-canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.stage-canvas:active { cursor: grabbing; }
.stage-empty, .stage-drop { position: absolute; inset-inline: 0; margin: 0 auto; width: max-content; max-width: 90%; text-align: center; pointer-events: none; z-index: 3; }
.stage-empty { bottom: 76px; padding: 8px 16px; border-radius: 12px; background: rgba(5, 12, 26, .75); border: 1px dashed var(--neon); color: var(--neon2); font-weight: 700; font-size: 15px; }
.stage-drop { top: 50%; transform: translateY(-50%); opacity: 0; font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 0 18px var(--neon); transition: opacity .2s; }
body.is-dragging .stage::before { opacity: 1; animation: pulse 1s infinite; }
.stage.is-over .stage-drop { opacity: 1; }
.stage.is-over::before { box-shadow: 0 0 0 3px var(--neon2) inset, 0 0 60px rgba(42, 168, 255, .6) inset; }
.stage.is-bad::before { animation: badflash .8s; }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes badflash { 0%, 60% { opacity: 1; box-shadow: 0 0 0 3px var(--bad) inset, 0 0 60px rgba(255, 59, 79, .6) inset; } }
.tools { position: absolute; z-index: 4; display: flex; gap: 8px; }
.tools-rgb { bottom: 12px; inset-inline-start: 12px; padding: 6px; border-radius: 16px; background: rgba(5, 12, 26, .7); border: 1px solid var(--line); }
.tools-cam { top: 12px; inset-inline-end: 12px; flex-direction: column; }
.tools-cam button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(5, 12, 26, .72); border: 1px solid var(--line); transition: transform .15s var(--ease), background .2s; }
.tools-cam button:active { transform: scale(.94); }
.tools-cam button[aria-pressed="true"] { background: var(--neon); color: #021022; }
.rgb { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); transition: transform .15s var(--ease); }
.rgb[aria-pressed="true"] { border-color: #fff; transform: scale(1.1); box-shadow: 0 0 14px currentColor; }
.rgb-red { background: #ff2442; color: #ff2442; } .rgb-blue { background: #1f8fff; color: #1f8fff; } .rgb-purple { background: #9d3cff; color: #9d3cff; }
.rgb-wave { background: conic-gradient(#ff2442, #1f8fff, #9d3cff, #ff2442); color: #9d3cff; }
.hint { margin: 0; text-align: center; font-size: 14px; color: var(--ink2); line-height: 1.5; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 22px; border-radius: 16px; border: 0; font-size: 21px; font-weight: 800; text-decoration: none; transition: transform .15s var(--ease), box-shadow .3s, opacity .3s; }
.btn .ic { width: 26px; height: 26px; }
.btn:active { transform: scale(.97); }
.btn-build { background: linear-gradient(180deg, #45bfff, #137fe8); color: #021022; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 10px 34px rgba(31, 143, 255, .35); }
.btn-build.is-ready { animation: ready 1.6s infinite; }
@keyframes ready { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 42px rgba(42, 168, 255, .85); } }
.btn-order { background: rgba(25, 196, 99, .14); color: #7dffb4; border: 1.5px solid rgba(25, 196, 99, .5); }
.btn-order.is-ready { background: #19c463; color: #03140a; animation: readyg 1.6s infinite; }
@keyframes readyg { 50% { box-shadow: 0 0 40px rgba(25, 196, 99, .7); } }
body.is-assembling .actions .btn, body.is-assembling .shelves { opacity: .5; pointer-events: none; }

/* message line */
.toast { position: absolute; z-index: 6; top: 12px; inset-inline-start: 12px; inset-inline-end: 70px; margin: 0; padding: 10px 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(6, 16, 34, .92); border: 1px solid var(--ok); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.toast b { font-size: 15.5px; line-height: 1.5; }
.toast span { font-size: 14px; line-height: 1.5; color: var(--ink2); }
.toast.is-bad { border-color: var(--bad); background: rgba(60, 6, 14, .94); box-shadow: 0 0 34px rgba(255, 59, 79, .45); }
.toast.is-bad b { color: #ff8090; } .toast.is-bad span { color: #ffd1d6; }
.toast.is-warn { border-color: var(--warn); } .toast.is-warn b { color: #ffd27a; }

/* sections under the store */
.sec-head { margin-bottom: 26px; }
.kicker { margin: 0 0 34px; font: 700 13px/1 var(--lat); letter-spacing: .14em; text-transform: uppercase; color: var(--neon2); }
html[lang="ar"] .kicker { font-family: var(--ar); letter-spacing: 0; font-size: 15px; }
.sec-head h2 { margin: 0; font-size: clamp(26px, 4vw, 44px); line-height: 1.3; font-weight: 800; text-wrap: balance; }
.mybuild, .how, .catalog, .faq, .pp-rel { padding: clamp(48px, 7vw, 90px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.build-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.build-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.build-list li.is-need { border-style: dashed; }
.build-list li.is-set { border-color: rgba(42, 168, 255, .55); }
.bl-slot { font-size: 13px; color: var(--neon2); font-weight: 700; min-width: 74px; }
.bl-name { font: 500 14px/1.4 var(--lat); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-price { font-weight: 700; }
.bl-x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 20px; line-height: 1; }
.mybuild-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.power { margin: 0; color: var(--ink2); font-size: 15px; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(42, 168, 255, .07); text-decoration: none; font-weight: 700; font-size: 16px; }
.btn-ghost:active { transform: scale(.97); }

.how-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-card { position: relative; padding: 26px 22px 24px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgba(31, 100, 200, .26), rgba(8, 16, 32, .5)); border: 1px solid var(--line); }
.how-card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 168, 255, .35), transparent 70%); }
.how-no { position: absolute; top: 16px; inset-inline-end: 18px; font: 700 42px/1 var(--lat); color: rgba(111, 220, 255, .22); }
.how-ic { width: 46px; height: 46px; fill: none; stroke: var(--neon2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(42, 168, 255, .7)); }
.how-card h3 { margin: 18px 0 6px; font-size: 20px; line-height: 1.4; }
.how-card p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.7; }

.cat-filter { margin-bottom: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.cat-filter summary { display: none; }
.cat-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; padding: 14px; align-items: end; }
.cat-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink2); }
.cat-form select, .cat-form input { min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #0a1426; color: var(--ink); padding: 0 12px; font: inherit; font-size: 15px; width: 100%; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-grid .card { width: auto; touch-action: auto; cursor: pointer; }
.cat-grid .card[hidden] { display: none; }
.cat-more { margin: 22px auto 0; display: flex; }
.cat-none { text-align: center; color: var(--ink2); }

.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 17px; line-height: 1.5; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 var(--lat); color: var(--neon2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink2); line-height: 1.95; }
.faq details p span { display: block; }

.foot { padding: 60px clamp(16px, 5vw, 64px) 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(31, 143, 255, .08)); text-align: center; }
.foot-word { margin: 0; font: 700 clamp(64px, 16vw, 210px)/.9 var(--lat); direction: ltr; color: transparent; -webkit-text-stroke: 1.5px rgba(111, 220, 255, .55); }
.foot-word b { color: var(--neon); -webkit-text-stroke: 0; text-shadow: 0 0 40px rgba(42, 168, 255, .6); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin: 28px 0 18px; }
.foot-line { margin: 0; font-size: 18px; font-weight: 600; }
.foot-small { margin: 0; color: var(--ink2); font-size: 14px; }
.foot-small a { color: var(--neon2); }

/* product sheet */
.sheet { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(460px, 94vw); width: 100%; }
.sheet::backdrop { background: rgba(2, 5, 12, .72); }
.sh-box { position: relative; padding: 20px; border-radius: 24px; background: linear-gradient(180deg, #0c1a33, #070e1c); border: 1px solid var(--neon); box-shadow: 0 0 50px rgba(31, 143, 255, .35); }
.sheet[open] .sh-box { animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.sh-close { position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 12, 26, .7); font-size: 24px; line-height: 1; z-index: 2; }
.sh-pic { border-radius: 18px; background: radial-gradient(circle at 50% 60%, rgba(42, 168, 255, .3), transparent 70%); }
.sh-img { width: 70%; margin: 0 auto; aspect-ratio: 1; object-fit: contain; }
.sh-brand { margin: 8px 0 0; font: 700 13px/1 var(--lat); color: var(--neon2); letter-spacing: .1em; text-transform: uppercase; }
.sh-name { margin: 6px 0 2px; font: 700 20px/1.35 var(--lat); }
.sh-price { margin: 0; font: 700 30px/1.2 var(--lat); color: var(--neon2); text-shadow: 0 0 18px rgba(42, 168, 255, .6); }
.sh-specs { margin: 12px 0; display: grid; gap: 0; }
.sh-specs div, .pp-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(80, 170, 255, .12); }
.sh-specs dt, .pp-specs dt { color: var(--ink2); font-size: 14.5px; }
.sh-specs dd, .pp-specs dd { margin: 0; font: 500 15px/1.5 var(--lat); text-align: end; }
.sh-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.6; }
.sh-msg.is-bad { background: rgba(255, 59, 79, .14); border: 1px solid var(--bad); color: #ffc2c9; }
.sh-msg.is-warn { background: rgba(255, 181, 59, .1); border: 1px solid var(--warn); color: #ffe0a6; }
.sh-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.sh-add:disabled { background: rgba(255, 59, 79, .18); color: #ff9aa6; box-shadow: none; }
.sh-btns .btn { font-size: 18px; min-height: 54px; padding: 0 12px; }

/* product page */
.pp { max-width: 1200px; margin: 0 auto; padding: 22px clamp(16px, 5vw, 48px) 0; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink2); }
.crumbs a { color: var(--neon2); text-decoration: none; }
.pp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 18px; }
.pp-pic { border-radius: 30px; background: radial-gradient(circle at 50% 58%, rgba(42, 168, 255, .32), transparent 68%), linear-gradient(180deg, #0a1730, #060c18); border: 1px solid var(--line); }
.pp-pic img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pp-info .kicker { margin-bottom: 30px; }
.pp-name { margin: 0; font: 700 clamp(28px, 3.6vw, 44px)/1.2 var(--lat); }
.pp-price { margin: 14px 0; font-size: 44px; font-weight: 700; color: var(--neon2); text-shadow: 0 0 22px rgba(42, 168, 255, .6); display: flex; align-items: baseline; gap: 12px; }
.pp-price small { font: 500 14px var(--ar); color: var(--ink2); text-shadow: none; }
.pp-specs { margin: 0 0 16px; }
.pp-need { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 20px; padding: 12px 14px; border-radius: 14px; background: rgba(42, 168, 255, .08); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; }
.pp-need .ic { color: var(--neon2); margin-top: 3px; }
.pp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-btns .btn { font-size: 18px; min-height: 56px; }
.pp-btns .btn-wa { min-height: 56px; font-size: 17px; }

/* tablets */
@media (max-width: 1180px) {
  .store { grid-template-columns: minmax(260px, 1fr) minmax(380px, 1.4fr) minmax(260px, 1fr); gap: 12px; }
  .card { width: 118px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-form { grid-template-columns: repeat(3, 1fr); }
}

/* phones: the bench on top, one shelf at a time under it (tabs) */
@media (max-width: 1023px) {
  :root { --top: 58px; }
  .top { gap: 8px; padding: 0 12px; }
  .top-nav { display: none; }
  .lang { margin-inline-start: auto; padding: 0 12px; }
  .top-wa span { display: none; }
  .top-wa { width: 48px; padding: 0; }
  .logo-word { font-size: 22px; }
  .store { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 16px; min-height: 0; }
  .bench { display: contents; }
  .bench-top { order: 1; } .stage { order: 2; } .shelf-tabs { order: 3; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .hint { order: 4; } .shelves { order: 5; display: block; } .shelves-b { order: 6; } .actions { order: 7; }
  .shelves:not(:has(.is-open)) { display: none; }
  .bench-title { font-size: 18px; }
  .total { padding: 6px 12px; }
  .total output { font-size: 24px; }
  .stage { flex: none; height: min(37svh, 400px); min-height: 280px; border-radius: 20px; }
  .bench-title span { display: none; }
  .card-tag { display: none; }
  .card-img { aspect-ratio: auto; height: 88px; }
  .tools-cam button { width: 44px; height: 44px; }
  .tools-cam { gap: 6px; top: 10px; inset-inline-end: 10px; }
  .tools-rgb { bottom: 10px; inset-inline-start: 10px; gap: 6px; }
  .rgb { width: 34px; height: 34px; }
  .stage-empty { bottom: 64px; font-size: 14px; }
  .toast { inset-inline-end: 64px; top: 10px; }
  .hint { font-size: 13.5px; }
  .btn { min-height: 58px; font-size: 20px; }
  .shelf-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 4px 2px; border-radius: 14px; border: 1px solid var(--line); background: rgba(14, 26, 48, .6); font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--ink2); }
  .shelf-tab .ic { width: 22px; height: 22px; }
  .shelf-tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(42, 168, 255, .35), rgba(31, 143, 255, .12)); border-color: var(--neon); color: #fff; box-shadow: 0 0 18px rgba(42, 168, 255, .35); }
  .shelf { display: none; padding: 8px 8px 16px; }
  .shelf.is-open { display: flex; }
  .shelf-arrow { display: none; }
  .shelf-head h2 { font-size: 15px; }
  .card { width: 122px; }
  .how-grid { grid-template-columns: 1fr; }
  .cat-filter summary { display: flex; align-items: center; justify-content: center; min-height: 50px; font-weight: 700; cursor: pointer; list-style: none; }
  .cat-filter summary::-webkit-details-marker { display: none; }
  .cat-form { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .build-list { grid-template-columns: 1fr; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-price { font-size: 38px; }
  .pp-btns > * { flex: 1 1 100%; }
  .sh-box { padding: 16px; }
  .sh-img { width: 56%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
