
:root {
  --accent: #3967df;
  --accent-hi: #6aa9ff;
  --accent-rgb: 57, 103, 223;
  --grad: linear-gradient(135deg, #4751e3 0%, #2d76dd 100%);
  --grad-text: linear-gradient(95deg, #8a90ff 0%, #56a8ff 48%, #35d2f2 100%);
  --glow-1: #4751e3;
  --glow-2: #1d3fa8;
  --glow-3: rgba(13, 171, 214, .6);
  --haze: rgba(48, 64, 190, .16);
  --selection: #2a3aa8;
  --brand-1-rgb: 71, 81, 227;
  --brand-2-rgb: 13, 171, 214;

  --accent-soft: rgba(var(--accent-rgb), .13);
  --accent-line: rgba(var(--accent-rgb), .45);
  --hover-bg: rgba(var(--accent-rgb), .1);
  --hover-line: rgba(var(--accent-rgb), .32);

  --bg: #05060b;
  --bg-1: #0a0b12;
  --bg-2: #0f1019;
  --bg-3: #171926;
  --glass: rgba(255, 255, 255, .04);
  --glass-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --grid-line: rgba(255, 255, 255, .03);

  --text: #f5f6fa;
  --text-2: #a7aaba;
  --text-3: #8b8fa3;

  --ok: #7ee2a2;
  --ok-rgb: 74, 222, 128;
  --warn: #f5c46b;
  --warn-rgb: 245, 180, 70;
  --bad: #ff8d8d;
  --bad-rgb: 239, 68, 68;

  --display: "Mona Sans", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;
  --shadow-raise: 0 18px 40px -22px rgba(0, 0, 0, .8), 0 2px 6px -2px rgba(0, 0, 0, .5);
  --shadow-raise-strong: 0 28px 56px -24px rgba(0, 0, 0, .85), 0 4px 10px -4px rgba(0, 0, 0, .55);
  --shadow-tight: 0 6px 16px -8px rgba(0, 0, 0, .7);
  --shadow-lg: 0 28px 60px -24px rgba(0, 0, 0, .75), 0 10px 24px -16px rgba(0, 0, 0, .6);
  --shadow-float: 0 44px 90px -36px rgba(0, 0, 0, .9), 0 24px 50px -28px rgba(0, 0, 0, .7);

  --pop-bg: #0c0d15;
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a7aaba' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fast: .2s;
  --base: .4s;

  color-scheme: dark;
  accent-color: var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--haze) 0, transparent 34rem), var(--bg);
}
body > main { flex: 1 0 auto; }

img { display: block; max-width: 100%; }
svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 750;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
code, kbd, pre, samp { font-family: var(--mono); }
table, .tabular { font-variant-numeric: tabular-nums; }
::selection { background: var(--selection); color: #fff; }
::placeholder { color: var(--text-3); opacity: 1; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

::-webkit-scrollbar { width: var(--sb-size, 14px); height: var(--sb-size, 14px); }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  border: var(--sb-inset, 4px) solid transparent; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .16) padding-box;
}
::-webkit-scrollbar-thumb:hover { border-width: calc(var(--sb-inset, 4px) - 1px); background-color: rgba(var(--accent-rgb), .8); }
::-webkit-scrollbar-thumb:active { border-width: calc(var(--sb-inset, 4px) - 1px); background-color: var(--accent-hi); }
html::-webkit-scrollbar-track { background: var(--bg); }
.mob-menu, .menu-pop, .modal-card, .prose pre, textarea { --sb-size: 10px; --sb-inset: 3px; }

@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: rgba(255, 255, 255, .22) var(--bg); }
  .mob-menu, .menu-pop, .modal-card, .prose pre, textarea { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .22) transparent; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  padding: 8px 16px; border-radius: var(--r-sm);
  background: var(--accent); color: #fff; font-weight: 600;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 16px; }

@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-slow { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(12px, -20px) rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal.is-in { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }

.btn {
  --h: var(--btn-h, 46px);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-full);
  font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  white-space: nowrap; cursor: pointer; isolation: isolate;
  transition: box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease), background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-lg { --h: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { --h: 36px; padding: 0 15px; font-size: 13.5px; gap: 7px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-raise), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover { box-shadow: var(--shadow-raise-strong), inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 32px -12px rgba(var(--accent-rgb), .75); }

.btn-ghost {
  background: var(--glass); border-color: var(--line-2); color: var(--text);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.btn-ghost:hover { background: var(--hover-bg); border-color: var(--accent-line); }

.btn-danger { background: rgba(var(--bad-rgb), .12); border-color: rgba(var(--bad-rgb), .42); color: var(--bad); }
.btn-danger:hover { background: rgba(var(--bad-rgb), .2); border-color: rgba(var(--bad-rgb), .6); }

.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.btn .arrow, .link-arrow svg, .card-more svg { transition: transform var(--fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.is-busy { cursor: progress !important; }
.btn.is-busy:disabled { opacity: .8; }
.btn.is-busy > svg { display: none; }
.btn.is-busy::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.cart-add.is-busy, .cart-remove.is-busy { opacity: .6; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hi); font-size: 15px; font-weight: 600; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { transform: translateX(3px); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--glass); color: var(--text-2);
  font-size: 12px; font-weight: 600; letter-spacing: .03em; line-height: 1.2; white-space: nowrap;
}
.tag svg { font-size: 10px; }
a.tag { transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
a.tag:hover { color: var(--text); border-color: var(--accent-line); }
.tag-accent, .tag-incart { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-hi); }
.tag-owned { background: rgba(var(--ok-rgb), .1); border-color: rgba(var(--ok-rgb), .32); color: var(--ok); }
.tag-warn { background: rgba(var(--warn-rgb), .1); border-color: rgba(var(--warn-rgb), .35); color: var(--warn); }
.tag-soon { border-style: dashed; color: var(--text-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-hi);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--glass); color: var(--text-2);
  font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--hover-line); }
.chip[aria-pressed="true"] { color: var(--text); border-color: var(--accent-line); background: var(--accent-soft); }
.chip .n { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.chip[aria-pressed="true"] .n { color: var(--accent-hi); }

.site-banner {
  position: relative; z-index: 51;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; padding: 8px 52px;
  font-size: 13.5px; font-weight: 500; text-align: center;
  border-bottom: 1px solid var(--line);
}
.site-banner::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.site-banner-info { background: linear-gradient(90deg, rgba(var(--brand-1-rgb), .2), rgba(var(--brand-2-rgb), .14)); color: color-mix(in srgb, var(--accent-hi) 30%, #fff); border-bottom-color: var(--accent-line); }
.site-banner-info::before { background: var(--accent-hi); }
.site-banner-success { background: rgba(var(--ok-rgb), .1); color: var(--ok); border-bottom-color: rgba(var(--ok-rgb), .3); }
.site-banner-warning { background: rgba(var(--warn-rgb), .1); color: var(--warn); border-bottom-color: rgba(var(--warn-rgb), .32); }
.site-banner-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 0; border-radius: var(--r-full); background: none; color: inherit;
  opacity: .65; cursor: pointer; transition: opacity var(--fast), background-color var(--fast);
}
.site-banner-close:hover { opacity: 1; background: rgba(255, 255, 255, .08); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color var(--base) var(--ease), border-color var(--base) var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 11, .6) 0%, transparent 100%);
  transition: opacity var(--base) var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(5, 6, 11, .74);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 0; }

.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: var(--nav-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none; justify-self: start; min-width: 0;
  font-family: var(--display); font-stretch: 112%; font-size: 18px; font-weight: 750; letter-spacing: -0.02em;
}
.brand-mark { width: 32px; height: 32px; border-radius: var(--r-sm); object-fit: contain; }

.nav { display: flex; align-items: center; gap: 28px; justify-self: center; }
.nav > a, .nav-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color var(--fast) var(--ease);
}
.nav > a::after, .nav-btn::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px;
  border-radius: var(--r-full); background: var(--grad);
  transition: left var(--base) var(--ease), right var(--base) var(--ease);
}
.nav > a:hover, .nav-btn:hover, .nav-drop:focus-within .nav-btn,
.nav > a[aria-current="page"], .nav-btn.is-active { color: var(--text); }
.nav > a:hover::after, .nav-btn:hover::after,
.nav > a[aria-current="page"]::after, .nav-btn.is-active::after { left: 0; right: 0; }

.menu-wrap { position: relative; }
.menu-pop {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; z-index: 5;
  display: flex; flex-direction: column; min-width: 220px; padding: 6px;
  background: var(--pop-bg); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.menu-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu-pop a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.menu-pop a:hover, .menu-pop a:focus-visible { background: var(--hover-bg); }
.menu-pop a svg { width: 15px; color: var(--text-3); }
.menu-pop a[aria-current="page"] { color: var(--accent-hi); }
.menu-sep { height: 1px; margin: 6px 4px; background: var(--line); }
.nav-pop { opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.nav-drop:hover .nav-pop, .nav-drop:focus-within .nav-pop { opacity: 1; pointer-events: auto; transform: none; }
.nav-chevron { font-size: 11px; transition: transform var(--fast) var(--ease); }
.nav-drop:hover .nav-chevron, .nav-drop:focus-within .nav-chevron { transform: rotate(180deg); }
.menu-user { left: auto; right: 0; translate: none; min-width: 200px; }

.nav-end { display: flex; align-items: center; gap: 4px; flex: none; justify-self: end; }
.nav-icon {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-full);
  color: var(--text-2); font-size: 16px;
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.nav-icon:hover, .nav-icon.is-active { color: var(--text); background: var(--hover-bg); }
.nav-icon-badge {
  position: absolute; top: 1px; right: -1px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-full);
  background: var(--grad); color: #fff; box-shadow: 0 0 0 2px var(--bg);
  font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
}
.nav-signin { margin-left: 8px; }
.nav-account {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; margin-left: 8px; padding: 0 12px 0 4px; border-radius: var(--r-full);
  background: var(--glass); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.nav-account:hover, .user-drop:focus-within .nav-account { border-color: var(--accent-line); background: var(--hover-bg); }
.nav-account img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.nav-account span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; margin-right: -8px;
  border: 0; border-radius: var(--r); background: transparent; color: var(--text);
  font-size: 20px; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav-toggle:hover { background: var(--hover-bg); color: var(--accent-hi); }
.nav-toggle .when-open, .nav-toggle[aria-expanded="true"] .when-closed { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline-flex; }

.site-header.is-open::after {
  content: ""; position: absolute; top: calc(100% + 1px); left: 0; right: 0; height: 100vh;
  background: rgba(5, 6, 11, .6); animation: fade-in .25s ease-out;
}
.mob-menu {
  position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 1;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: drop-in .3s var(--ease);
}
.mob-menu-inner { display: flex; flex-direction: column; gap: 22px; padding-block: 18px 28px; }
.mob-user {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--glass);
}
.mob-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.mob-user span { flex: 1; min-width: 0; }
.mob-user b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.mob-user small { display: block; color: var(--text-3); font-size: 13px; }
.mob-user > svg { color: var(--text-3); }
.mob-menu-group { display: flex; flex-direction: column; }
.mob-menu-label { margin: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.mob-menu-label:first-child { margin-top: 0; }
.mob-menu-link { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 17px; font-weight: 500; color: var(--text-2); transition: color var(--fast) var(--ease); }
.mob-menu-link.top { font-size: 18px; font-weight: 600; color: var(--text); }
.mob-menu-link svg { width: 18px; color: var(--text-3); }
.mob-menu-link:hover, .mob-menu-link[aria-current="page"] { color: var(--accent-hi); }
.mob-menu-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mob-menu-ctas .btn { flex: 1 1 150px; }

@media (max-width: 960px) {
  .nav, .nav-hide-m { display: none !important; }
  .nav-toggle { display: grid; }
  .header-inner { display: flex; gap: 12px; }
  .nav-end { margin-left: auto; }
}

.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-alt { background: var(--bg-1); border-block: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.022em; }
.section-head p { color: var(--text-2); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; }
.section-head-sm h2 { font-size: clamp(24px, 3vw, 30px); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.head-row .section-head { margin-bottom: 0; }

.page-head { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 110% at 88% 0%, rgba(var(--accent-rgb), .16), transparent 70%);
}
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 58px); font-weight: 800; letter-spacing: -0.022em; }
.page-head .eyebrow + h1 { margin-top: 14px; }
.page-head p { margin-top: 14px; max-width: 640px; color: var(--text-2); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--text-3); }
.crumbs a { color: var(--text-2); transition: color var(--fast) var(--ease); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { font-size: 9px; opacity: .6; }

.mesh {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 50%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 50%, transparent 94%);
}
.mesh-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mesh-video { width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .6; }
.mesh-blob-1 { width: max(46vw, 340px); aspect-ratio: 1; top: -16%; left: -10%; background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%); animation: float-slow 14s ease-in-out infinite; }
.mesh-blob-2 { width: max(38vw, 300px); aspect-ratio: 1; top: 2%; right: -12%; background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%); animation: float-slow 18s ease-in-out infinite reverse; }
.mesh-blob-3 { width: max(30vw, 260px); aspect-ratio: 1; bottom: -16%; left: 32%; background: radial-gradient(circle, var(--glow-3) 0%, transparent 70%); animation: float-y 10s ease-in-out infinite; }
.mesh-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
}
.mesh-fade { display: none; }
.mesh-soft .mesh-blob { opacity: .38; }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + clamp(64px, 10vw, 128px)) 0 clamp(64px, 8vw, 104px);
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-inner > * { animation: rise .8s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }
.hero-title { width: 100%; max-width: 940px; font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; line-height: 1.03; letter-spacing: -0.025em; }
.hero-title .hero-word {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-rotator { display: grid; justify-items: center; }
.hero-rotator .hero-word {
  grid-area: 1 / 1; white-space: nowrap;
  padding: .1em .08em .2em; margin: -.1em -.08em -.2em;
  opacity: 0; translate: 0 .3em; filter: blur(6px);
  transition: opacity .5s var(--ease), translate .7s var(--ease), filter .5s var(--ease);
}
.hero-rotator .hero-word.is-active { opacity: 1; translate: 0 0; filter: blur(0); }
.hero-rotator .hero-word.is-leaving { opacity: 0; translate: 0 -.3em; filter: blur(6px); }
.hero-sub { max-width: 620px; color: var(--text-2); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 14px 0 0; padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.hero-trust svg { color: var(--accent-hi); }

.feat-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  box-shadow: var(--shadow-raise);
}
.feat-media { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--shadow-float); background: var(--bg-2); }
.feat-badge-overlay { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; gap: 6px; }
.feat-badge-overlay .tag { background: rgba(5, 6, 11, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.feat-info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px clamp(0px, 1.5vw, 16px) 8px 0; }
.feat-info h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.022em; }
.feat-info > p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.feat-price { font-family: var(--display); font-stretch: 112%; font-size: clamp(30px, 3vw, 38px); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.feat-price.free { color: var(--accent-hi); }
.feat-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feat-actions form { display: contents; }
.feat-meta { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); align-self: stretch; }

.feat-cat-banner {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl); border: 1px solid var(--accent-line);
  background: radial-gradient(60% 120% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 70%), var(--glass);
}
.feat-cat-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 620px; }
.feat-cat-left h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.feat-cat-left p { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.feat-cat-btn { flex: none; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); }
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px;
  border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-hi); font-size: 18px;
}
.step-num { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.step h3 { font-size: 19px; }
.step p { color: var(--text-2); line-height: 1.6; }

.stars { display: inline-flex; gap: 3px; color: var(--warn); font-size: 14px; }
.stars .off { color: var(--line-2); }
.reviews-section .section-head p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.reviews-section .section-head p b { color: var(--text); }

.carousel { --fade-l: 48px; --fade-r: 48px; position: relative; }
.carousel.at-start { --fade-l: 0px; }
.carousel.at-end { --fade-r: 0px; }
.carousel-track {
  --cols: 3;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * 20px) / var(--cols)); gap: 20px;
  margin: 0; padding: 4px 0 8px; list-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: 6px; border-radius: var(--r-lg); }
.review-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 26px;
  scroll-snap-align: start;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-1); box-shadow: var(--shadow-raise);
  transition: border-color var(--fast) var(--ease);
}
.review-card:hover { border-color: var(--hover-line); }
.review-card blockquote {
  position: relative; flex: 1; margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.7; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card blockquote::before { content: "\201C"; color: var(--accent-hi); font-family: var(--display); font-weight: 800; margin-right: 2px; }
.review-card blockquote::after { content: "\201D"; color: var(--accent-hi); font-family: var(--display); font-weight: 800; margin-left: 2px; }
.review-by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-by img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--bg-2); }
.review-initial { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--display); font-size: 15px; font-weight: 750; }
.review-by span { display: grid; min-width: 0; }
.review-by b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.review-by small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-3); font-size: 13px; }
.review-by a { color: var(--accent-hi); }
.review-by a:hover { text-decoration: underline; text-underline-offset: 3px; }

.carousel-nav { display: flex; gap: 10px; }
.carousel-nav[hidden] { display: none; }
.carousel-btn {
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--glass); color: var(--text);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.carousel-btn:hover { background: var(--hover-bg); border-color: var(--accent-line); color: var(--accent-hi); }

.review-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-full); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.review-status-pending { color: var(--warn); border-color: rgba(var(--warn-rgb), .4); background: rgba(var(--warn-rgb), .08); }
.review-status-approved { color: var(--ok); border-color: rgba(var(--ok-rgb), .4); background: rgba(var(--ok-rgb), .08); }
.review-status-rejected { color: var(--bad); border-color: rgba(var(--bad-rgb), .4); background: rgba(var(--bad-rgb), .08); }
.modal-head .review-status { margin-top: 12px; }
.review-form { display: grid; gap: 18px; }
.review-form label .hint { color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.review-form .modal-actions .review-remove { margin-right: auto; }
@media (max-width: 620px) { .review-form .modal-actions .review-remove { margin-right: 0; } }

.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.rate-input legend { width: 100%; margin-bottom: 8px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .rate-input label { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); color: var(--line-2); font-size: 24px; cursor: pointer; transition: color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.form .rate-input label:hover { transform: scale(1.1); }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: var(--warn); }
.rate-input:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: var(--line-2); }
.rate-input input:focus-visible + label { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
@media (max-width: 960px) { .carousel-track { --cols: 2; } }
@media (max-width: 640px) {
  .carousel-track { grid-auto-columns: 86%; }
  .review-card { padding: 22px; }
}

.store-grid, .shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.pcard, .scard {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--bg-1); box-shadow: var(--shadow-raise);
  transition: border-color var(--fast) var(--ease), transform var(--base) var(--ease);
}
.pcard:hover, .scard:hover, .pcard:focus-within, .scard:focus-within { border-color: var(--accent-line); transform: translateY(-3px); }
.pcard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.scard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.scard-link:focus-visible { outline: none; }
.scard:has(.scard-link:focus-visible), .pcard:has(.pcard-link:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.pcard-link:focus-visible { outline: none; }

.pcard-media, .scard-media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.pcard-media img, .scard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img, .scard:hover .scard-media img { transform: scale(1.035); }
.badges, .scard-status { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; gap: 6px; }
.badges .tag, .scard-status.tag { background: rgba(5, 6, 11, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badges .tag:not(.tag-accent):not(.tag-owned):not(.tag-incart), .scard-status.tag:not(.tag-accent):not(.tag-owned):not(.tag-incart) { color: var(--text); border-color: var(--line-2); }

.pcard-body, .scard-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.card-cat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.pcard h3, .scard h3 { font-size: 21px; line-height: 1.2; }
.pcard p, .scard p {
  color: var(--text-2); font-size: 15px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-foot, .scard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.pcard-foot form { position: relative; z-index: 2; }
.card-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hi); font-size: 14.5px; font-weight: 600; }
.pcard:hover .card-more svg, .scard:hover .card-more svg { transform: translateX(3px); }
.card-ext { position: relative; z-index: 2; }

.price { font-family: var(--display); font-stretch: 112%; font-size: 19px; font-weight: 750; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.price.free { color: var(--accent-hi); }
.price-ext { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-stretch: 100%; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.price-was { margin-right: 6px; color: var(--text-3); font-size: .72em; font-weight: 500; text-decoration: line-through; }

.cart-add {
  position: relative; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--glass); color: var(--text);
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.cart-add:hover { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(var(--accent-rgb), .8); }
.cart-add[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-hi); }

.product-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.empty-products {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 56px 24px; text-align: center;
  border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--glass);
}
.empty-products > svg, .empty-products > i {
  box-sizing: content-box; width: 22px; height: 22px; padding: 14px; margin-bottom: 8px;
  border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-hi);
}
.empty-products b { font-family: var(--display); font-stretch: 112%; font-size: 19px; }
.empty-products span { max-width: 420px; color: var(--text-2); font-size: 15px; }
.empty-products .btn { margin-top: 10px; }

.shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.shop-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 400px; }
.shop-search > svg, .shop-search > i { position: absolute; left: 17px; color: var(--text-3); pointer-events: none; font-size: 14px; }
.shop-search input {
  width: 100%; height: 46px; padding: 0 16px 0 44px;
  border-radius: var(--r-full); border: 1px solid var(--line); background: var(--glass);
  color: var(--text); font: inherit; font-size: 15px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.shop-search input:hover { border-color: var(--hover-line); }
.shop-search input:focus { outline: 0; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.shop-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.shop-count { margin-left: auto; color: var(--text-3); font-size: 14.5px; white-space: nowrap; }
.shop-count b { color: var(--text); font-weight: 600; }
.shop-sort select { min-width: 206px; }
.shop-chips { margin-bottom: 28px; }

.product-hero { position: relative; padding: clamp(20px, 3vw, 36px) 0 clamp(16px, 2.5vw, 32px); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.product-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-copy h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -0.022em; }
.product-lead { max-width: 560px; color: var(--text-2); font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.7; }
.buy-box {
  align-self: stretch; display: flex; flex-direction: column; gap: 16px; margin-top: 6px;
  padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass);
}
.buy-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.buy-amount { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--display); font-stretch: 112%; font-size: clamp(30px, 3vw, 38px); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.buy-amount.free { color: var(--accent-hi); }
.buy-amount .price-was { font-size: .55em; }
.buy-amount-ext { align-items: center; gap: 10px; font-family: var(--font); font-stretch: 100%; font-size: 17px; font-weight: 600; color: var(--text-2); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-actions form { display: contents; }
.buy-actions .btn-lg { --h: 50px; padding: 0 20px; font-size: 15.5px; }
.buy-note { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; }
.buy-note svg { color: var(--accent-hi); }
.buy-note a { color: var(--accent-hi); font-weight: 600; }
.product-visual { min-width: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-1); box-shadow: var(--shadow-float); }

.product-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.product-body-solo { grid-template-columns: minmax(0, 860px); }
.product-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }
.side-box { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.side-box h3 { margin-bottom: 12px; font-size: 17px; }
.staff-box { border-color: var(--accent-line); background: radial-gradient(120% 100% at 100% 0%, rgba(var(--accent-rgb), .14), transparent 70%), var(--glass); }
.product-staff { display: flex; flex-wrap: wrap; gap: 8px; }
.product-staff form { display: contents; }

.prose { color: var(--text-2); font-size: 16px; line-height: 1.75; overflow-wrap: break-word; }
.prose > * + * { margin-top: 14px; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); letter-spacing: -0.012em; line-height: 1.25; }
.prose > :is(h1, h2, h3, h4):not(:first-child) { margin-top: 28px; }
.prose h1 { font-size: 28px; }
.prose h2 { font-size: 24px; }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 17px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { color: var(--accent-hi); font-weight: 600; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose code { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); font-size: .88em; color: var(--text); }
.prose pre { padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.prose pre code { padding: 0; border: 0; background: none; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--accent-line); color: var(--text-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.product-desc { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-1); }
.prose-sm { font-size: 14.5px; line-height: 1.65; }
.prose-sm > * + * { margin-top: 10px; }

.convertinfo, .convertsuccess, .convertwarning, .convertdanger { padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--text); }
.convertsuccess { border-color: rgba(var(--ok-rgb), .35); background: rgba(var(--ok-rgb), .08); }
.convertwarning { border-color: rgba(var(--warn-rgb), .38); background: rgba(var(--warn-rgb), .08); }
.convertdanger { border-color: rgba(var(--bad-rgb), .4); background: rgba(var(--bad-rgb), .08); }

.product-gallery-block { margin-top: clamp(48px, 6vw, 72px); }
.product-gallery-block:first-child { margin-top: 0; }
.product-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.product-gallery a { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); cursor: zoom-in; transition: border-color var(--fast) var(--ease); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--base) var(--ease); }
.product-gallery a:hover, .product-gallery a:focus-visible { border-color: var(--accent-line); }
.product-gallery a:hover img, .product-gallery a:focus-visible img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 64px 88px; background: rgba(5, 6, 11, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .18s ease-out; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--glass-2); color: var(--text); cursor: pointer;
  transition: background-color var(--fast), border-color var(--fast);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--accent-line); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-single .lightbox-prev, .lightbox-single .lightbox-next { display: none; }
.lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 13px; color: var(--text-2); }

.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-item {
  display: flex; align-items: center; gap: 18px; padding: 14px;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-1);
  transition: border-color var(--fast) var(--ease);
}
.cart-item:hover { border-color: var(--hover-line); }
.cart-item form { flex: none; }
.cart-thumb { flex: none; width: 132px; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-size: 19px; line-height: 1.25; transition: color var(--fast) var(--ease); }
.cart-item-info a:hover h3 { color: var(--accent-hi); }
.cart-item-sub { margin-top: 4px; color: var(--text-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item > .price { flex: none; }
.cart-remove {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-full); border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2);
  cursor: pointer; transition: background-color var(--fast), border-color var(--fast), color var(--fast);
}
.cart-remove:hover { border-color: rgba(var(--bad-rgb), .5); background: rgba(var(--bad-rgb), .1); color: var(--bad); }
.cart-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.cart-clear { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; border: 0; background: transparent; color: var(--text-2); font-size: 14.5px; cursor: pointer; transition: color var(--fast); }
.cart-clear:hover { color: var(--text); }
.cart-summary {
  position: sticky; top: calc(var(--nav-h) + 20px);
  padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: var(--shadow-raise);
}
.cart-summary h2 { margin-bottom: 14px; font-size: 21px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; color: var(--text-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.sum-row span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-row-discount, .cart-summary .sum-row-discount span:last-child { color: var(--ok); }
.sum-row.total { margin: 6px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-family: var(--display); font-stretch: 112%; font-size: 22px; font-weight: 750; }
.cart-summary .sum-row.total span:last-child { color: var(--text); }
.cart-discount { display: flex; align-items: center; margin-top: 16px; padding: 4px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--bg); transition: border-color var(--fast), box-shadow var(--fast); }
.cart-discount:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.cart-discount input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cart-discount input:focus { outline: none; }
.cart-discount input::placeholder { letter-spacing: 0; text-transform: none; }
.cart-discount .btn { --h: 38px; padding: 0 16px; background: var(--glass-2); border-color: var(--line-2); color: var(--text); }
.cart-discount .btn:hover { border-color: var(--accent-line); }
.cart-discount-remove { margin-top: 12px; width: 100%; }
.cart-checkout { margin-top: 16px; }
.sum-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; color: var(--text-3); font-size: 13.5px; text-align: center; }
.cart-empty { display: flex; flex-direction: column; align-items: center; max-width: 520px; margin-inline: auto; padding: 48px 24px; text-align: center; border-radius: var(--r-xl); border: 1px dashed var(--line-2); background: var(--glass); }
.cart-empty > svg, .cart-empty > i {
  box-sizing: content-box; width: 24px; height: 24px; padding: 16px;
  border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-hi);
}
.cart-empty h2 { margin-top: 20px; font-size: 26px; }
.cart-empty p { margin: 8px 0 26px; color: var(--text-2); }

.form { display: grid; gap: 16px; text-align: left; }
.form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.form label > input, .form label > select, .form label > textarea, .form label > .pass-field, .form label > small { flex: 1 1 100%; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%; min-width: 0; height: 48px; padding: 0 16px;
  border-radius: var(--r); border: 1px solid var(--line); background-color: var(--bg-1);
  color: var(--text); font: inherit; font-size: 15.5px; font-weight: 400;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.form textarea { height: auto; padding: 12px 16px; line-height: 1.55; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--hover-line); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.form input[type="file"] { display: flex; align-items: center; padding: 0 6px 0 0; color: var(--text-2); cursor: pointer; }
.form input[type="file"]::file-selector-button {
  height: 100%; margin-right: 14px; padding: 0 16px; border: 0; border-right: 1px solid var(--line);
  background: var(--glass-2); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.form .btn { margin-top: 4px; }
.cat-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-hint-inline { font-weight: 400; color: var(--text-3); }
.create-link { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.form-hint { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.form-error { margin-bottom: 16px; padding: 11px 14px; border-radius: var(--r); border: 1px solid rgba(var(--bad-rgb), .4); background: rgba(var(--bad-rgb), .1); color: var(--bad); font-size: 14.5px; text-align: left; }
.form-error.form-note { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }
.form-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--text-3); font-size: 13px; }
.form-or::before, .form-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-alt { display: block; margin-top: 22px; color: var(--text-3); font-size: 14.5px; }
.form-alt a { color: var(--accent-hi); font-weight: 600; }
.form .code-input { height: 62px !important; padding-left: .45em !important; text-align: center; font-family: var(--mono) !important; font-size: 26px !important; letter-spacing: .45em; }
.pass-field { position: relative; display: block; }
.pass-field input { padding-right: 52px !important; }
.pass-toggle {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: var(--r-full); background: transparent; color: var(--text-3); cursor: pointer;
  transition: color var(--fast), background-color var(--fast);
}
.pass-toggle:hover { color: var(--text); background: var(--hover-bg); }
.oauth-discord svg { color: #8c95ff; }
.form-end { display: flex; justify-content: flex-end; }

select {
  -webkit-appearance: none; appearance: none;
  background-image: var(--icon-chevron);
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  text-overflow: ellipsis; cursor: pointer;
}
select:disabled { opacity: .55; cursor: not-allowed; }
.form select { padding-right: 44px; }
select:required:has(option[value=""]:checked) { color: var(--text-3); }
select option { background-color: var(--bg-1); color: var(--text); }

.select, .shop-sort select {
  height: 46px; padding: 0 44px 0 18px;
  border-radius: var(--r-full); border: 1px solid var(--line); background-color: var(--glass);
  color: var(--text); font: inherit; font-size: 14.5px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.select:hover, .shop-sort select:hover { border-color: var(--hover-line); }
.select:focus, .shop-sort select:focus { outline: 0; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }

@supports (appearance: base-select) {
  select, ::picker(select) { appearance: base-select; }
  select { display: inline-flex; align-items: center; gap: 10px; background-image: none; }
  .form select, .select, .shop-sort select { padding-right: 16px; }
  select::picker-icon {
    content: ""; flex: none; width: 12px; height: 12px; margin-inline-start: auto;
    background-color: var(--text-2);
    -webkit-mask: var(--icon-chevron) center / contain no-repeat; mask: var(--icon-chevron) center / contain no-repeat;
    transition: rotate var(--fast) var(--ease), background-color var(--fast) var(--ease);
  }
  select:hover::picker-icon, select:open::picker-icon { background-color: var(--text); }
  select:open::picker-icon { rotate: 180deg; }
  select:open { border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }

  ::picker(select) {
    position-try-order: normal;
    max-block-size: min(320px, 50vh);
    margin-block: 6px; padding: 6px;
    border: 1px solid var(--line-2); border-radius: var(--r);
    background: var(--pop-bg); color: var(--text);
    box-shadow: var(--shadow-lg);
    overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .22) transparent;
    opacity: 0; translate: 0 -6px;
    transition: opacity .18s var(--ease), translate .18s var(--ease), overlay .18s allow-discrete, display .18s allow-discrete;
  }
  select:open::picker(select) { opacity: 1; translate: 0 0; }
  @starting-style { select:open::picker(select) { opacity: 0; translate: 0 -6px; } }

  select option {
    display: flex; align-items: center; gap: 10px;
    min-block-size: 38px; padding: 8px 12px; border-radius: var(--r-sm);
    background: transparent; color: var(--text);
    font-size: 14.5px; font-weight: 500; line-height: 1.35;
    cursor: pointer;
    transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
  }
  select option:hover, select option:focus-visible { background: var(--hover-bg); outline: 0; }
  select option:checked { color: var(--accent-hi); }
  select option::checkmark {
    order: 1; content: ""; flex: none; width: 14px; height: 14px; margin-inline-start: auto;
    background-color: currentColor;
    -webkit-mask: var(--icon-check) center / contain no-repeat; mask: var(--icon-check) center / contain no-repeat;
  }
  select option:not(:checked)::checkmark { visibility: hidden; }
  select option:disabled { color: var(--text-3); background: transparent; cursor: default; }
}

.auth-page { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: center; padding: clamp(40px, 9vh, 104px) var(--gutter); }
.login-card, .tfa-card {
  position: relative; width: 100%; max-width: 440px; padding: 40px 32px 32px;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background: rgba(11, 12, 20, .74); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-float); text-align: center;
}
.login-card .brand-mark { width: 52px; height: 52px; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow-tight), 0 0 0 6px rgba(var(--accent-rgb), .1); }
.login-card h1 { margin-top: 20px; font-size: 30px; }
.login-card > p { margin: 10px 0 26px; color: var(--text-2); font-size: 15.5px; }
.tfa-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 21px;
  box-shadow: var(--shadow-tight), 0 0 0 6px rgba(var(--accent-rgb), .12);
}
.tfa-card h1 { font-size: 25px; }
.tfa-sub { margin: 8px 0 24px; color: var(--text-2); font-size: 15.5px; }
.tfa-sub b { color: var(--text); font-weight: 600; }
.tfa-qr { position: relative; width: fit-content; margin: 0 auto 26px; padding: 8px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-2); }
.tfa-qr img, .tfa-qr svg { display: block; width: 168px; height: 168px; padding: 8px; border-radius: 10px; background: #fff; }
.tfa-qr-check { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); border: 2px solid var(--bg-1); color: #fff; font-size: 11px; }
.tfa-btn { position: relative; }
.tfa-key { display: flex; gap: 10px; }
.tfa-key input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--text); }
.tfa-key input:focus { outline: 0; border-color: var(--accent-line); }
.tfa-key button { flex: none; width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); color: var(--text-2); font-size: 16px; cursor: pointer; transition: border-color var(--fast), color var(--fast); }
.tfa-key button:hover { border-color: var(--accent-line); color: var(--text); }
.tfa-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; color: var(--text-3); font-size: 14px; }
.tfa-foot a { color: var(--accent-hi); font-weight: 600; }

.error-page {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: min(76vh, 760px); padding: 64px var(--gutter); text-align: center;
}
.error-code {
  font-family: var(--display); font-stretch: 125%; font-size: clamp(88px, 16vw, 164px); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 6px; border-radius: 50%; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-hi); font-size: 22px; }
.error-page h1 { font-size: clamp(26px, 3.6vw, 36px); }
.error-page p { max-width: 460px; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

.site-footer { position: relative; padding: clamp(48px, 6vw, 64px) 0 28px; border-top: 1px solid var(--line); background: var(--bg-1); }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px;
  margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(26px, 4vw, 48px);
  border-radius: var(--r-xl); border: 1px solid var(--accent-line);
  background: radial-gradient(70% 140% at 100% 0%, rgba(var(--accent-rgb), .2), transparent 70%), linear-gradient(180deg, rgba(var(--accent-rgb), .1), var(--bg-2) 80%);
}
.footer-cta-title { font-size: clamp(23px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.022em; }
.footer-cta-text { margin-top: 8px; max-width: 520px; color: var(--text-2); font-size: 15.5px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; padding-bottom: 40px; }
.footer-brand-col { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 112%; font-size: 17px; font-weight: 750; }
.footer-brand img { width: 30px; height: 30px; border-radius: var(--r-sm); }
.footer-tagline { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.footer-col-head { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.footer-col-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14.5px; transition: color var(--fast) var(--ease); }
.footer-col-link:hover { color: var(--accent-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }
.footer-secure { display: inline-flex; align-items: center; gap: 8px; }
.footer-secure svg { color: var(--accent-hi); }

.toast {
  display: flex; position: fixed; right: 20px; bottom: 20px; z-index: 130;
  max-width: min(400px, calc(100vw - 32px));
  align-items: flex-start; gap: 10px; padding: 14px 16px;
  border-radius: var(--r); border: 1px solid var(--line-2);
  background: rgba(15, 16, 25, .95); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: var(--text); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.toast.toast-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.toast > span { flex: 1; min-width: 0; margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.toast.green { border-color: rgba(var(--ok-rgb), .35); }
.toast.red { border-color: rgba(var(--bad-rgb), .45); }
.toast.yellow { border-color: rgba(var(--warn-rgb), .4); }
.toast.blue, .toast.purple { border-color: var(--accent-line); }

.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 6, 11, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .18s ease-out; }
.modal-card { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-1); box-shadow: var(--shadow-raise-strong); animation: pop-in .22s var(--ease); }
.modal-card.modal-wide { max-width: 680px; }
.modal-card > :not(.modal-head) { padding: 20px 24px 24px; }
.modal-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent), var(--bg-1);
}
.modal-head h2 { font-size: 19px; line-height: 1.3; }
.modal-head p { margin-top: 4px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.modal-close { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -3px; border: 1px solid transparent; border-radius: var(--r-full); background: transparent; color: var(--text-2); cursor: pointer; transition: color var(--fast), background-color var(--fast), border-color var(--fast); }
.modal-close:hover { color: var(--text); background: var(--hover-bg); border-color: var(--line); }
.modal-card .form input:not([type="checkbox"]):not([type="radio"]), .modal-card .form select { height: 44px; font-size: 15px; }
.modal-card .modal-actions { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 10px; margin: 8px -24px -24px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--bg-1); }
.modal-card > form:not(:has(label, textarea, select, input:not([type="hidden"]))) { padding-top: 0; }
.modal-card > form:not(:has(label, textarea, select, input:not([type="hidden"]))) .modal-actions { margin-top: 0; border-top: 0; }
.modal-actions .btn { min-width: 96px; margin: 0; }

.confirm-modal { z-index: 120; }
.confirm-card { max-width: 440px; }
.confirm-body { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 6px; }
.confirm-body h2 { font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.confirm-body p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.confirm-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-hi); font-size: 17px; }
.confirm-icon-danger { border-color: rgba(var(--bad-rgb), .45); background: rgba(var(--bad-rgb), .12); color: var(--bad); }
.confirm-modal:not(.is-danger) .confirm-icon-danger, .confirm-modal.is-danger .confirm-icon-info { display: none; }
.confirm-modal .modal-actions { margin-top: 18px; }
@media (max-width: 480px) {
  .confirm-body { flex-direction: column; gap: 12px; }
  .confirm-modal .modal-actions .btn { flex: 1; }
}

@media (max-width: 960px) {
  .feat-card, .product-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .product-visual { order: -1; }
  .feat-info { padding: 4px; }
  .cart-grid, .product-body { grid-template-columns: minmax(0, 1fr); }
  .cart-summary, .product-aside { position: static; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
@media (max-width: 620px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .shop-search { max-width: none; flex-basis: 100%; }
  .shop-count { margin-left: 0; }
  .shop-sort { margin-left: auto; }
  .shop-chips { flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .buy-actions .btn, .feat-actions .btn { flex: 1 1 auto; }
  .cart-item { gap: 12px; }
  .cart-thumb { width: 76px; }
  .cat-pair { grid-template-columns: minmax(0, 1fr); }
  .login-card, .tfa-card { padding: 30px 20px 24px; border-radius: var(--r-lg); }
  .login-card h1 { font-size: 26px; }
  .lightbox { padding: 72px 12px 84px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 14px; transform: none; }
  .lightbox-count { bottom: 28px; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-card, .modal-card.modal-wide { max-width: 100%; max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; animation-name: sheet-in; }
  .modal-card > :not(.modal-head) { padding: 16px 16px 20px; }
  .modal-head { padding: 16px 12px 14px 16px; }
  .modal-card .modal-actions { flex-direction: column-reverse; gap: 8px; margin: 8px -16px -20px; padding: 12px 16px; }
  .modal-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .cart-item-sub { display: none; }
  .cart-thumb { width: 64px; }
  .cart-item-info h3 { font-size: 16px; }
  .cart-item .price { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1 !important; }
  .mesh-blob { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  ::picker(select) { transition: none !important; }
}
