@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}


:root {
  --bg: #08080a;
  --bg-2: #0b0b0e;
  --sidebar: #09090c;
  --surface: #101014;
  --surface-2: #141419;
  --surface-3: #191920;
  --text: #f3f0eb;
  --muted: #a5a19a;
  --muted-2: #827e77;
  --line: rgba(243, 240, 235, 0.09);
  --line-strong: rgba(243, 240, 235, 0.16);
  --red: #c10e16;
  --red-bright: #e03a34;
  --red-deep: #8e0810;
  --red-soft: rgba(193, 14, 22, 0.13);
  --pc-media: #0c0b0f;
  --part-tile: #ded8cd;
  --part-ink: #1b191e;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --header: rgba(8, 8, 10, 0.84);
  --sans: "Archivo", "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --side: 76px;
  --side-open: 288px;
  --radius: 16px;
  --radius-sm: 10px;
}

[data-theme="light"] {
  --bg: #f4f1eb;
  --bg-2: #fbf8f2;
  --sidebar: #fffdf9;
  --surface: #fffdf9;
  --surface-2: #f1ece4;
  --surface-3: #e9e4da;
  --text: #151317;
  --muted: #5f5a53;
  --muted-2: #7d786f;
  --line: rgba(21, 19, 23, 0.1);
  --line-strong: rgba(21, 19, 23, 0.18);
  --red: #b00c13;
  --red-bright: #c9232a;
  --red-deep: #8d070d;
  --red-soft: rgba(176, 12, 19, 0.08);
  --pc-media: #16141a;
  --part-tile: #e6e0d6;
  --part-ink: #151317;
  --shadow: 0 24px 60px rgba(54, 42, 28, 0.14);
  --header: rgba(244, 241, 235, 0.86);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: 84px;
  background: var(--bg);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.52;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .28s ease, color .28s ease;
}
body.sidebar-open, body.drawer-open, body.search-open { overflow: hidden; }
body.product-open .announce { display: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
button { border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border: 2px solid var(--bg); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
html { scrollbar-color: var(--surface-3) var(--bg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; left: 90px; z-index: 500; transform: translateY(-180%); background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; transition: transform .25s var(--ease); }
.skip:focus { transform: none; }
.mono { font-family: var(--mono); font-size: 10.5px; font-weight: 500; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(2px,-2px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px;
  font-size: 14px; font-weight: 650; letter-spacing: -.01em; line-height: 1; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.025); border-color: var(--line-strong); color: var(--text); }
[data-theme="light"] .btn-ghost { background: rgba(0,0,0,.025); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary[disabled] { background: var(--surface-3); border-color: var(--line-strong); color: var(--muted-2); opacity: 1; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; position: relative; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }
.icon-btn.is-active { color: #fff; background: var(--red); border-color: var(--red); }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 3px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 9px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--text); border-color: var(--line-strong); }
.text-link span { font-size: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-head h2 { font-size: 26px; line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.section-head p { margin-top: 5px; color: var(--muted-2); font-size: 12.5px; font-weight: 500; }
.section-head .text-link { flex: 0 0 auto; }
.section-head.compact-head { margin-top: 26px; }

/* first-visit demo gate */

.demo-gate { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(5,4,6,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.demo-gate[hidden] { display: none; }
body.demo-gate-open { overflow: hidden; }
.demo-card { width: min(560px, 100%); padding: 30px; border: 1px solid var(--line-strong); border-radius: 18px; background: radial-gradient(ellipse at 20% 0%, rgba(193,14,22,.18), transparent 52%), var(--surface); box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.demo-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-bright); }
.demo-card h2 { margin-top: 8px; font-size: 33px; line-height: 1.04; letter-spacing: -.05em; font-weight: 700; }
.demo-card p { margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.demo-points { display: grid; gap: 8px; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-points li { position: relative; padding-left: 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.demo-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--red-bright); }
.demo-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.demo-actions .btn { justify-content: center; }
.demo-note { display: block; margin-top: 14px; color: var(--muted-2); font-size: 10px; text-align: center; }
@media (max-width: 520px) { .demo-card { padding: 22px; } .demo-card h2 { font-size: 27px; } }

/* announcement bar */
.is-builder .announce { display: none; }
.is-builder .site-footer, .is-gaming .site-footer { display: none; }

.announce { position: relative; display: flex; align-items: center; gap: 16px; height: 36px; padding: 0 0 0 22px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(193,14,22,.13), transparent 55%), var(--surface); font-size: 11.5px; color: var(--muted); }
.announce-track { position: absolute; left: 0; top: 0; height: 100%; display: flex; width: max-content; animation: announceMarquee 36s linear infinite; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-group { display: inline-flex; align-items: center; gap: 10px; padding-right: 54px; white-space: nowrap; }
.announce-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--red-bright); }
.announce-sep { color: var(--line-strong); }
.announce-link { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; margin-left: auto; padding: 0 24px; background: #0b0a0e; color: #fff; font-size: 12px; font-weight: 600; }
.announce-link:hover { color: var(--red-bright); }
@keyframes announceMarquee { from { transform: translateX(0); } to { transform: translateX(-20%); } }

/* ---------- sidebar ---------- */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  width: var(--side);
  height: 100dvh;
  padding: 10px;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  overflow-y: auto;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  transition: width .38s cubic-bezier(.22,1,.36,1), box-shadow .34s var(--ease), background-color .28s ease;
  will-change: width;
}
.sidebar:hover, .sidebar:focus-within {
  width: var(--side-open);
  box-shadow: 30px 0 60px rgba(0,0,0,.3);
}
[data-theme="light"] .sidebar:hover, [data-theme="light"] .sidebar:focus-within { box-shadow: 30px 0 60px rgba(54,42,28,.08); }
.side-head { position: relative; flex: 0 0 auto; }
.side-brand { position: relative; display: flex; align-items: center; height: 46px; width: 100%; padding: 0 8px; border-radius: 9px; overflow: hidden; }
.brand-tile { display: none; }
.brand-tile img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.side-brand-text { position: absolute; left: 8px; top: 50%; display: flex; align-items: center; flex: 0 0 auto; opacity: 1; transform: translateY(-50%); }
.brand-wordmark { height: 37px; width: auto; display: block; }
.brand-wordmark-dark { display: none; }
[data-theme="light"] .brand-wordmark-light { display: none; }
[data-theme="light"] .brand-wordmark-dark { display: block; }
.sidebar:hover .side-brand-text, .sidebar:focus-within .side-brand-text, .sidebar.is-open .side-brand-text { opacity: 1; transform: translateY(-50%); }
.side-close { display: none; position: absolute; right: 0; top: 4px; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.side-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.side-nav { display: grid; gap: 5px; margin-top: 22px; }
.side-nav::before { display: none; }

.side-link { position: relative; display: flex; align-items: center; width: 100%; height: 48px; padding: 0; overflow: hidden; border-radius: 9px; color: var(--muted); text-align: left; transition: color .18s; }
.side-link::before { content: ""; position: absolute; left: 7px; top: 3px; width: 42px; height: 42px; border-radius: 8px; background: transparent; transition: left .2s, top .2s, width .2s, height .2s, border-radius .2s, background .2s; }
.side-icon { position: relative; z-index: 1; width: 42px; height: 42px; flex: 0 0 42px; margin-left: 7px; display: grid; place-items: center; border-radius: 8px; color: currentColor; transition: color .18s; }
.side-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.side-label { position: relative; z-index: 1; flex: 0 0 auto; margin-left: 11px; font-size: 15px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(-7px); transition: opacity .18s ease, transform .28s var(--ease); }
.side-link:hover { color: var(--text); }
.side-link:hover::before { background: var(--surface-2); }
.side-link.is-active { color: #fff; }
.side-link.is-active::before { background: var(--red); animation: navPill .3s var(--ease); }
@keyframes navPill { from { transform: scale(.9); opacity: .5; } to { transform: none; opacity: 1; } }
.sidebar:hover .side-link::before, .sidebar:focus-within .side-link::before, .sidebar.is-open .side-link::before { left: 0; top: 0; width: 100%; height: 100%; border-radius: 9px; }
.sidebar:hover .side-label, .sidebar:focus-within .side-label, .sidebar.is-open .side-label { opacity: 1; transform: none; }
.side-count { position: absolute; z-index: 2; right: auto; left: 36px; top: 2px; min-width: 15px; height: 15px; display: grid; place-items: center; padding: 0 3px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 8px; }
.sidebar:hover .side-count, .sidebar:focus-within .side-count, .sidebar.is-open .side-count { left: auto; right: 8px; top: 50%; transform: translateY(-50%); }
.side-bottom { margin-top: auto; display: grid; gap: 4px; }
.side-logout { color: var(--red-bright); }
.side-logout:hover { color: var(--red-bright); }
.auth-avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--mono); font-size: 10px; }
.theme-icon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: block; }
.sidebar-backdrop { display: none; }

/* ---------- main / topbar ---------- */

.main { min-width: 0; min-height: 100dvh; display: flex; flex-direction: column; margin-left: var(--side); transition: margin .26s var(--ease); }
.topbar { position: sticky; top: 0; z-index: 60; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 22px; background: var(--header); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--line); }
.topbar-left { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.topbar-page { display: flex; flex-direction: column; white-space: nowrap; }
.topbar-page strong { font-size: 14px; font-weight: 700; letter-spacing: -.015em; }
.menu-btn { display: none; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.topbar-search { position: absolute; left: 50%; top: 50%; width: min(430px, 36vw); height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted-2); font-size: 12.5px; font-weight: 500; text-align: left; transform: translate(-50%, -50%); transition: border-color .2s, color .2s; }
.topbar-search svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.topbar-search:hover { border-color: var(--line-strong); color: var(--muted); }
.topbar-right { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 0 auto; }
.topbar-auth { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; margin-right: 4px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: background .2s, border-color .2s; }
.topbar-bulk { height: 38px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.topbar-bulk:hover { background: var(--surface-2); border-color: var(--text); }
.topbar-auth:hover { background: var(--surface-2); border-color: var(--line-strong); }
.topbar-auth-icon { width: 18px; height: 18px; display: grid; place-items: center; color: var(--muted); }
.topbar-auth-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topbar-auth .auth-avatar { width: 19px; height: 19px; font-size: 9px; }
.auth-top-short { display: none; }
.profile-menu { position: fixed; top: 56px; right: 20px; z-index: 180; width: 240px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
[data-theme="light"] .profile-menu { box-shadow: 0 24px 50px rgba(54,42,28,.16); }
.profile-menu[hidden] { display: none; }
.profile-menu.is-open { animation: profileIn .18s var(--ease); }
@keyframes profileIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.profile-head { display: flex; align-items: center; gap: 10px; padding: 9px 9px 12px; margin-bottom: 5px; border-bottom: 1px solid var(--line); }
.profile-id strong { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -.015em; }
.profile-id small { display: block; margin-top: 1px; font-size: 9.5px; color: var(--muted-2); }
.profile-item { width: 100%; height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border-radius: 7px; color: var(--muted); font-size: 12.5px; font-weight: 500; text-align: left; }
.profile-item:hover { background: var(--surface-2); color: var(--text); }
.profile-arrow { font-size: 11px; color: var(--muted-2); }
.profile-logout { color: var(--red-bright); }
.profile-logout:hover { color: var(--red-bright); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- views ---------- */

#views { flex: 1 0 auto; width: 100%; padding: 0 22px 30px; max-width: 1680px; margin: 0 auto; }
.view { display: none; padding-top: 24px; }
.view#view-home { padding-top: 0; }
.view#view-builder { height: calc(100dvh - 80px); padding-top: 12px; padding-bottom: 12px; }
.view#view-builder.is-active { animation: none; }
body.is-builder { overflow: hidden; }
body.is-builder .main { height: 100dvh; overflow: hidden; }
.view.is-active { display: block; animation: viewIn .44s cubic-bezier(.22,1,.36,1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px) scale(.996); } to { opacity: 1; transform: none; } }

/* ---------- patchwall ---------- */

.patchwall { position: relative; padding: 26px 0 0; overflow: clip; }
.patch-stage { position: relative; height: 640px; max-width: 1320px; margin: 0 auto; perspective: 1700px; perspective-origin: 50% 44%; }
.patch-glow { position: absolute; left: 12%; right: 12%; top: 16%; height: 72%; border-radius: 50%; background: radial-gradient(ellipse, var(--red-soft), transparent 66%); filter: blur(12px); pointer-events: none; }
.patch-floor { position: absolute; left: 6%; right: 6%; top: 88%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.patch-floor::after { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 120px; background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.26), transparent 70%); }
[data-theme="light"] .patch-floor::after { background: radial-gradient(ellipse at 50% 0%, rgba(43,32,22,.09), transparent 70%); }

.patch-orbit { position: absolute; inset: 0; transform-style: preserve-3d; }
.patch-card { position: absolute; left: 50%; top: 50%; width: 390px; height: 510px; margin: -255px 0 0 -195px; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; background: #0b0a0e; color: #f3f0eb; text-align: left; font: inherit; transform-style: preserve-3d; box-shadow: 0 30px 70px rgba(0,0,0,.5); transition: transform .9s cubic-bezier(.22,.8,.24,1), opacity .6s ease, box-shadow .5s, border-color .35s; will-change: transform; }
.patch-card[data-pos="-1"] { z-index: 2; opacity: 1; filter: brightness(.9); transform: translateX(-350px) translateZ(-150px) rotateY(16deg) scale(.78); }
.patch-card[data-pos="-2"] { z-index: 1; opacity: 1; filter: brightness(.8); transform: translateX(-535px) translateZ(-300px) rotateY(26deg) scale(.6); }
.patch-card[data-pos="1"] { z-index: 2; opacity: 1; filter: brightness(.9); transform: translateX(350px) translateZ(-150px) rotateY(-16deg) scale(.78); }
.patch-card[data-pos="2"] { z-index: 1; opacity: 1; filter: brightness(.8); transform: translateX(535px) translateZ(-300px) rotateY(-26deg) scale(.6); }
.patch-card[data-pos="0"] { z-index: 4; opacity: 1; border-color: rgba(240,235,228,.28); box-shadow: 0 44px 96px rgba(0,0,0,.66), inset 0 2px 0 var(--red); }
.patch-card[data-pos="-2"] .patch-card-info, .patch-card[data-pos="2"] .patch-card-info { display: none; }
.patch-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.patch-view { position: relative; z-index: 3; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; font-size: 11px; font-weight: 600; }
.patch-view:hover { background: var(--red); border-color: var(--red); }
.patch-card:hover { opacity: 1; filter: none; border-color: var(--red-bright); box-shadow: 0 40px 90px rgba(0,0,0,.62), inset 0 2px 0 var(--red); }
.patch-card:hover .patch-card-visual img { transform: translateY(-7px) scale(1.04); }
.patch-card { animation: patchFloat 9s ease-in-out infinite; animation-delay: 0s; }
@keyframes patchFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.patch-card[data-pos="0"]:hover { border-color: rgba(240,235,228,.52); }
.patch-card:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
.patch-card-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 66% 16%, rgba(193,14,22,.3), transparent 56%), linear-gradient(158deg, #1a1017, #09080b 72%); pointer-events: none; }
.patch-card-top { position: absolute; left: 17px; right: 17px; top: 15px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.patch-card-top .mono { font-family: var(--sans); font-size: 27px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: rgba(255,255,255,.82); font-variant-numeric: tabular-nums; }
.patch-chip { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.patch-card-visual { position: absolute; inset: 54px 12px 138px; z-index: 2; display: grid; place-items: center; }
.patch-card-visual img { max-width: 96%; max-height: 100%; object-fit: contain; filter: brightness(1.12) contrast(1.04) drop-shadow(0 26px 32px rgba(0,0,0,.65)); transition: transform .6s var(--ease); }
.patch-card:hover .patch-card-visual img { transform: translateY(-5px) scale(1.03); }
.patch-card-info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; }.patch-card-name { display: block; font-size: 23px; line-height: 1.1; letter-spacing: -.025em; font-weight: 700; color: #f3f0eb; }
.patch-card-spec { margin-top: 7px; font-size: 12.5px; line-height: 1.5; letter-spacing: 0; color: rgba(255,255,255,.72); }
.patch-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }
.patch-card-price { font-size: 28px; line-height: 1; letter-spacing: -.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.patch-card-cta { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.patch-card:hover .patch-card-cta { color: #fff; }

.patch-bottom { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; max-width: 1080px; margin: 10px auto 0; }
.patch-nav { display: flex; align-items: center; gap: 10px; }
.patch-arrow { position: absolute; top: 50%; z-index: 30; transform: translateY(-50%); background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.patch-arrow-prev { left: 10px; }
.patch-arrow-next { right: 10px; }
.patch-dots { display: flex; align-items: center; justify-content: flex-start; gap: 5px; }
.patch-dot { width: 6px; height: 6px; padding: 0; border-radius: 50%; background: var(--muted-2); opacity: .45; transition: width .2s, border-radius .2s, opacity .2s, background .2s; }
.patch-dot:hover { opacity: .9; }
.patch-dot.is-active { width: 18px; border-radius: 999px; background: var(--red-bright); opacity: 1; }
.patch-caption { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.patch-caption .mono { color: var(--muted-2); font-size: 9px; }
.patch-caption-text { font-size: 11.5px; color: var(--muted); }
.patch-actions { justify-self: end; display: flex; gap: 7px; }
.patch-actions .btn { height: 48px; padding: 0 20px; font-size: 13.5px; font-weight: 650; }
/* ---------- cards ---------- */

.home-section { margin-top: 26px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 11px; }
.product-grid.is-entering > * { animation: cardIn .34s var(--ease) both; }
.product-grid.is-entering > *:nth-child(2) { animation-delay: .03s; }
.product-grid.is-entering > *:nth-child(3) { animation-delay: .06s; }
.product-grid.is-entering > *:nth-child(4) { animation-delay: .09s; }
.product-grid.is-entering > *:nth-child(5) { animation-delay: .12s; }
.product-grid.is-entering > *:nth-child(n+6) { animation-delay: .15s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); transition: border-color .28s, transform .28s, box-shadow .28s; }
.product-card:hover { border-color: var(--red-bright); transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0,0,0,.32), 0 0 0 1px var(--red-bright); }
.card-media { position: relative; height: 220px; display: grid; place-items: center; overflow: hidden; }
.product-card.is-system .card-media { background: radial-gradient(ellipse at 50% 40%, var(--red-soft), transparent 66%), var(--pc-media); }
.product-card.is-part .card-media { background: var(--part-tile); }
.card-media img { max-width: 86%; max-height: 192px; width: auto; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0,0,0,.45)); transition: transform .5s var(--ease); animation: cardDrift 7s ease-in-out infinite; }
@keyframes cardDrift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.card-ticker { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 7px 9px 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(8,8,10,.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity .22s, transform .22s; pointer-events: none; }
.product-card:hover .card-ticker, .product-card:focus-within .card-ticker { opacity: 1; transform: none; }
.card-ticker-line { overflow: hidden; font-family: var(--mono); font-size: 9px; font-weight: 500; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: rgba(255,255,255,.88); }
.card-ticker-bar { height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255,255,255,.16); }
.card-ticker-bar i { display: block; width: 0; height: 100%; background: var(--red-bright); }
.product-card.is-ticking .card-ticker-bar i { animation: tickerBar 1.5s linear infinite; }
@keyframes tickerBar { from { width: 0; } to { width: 100%; } }
.product-card.is-part .card-media img { height: 160px; width: auto; max-width: 90%; max-height: none; filter: drop-shadow(0 12px 14px rgba(0,0,0,.18)); mix-blend-mode: multiply; }
.product-card:hover .card-img-main { transform: translateY(-6px) scale(1.07); }
.card-badge { position: absolute; left: 11px; top: 11px; z-index: 2; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.product-card.is-system .card-badge { color: rgba(255,255,255,.7); background: rgba(8,8,10,.35); border-color: rgba(255,255,255,.14); }
.card-heart { position: absolute; right: 10px; top: 10px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--muted); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .2s, color .2s, border-color .2s, background .2s; }
.product-card:hover .card-heart, .product-card:focus-within .card-heart, .card-heart:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.card-quick { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: rgba(8,8,10,.72); color: #fff; font-size: 9.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .22s, transform .22s; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.product-card:hover .card-quick, .product-card:focus-within .card-quick { opacity: 1; transform: none; }
.card-ticker { display: none; }
.product-card.is-system .card-heart { background: rgba(8,8,10,.35); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.72); }
.card-heart svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.55; }
.card-heart:hover { color: var(--red-bright); border-color: var(--red-bright); }
.card-heart.is-saved { color: var(--red-bright); }
.card-heart.is-saved svg { fill: currentColor; }
.card-body { padding: 12px 13px 13px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { min-height: 42px; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.card-spec { margin-top: 6px; font-size: 10.5px; font-weight: 500; line-height: 1.55; letter-spacing: 0; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.card-price { font-size: 17px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.card-add { position: relative; z-index: 3; height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); font-size: 11.5px; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.card-add svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.card-add:hover { background: var(--red); border-color: var(--red); color: #fff; }
.card-add.is-added { background: #1f9d61; border-color: #1f9d61; color: #fff; }
.card-buy { position: relative; z-index: 3; height: 34px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--red); border-radius: 7px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 650; transition: background .2s, border-color .2s, transform .2s; }
.card-buy:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.card-view-link { position: relative; z-index: 3; font-size: 10px; color: var(--muted); }
.card-view-link span { font-size: 12px; }

/* ---------- best sellers ring ---------- */

.best-ring-section { position: relative; margin-top: 32px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 62% 48%, rgba(193,14,22,.13), transparent 55%), var(--surface); }
[data-theme="light"] .best-ring-section { background: radial-gradient(ellipse at 62% 48%, rgba(193,14,22,.07), transparent 55%), var(--surface); }
.best-head { margin-bottom: 2px; }
.best-head h2 { font-size: 34px; }
.best-kicker { display: block; margin-bottom: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-bright); }
.ring-copy { position: relative; z-index: 5; display: flex; flex-direction: column; min-height: 500px; padding: 4px 6px; }
.ring-copy .section-head h2 { font-size: 31px; }
.ring-focus { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.ring-focus > .mono { color: var(--muted-2); font-size: 9px; }
.ring-focus h3 { margin-top: 7px; font-size: 22px; line-height: 1.1; letter-spacing: -.04em; font-weight: 700; }
.ring-focus > p { margin-top: 6px; font-size: 12px; font-weight: 500; line-height: 1.55; color: var(--muted); }
.ring-price { margin-top: 12px; font-size: 23px; line-height: 1; letter-spacing: -.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.ring-nav { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.ring-arrow { position: absolute; top: 50%; z-index: 30; transform: translateY(-50%); background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.ring-arrow-prev { left: 12px; }
.ring-arrow-next { right: 12px; }
.ring-nav .mono { color: var(--muted-2); font-size: 9.5px; }
.rail-btn { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--muted); font-family: Arial, sans-serif; font-size: 19px; line-height: 1; box-shadow: 0 8px 22px rgba(0,0,0,.2); transition: color .2s, background .2s, border-color .2s, transform .2s; }
.best-ring-stage { position: relative; min-height: 500px; perspective: 1300px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.best-ring-stage:active { cursor: grabbing; }
.ring-origin { position: absolute; left: 50%; top: 50%; width: 620px; height: 360px; transform: translate(-50%,-50%); border: 1px dashed var(--line-strong); border-radius: 50%; pointer-events: none; opacity: .55; }
.ring-origin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(193,14,22,.18), transparent 66%); filter: blur(14px); }
.ring-origin::after { content: "MODX / PARTS"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--mono); font-size: 8px; letter-spacing: .24em; color: var(--muted-2); white-space: nowrap; opacity: .5; }
.best-ring { position: absolute; inset: 0; }
.best-ring-card { position: absolute; left: 50%; top: 50%; z-index: var(--z, 1); width: 190px; height: 250px; padding: 9px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(165deg, #141319, #0b0a0e); color: #f3f0eb; text-align: left; font: inherit; transform: translate(-50%,-50%) translate(var(--x,0), var(--y,0)) scale(var(--s,.72)) rotate(calc(var(--i) * 0.35deg)); opacity: var(--o, .5); transition: transform .78s cubic-bezier(.22,1,.36,1), opacity .7s ease, border-color .3s, box-shadow .3s; transition-delay: calc(var(--i) * 18ms); will-change: transform; }
.best-ring-card:hover { border-color: rgba(255,255,255,.32); }
.best-ring-card.is-focus { border-color: var(--red); box-shadow: 0 24px 55px rgba(0,0,0,.55), inset 0 2px 0 rgba(193,14,22,.8); }
.best-ring-card.is-back { opacity: 0 !important; visibility: hidden; pointer-events: none; }
.best-ring-media { display: grid; place-items: center; height: 172px; flex: 0 0 auto; overflow: hidden; border-radius: 8px; background: var(--part-tile); }
.best-ring-media img { max-width: 80%; max-height: 142px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 12px 14px rgba(0,0,0,.16)); pointer-events: none; }
.best-ring-info { display: flex; flex-direction: column; gap: 4px; padding-top: 9px; overflow: hidden; }
.best-ring-info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.best-ring-info small { font-size: 10px; color: rgba(255,255,255,.7); }
.best-ring-card.is-side .best-ring-media { height: 100%; }
.best-ring-card.is-side .best-ring-info { display: none; }
.ring-btn { height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--text); font-size: 10.5px; font-weight: 600; }
.ring-btn:hover { border-color: var(--red); color: var(--red-bright); }

/* ---------- product showcases ---------- */

.showcase-section { margin-top: 28px; }
.showcase-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.showcase-head h2 { font-size: 22px; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; color: var(--text); }
.showcase-head .text-link { height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text); }
.showcase-head .text-link:hover { border-color: var(--red); background: var(--surface-2); }
.showcase-tools { display: flex; align-items: center; gap: 12px; }
.rail-controls { display: flex; align-items: center; gap: 6px; }
.showcase-stage { position: relative; }
.fan-arrow { position: absolute; top: 50%; z-index: 40; transform: translateY(-50%); background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.32); }
.fan-arrow-prev { left: 10px; }
.fan-arrow-next { right: 10px; }
.showcase-fan { position: relative; height: 430px; perspective: 1600px; overflow: hidden; }
.fan-card { position: absolute; left: 50%; top: 50%; width: 230px; height: 360px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(20,16,12,.14); border-radius: 16px; background: #f8f5ef; color: #17130f; text-align: left; box-shadow: 0 26px 55px rgba(0,0,0,.42); transform: translate(-50%,-50%); transition: transform .78s cubic-bezier(.22,1,.36,1), opacity .55s ease, border-color .25s, box-shadow .3s; will-change: transform; }
.fan-card:hover { border-color: var(--red-bright); box-shadow: 0 34px 70px rgba(0,0,0,.52); }
.fan-card.is-focus { border-color: var(--red); box-shadow: 0 34px 80px rgba(0,0,0,.55), 0 0 0 1px var(--red); }
.fan-card.is-hidden { opacity: 0 !important; visibility: hidden; pointer-events: none; }
.fan-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fan-heart { position: absolute; right: 10px; top: 10px; z-index: 3; opacity: 0; transform: translateY(-4px); pointer-events: none; background: rgba(255,255,255,.86); border-color: rgba(20,16,12,.18); color: #17130f; }
.fan-card:hover .fan-heart, .fan-card:focus-within .fan-heart, .fan-heart:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.fan-media { height: 172px; flex: 0 0 172px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #f2ede3, #e3dbcd 72%); }
.fan-media img { max-width: 84%; max-height: 150px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,.16)); transition: transform .4s var(--ease); }
.fan-card:hover .fan-media img { transform: translateY(-4px) scale(1.05); }
.fan-body { display: flex; flex-direction: column; flex: 1; padding: 13px 14px 14px; }
.fan-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16.5px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.fan-spec { display: block; margin-top: 6px; font-size: 10.5px; line-height: 1.45; color: #6b645b; }
.fan-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.fan-price { font-size: 17px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fan-buy { position: relative; z-index: 3; height: 36px; padding: 0 16px; border-radius: 7px; background: #17130f; color: #fff; font-size: 12px; font-weight: 650; letter-spacing: -.01em; transition: background .2s; }
.fan-buy:hover { background: var(--red); }

/* ---------- platform cards ---------- *//* ---------- platform cards ---------- */

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.platform-card { position: relative; min-height: 258px; overflow: hidden; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: radial-gradient(ellipse at 78% 58%, rgba(255,255,255,.045), transparent 55%), #0b0a0e; color: #f3f0eb; text-align: left; display: flex; flex-direction: column; align-items: flex-start; transition: border-color .3s, transform .3s; }
.platform-card:hover { border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.platform-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--platform); }
.platform-card.intel { --platform: #3575be; }
.platform-card.amd { --platform: var(--red); }
.platform-brand { font-size: 25px; line-height: 1; letter-spacing: .08em; font-weight: 800; color: var(--platform); }
.platform-logo { display: block; height: 25px; width: auto; }
.platform-logo.amd { height: 22px; filter: invert(1) brightness(1.05); }
.platform-kicker { margin-top: 5px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.platform-card h3 { margin-top: 16px; max-width: 20ch; font-size: 18px; line-height: 1.1; letter-spacing: -.035em; font-weight: 600; color: #f3f0eb; }
.platform-spec { margin-top: 7px; font-size: 9.5px; line-height: 1.6; color: rgba(255,255,255,.58); }
.platform-cta { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #f3f0eb; }
.platform-card .platform-photo { position: absolute; right: 4px; bottom: 4px; width: 49%; max-height: 88%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); transition: transform .5s var(--ease); }
.platform-card:hover .platform-photo { transform: translateY(-5px); }
.platform-card.intel .platform-photo { right: 0; }
#gamingPlatform { gap: 14px; }
#gamingPlatform .platform-card { min-height: 440px; padding: 30px; }
#gamingPlatform .platform-brand { font-size: 38px; }
#gamingPlatform .platform-logo { height: 36px; }
#gamingPlatform .platform-logo.amd { height: 32px; }
#gamingPlatform .platform-kicker { font-size: 9px; margin-top: 8px; }
#gamingPlatform .platform-card h3 { margin-top: 26px; max-width: 15ch; font-size: 30px; line-height: 1.02; letter-spacing: -.045em; }
#gamingPlatform .platform-spec { margin-top: 10px; font-size: 9px; }
#gamingPlatform .platform-cta { padding-top: 24px; font-size: 13px; }
#gamingPlatform .platform-card .platform-photo { width: 53%; max-height: 90%; right: 2%; bottom: 5%; }
#gamingPlatform .platform-card.intel .platform-photo { right: 0; }



.support-home { margin-top: 30px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.support-card { display: flex; flex-direction: column; min-height: 226px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); transition: border-color .25s, transform .25s; }
.support-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.support-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 9px; background: var(--red); color: #fff; }
.support-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.support-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.support-card p { margin-top: 7px; max-width: 34ch; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.support-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.support-link { padding: 0; color: var(--text); font-size: 11.5px; font-weight: 600; border-bottom: 1px solid transparent; }
.support-link:hover { color: var(--red-bright); border-color: var(--red-bright); }
.support-meta { font-size: 10px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted-2); }

.customer-section { margin-top: 30px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin-bottom: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.promise { display: flex; align-items: center; gap: 10px; padding: 15px 16px; background: var(--surface); }
.promise-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(193,14,22,.1); color: var(--red-bright); }
.promise-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.promise small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 9.5px; line-height: 1.4; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; perspective: 1200px; transition: opacity .24s ease, transform .24s ease; }
.review-grid.is-switching { opacity: 0; transform: translateX(-24px) rotateY(2deg); }
.review-grid.is-entering .review-card { animation: reviewIn .42s cubic-bezier(.22,1,.36,1) both; }
.review-grid.is-entering .review-card:nth-child(2) { animation-delay: .03s; }
.review-grid.is-entering .review-card:nth-child(3) { animation-delay: .06s; }
@keyframes reviewIn { from { opacity: 0; transform: translateX(28px) rotateY(-2deg); } to { opacity: 1; transform: none; } }
.review-card { margin: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); transition: border-color .25s, transform .25s; }
.review-card:hover { border-color: var(--red-bright); transform: translateY(-3px); }
.review-media { position: relative; height: 154px; flex: 0 0 154px; overflow: hidden; background: var(--pc-media); }
.review-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.72); }
.review-media .review-stars { position: absolute; left: 12px; bottom: 10px; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.review-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 15px; }
.review-stars { color: #ecc02e; font-size: 13px; letter-spacing: 2px; }
.review-card blockquote { margin: 0 0 14px; font-size: 12.5px; line-height: 1.58; color: var(--text); }
.review-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--muted); }
.review-card figcaption > span:last-child { font-size: 9px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }
.review-person { display: inline-flex; align-items: center; gap: 7px; }
.review-avatar { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-size: 9px; font-weight: 700; }

.home-categories { margin-top: 30px; }
.trust-strip { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 1px; max-width: none; width: 100%; margin: 14px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.trust-strip > div { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--surface); }
.trust-rating { background: radial-gradient(ellipse at 20% 0%, rgba(193,14,22,.3), transparent 62%), #0d0c10 !important; color: #fff; }
.trust-stars { color: #ff5a4f; font-size: 10px; letter-spacing: 2px; }
.trust-rating strong { font-size: 35px; line-height: .95; color: #fff; }
.trust-rating strong span { font-size: 13px; color: rgba(255,255,255,.5); }
.trust-rating > span { color: rgba(255,255,255,.62) !important; }
.trust-strip > div:not(.trust-rating) strong { font-size: 25px; line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.trust-strip > div > span { font-size: 10.5px; line-height: 1.4; letter-spacing: .01em; color: var(--muted-2); }
.cat-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 9px; }
.cat-tile { position: relative; height: 168px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--pc-media); text-align: left; transition: border-color .25s, transform .25s; }
.cat-tile:hover { border-color: var(--red-bright); transform: translateY(-2px); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) brightness(.68); transition: transform .6s var(--ease), filter .4s; }
.cat-tile:hover img { transform: scale(1.04); filter: saturate(.88) brightness(.76); }
.cat-tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,7,.04) 30%, rgba(5,5,7,.86) 100%); pointer-events: none; }
.cat-tile-text { position: absolute; left: 13px; right: 13px; bottom: 11px; z-index: 2; display: flex; flex-direction: column; gap: 3px; }
.cat-tile-text strong { font-size: 16px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.cat-tile-text small { font-family: var(--mono); font-size: 8.5px; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* ---------- page heads / filters ---------- */

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 28px 0 18px; }
.page-head h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: .98; letter-spacing: -.05em; font-weight: 700; }
.page-head p { margin-top: 6px; color: var(--muted); font-size: 11.5px; }
.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { height: 29px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10.5px; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.sort-menu { position: relative; }
.sort-trigger { min-width: 158px; height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600; }
.sort-trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.sort-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; width: 214px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); box-shadow: 0 18px 46px rgba(0,0,0,.38); }
.sort-pop[hidden] { display: none; }
.sort-pop button { width: 100%; min-height: 36px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; color: var(--muted); font-size: 12px; text-align: left; }
.sort-pop button:hover, .sort-pop button:focus-visible { background: var(--surface-2); color: var(--text); outline: none; }
.sort-pop button[aria-selected="true"] { color: var(--text); background: var(--surface-3); }
.sort-wrap { position: relative; display: inline-block; }
.sort-wrap select { appearance: none; height: 34px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 11px; cursor: pointer; outline: none; }
.sort-wrap svg { position: absolute; right: 9px; top: 50%; width: 13px; height: 13px; transform: translateY(-50%); fill: none; stroke: var(--muted-2); stroke-width: 1.6; pointer-events: none; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 2px 0 14px; border-bottom: 1px solid var(--line); }
.category-tab { position: relative; height: 38px; padding: 0 13px; color: var(--muted); font-size: 11px; }
.category-tab:hover { color: var(--text); }
.category-tab.is-active { color: var(--text); }
.category-tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--red-bright); }

.acc-cats { display: flex; align-items: stretch; gap: 6px; padding: 0 0 2px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.acc-cats::-webkit-scrollbar { display: none; }
.acc-cat { flex: 0 0 auto; height: 58px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-align: left; white-space: nowrap; transition: border-color .2s, background .2s; }
.acc-cat:hover { border-color: var(--line-strong); background: var(--surface-2); }
.acc-cat.is-active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.acc-cat-media { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: var(--part-tile); }
.acc-cat-media img { max-width: 84%; max-height: 32px; object-fit: contain; mix-blend-mode: multiply; }
.acc-cat-text { position: static; z-index: 2; }
.acc-cat-text strong { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.acc-cat-media.is-scene img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; mix-blend-mode: normal; }
.acc-cat-all { border-color: #18171c; background: #18171c; min-width: 62px; justify-content: center; }
.page-toolbar .acc-cats { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.acc-cat-all:hover { border-color: #2a2830; background: #222027; }
.acc-cat-all .acc-cat-text { display: none; }
.acc-cat-mark { font-size: 14px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.acc-cat-all.is-active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.acc-result { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.acc-result h2 { font-size: 20px; font-weight: 700; letter-spacing: -.035em; }
.acc-result .mono { color: var(--muted-2); font-size: 9px; }
.empty-state { padding: 44px 20px; border: 1px dashed var(--line-strong); border-radius: 13px; text-align: center; }
.empty-state h3 { font-size: 16px; letter-spacing: -.02em; }
.empty-state p { margin-top: 5px; color: var(--muted-2); font-size: 11px; }
.empty-state .btn { margin-top: 16px; }
.search-box { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted-2); }
.search-box svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 11.5px; outline: none; }
.search-box input::placeholder { color: var(--muted-2); }

/* ---------- builder ---------- */

.builder-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 18px; align-items: stretch; height: 100%; min-height: 0; }
.builder-steps { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 0 18px 0 0; overflow: hidden; border-right: 1px solid var(--line); }
.builder-rail-head { flex: 0 0 auto; }
.builder-rail-head .back-link { width: 100%; justify-content: flex-start; height: 42px; padding: 0 12px; }
.builder-rail-head .back-link:hover { transform: none; }
.builder-rail-top { flex: 0 0 auto; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.builder-rail-visual { height: 140px; display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; border-radius: 9px; background: radial-gradient(ellipse at 50% 42%, rgba(193,14,22,.16), transparent 62%), #0b0a0e; }
.builder-rail-visual img { max-width: 96%; max-height: 132px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); }
.builder-rail-count { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.builder-step-list { flex: 1 1 auto; min-height: 0; display: grid; grid-auto-rows: minmax(55px, 1fr); gap: 2px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; align-content: stretch; }
.builder-step { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 5px 7px; border-radius: 7px; text-align: left; color: var(--muted); transition: background .2s, color .2s; }
.builder-step:hover { background: var(--surface-2); color: var(--text); }
.builder-step.is-active { background: var(--surface-3); color: var(--text); }
.builder-step-index { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); }
.builder-step-index svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.builder-step.is-done .builder-step-index { background: var(--red); border-color: var(--red); color: #fff; }
.builder-step-main { min-width: 0; flex: 1; }
.builder-step-main strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }
.builder-step-main small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.builder-step-price { flex: 0 0 auto; font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.builder-rail-foot { flex: 0 0 auto; padding-top: 10px; border-top: 1px solid var(--line); }
.builder-compat { padding: 8px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; line-height: 1.5; color: var(--muted); background: var(--surface-2); }
.builder-parts { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.builder-parts-bar { display: flex; align-items: center; gap: 18px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.builder-parts-bar .back-link { flex: 0 0 auto; height: 38px; padding: 0 13px; font-size: 11.5px; }
.builder-title { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.builder-title .mono { color: var(--muted-2); font-size: 9px; }
.builder-title h1 { font-size: 23px; line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
.builder-parts-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0 10px; }
.builder-parts-tools { display: flex; align-items: center; gap: 8px; }
.builder-clear { height: 38px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); font-size: 11px; font-weight: 600; background: var(--surface); }
.builder-clear:hover { color: var(--text); border-color: var(--text); }
.builder-parts-head h2 { font-size: 27px; line-height: 1; letter-spacing: -.045em; }
.builder-search { width: 230px; }
.builder-parts-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 8px 132px 0; scrollbar-width: thin; }
.builder-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.builder-grid.is-entering > * { animation: cardIn .3s var(--ease) both; }
.builder-part { position: relative; padding: 10px; text-align: left; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: border-color .2s, transform .2s; }
.builder-part-body { display: block; }
.builder-part-actions { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.builder-part-view { position: static; flex: 0 0 auto; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--surface); }
.builder-part-view:hover { color: var(--text); border-color: var(--text); }
.builder-part-select { flex: 1 1 auto; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--red); border-radius: 6px; color: var(--red-bright); font-size: 10.5px; font-weight: 650; }
.builder-part-select:hover { background: rgba(193,14,22,.12); }
.builder-part-select.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.builder-part:hover { border-color: var(--red-bright); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.builder-part:hover .builder-part-media img { transform: scale(1.16); }
.builder-part-media img { transition: transform .35s var(--ease); }
.builder-part.is-selected { border-color: var(--red-bright); box-shadow: inset 0 0 0 1px var(--red-bright); }
.builder-part.is-incompatible { opacity: .4; }
.builder-part-media { height: 118px; display: grid; place-items: center; border-radius: 7px; background: var(--part-tile); overflow: hidden; }
.builder-part-media img { height: 104px; width: auto; max-width: 84%; max-height: none; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); mix-blend-mode: multiply; transform: scale(1.08); }
.builder-part-name { display: block; margin-top: 10px; min-height: 34px; font-size: 12.5px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.builder-part-spec { display: block; margin-top: 4px; font-size: 10px; line-height: 1.45; color: var(--muted); }
.builder-part-price { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.builder-part-check { position: absolute; right: 9px; top: 9px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: transparent; font-size: 10px; }
.builder-part.is-selected .builder-part-check { background: var(--red); border-color: var(--red); color: #fff; }
.builder-part-note { display: block; margin-top: 5px; font-size: 9px; color: var(--muted-2); }
.builder-parts-foot { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 14px; }
.builder-buybar { position: fixed; left: calc(var(--side) + 320px); right: 24px; bottom: 18px; z-index: 80; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 13px 16px; border: 1px solid var(--line-strong); border-top: 2px solid var(--red); border-radius: 14px; background: linear-gradient(90deg, rgba(193,14,22,.14), var(--header) 58%); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.45); transition: border-color .25s, box-shadow .25s, transform .25s; }
.buybar-copy { display: flex; flex-direction: column; gap: 1px; }
.buybar-copy > span { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red-bright); }
.buybar-copy strong { font-size: 34px; line-height: .95; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.buybar-copy small { font-size: 9px; color: var(--muted-2); }
.buybar-copy { justify-self: start; }
.buybar-navs { display: flex; align-items: center; justify-content: center; gap: 8px; justify-self: center; }
.buybar-buy { justify-self: end; min-width: 130px; height: 46px; }
.buybar-nav { height: 42px; padding: 0 12px; font-size: 11px; }
.buybar-actions .btn-primary { min-width: 190px; }
.buybar-actions .text-link { font-size: 10.5px; color: var(--muted); }
.builder-empty { padding: 30px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted-2); font-size: 11px; text-align: center; }

/* ---------- help ---------- */

.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.help-card { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.help-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.help-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.help-card h2 { font-size: 15px; letter-spacing: -.02em; }
.help-card p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.help-card p a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.help-card p a:hover { color: var(--text); }
.help-card .help-muted { color: var(--muted-2); font-size: 10px; }
.help-card > .text-link { margin-top: 12px; font-size: 10.5px; }
.help-links { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.help-links a { font-size: 11px; color: var(--text); display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.help-links a:hover { color: var(--red-bright); }
.help-faq { margin-top: 22px; }
.faq-title { font-size: 26px; font-weight: 700; letter-spacing: -.04em; margin-bottom: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 12px; font-weight: 500; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); color: var(--muted-2); font-size: 15px; }
.faq-list details[open] summary::after { content: "−"; color: var(--red-bright); }
.faq-list details p { max-width: 72ch; padding: 0 30px 16px 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

/* ---------- footer ---------- */

.site-footer { margin: 18px 22px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: start; gap: 24px; padding: 15px 0 14px; }
.footer-brand { display: inline-flex; }
.footer-brand img { width: 62px; height: auto; }
[data-theme="light"] .logo-white, [data-theme="dark"] .logo-dark { display: none; }
.footer-support { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.footer-support > div { display: flex; flex-direction: column; gap: 4px; }
.footer-support strong { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.footer-support a, .footer-support span, .footer-support button { font-size: 10.5px; line-height: 1.5; color: var(--muted); text-align: left; }
.footer-support a:hover, .footer-support button:hover { color: var(--text); }
.footer-links button { font-size: 10.5px; color: var(--muted); }
.footer-links button:hover { color: var(--text); }
.footer-note { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--muted-2); }

/* ---------- search overlay ---------- */

.search-overlay { position: fixed; inset: 0; z-index: 300; display: none; }
.search-overlay.is-open { display: block; }
.search-backdrop { position: absolute; inset: 0; background: rgba(4,4,6,.68); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.search-modal { position: relative; z-index: 1; width: min(680px, calc(100% - 28px)); margin: 10vh auto 0; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; animation: searchIn .3s var(--ease) both; }
@keyframes searchIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.search-top { display: flex; align-items: center; gap: 10px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.search-top svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.search-top input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--text); }
.search-top input::placeholder { color: var(--muted-2); }
.search-top kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }
.search-body { max-height: 55vh; overflow-y: auto; padding: 8px; }
.search-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px; border-radius: 7px; text-align: left; transition: background .18s; }
.search-row:hover { background: var(--surface-2); }
.search-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: normal; }
.search-thumb { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #f7f4ee; overflow: hidden; }
.search-thumb.system { background: #e8e2d7; }
.search-thumb img { max-width: 86%; max-height: 38px; object-fit: contain; }
.search-row-main { min-width: 0; }
.search-row-main strong { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-row-main small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 9.5px; letter-spacing: 0; color: var(--muted); }
.search-row-price { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.search-empty { padding: 34px 20px; text-align: center; }
.search-empty strong { font-size: 13px; }
.search-empty p { margin-top: 4px; color: var(--muted-2); font-size: 11px; }
.search-suggests { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 9px; }
.search-suggest { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.search-suggest:hover { color: var(--text); border-color: var(--line-strong); }
.search-foot { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted-2); }
.search-foot .mono { font-size: 8px; }

/* ---------- drawers / toast ---------- */

.drawer-backdrop { position: fixed; inset: 0; z-index: 180; background: rgba(4,4,6,.68); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .28s; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 190; width: min(420px, 100%); display: flex; flex-direction: column; overflow-y: auto; border-left: 1px solid var(--line-strong); background: var(--bg-2); transform: translateX(102%); transition: transform .42s var(--ease); }
.drawer.is-open { transform: none; }
.drawer-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid var(--line); background: var(--header); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.drawer-head .mono { color: var(--muted-2); font-size: 8.5px; }
.qv-media { margin: 16px; height: 236px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--pc-media); }
.qv-media.is-part { background: var(--part-tile); }
.qv-media img { max-height: 204px; max-width: 86%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.qv-media.is-part img { height: 190px; width: auto; max-width: 86%; max-height: none; filter: drop-shadow(0 12px 14px rgba(0,0,0,.16)); mix-blend-mode: multiply; }
.qv-thumbs { display: flex; gap: 6px; padding: 0 16px; margin-top: -7px; }
.qv-thumb { width: 56px; height: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--part-tile); opacity: .6; transition: opacity .2s, border-color .2s; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumb[data-qv-context="0"] img { object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.qv-thumb.is-active { border-color: var(--red); opacity: 1; }
.qv-thumb:hover { opacity: 1; }
.qv-media.is-context { background: #0b0a0e; }
.qv-media.is-context img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; mix-blend-mode: normal; transform: none; }
.qv-context-tag { position: absolute; left: 10px; top: 10px; z-index: 2; display: none; padding: 5px 7px; border-radius: 4px; background: rgba(8,8,10,.72); font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qv-media.is-context .qv-context-tag { display: block; }
.qv-media { position: relative; }
.qv-body { padding: 0 17px 22px; }
.qv-body h2 { font-size: 21px; line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.qv-spec { margin-top: 6px; font-family: var(--mono); font-size: 8.5px; line-height: 1.5; text-transform: uppercase; color: var(--muted-2); }
.qv-price { margin-top: 13px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.qv-actions-row { display: flex; gap: 7px; margin-top: 15px; }
.qv-heart svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.qv-heart.is-saved { color: var(--red-bright); border-color: var(--red-bright); }
.qv-heart.is-saved svg { fill: currentColor; }
.qv-add { flex: 1; }
.qv-configure { margin-top: 7px; }
.qv-list { margin-top: 16px; border-top: 1px solid var(--line); }
.qv-list li { position: relative; padding: 9px 0 9px 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10.5px; }
.qv-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 4px; height: 4px; border-radius: 50%; background: var(--red-bright); }
/* full product page */

.product-page { inset: 64px 0 0 var(--side); z-index: 55; width: auto; max-width: none; border-left: 0; background: var(--bg); transform: translateY(14px); opacity: 0; transition: transform .38s var(--ease), opacity .26s ease; }
.product-page.is-open { transform: none; opacity: 1; }
.product-page.is-dialog { inset: auto; left: 50%; top: 50%; width: min(900px, calc(100vw - 40px)); max-height: 88vh; z-index: 300; border: 1px solid var(--line-strong); border-radius: 16px; overflow-y: auto; box-shadow: 0 30px 90px rgba(0,0,0,.55); transform: translate(-50%, -46%); }
.product-page.is-dialog.is-open { transform: translate(-50%, -50%); }
.product-page.is-dialog .product-wrap { grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 22px 22px 28px; }
.product-page.is-dialog .product-gallery { position: static; }
.product-page.is-dialog .qv-media { height: 320px; }
.product-page.is-dialog .qv-media img { max-height: 270px; }
.product-page.is-dialog .product-info h1 { font-size: 27px; }
.product-page.is-dialog .qv-price { font-size: 27px; }
.product-page.is-dialog .product-service { grid-template-columns: 1fr 1fr 1fr; }
.product-page.is-dialog .product-head { border-radius: 16px 16px 0 0; }
.product-head { position: sticky; top: 0; z-index: 6; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--header); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.product-back { height: 44px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text); }
.product-back:hover { border-color: var(--text); }
.product-crumb { color: var(--muted-2); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.product-head .icon-btn { margin-left: auto; }
.product-wrap { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 42px; width: 100%; max-width: 1320px; margin: 0 auto; padding: 34px 28px 64px; align-items: start; }
.product-gallery { position: sticky; top: 88px; }
.product-page .qv-media { height: 560px; margin: 0; border-radius: 16px; }
.product-page .qv-media img { max-height: 470px; max-width: 90%; }
.product-page .qv-media.is-part img { height: auto; max-height: 450px; transform: scale(1.1); }
.product-page .qv-thumbs { padding: 0; margin-top: 12px; gap: 7px; }
.product-page .qv-thumb { width: 70px; height: 56px; }
.product-gallery-note { margin-top: 10px; font-size: 10.5px; color: var(--muted-2); }
.product-info { min-width: 0; padding-top: 8px; }
.product-kicker { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.product-page:not(.is-dialog) .product-head .icon-btn { display: none; }
.product-info h1 { margin-top: 10px; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 700; }
.product-page .qv-spec { margin-top: 12px; font-family: var(--sans); font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--muted); }
.product-page .qv-price { margin-top: 18px; font-size: 34px; letter-spacing: -.05em; font-weight: 700; }
.product-page .qv-actions-row { margin-top: 22px; gap: 8px; }
.product-page .qv-actions-row .btn { height: 48px; font-size: 13px; }
.product-page .qv-heart { flex: 0 0 auto; }
.qv-qty { display: flex; align-items: center; height: 48px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; }
.qv-qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.qv-qty button:hover { background: var(--surface-2); color: var(--text); }
.qv-qty span { min-width: 28px; text-align: center; font-size: 12px; font-weight: 600; }
.product-page .qv-configure { margin-top: 8px; }
.product-page .qv-configure .btn { height: 44px; }
.product-page .qv-list { margin-top: 24px; }
.product-page .qv-list li { padding: 11px 0 11px 15px; font-size: 12px; color: var(--muted); }
.product-page .qv-list li::before { top: 17px; }
.product-service { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.product-service + .product-service { margin-top: 6px; }
.product-service > div { display: flex; flex-direction: column; gap: 3px; padding: 12px; background: var(--surface); }
.product-service span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); }
.product-service strong { font-size: 11.5px; font-weight: 600; color: var(--text); }
.product-help { margin-top: 18px; font-size: 11.5px; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.product-help:hover { color: var(--text); }
.product-specs-section { max-width: 1320px; margin: 0 auto; padding: 0 28px 64px; }
.product-specs-section h2 { padding-top: 24px; margin-bottom: 12px; border-top: 1px solid var(--line); font-size: 24px; letter-spacing: -.04em; font-weight: 700; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.product-specs > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 14px; background: var(--surface); }
.product-specs span { font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.product-specs strong { max-width: 68%; text-align: right; font-size: 11.5px; font-weight: 600; color: var(--text); }

/* product page: catalogue replica */

.product-page .product-head { display: none; }
.product-float-close { display: none; }
.product-page.is-dialog .product-float-close { display: grid; place-items: center; position: absolute; right: 14px; top: 14px; z-index: 20; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 20px; line-height: 1; }
.product-breadcrumb { display: flex; align-items: center; gap: 8px; padding: 16px 28px 2px; font-size: 12px; color: var(--muted-2); }
.product-breadcrumb button { color: var(--muted); font-size: 12px; }
.product-breadcrumb button:hover { color: var(--text); }
.product-breadcrumb span:nth-of-type(2), .product-breadcrumb span:nth-of-type(4) { color: var(--line-strong); }
.product-page .product-wrap { grid-template-columns: 440px minmax(0,1fr); gap: 48px; padding: 18px 28px 42px; align-items: start; }
.product-page .product-gallery { position: sticky; top: 80px; }
.product-page .qv-media { height: 440px; border-radius: 4px; }
.product-page .qv-media img { max-height: 400px; max-width: 92%; }
.product-page .qv-media.is-part img { max-height: 400px; }
.product-zoom { position: absolute; left: 12px; top: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: rgba(12,11,15,.55); color: #fff; }
.product-zoom svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.product-wish { position: absolute; right: 12px; top: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.9); color: var(--red); }
.product-wish svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.product-wish.is-saved svg { fill: currentColor; }
.product-page .qv-thumbs { padding: 0; margin-top: 10px; gap: 7px; }
.product-page .qv-thumb { width: 78px; height: 78px; border-radius: 3px; }
.product-page .product-info { padding-top: 0; }
.product-share { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.product-share button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; }
.product-page .product-info h1 { margin-top: 0; font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; }
.product-page .qv-spec { margin-top: 10px; font-size: 12px; color: var(--muted-2); }
.product-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-page .qv-price { margin: 0; font-size: 27px; font-weight: 700; }
.product-mrp { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.product-sale { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 4px; background: linear-gradient(135deg, #4b0a0d, #2a0709); color: #fff; font-size: 12px; font-weight: 600; }
.product-tax { margin-top: 6px; font-size: 10px; color: var(--muted-2); }
.product-emi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 11.5px; background: var(--surface); }
.product-emi strong { font-weight: 600; color: var(--text); }
.product-emi button { color: var(--red-bright); font-size: 11px; font-weight: 600; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin-top: 18px; }
.product-facts > div { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 8px; font-size: 11.5px; }
.product-facts span { color: var(--muted-2); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; }
.product-facts strong { font-weight: 500; color: var(--text); }
.product-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; padding: 14px 0; margin-top: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.product-buy-row { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.product-buy-row .qv-qty { height: 46px; flex: 0 0 auto; }
.product-buy-row #qvAdd { flex: 1 1 auto; }
.product-buy-row #qvBuyNow { flex: 1 1 auto; background: linear-gradient(100deg, var(--red), #e0362d); border-color: var(--red); }
.product-compare { width: 100%; margin-top: 8px; }
.product-page .qv-configure { margin-top: 8px; }
.product-page .qv-list { margin-top: 20px; }
.product-details-section { max-width: 1320px; margin: 0 auto; padding: 0 28px 64px; }
.product-tabs { display: flex; gap: 26px; margin-top: 8px; border-bottom: 1px solid var(--line); }
.product-tabs button { position: relative; padding: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.product-tabs button.is-active { color: var(--text); }
.product-tabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red-bright); }
.product-panel[hidden] { display: none; }
.product-description { max-width: 88ch; margin-top: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.product-description p + p { margin-top: 12px; }
.product-details-section h2 { margin: 28px 0 14px; font-size: 28px; letter-spacing: -.04em; font-weight: 700; }
.product-page .product-specs { grid-template-columns: 1fr 1fr; }
.product-page .product-specs > div { padding: 14px 16px; }
.product-page .product-specs span { font-size: 10.5px; }
.product-page .product-specs strong { font-size: 14px; }
.product-reviews { margin-top: 34px; }
.product-reviews h2 { margin-top: 0; }
.product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.product-rating strong { font-size: 20px; }
.product-rating span { color: #ecc02e; font-size: 14px; letter-spacing: 2px; }
.product-rating small { color: var(--muted-2); font-size: 11px; }
.product-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.product-page .product-service { margin-top: 18px; }
.product-page.is-dialog { width: min(820px, calc(100vw - 40px)); }
.product-page.is-dialog .product-breadcrumb, .product-page.is-dialog .product-details-section, .product-page.is-dialog .product-share, .product-page.is-dialog .product-badges, .product-page.is-dialog .product-emi { display: none; }
.product-page.is-dialog .product-wrap { grid-template-columns: 1fr; padding: 18px 22px 24px; gap: 18px; }
.product-page.is-dialog .product-gallery { position: static; }
.product-page.is-dialog .qv-media { height: 260px; }
.product-page.is-dialog .product-info h1 { font-size: 24px; }
.product-bulk { position: fixed; right: 0; top: 50%; z-index: 6; transform: translateY(-50%); padding: 14px 8px; border-radius: 8px 0 0 8px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; writing-mode: vertical-rl; }
.product-wa { position: fixed; right: 22px; bottom: 22px; z-index: 6; height: 48px; width: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; overflow: hidden; border-radius: 24px; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: width .28s var(--ease), padding .28s; }
.product-wa svg { width: 24px; height: 24px; flex: 0 0 24px; fill: currentColor; stroke: none; }
.product-wa span { display: none; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.product-wa:hover { width: 146px; padding: 0 14px; }
.product-wa:hover span { display: inline; }
.product-page.is-dialog .product-bulk { display: none; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 430; height: 50px; width: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; overflow: hidden; border-radius: 25px; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: width .28s var(--ease), padding .28s; }
.wa-float svg { width: 25px; height: 25px; flex: 0 0 25px; fill: currentColor; }
.wa-float span { display: none; font-size: 12px; font-weight: 600; white-space: nowrap; }
.wa-float:hover { width: 152px; padding: 0 15px; }
.wa-float:hover span { display: inline; }
body.is-builder .wa-float { display: none; }

.cart-body { flex: 1; padding: 6px 17px; }
.cart-empty { padding: 46px 10px; text-align: center; }
.cart-empty h3 { font-size: 15px; letter-spacing: -.02em; }
.cart-empty p { margin-top: 5px; color: var(--muted-2); font-size: 11px; }
.cart-empty .btn { margin-top: 15px; }
.cart-item { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: var(--part-tile); }
.cart-item.is-system img { background: var(--pc-media); }
.cart-item-name { font-size: 11.5px; line-height: 1.35; font-weight: 600; }
.cart-item-spec { margin-top: 3px; font-size: 10.5px; line-height: 1.45; color: var(--muted); }
.cart-item-controls { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty-btn { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 11px; line-height: 1; }
.qty-btn:hover { border-color: var(--line-strong); color: var(--text); }
.qty-value { min-width: 15px; text-align: center; font-family: var(--mono); font-size: 9px; }
.cart-item-remove { margin-top: 4px; font-family: var(--mono); font-size: 7px; text-transform: uppercase; color: var(--muted-2); }
.cart-item-remove:hover { color: var(--red-bright); }
.cart-item-price { align-self: start; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.is-draft { border-bottom: 1px solid var(--line); }
.draft-tag { display: inline-block; margin-left: 4px; padding: 2px 5px; border-radius: 3px; background: var(--red); color: #fff; font-size: 7.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.cart-resume { font-size: 10px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cart-resume:hover { color: var(--red-bright); }
.cart-foot { position: sticky; bottom: 0; z-index: 2; padding: 14px 17px 17px; border-top: 1px solid var(--line); background: var(--header); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 11px; font-family: var(--mono); font-size: 8.5px; text-transform: uppercase; color: var(--muted-2); }
.cart-total strong { font-family: var(--sans); font-size: 21px; letter-spacing: -.04em; color: var(--text); }
.cart-foot .mono { margin-top: 8px; font-size: 7.5px; line-height: 1.5; color: var(--muted-2); }
.save-bubble { position: fixed; top: 64px; right: 54px; z-index: 400; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--text); color: var(--bg); box-shadow: 0 12px 30px rgba(0,0,0,.35); opacity: 0; transform: translateY(-5px); transition: opacity .2s, transform .2s; pointer-events: none; }
.save-bubble::after { content: ""; position: absolute; right: 18px; top: -5px; width: 9px; height: 9px; background: var(--text); transform: rotate(45deg); }
.save-bubble.is-open { opacity: 1; transform: none; }
.save-bubble[hidden] { display: none; }
.save-bubble span { font-size: 11.5px; font-weight: 700; }
.save-bubble small { font-size: 9.5px; opacity: .65; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 320; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 28px); padding: 10px 12px 10px 13px; border: 1px solid var(--line-strong); border-left: 1px solid var(--red); border-radius: 8px; background: var(--surface-2); color: var(--text); font-size: 11px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { font-family: var(--mono); font-size: 8px; text-transform: uppercase; color: var(--red-bright); white-space: nowrap; }

/* Theme change: a reveal from the switch, not a hard swap. */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: themeReveal .58s cubic-bezier(.22,1,.36,1); }
@keyframes themeReveal {
  from { clip-path: circle(0px at var(--theme-x, 50%) var(--theme-y, 50%)); }
  to { clip-path: circle(var(--theme-r, 150vmax) at var(--theme-x, 50%) var(--theme-y, 50%)); }
}

/* ---------- responsive ---------- */

@media (max-width: 1320px) {
  .patch-card { width: 370px; height: 490px; margin: -245px 0 0 -185px; }
  .patch-card[data-pos="-1"] { transform: translateX(-330px) translateZ(-140px) rotateY(16deg) scale(.78); }
  .patch-card[data-pos="-2"] { transform: translateX(-505px) translateZ(-290px) rotateY(26deg) scale(.6); }
  .patch-card[data-pos="1"] { transform: translateX(330px) translateZ(-140px) rotateY(-16deg) scale(.78); }
  .patch-card[data-pos="2"] { transform: translateX(505px) translateZ(-290px) rotateY(-26deg) scale(.6); }
}

@media (max-width: 1160px) {
  .builder-layout { grid-template-columns: 270px minmax(0,1fr); }
  .builder-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .patch-stage { height: 600px; }
  .patch-card { width: 350px; height: 470px; margin: -235px 0 0 -175px; }
  .patch-card[data-pos="-1"] { transform: translateX(-300px) translateZ(-130px) rotateY(16deg) scale(.78); }
  .patch-card[data-pos="-2"] { transform: translateX(-460px) translateZ(-270px) rotateY(26deg) scale(.56); }
  .patch-card[data-pos="1"] { transform: translateX(300px) translateZ(-130px) rotateY(-16deg) scale(.78); }
  .patch-card[data-pos="2"] { transform: translateX(460px) translateZ(-270px) rotateY(-26deg) scale(.56); }
  .patch-card-info h2, .patch-card-name { font-size: 20px; }
}

@media (max-width: 980px) {
  html { scrollbar-gutter: auto; }
  .sidebar { transform: translateX(-102%); width: 280px !important; box-shadow: none; transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s var(--ease), background-color .28s ease; will-change: transform; }
  .sidebar.is-open { transform: translateX(0); box-shadow: 30px 0 70px rgba(0,0,0,.3); }
  .sidebar .side-head, .sidebar .side-nav, .sidebar .side-bottom { transition: opacity .3s ease, transform .4s var(--ease); }
  .sidebar .side-head, .sidebar .side-nav, .sidebar .side-bottom { opacity: .35; transform: translateX(-8px); }
  .sidebar.is-open .side-head, .sidebar.is-open .side-nav, .sidebar.is-open .side-bottom { opacity: 1; transform: none; transition-delay: .04s; }
  .sidebar .side-label, .sidebar .side-brand-text { opacity: 1; width: auto; transform: none; }
  .sidebar .side-link::before { left: 0; top: 0; width: 100%; height: 100%; }
  .sidebar .side-count { right: 8px; top: 50%; transform: translateY(-50%); }
  .side-close { display: grid; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 110; display: block; background: rgba(4,4,6,.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .main { margin-left: 0; }
  .menu-btn { display: grid; }
  .topbar { padding-inline: 12px; height: 60px; gap: 8px; }
  .topbar-left { flex: 1 1 auto; min-width: 0; }
  .topbar-page { min-width: 0; overflow: hidden; }
  .topbar-page strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-search { position: static; width: 36px; flex: 0 0 36px; padding: 0; justify-content: center; margin-left: 0; transform: none; }
  .topbar-search span, .topbar-search kbd { display: none; }
  .topbar-search svg { width: 17px; height: 17px; }
  .topbar-auth { width: auto; padding: 0 10px; margin-right: 0; }
  .topbar-bulk { display: none; }
  .topbar-auth .auth-top-full { display: none; }
  .topbar-auth .auth-top-short { display: inline; }
  #views { padding-inline: 16px; }
  .announce { height: 34px; padding: 0 0 0 12px; gap: 7px; font-size: 10.5px; }
  .announce-link { font-size: 10px; padding: 0 12px; }
  .site-footer { margin-inline: 16px; }
  .patch-stage { height: 590px; }
  .patch-card { width: 340px; height: 460px; margin: -230px 0 0 -170px; }
  .patch-card[data-pos="-1"] { transform: translateX(-285px) translateZ(-130px) rotateY(16deg) scale(.78); }
  .patch-card[data-pos="-2"] { opacity: 0; visibility: hidden; pointer-events: none; }
  .patch-card[data-pos="1"] { transform: translateX(285px) translateZ(-130px) rotateY(-16deg) scale(.78); }
  .patch-card[data-pos="2"] { opacity: 0; visibility: hidden; pointer-events: none; }
  body.is-builder, body.is-builder .main { overflow: auto; height: auto; }
  .view#view-builder { height: auto; padding-bottom: 190px; overflow: visible; }
  .builder-layout { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .builder-steps { position: static; max-height: none; padding: 8px; border-right: 0; }
  .builder-rail-visual, .builder-rail-count, .builder-rail-foot, .builder-clearc { display: none; }
  .builder-step-list { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3px; }
  .builder-step { min-height: 52px; flex-direction: column; align-items: flex-start; gap: 3px; padding: 6px; }
  .builder-step-index { width: 20px; height: 20px; flex-basis: 20px; font-size: 8px; }
  .builder-step-main strong { font-size: 10.5px; }
  .builder-step-main small, .builder-step-price { display: none; }
  .builder-parts { min-height: 0; overflow: visible; }
  .builder-parts-scroll { max-height: none; overflow: visible; padding-bottom: 8px; }
  .builder-buybar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 80; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.45); }
  .buybar-copy strong { font-size: 28px; }
  .buybar-copy small { display: none; }
  .buybar-actions .text-link { display: none; }
  .buybar-actions .btn { height: 40px; }
  .buybar-actions .btn-primary { min-width: 0; }
  .product-page { inset: 60px 0 0; z-index: 55; }
  .product-page .product-wrap { grid-template-columns: 1fr; gap: 20px; padding: 14px 16px 32px; }
  .product-page .product-gallery { position: static; }
  .product-page .qv-media { height: 360px; }
  .product-page .qv-media img { max-height: 320px; }
  .product-breadcrumb { padding: 12px 16px 0; flex-wrap: wrap; font-size: 11px; }
  .product-page .product-info h1 { font-size: 30px; }
  .product-facts { grid-template-columns: 1fr; }
  .product-page .product-specs { grid-template-columns: 1fr; }
  .product-tabs { gap: 18px; overflow-x: auto; }
  .product-details-section { padding: 0 16px 44px; }
  .product-page.is-dialog .product-wrap { grid-template-columns: 1fr; gap: 16px; }
  .product-page.is-dialog .qv-media { height: 220px; }
  .product-specs-section { padding: 0 16px 48px; }
  .product-specs { grid-template-columns: 1fr; }
  .product-wrap { grid-template-columns: 1fr; gap: 22px; padding: 22px 16px 48px; }
  .product-gallery { position: static; }
  .product-page .qv-media { height: 420px; }
  .product-page .qv-media img { max-height: 360px; }
  .product-info h1 { font-size: clamp(1.9rem, 7vw, 2.7rem); }
  .product-head { padding: 0 16px; }
  .product-crumb { display: none; }
}

@media (max-width: 760px) {
  .patch-stage { height: 530px; }
  .patch-card { width: min(86vw, 360px); height: min(118vw, 480px); margin-left: calc(min(86vw, 360px) / -2); margin-top: calc(min(118vw, 480px) / -2); }
  .patch-card[data-pos="-1"], .patch-card[data-pos="1"] { opacity: 0; pointer-events: none; transform: translateX(0) translateZ(-100px) scale(.9); }
  .patch-card-info h2, .patch-card-name { font-size: 20px; }
  .patch-bottom { display: flex; flex-direction: column; gap: 10px; align-items: center; }
  .patch-dots { justify-content: center; }
  .patch-actions { justify-self: auto; }
  .patch-actions .btn { flex: 0 1 auto; }
  .page-head { padding-top: 22px; }
  .page-head h1 { font-size: 2rem; }
  .acc-cats { gap: 5px; margin-inline: -16px; padding: 0 16px 2px; }
  .acc-cat { height: 52px; gap: 6px; padding: 0 9px 0 7px; }
  .acc-cat-media { width: 32px; height: 32px; flex-basis: 32px; }
  .acc-cat-media img { max-height: 27px; }
  .acc-cat-text strong { font-size: 11.5px; }
  .acc-result { margin: 4px 0 10px; }
  .acc-result h2 { font-size: 17px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .card-media { height: 180px; }
  .card-media img { max-height: 154px; }
  .card-body h3 { font-size: 13.5px; min-height: 38px; }
  .card-spec { font-size: 9.5px; }
  .card-price { font-size: 13px; }
  .card-badge { font-size: 7px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 220px; padding-right: 40%; }
  .platform-card h3 { max-width: 14ch; }
  .platform-card .platform-photo { width: 40%; right: 0; }
  .support-grid { grid-template-columns: 1fr; gap: 8px; }
  .support-card { min-height: 0; padding: 17px; }
  .support-card p { font-size: 12px; }
  .customer-section { margin-top: 24px; }
  .promise-grid { grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
  .promise { padding: 12px; }
  .promise small { display: none; }
  .review-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-categories { margin-top: 24px; }
  .best-ring-section { margin-top: 26px; padding: 16px; border-radius: 14px; }
  .best-head h2 { font-size: 26px; }
  .showcase-section { margin-top: 22px; }
  .showcase-head { flex-wrap: wrap; align-items: flex-end; gap: 8px; }
  .showcase-head h2 { font-size: 16px; letter-spacing: -.025em; max-width: 68%; }
  .showcase-tools { gap: 8px; }
  .showcase-tools .text-link { white-space: nowrap; font-size: 10px; }
  .fan-card:not(.is-focus):not(:hover) .fan-body { display: none; }
  .fan-card:not(.is-focus):not(:hover) .fan-media { height: 100%; flex: 1; }
  .showcase-fan { height: 380px; margin-inline: -16px; }
  .fan-card { width: 190px; height: 330px; }
  .fan-media { height: 150px; flex-basis: 150px; }
  .fan-media img { max-height: 132px; }
  .fan-body { padding: 11px 12px 12px; }
  .fan-name { font-size: 14.5px; }
  .fan-spec { font-size: 9.5px; }
  .fan-price { font-size: 15px; }
  .rail-btn { width: 40px; height: 40px; border-radius: 10px; font-size: 17px; }
  .ring-copy { min-height: 0; padding: 2px 2px 8px; }
  .ring-copy .section-head h2 { font-size: 24px; }
  .ring-focus { margin-top: 16px; padding-top: 14px; }
  .ring-focus h3 { font-size: 18px; }
  .ring-focus > p { font-size: 8px; }
  .ring-price { font-size: 20px; }
  .ring-actions .btn { flex: 1; }
  .ring-nav { margin-top: 12px; }
  .best-ring-stage { min-height: 280px; margin-top: 8px; }
  .builder-buybar:hover { border-color: var(--red-bright); box-shadow: 0 24px 65px rgba(0,0,0,.55); transform: translateY(-2px); }
  .builder-buybar { grid-template-columns: 1fr; gap: 8px; }
  .buybar-copy { width: 100%; justify-self: stretch; }
  .buybar-navs { width: 100%; order: 2; }
  .buybar-buy { width: 100%; order: 3; justify-self: stretch; }
  .buybar-actions .btn-ghost { display: none; }
  .buybar-actions .btn-primary { flex: 0 0 auto; min-width: 150px; }
  #gamingPlatform .platform-card { min-height: 350px; padding: 22px; padding-right: 40%; }
  #gamingPlatform .platform-card h3 { font-size: 24px; }
  #gamingPlatform .platform-logo { height: 28px; }
  #gamingPlatform .platform-photo { width: 46%; }
  .ring-origin { display: none; }
  .best-ring-card { width: 136px; height: 190px; padding: 7px; }
  .best-ring-media { height: 126px; }
  .best-ring-media img { max-height: 104px; }
  .best-ring-info strong { font-size: 9px; }
  .best-ring-info small { font-size: 8px; }
  .trust-strip { grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .trust-strip > div { padding: 12px; }
  .cat-row { display: flex; gap: 8px; margin-inline: -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 68vw; height: 150px; scroll-snap-align: start; }
  .builder-step { gap: 5px; padding: 6px; }
  .builder-step-index { width: 19px; height: 19px; flex-basis: 19px; font-size: 7px; }
  .builder-step-main strong { font-size: 9.5px; }
  .builder-parts-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .builder-search { width: 100%; }
  .builder-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .builder-part-media { height: 96px; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .footer-support { grid-template-columns: 1fr; gap: 12px; }
  .footer-note { max-width: none; }
  .search-modal { margin-top: 6vh; }
}

@media (max-width: 380px) {
  .topbar-auth { width: 36px; padding: 0; justify-content: center; }
  .topbar-auth .auth-top-short { display: none; }
}

@media (max-width: 460px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
  .card-media { height: 154px; }
  .card-media img { max-height: 136px; }
  .card-body { padding: 10px 10px 11px; }
  .card-body h3 { font-size: 11.5px; line-height: 1.3; min-height: 31px; }
  .card-spec { font-size: 8px; line-height: 1.45; }
  .card-price { font-size: 13.5px; }
  .card-add { height: 26px; padding: 0 7px; font-size: 9px; }
  .card-badge { left: 8px; top: 8px; padding: 3px 6px; font-size: 8px; }
  .card-heart { right: 7px; top: 7px; width: 26px; height: 26px; }
  .patch-center { height: 460px; margin-top: -230px; }
  .patch-visual { inset: 48px 12px 132px; }
  .patch-info h1 { font-size: 17px; }
  .patch-price { font-size: 19px; }
  .patch-actions .btn { font-size: 10px; padding: 0 10px; }
  .builder-grid { grid-template-columns: 1fr; }
  .builder-step-main strong { font-size: 8.5px; }
  .patch-caption-text { font-size: 10px; }
  .topbar-page strong { font-size: 12px; }
  .topbar-right { gap: 4px; }
}

@media (hover: none) { .card-ticker { display: none; } .card-heart, .showcase-heart { opacity: 1; transform: none; pointer-events: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .patch-center, .patch-side, .side-panel-inner, .patch-visual img { animation: none !important; }
  ::view-transition-new(root) { animation: none !important; }
  .announce-track { animation: none !important; }
}
