/*
 * Soft UI storefront theme.
 * Legacy styles stay in a compatibility layer so this file can be read,
 * maintained and overridden without fighting 15k lines of stacked CSS.
 */
@layer overrides, legacy;
@import url("app.css") layer(legacy);
@import url("editorial.css") layer(legacy);
@import url("editorial-pages.css") layer(legacy);
@import url("selects.css") layer(legacy);

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-soft: #eef2f7;
  --bg-tint: #eaf0fa;
  --surface: #ffffff;
  --surface-hi: #ffffff;
  --surface-soft: #eef2f7;
  --ink: #182235;
  --ink-soft: #344054;
  --muted: #667085;
  --line: rgba(16, 24, 40, .10);
  --line-strong: rgba(16, 24, 40, .18);
  --edge: #dfe4ec;
  --primary: #3157d5;
  --primary-deep: #2444b0;
  --primary-wash: #e9efff;
  --teal: #0f8a76;
  --teal-wash: #e3f4f0;
  --peach: #c9784f;
  --peach-wash: #f8ece5;
  --rose: #c45b76;
  --rose-wash: #f8e9ed;
  --amber: #b57a14;
  --amber-wash: #fbf1dc;
  --success: #157f5b;
  --success-wash: #e3f4ee;
  --danger: #c43d4a;
  --danger-wash: #fae8ea;
  --clay: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 34px rgba(16, 24, 40, .07);
  --clay-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 20px rgba(16, 24, 40, .05);
  --clay-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --clay-inset: inset 0 0 0 1px rgba(16, 24, 40, .03);
  --shadow: var(--clay-sm);
  --shadow-ink: rgba(16, 24, 40, .18);
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 12px;
  --shell: 1240px;
  --head-h: 76px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  /* Aliases for legacy component variables. */
  --border: var(--line);
  --hair: var(--line);
  --line-soft: var(--line);
  --paper: var(--surface-hi);
  --paper-soft: var(--surface);
  --paper-deep: var(--surface-soft);
  --surface-card: var(--surface-hi);
  --surface-raised: var(--surface-hi);
  --surface-inverse: #1e2635;
  --blue: var(--primary);
  --blue-deep: var(--primary-deep);
  --blue-wash: var(--primary-wash);
  --blue-solid: var(--primary);
  --ok: var(--success);
  --green: var(--success);
  --green-wash: var(--success-wash);
  --red: var(--danger);
  --red-wash: var(--danger-wash);
  --yellow: var(--amber);
  --yellow-wash: var(--amber-wash);
  --yellow-ink: #6e5314;
  --accent: #c4d1ff;
  --accent-ink: var(--ink);
  --font-heading: var(--font-head);
  --footer-bg: #1e2635;
  --footer-fg: #f0f3fa;
  --footer-muted: #aeb8cd;
  --footer-line: rgba(255, 255, 255, .12);
  --head-bg: #1e2635;
  --head-ink: #f7f9fe;
  --head-muted: #b8c2d4;
  --head-line: rgba(255, 255, 255, .12);
  --head-hover: rgba(255, 255, 255, .08);
  --head-accent: #a9beff;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: var(--clay-xs);
  --shadow-lg: var(--clay);
  --shadow-lift: var(--clay-sm);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f131a;
  --bg-soft: #0c1016;
  --bg-tint: #182239;
  --surface: #1a202a;
  --surface-hi: #1a202a;
  --surface-soft: #121720;
  --ink: #edf0f5;
  --ink-soft: #c6ccd7;
  --muted: #8f99a8;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --edge: #2b3442;
  --primary: #7d9bff;
  --primary-deep: #9bb3ff;
  --primary-wash: #1b2a4d;
  --teal: #43c9b5;
  --teal-wash: #15332f;
  --peach: #e5a07c;
  --peach-wash: #33251e;
  --rose: #e08ba0;
  --rose-wash: #34222a;
  --amber: #d9ad55;
  --amber-wash: #30281b;
  --success: #4ac79e;
  --success-wash: #15332b;
  --danger: #ef8b94;
  --danger-wash: #362125;
  --clay: 0 1px 2px rgba(0, 0, 0, .28), 0 16px 36px rgba(0, 0, 0, .32);
  --clay-sm: 0 1px 2px rgba(0, 0, 0, .24), 0 8px 22px rgba(0, 0, 0, .26);
  --clay-xs: 0 1px 2px rgba(0, 0, 0, .22);
  --clay-inset: inset 0 0 0 1px rgba(255, 255, 255, .03);
  --shadow-ink: rgba(0, 0, 0, .45);
  --surface-inverse: #1a202a;
  --head-bg: #151b25;
  --head-ink: #f7f9fe;
  --head-muted: #aeb8ca;
  --head-line: rgba(255, 255, 255, .10);
  --head-hover: rgba(255, 255, 255, .08);
  --head-accent: #a9beff;
  --accent: #c4d1ff;
  --accent-ink: var(--ink);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.68 var(--font-body);
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open,
body.preview-open { overflow: hidden; }

::selection { background: var(--primary); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 3.9vw, 48px); }
h2 { font-size: clamp(24px, 2.5vw, 32px); }
h3 { font-size: clamp(18px, 1.8vw, 22px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-deep); text-decoration: none; }
a:hover { color: var(--primary); }

img, svg, video { max-width: 100%; }
img { height: auto; }

ul, ol { padding-left: 1.2em; }

hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 48%, transparent);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(46px, 6vw, 82px) 0; }
.section-flush { padding-top: 30px; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }

.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;
}

.muted-note,
.summary-fine,
.field-hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.kicker-sm { font-size: 10px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--head-line);
  border-radius: 0;
  background: var(--head-bg);
  box-shadow: none;
}
.site-head::after { display: none; }
.site-head .shell {
  width: min(calc(100% - 48px), var(--shell));
  max-width: var(--shell);
  padding-inline: 0;
}
.head-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.site-head .logo,
.site-head .brand { color: var(--head-ink); }
.site-head .brand { flex: none; gap: 10px; }
.site-head .brand-word { color: var(--head-ink); }
.site-head .brand-sub { color: var(--head-muted); }
.site-head .logo-mark,
.site-head .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}
.main-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 0;
}
.main-nav .nav-link,
.main-nav .nav-drop-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 68px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--head-muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: none;
}
.main-nav .nav-link:hover,
.main-nav .nav-drop-trigger:hover,
.main-nav .nav-drop.is-open .nav-drop-trigger {
  background: transparent;
  color: var(--head-ink);
  box-shadow: none;
}
.main-nav .nav-link.is-active { color: var(--head-ink); }
.main-nav .nav-link.is-active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  background: var(--head-accent);
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.site-head .icon-btn,
.site-head .theme-toggle,
.site-head .menu-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--head-muted);
  box-shadow: none;
  transition: background-color .16s, color .16s;
}
.site-head .icon-btn:hover,
.site-head .theme-toggle:hover,
.site-head .menu-btn:hover {
  background: var(--head-hover);
  color: var(--head-ink);
  box-shadow: none;
}
.head-search-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--head-muted); }
.head-search-link:hover { background: var(--head-hover); color: var(--head-ink); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 1px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid var(--head-bg);
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}
.nav-drop { position: relative; display: flex; align-items: stretch; }
.nav-drop .nav-menu,
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-hi);
  box-shadow: 0 12px 32px rgba(16, 24, 40, .12);
}
.nav-menu a,
.nav-drop-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}
.nav-menu a:hover,
.nav-drop-menu a:hover { background: var(--surface-soft); color: var(--ink); }
.site-head .head-login,
.site-head .head-register {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 650;
  box-shadow: none;
}
.site-head .head-login { border: 0; background: transparent; color: var(--head-muted); }
.site-head .head-login:hover { background: var(--head-hover); color: var(--head-ink); }
.site-head .head-register { border: 1px solid var(--primary); background: var(--primary); color: #fff; }
.site-head .head-register:hover { border-color: var(--primary-deep); background: var(--primary-deep); color: #fff; }
.site-head .cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--head-muted);
  box-shadow: none;
}
.site-head .cart-btn:hover { background: var(--head-hover); color: var(--head-ink); }
.site-head .account-trigger {
  min-height: 40px;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--head-ink);
  box-shadow: none;
}
.site-head .account-trigger:hover { background: var(--head-hover); }
.site-head .account-trigger img { width: 28px; height: 28px; border-radius: 7px; }
.site-head .nav-main,
.site-head .head-actions { color: var(--head-ink); }

/* ---------- Footer ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(48px, 6vw, 76px) 0 26px;
  border: 0;
  border-radius: 0;
  background: #1e2635;
  color: #dfe5f2;
  box-shadow: none;
}
.site-foot h2, .site-foot h3, .site-foot h4, .site-foot strong { color: #fff; }
.site-foot p, .site-foot a, .site-foot li { color: #bcc6d9; }
.site-foot a:hover { color: #fff; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr));
  gap: clamp(30px, 5vw, 64px);
}
.foot-brand .logo,
.foot-brand .brand { color: #fff; }
.foot-brand p { max-width: 340px; margin-top: 18px; font-size: 14px; line-height: 1.7; }
.foot-col h3,
.foot-col h4 {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
}
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8f9ab1;
  font-size: 12px;
}
.foot-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-pay span {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  color: #c8d1e2;
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--surface-hi);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-align: center;
  box-shadow: var(--clay-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { color: var(--ink); box-shadow: none; }
.btn:active { box-shadow: none; }
.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover { border-color: var(--primary-deep); background: var(--primary-deep); color: #fff; box-shadow: none; }
[data-theme="dark"] .btn-primary { color: #0b1220; }
[data-theme="dark"] .btn-primary:hover { color: #0b1220; }
.btn-ghost {
  border-color: var(--edge);
  background: var(--surface);
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--primary-deep); }
.btn-soft { background: var(--primary-wash); color: var(--primary-deep); box-shadow: none; }
.btn-soft:hover { color: var(--primary-deep); }
.btn-danger { background: var(--danger-wash); color: var(--danger); box-shadow: none; }
.btn-lg { min-height: 54px; padding: 15px 28px; border-radius: 18px; font-size: 14.5px; }
.btn-sm { min-height: 38px; padding: 8px 14px; border-radius: 12px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .62; pointer-events: none; }
.btn.is-loading::after,
button[data-loading="1"]::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: softspin .7s linear infinite;
}
@keyframes softspin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-soft);
  box-shadow: var(--clay-xs);
  transition: transform .18s var(--ease), color .18s;
}
.icon-btn:hover { color: var(--primary-deep); }
.icon-btn-soft { background: var(--surface-soft); box-shadow: var(--clay-inset); }
.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 750;
  box-shadow: none;
}
.copy-chip:hover { color: var(--primary-deep); border-color: var(--line-strong); }
.copy-chip.is-copied { color: var(--success); background: var(--success-wash); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label,
.field label {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: -.005em;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: var(--clay-inset);
  transition: border-color .18s, box-shadow .18s;
}
textarea { min-height: 122px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .82; }
input:focus, select:focus, textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 36%, transparent);
  outline: none;
  box-shadow: var(--clay-inset), 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}
input[type="file"] { padding: 10px 12px; font-size: 12px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.checkline { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* Custom selects */
.ns-select-trigger {
  min-height: 48px;
  padding: 11px 40px 11px 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  font: 650 13.5px/1.35 var(--font-body);
  box-shadow: var(--clay-inset);
}
.ns-select-trigger:hover { border-color: var(--line); }
.ns-select-trigger:focus-visible,
.ns-select.is-open .ns-select-trigger {
  border-color: color-mix(in srgb, var(--primary) 36%, transparent);
  box-shadow: var(--clay-inset), 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}
.ns-select-menu {
  padding: 8px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--surface-hi);
  box-shadow: var(--clay);
}
.ns-select-option {
  min-height: 40px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}
.ns-select-option:hover,
.ns-select-option:focus-visible { background: var(--surface-soft); color: var(--ink); }
.ns-select-option.is-selected { background: var(--primary-wash); color: var(--primary-deep); }

/* ---------- Page furniture ---------- */
.breadcrumb { margin-top: 26px; }
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; font-weight: 650; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-deep); }
.breadcrumb svg { color: var(--line-strong); }

.page-head { position: relative; padding: clamp(40px, 5vw, 66px) 0 22px; }
.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.page-head h1 { margin: 12px 0 10px; }
.page-head p { max-width: 650px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.secure-pill,
.status-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: var(--clay-xs);
}
.status-completed, .status-paid, .status-approved { background: var(--success-wash); color: var(--success); border-color: transparent; box-shadow: none; }
.status-pending, .status-processing, .status-awaiting { background: var(--amber-wash); color: #9a6d10; border-color: transparent; box-shadow: none; }
.status-failed, .status-rejected, .status-cancelled { background: var(--danger-wash); color: var(--danger); border-color: transparent; box-shadow: none; }
[data-theme="dark"] .status-pending { color: var(--amber); }

.notice,
.inline-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  box-shadow: none;
}
.notice svg, .inline-alert svg { flex: none; margin-top: 2px; color: var(--primary); }
.inline-alert-error { border-color: transparent; background: var(--danger-wash); color: var(--danger); }
.inline-alert-error svg { color: currentColor; }
.inline-alert-success { border-color: transparent; background: var(--success-wash); color: var(--success); }

.panel,
.detail-card,
.summary-card,
.summary-box,
.auth-card,
.auth-art,
.review-card,
.blog-card,
.hp-cat,
.hp-rating-card,
.hp-step,
.index-card,
.empty-state,
.order-card,
.article-cta,
.ticket-card,
.support-new,
.support-thread,
.support-ticket-list,
.rating-summary-card,
.rating-form-card,
.faq-help-card,
.faq-hero-aside,
.store-rail,
.store-tools,
.detail-block,
.license-card,
.cart-item,
.order-item-card,
.bank-side .panel,
.checkout-side .panel,
.page-side .panel,
.support-side .panel,
.rating-side .panel,
.faq-side .panel {
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--surface-hi);
  box-shadow: var(--clay);
}
.panel {
  padding: clamp(22px, 2.8vw, 34px);
  margin-bottom: 22px;
}
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel h2 { margin-bottom: 16px; font-size: clamp(21px, 2.2vw, 27px); }
.panel h3 { margin-bottom: 10px; font-size: 18px; }
.panel-tint { background: var(--bg-tint); }
.panel-head { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; }
.panel-head-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.panel-head-between h2 { margin: 0; }
.panel-num {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: none;
  border-radius: 11px;
  background: var(--primary-wash);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--clay-xs);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.section-head h2 { margin: 8px 0 0; }
.section-head p { max-width: 540px; margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-deep);
  font-size: 12.5px;
  font-weight: 800;
}
.section-link:hover { gap: 10px; }

/* ---------- Home ---------- */
.hero-carousel {
  overflow: hidden;
  padding: clamp(50px, 6vw, 86px) 0 clamp(38px, 4.6vw, 62px);
  border: 0;
  background: transparent;
}
.hero-orbit { display: none; }
.hero-carousel-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
}
.hero-copy h1 { margin: 0 0 18px; font-size: clamp(38px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.hero-copy h1 span { display: block; }
.hero-copy h1 em {
  display: block;
  color: var(--primary-deep);
  font-style: normal;
}
.hero-copy .hp-sub { max-width: 500px; margin: 0 0 26px; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
.hp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 500px;
  height: 58px;
  padding: 6px 6px 6px 17px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--surface-soft);
  box-shadow: var(--clay-inset);
}
.hp-search-icon { flex: none; color: var(--muted); }
.hp-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}
.hp-search input:focus { box-shadow: none; }
.hp-search .btn { flex: none; min-height: 44px; padding-inline: 20px; border-radius: 13px; }
.hp-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.hp-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.hp-text-link:hover { color: var(--primary-deep); gap: 9px; }
.hp-proof {
  display: flex;
  gap: clamp(22px, 3vw, 38px);
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hp-proof > div { display: grid; gap: 3px; }
.hp-proof strong { color: var(--ink); font-size: 27px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.hp-proof span { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.hero-reel { position: relative; min-width: 0; padding: 14px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface-hi); box-shadow: var(--clay-sm); }
.hero-reel-head { margin: 0 4px 13px; color: var(--muted); font-size: 10px; }
.hero-reel-hint { color: var(--primary-deep); }
.hero-frame { min-height: 0; }
.hero-slide { gap: 17px; }
.hero-slide-media { min-height: 340px; border-radius: 10px; background: var(--surface-soft); box-shadow: none; }
.hero-slide-media img { min-height: 340px; }
.hero-slide-count { border-color: var(--edge); background: color-mix(in srgb, var(--surface-hi) 80%, transparent); color: var(--ink); }
.hero-slide-open { background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.hero-slide:hover .hero-slide-open { background: var(--primary); color: #fff; }
.hero-slide-caption { padding: 0 4px; }
.hero-slide-title { color: var(--ink); font-size: clamp(20px, 1.9vw, 25px); }
.hero-slide-buy .price { color: var(--ink); }
.hero-reel-foot { margin-top: 16px; padding: 15px 4px 3px; border-top-color: var(--line); }
.hero-dot { height: 5px; background: var(--line-strong); }
.hero-dot.is-active { background: var(--primary); }
.hero-arrow { width: 38px; height: 38px; border-color: var(--edge); background: var(--surface); box-shadow: var(--clay-xs); }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.hero-progress { height: 3px; border-radius: 3px; background: var(--line); }
.hero-progress i { border-radius: 3px; background: var(--primary); }

.hp-trust-band { padding: 0; border: 0; background: transparent; }
.hp-trust-wrap { padding: 0; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--surface-hi);
  box-shadow: var(--clay-xs);
}
.trust-strip > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.trust-strip svg { color: var(--primary); }

.hp-section { padding: clamp(52px, 6vw, 84px) 0; }
.hp-tint { background: transparent; }
.hp-sec-head,
.section-head.hp-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.hp-sec-label { display: inline-flex; align-items: center; gap: 9px; color: var(--primary-deep); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hp-sec-label b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--primary-wash); font-size: 9.5px; box-shadow: var(--clay-xs); }
.hp-sec-head h2 { margin: 12px 0 8px; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.1; }
.hp-sec-head p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14.5px; }
.hp-sec-link { display: inline-flex; align-items: center; gap: 7px; color: var(--primary-deep); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.hp-sec-link:hover { gap: 10px; }

.hp-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hp-cat {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--edge) !important;
  border-radius: 14px !important;
  background: var(--surface-hi) !important;
  color: var(--ink);
  box-shadow: var(--clay-sm) !important;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hp-cat:hover { color: var(--ink); transform: none !important; background: var(--surface-hi) !important; box-shadow: var(--clay-sm) !important; }
.hp-cat.is-main { grid-column: span 2; background: var(--primary-wash) !important; }
.hp-cat.is-main:hover { background: var(--primary-wash) !important; }
.hp-cat.is-main .hp-cat-name, .hp-cat.is-main span, .hp-cat.is-main p { color: var(--ink); }
.hp-cat.is-main .hp-cat-count, .hp-cat.is-main .hp-cat-num { color: var(--muted); }
.hp-cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.hp-cat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.hp-cat-num { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.hp-cat-name { display: block; margin-top: 26px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.hp-cat-count { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; font-weight: 650; }
.hp-cat-go { position: absolute; opacity: 0; }
.hp-cat { position: relative; }
.hp-cat:hover .hp-cat-go { opacity: 1; }

.hp-promo { padding: 0; }
.hp-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-lg);
  background: #1e2635;
  box-shadow: none;
}
.hp-promo-card h2, .hp-promo-card h3 { color: #fff; }
.hp-promo .hp-sec-label { color: var(--accent); }
.hp-promo .hp-text-link { color: #fff; }
.hp-promo .hp-text-link:hover { color: var(--accent); }
.hp-promo-card p { color: #ccd5e5; }
.hp-promo-kicker { color: var(--accent); }
.hp-promo-copy h2 { margin: 12px 0 14px; font-size: clamp(26px, 2.8vw, 34px); }
.hp-promo-copy p { max-width: 520px; font-size: 15px; line-height: 1.7; }
.hp-promo-list { display: grid; gap: 9px; margin: 22px 0 26px; padding: 0; list-style: none; }
.hp-promo-list li { display: flex; align-items: flex-start; gap: 9px; color: #e7ecf5; font-size: 13px; }
.hp-promo-list svg { color: #6ee0cd; flex: none; margin-top: 2px; }
.hp-promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-promo-actions .btn-white { background: #fff; color: #29334b; box-shadow: none; }
.hp-promo-actions .btn-outline-light { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; box-shadow: none; }
[data-theme="dark"] .hp-promo-card p { color: #d5deec; }
[data-theme="dark"] .hp-promo-list li { color: #edf1f8; }
[data-theme="dark"] .auth-art p { color: #d3dbea; }
.hp-promo-art { position: relative; display: grid; place-items: center; min-height: 0; padding: 4px; }
.hp-promo-art .ns-art { position: relative; z-index: 1; width: min(360px, 100%); }
.hp-promo-art img { position: static; width: 100%; height: auto; vertical-align: middle; object-fit: contain; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--surface-hi);
  box-shadow: var(--clay-sm);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.product-card:hover { border-color: var(--line-strong); box-shadow: var(--clay-sm); }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; margin: 10px 10px 0; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: none; }
.product-sale { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 6px; background: var(--primary); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; box-shadow: none; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 18px 20px 20px; }
.product-cat { color: var(--primary-deep); font-size: 9.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-body h3 { margin: 0; font-size: 16.5px; line-height: 1.3; letter-spacing: -.025em; }
.product-body h3 a { color: var(--ink); display: block; }
.product-body h3 a:hover { color: var(--primary-deep); }
.product-info { display: grid; gap: 4px; }
.product-meta { margin: 0; color: var(--muted); font-size: 11.5px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.product-foot .price { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.product-foot .price del { color: var(--muted); font-size: 11px; font-weight: 500; }
.product-foot .btn { flex: none; }
.product-grid.is-list { grid-template-columns: 1fr; gap: 14px; }
.product-grid.is-list .product-card { flex-direction: row; align-items: stretch; }
.product-grid.is-list .product-media { width: 230px; flex: none; aspect-ratio: auto; margin: 10px; }
.product-grid.is-list .product-body { padding: 20px 24px 20px 8px; }
.product-grid.is-list .product-foot { margin-top: 8px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-card { overflow: hidden; padding: 0; border-radius: 14px; box-shadow: var(--clay-xs); transition: border-color .2s, box-shadow .2s; }
.blog-card:hover { border-color: var(--line-strong); box-shadow: var(--clay-sm); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; padding: 26px; color: var(--ink); }
.blog-card-link:hover { color: var(--ink); }
.blog-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-tag { padding: 5px 9px; border-radius: 7px; background: var(--primary-wash); color: var(--primary-deep); font-size: 9px; }
.blog-card h2, .blog-card h3 { margin: 16px 0 9px; font-size: 20px; line-height: 1.25; }
.blog-card p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.blog-arrow { display: grid; place-items: center; width: 38px; height: 38px; margin-top: 22px; border-radius: 12px; background: var(--surface-soft); color: var(--muted); box-shadow: var(--clay-inset); }
.blog-card:hover .blog-arrow { background: var(--primary); color: #fff; box-shadow: none; }
.blog-num { margin-left: auto; color: var(--line-strong); font-family: var(--font-mono); font-size: 11px; }

.hp-process { padding: clamp(52px, 6vw, 84px) 0; background: transparent; color: var(--ink); }
.hp-process-grid { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 4vw, 56px); }
.hp-process-head h2 { margin: 12px 0 12px; color: var(--ink); font-size: clamp(25px, 2.6vw, 32px); }
.hp-process-head p { color: var(--muted); font-size: 14px; }
.hp-process-kicker { color: var(--primary-deep); }
.hp-process-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--primary-deep); font-size: 12.5px; font-weight: 800; }
.hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hp-step { padding: 24px; border-radius: 14px; box-shadow: var(--clay-xs); }
.hp-step-top { display: flex; align-items: flex-start; justify-content: space-between; min-height: 104px; }
.hp-step-art { display: block; width: 104px; height: 104px; padding: 0; background: transparent; color: var(--primary-deep); box-shadow: none; }
.hp-step-art .ns-art { width: 100%; }
.hp-step-art img { width: 100%; height: auto; vertical-align: middle; }
.hp-step-num { color: var(--line-strong); font-family: var(--font-mono); font-size: 11px; }
.hp-step h3 { margin: 24px 0 6px; font-size: 17px; }
.hp-step p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.hp-ratings-head { align-items: center; }
.hp-ratings-tools { display: flex; align-items: center; gap: 9px; }
.hp-ratings-nav { display: flex; align-items: center; gap: 8px; width: auto; height: auto; border: 0; background: none; box-shadow: none; }
.hp-ratings-nav .hero-arrow { width: 38px; height: 38px; }
.hp-ratings-nav:hover { color: var(--primary-deep); }
.hp-ratings-viewport { overflow: hidden; }
.hp-ratings-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 16px; overflow-x: auto; padding: 5px 5px 18px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.hp-ratings-track::-webkit-scrollbar { display: none; }
.hp-rating-card { padding: 24px; border-radius: 14px; box-shadow: var(--clay-xs); scroll-snap-align: start; }
.hp-rating-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-rating-score { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.hp-rating-score .stars { color: var(--amber); }
.hp-rating-score small { flex-basis: 100%; color: var(--muted); font-size: 11px; font-weight: 600; }
.hp-rating-user { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.hp-rating-card blockquote { margin: 14px 0 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--amber); }
.hp-ratings-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 70px); }
.hp-faq-intro h2 { margin: 12px 0 12px; }
.hp-faq-intro p { color: var(--muted); font-size: 14px; }
.hp-faq-support { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding: 17px; border: 1px solid var(--edge); border-radius: 18px; background: var(--surface); box-shadow: var(--clay-sm); }
.hp-faq-support-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--primary-wash); color: var(--primary-deep); }
.hp-faq-support strong { display: block; font-size: 13px; }
.hp-faq-support small { color: var(--muted); font-size: 11.5px; }
.faq-list { display: grid; gap: 11px; }
.faq-item { overflow: hidden; padding: 0; border: 1px solid var(--edge); border-radius: 18px; background: var(--surface); box-shadow: var(--clay-xs); }
.faq-q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 22px; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 14.5px; font-weight: 750; }
.faq-num { color: var(--line-strong); font-family: var(--font-mono); font-size: 10px; }
.faq-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; margin-left: auto; border-radius: 9px; background: var(--surface-soft); color: var(--muted); box-shadow: var(--clay-inset); transition: transform .2s, color .2s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--primary-deep); }
.faq-answer { display: none; padding: 0 22px 21px 46px; color: var(--muted); font-size: 13.5px; line-height: 1.72; }
.faq-item.is-open .faq-answer { display: block; }

.hp-cta { padding: clamp(44px, 5vw, 70px) 0 10px; }
.hp-cta-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: clamp(30px, 4.5vw, 52px); border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--surface-hi); box-shadow: var(--clay-sm); }
.hp-cta-copy h2 { margin: 10px 0 10px; font-size: clamp(25px, 2.6vw, 32px); }
.hp-cta-copy p { max-width: 620px; color: var(--muted); font-size: 14.5px; }
.hp-cta-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.hp-cta-kicker { color: var(--primary-deep); }

/* ---------- Store browser ---------- */
.store-mast { padding: 4px 0 10px; }
.store-mast-board { padding: 8px; border: 1px solid var(--edge); border-radius: var(--radius-lg); background: var(--surface-hi); box-shadow: var(--clay-sm); }
.store-mast-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 50px); align-items: center; padding: clamp(28px, 4vw, 48px); }
.store-mast-kicker { color: var(--primary-deep); }
.store-mast-copy h1 { margin: 12px 0 13px; font-size: clamp(36px, 4.5vw, 58px); }
.store-mast-copy p { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.store-mast-line { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.store-mast-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 20px; }
.store-mast-chips span { padding: 7px 12px; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 10.5px; font-weight: 750; box-shadow: var(--clay-xs); }
.store-mast-member {
  justify-self: end;
  width: min(100%, 300px);
  padding: 26px;
  border: 1px solid var(--edge);
  border-radius: 26px;
  background: var(--primary-wash);
  box-shadow: var(--clay-sm);
}
.store-mast-member h3 { font-size: 19px; }
.store-mast-member p { color: var(--muted); font-size: 12.5px; }
.store-mast-stat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.store-mast-stat strong { color: var(--ink); font-size: 32px; letter-spacing: -.05em; }
.store-mast-stat span { color: var(--muted); font-size: 11px; font-weight: 700; }
.store-browser { padding: clamp(30px, 4vw, 48px) 0; }
.store-browser-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.store-rail { position: static; top: auto; padding: 20px; border-radius: 14px; box-shadow: var(--clay-xs); }
.store-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.store-rail-head h2, .store-rail-head h3 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.store-cats { display: grid; gap: 3px; }
.store-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 10px; color: var(--muted); font-size: 12.5px; font-weight: 650; }
.store-cat:hover { background: var(--surface-soft); color: var(--ink); }
.store-cat.is-active { background: var(--primary-wash); color: var(--primary-deep); font-weight: 800; }
.store-rail-links { display: grid; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.store-rail-links a { padding: 8px 10px; border-radius: 9px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.store-rail-links a:hover { background: var(--surface-soft); color: var(--primary-deep); }
.store-rail-note { display: flex; gap: 9px; margin-top: 16px; padding: 12px; border-radius: 13px; background: var(--surface-soft); color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.store-rail-note-icon { color: var(--primary); flex: none; margin-top: 1px; }
.store-rate { position: relative; margin-top: 20px; padding: 17px; border: 1px solid var(--edge); border-radius: 18px; background: var(--surface); box-shadow: var(--clay-xs); }
.store-rate-head { display: flex; align-items: center; gap: 9px; }
.store-rate-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--amber-wash); color: #a97914; }
.store-rate-head h3 { margin: 0; font-size: 13px; }
.store-rate-score { display: flex; align-items: baseline; gap: 5px; margin-top: 10px; }
.store-rate-score strong { color: var(--ink); font-size: 27px; letter-spacing: -.05em; }
.store-rate-score span { color: var(--muted); font-size: 10px; }
.store-rate-copy { margin: 4px 0 10px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.store-rate-thanks { margin: 0; color: var(--success); font-size: 10.5px; font-weight: 700; }
.store-main { min-width: 0; }
.store-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px; border-radius: 17px; box-shadow: var(--clay-xs); }
.store-search { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; max-width: 340px; padding-left: 11px; border-radius: 11px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.store-search input { height: 38px; padding: 6px 8px; border: 0; background: transparent; box-shadow: none; font-size: 12.5px; }
.store-search input:focus { box-shadow: none; }
.store-search svg { color: var(--muted); flex: none; }
.store-sort { display: flex; align-items: center; gap: 8px; }
.store-sort > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-sort .ns-select-trigger { min-height: 38px; padding: 7px 34px 7px 11px; border-radius: 10px; font-size: 11.5px; }
.store-view { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.view-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.view-btn.is-active { background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.store-list-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 20px 2px 13px; }
.store-list-head h2 { margin: 0; font-size: 19px; }
.store-list-head span { color: var(--muted); font-size: 11.5px; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.store-grid.is-list { grid-template-columns: 1fr; }
.store-grid.is-list .product-card { flex-direction: row; }
.store-grid.is-list .product-media { width: 220px; flex: none; aspect-ratio: auto; margin: 10px; }
.store-grid.is-list .product-body { padding: 20px 24px 20px 8px; }
.empty-state { display: grid; place-items: center; gap: 12px; padding: 60px 24px; border-radius: 14px; text-align: center; }
.empty-state-art { padding: 56px 24px; border-radius: 14px; }
.empty-state-art .empty-art { display: grid; place-items: center; width: min(168px, 66%); height: auto; aspect-ratio: 1; margin-inline: auto; padding: 0; border-radius: 0; background: transparent; color: var(--muted); box-shadow: none; }
.empty-state-art .empty-art img { width: 100%; height: auto; vertical-align: middle; object-fit: contain; }
.empty-state-art .empty-art .art-img-dark { display: none; }
[data-theme="dark"] .empty-state-art .empty-art .art-img-light { display: none; }
[data-theme="dark"] .empty-state-art .empty-art .art-img-dark { display: block; }
.empty-state h2, .empty-state h3 { margin: 0; font-size: 21px; }
.empty-state p { max-width: 400px; margin: 0; color: var(--muted); font-size: 13px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 34px; }
.page-num, .page-btn { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 11px; border: 1px solid var(--edge); border-radius: 11px; background: var(--surface); color: var(--ink-soft); font-size: 12px; font-weight: 750; box-shadow: var(--clay-xs); }
.page-num.is-active { background: var(--primary); color: #fff; border-color: transparent; box-shadow: none; }
.page-gap { display: grid; place-items: center; width: 24px; color: var(--muted); }

/* ---------- Product page ---------- */
.product-page { padding-top: 26px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.product-main { min-width: 0; }
.product-gallery { padding: 12px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface-hi); box-shadow: var(--clay-sm); }
.product-shot { overflow: hidden; border-radius: 10px; background: var(--surface-soft); box-shadow: none; }
.product-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-gallery-strip { display: flex; gap: 9px; margin-top: 11px; overflow-x: auto; padding: 2px 2px 4px; }
.product-gallery-strip button, .product-gallery-strip a { flex: none; width: 72px; height: 55px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--surface-soft); }
.product-gallery-strip img { width: 100%; height: 100%; object-fit: cover; }
.product-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.product-quick-item { display: flex; align-items: center; gap: 9px; padding: 12px 13px; border: 1px solid var(--edge); border-radius: 13px; background: var(--surface); box-shadow: var(--clay-xs); }
.quick-icon { color: var(--primary); flex: none; }
.product-quick-item strong { display: block; font-size: 11.5px; }
.product-quick-item small { color: var(--muted); font-size: 9.5px; }
.product-rail { min-width: 0; }
.buy-box { position: static; top: auto; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--edge); border-radius: 16px; background: var(--surface-hi); box-shadow: var(--clay-sm); }
.buy-box-head { margin-bottom: 14px; }
.buy-box h1 { margin: 8px 0 10px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.16; }
.buy-price { display: flex; align-items: baseline; gap: 9px; margin: 16px 0; }
.price-xl { color: var(--ink); font-size: clamp(34px, 4vw, 44px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.buy-price del { color: var(--muted); font-size: 14px; }
.save-pill { padding: 5px 9px; border-radius: 8px; background: var(--success-wash); color: var(--success); font-size: 10px; font-weight: 800; }
.buy-points { display: grid; gap: 8px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-points span { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.buy-points svg { color: var(--success); flex: none; margin-top: 2px; }
.check-list { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-soft); font-size: 12.5px; }
.check-list svg { color: var(--success); flex: none; margin-top: 2px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.qty-row > label { color: var(--muted); font-size: 11.5px; font-weight: 750; }
.qty-control { display: flex; align-items: center; padding: 3px; border-radius: 11px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.qty-control button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); }
.qty-control button:hover { background: var(--surface-hi); }
.qty-control input { width: 38px; height: 30px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 12px; font-weight: 750; }
.buy-form .btn-block { margin-top: 4px; }
.buy-note { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.buy-summary { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.buy-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--muted); font-size: 11.5px; }
.buy-summary strong { color: var(--ink-soft); }
.demo-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 14px; }
.demo-external { white-space: nowrap; }
.detail-main { min-width: 0; margin-top: 24px; }
.detail-block { padding: clamp(24px, 3vw, 34px); margin-bottom: 18px; border-radius: 14px; box-shadow: var(--clay-xs); }
.detail-block h2, .detail-block h3 { margin-bottom: 15px; font-size: clamp(21px, 2.4vw, 27px); }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-head h2 { margin: 0; }
.detail-side { position: static; top: auto; min-width: 0; }
.detail-card { padding: 24px; border-radius: 14px; box-shadow: var(--clay-xs); }
.detail-card h3 { margin-bottom: 13px; font-size: 17px; }
.detail-help { display: grid; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-rail .detail-help { padding: 20px 22px !important; border: 1px solid var(--edge) !important; border-radius: 18px !important; background: var(--primary-wash) !important; box-shadow: var(--clay-sm) !important; }
.spec-list { display: grid; gap: 0; margin: 0; }
.spec-list > div { display: grid; grid-template-columns: minmax(110px, .6fr) minmax(0, 1.4fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-weight: 650; }
.spec-list dd { margin: 0; color: var(--ink-soft); font-weight: 650; }
.verified-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: var(--success-wash); color: var(--success); font-size: 10px; font-weight: 800; }
.count-pill { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 10px; font-weight: 800; }
.related-block { margin-top: clamp(36px, 5vw, 60px); }
.review-list { display: grid; gap: 12px; }
.review { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review-head strong { font-size: 12.5px; }
.review-head small { color: var(--muted); font-size: 10px; }
.review-form { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.preview-backdrop { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; background: rgba(20, 25, 38, .58); backdrop-filter: blur(12px); }
.preview-dialog { width: min(1100px, 100%); max-height: 92vh; overflow: hidden; border: 1px solid var(--edge); border-radius: 26px; background: var(--surface-hi); box-shadow: 0 40px 100px rgba(10, 15, 30, .4); }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.preview-title { margin: 0; font-size: 15px; }
.preview-views { display: flex; align-items: center; gap: 5px; padding: 3px; border-radius: 10px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.preview-views button { padding: 5px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10.5px; font-weight: 750; }
.preview-views button.is-active { background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.preview-stage { position: relative; height: min(68vh, 720px); background: var(--surface); }
.preview-stage.is-mobile { width: min(430px, 100%); margin: 0 auto; height: min(68vh, 720px); }
.preview-frame-wrap { width: 100%; height: 100%; overflow: hidden; }
.preview-frame-wrap iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.preview-note { padding: 12px 18px; color: var(--muted); font-size: 10.5px; text-align: center; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.cart-main, .checkout-main { min-width: 0; }
.cart-list { display: grid; gap: 13px; }
.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--clay-xs);
}
.cart-thumb { width: 88px; height: 70px; overflow: hidden; border-radius: 13px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { min-width: 0; }
.cart-info h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.3; }
.cart-info h3 a { color: var(--ink); }
.cart-note { margin: 0; color: var(--muted); font-size: 10.5px; }
.cart-price { color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.cart-qty-form { display: flex; align-items: center; gap: 6px; }
.cart-qty-stepper { display: flex; align-items: center; padding: 3px; border-radius: 10px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.cart-qty-stepper input { width: 36px; height: 29px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 12px; font-weight: 750; }
.cart-qty-stepper button { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.cart-qty-stepper button:hover { background: var(--surface-hi); color: var(--ink); }
.cart-remove { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.cart-remove:hover { background: var(--danger-wash); color: var(--danger); }
.summary-card { position: static; top: auto; align-self: start; padding: clamp(22px, 2.8vw, 30px); border-radius: 14px; }
.summary-card h2 { margin-bottom: 18px; font-size: 20px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 0; color: var(--muted); font-size: 12.5px; }
.summary-row strong { color: var(--ink-soft); font-weight: 750; }
.summary-row.is-discount, .is-discount { color: var(--success); }
.summary-total { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 750; }
.summary-total strong { color: var(--ink); font-size: 23px; letter-spacing: -.04em; }
.summary-card .btn-block { margin-top: 16px; }
.summary-fine { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 10.5px; line-height: 1.55; }
.summary-fine svg { flex: none; margin-top: 2px; color: var(--success); }
.redeem-form { display: flex; gap: 7px; margin: 15px 0; padding-top: 15px; border-top: 1px solid var(--line); }
.redeem-form input { min-height: 42px; font-size: 12px; }
.redeem-form .btn { min-height: 42px; flex: none; }
.redeem-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 10px 12px; border-radius: 11px; background: var(--success-wash); color: var(--success); font-size: 11px; font-weight: 700; }
.result-pill { display: inline-flex; padding: 5px 9px; border-radius: 7px; background: var(--surface-soft); color: var(--muted); font-size: 10px; font-weight: 750; }
.checkout-side { position: static; top: auto; min-width: 0; }
.checkout-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 12.5px; }
.checkout-item:last-child { border-bottom: 0; }
.checkout-item strong { color: var(--ink); font-size: 12.5px; white-space: nowrap; }
.checkout-items { margin-bottom: 8px; }
.gateway-list { display: grid; gap: 11px; }
.gateway-option { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 2px solid transparent; border-radius: 17px; background: var(--surface-soft); box-shadow: var(--clay-inset); cursor: pointer; transition: border-color .18s, background .18s; }
.gateway-option:hover { border-color: var(--line-strong); }
.gateway-option:has(input:checked) { border-color: color-mix(in srgb, var(--primary) 50%, transparent); background: var(--primary-wash); box-shadow: var(--clay-xs); }
.gateway-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gateway-option input:focus-visible ~ .gateway-body { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 7px; }
.gateway-body { display: grid; gap: 2px; min-width: 0; }
.gateway-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.gateway-desc { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.gateway-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gateway-top strong { font-size: 13px; }
.gateway-top em { color: var(--primary-deep); font-size: 9px; font-style: normal; font-weight: 750; }
.gateway-radio { width: 19px; height: 19px; flex: none; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface-hi); }
.gateway-option input:checked ~ .gateway-radio { border: 5px solid var(--primary); }
.gateway-bank-preview { margin-top: 12px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--surface); }
.gateway-bank-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 750; }
.bank-details { display: grid; gap: 0; margin: 0 0 16px; }
.bank-detail-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.bank-detail-row:last-child { border-bottom: 0; }
.bank-detail-row dt { color: var(--muted); }
.bank-detail-row dd { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-soft); font-weight: 700; text-align: right; }
.bank-details-compact { padding: 14px; border-radius: 13px; background: var(--surface-soft); }
.checkout-usd-note { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 12px; background: var(--primary-wash); color: var(--primary-deep); font-size: 10.5px; line-height: 1.55; }

/* ---------- Account ---------- */
.account-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.account-head-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-left: auto; }
.account-greeting h1 { margin: 8px 0 4px; font-size: clamp(32px, 4vw, 46px); }
.account-greeting p { color: var(--muted); font-size: 13.5px; }
.account-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--primary-wash); color: var(--primary-deep); font-size: 16px; font-weight: 800; box-shadow: var(--clay-xs); }
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--edge); border-radius: 14px; background: var(--surface-hi); box-shadow: var(--clay-xs); }
.stat-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--primary-wash); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.stat-blue .stat-icon { background: var(--primary-wash); color: var(--primary-deep); }
.stat-green .stat-icon { background: var(--success-wash); color: var(--success); }
.stat-yellow .stat-icon { background: var(--amber-wash); color: #a97914; }
.stat-copy { min-width: 0; }
.stat-copy strong { display: block; color: var(--ink); font-size: 25px; font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 10.5px; font-weight: 700; }
.account-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 20px; align-items: start; }
.account-columns-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.account-quick-licenses { display: grid; gap: 8px; }
.account-quick-license { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.account-quick-license strong, .account-quick-license code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-quick-license strong { color: var(--ink-soft); font-size: 11px; }
.account-quick-license code { color: var(--muted); font-size: 9.5px; }
.account-quick-icon { color: var(--primary); }
.order-table { display: grid; gap: 7px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 13px; background: var(--surface-soft); box-shadow: none; }
.order-row-main { min-width: 0; }
.order-row-main strong { display: block; overflow: hidden; color: var(--ink-soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.order-row-main small { color: var(--muted); font-size: 10px; }
.order-row-amount { color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.small-empty { display: grid; place-items: center; gap: 7px; padding: 28px 16px; border-radius: 14px; background: var(--surface-soft); color: var(--muted); font-size: 11.5px; text-align: center; }
.order-card-list { display: grid; gap: 14px; }
.order-item-card { padding: 22px; border-radius: 14px; box-shadow: var(--clay-xs); }
.order-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.order-item-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--surface-soft); color: var(--primary-deep); }
.order-item-title { margin: 0; font-size: 15.5px; }
.order-item-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; color: var(--muted); font-size: 10.5px; }
.order-item-meta > div { display: grid; gap: 2px; padding: 7px 11px; border-radius: 10px; background: var(--surface-soft); }
.order-item-meta span { color: var(--muted); font-size: 8.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.order-item-meta strong { color: var(--ink-soft); font-size: 11.5px; }
.order-item-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.order-license-block { margin-top: 13px; padding: 13px; border-radius: 13px; background: var(--surface-soft); }
.order-license-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.license-copy-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.order-license-hint { margin-top: 7px; color: var(--muted); font-size: 10px; }
.order-license-block code, .license-key { display: block; overflow-wrap: anywhere; color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; }
.download-panel { padding: 10px 24px; border-radius: 22px; box-shadow: var(--clay-sm); }
.download-list { display: grid; }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.download-row:last-child { border-bottom: 0; }
.download-info { min-width: 0; }
.download-info strong { display: block; font-size: 13px; }
.download-info small { color: var(--muted); font-size: 10.5px; }
.license-count-chip { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 0 8px; border-radius: 9px; background: var(--primary-wash); color: var(--primary-deep); font-size: 10.5px; font-weight: 800; }
.account-license-grid, .license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.license-card { padding: 20px; border-radius: 14px; box-shadow: var(--clay-xs); }
.license-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.license-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-wash); color: var(--primary-deep); }
.license-title { margin: 0 0 3px; font-size: 14.5px; }
.license-meta { color: var(--muted); font-size: 10.5px; }
.license-key { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.license-key code { overflow: hidden; color: var(--ink-soft); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.license-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.license-help { margin-top: 16px; color: var(--muted); font-size: 11px; }
.account-narrow { max-width: 840px; }
.profile-columns, .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-panel { padding: clamp(24px, 3vw, 34px); }

/* ---------- Auth ---------- */
.auth-section { padding: clamp(34px, 5vw, 60px) 0; }
.auth-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(26px, 4vw, 48px); align-items: stretch; max-width: 1040px; margin-inline: auto; }
.auth-grid-register { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
.auth-card { padding: clamp(28px, 4vw, 44px); border-radius: 16px; }
.auth-head { margin-bottom: 26px; }
.auth-head h1 { margin: 10px 0 8px; font-size: clamp(28px, 2.8vw, 34px); }
.auth-head p { color: var(--muted); font-size: 13.5px; }
.kicker-dot { display: inline-flex; align-items: center; gap: 8px; }
.kicker-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-wash); }
.auth-form { display: grid; gap: 4px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-link { color: var(--primary-deep); font-size: 10.5px; font-weight: 750; }
.input-with-icon { position: relative; }
.input-with-icon input { padding-left: 42px; }
.input-icon { position: absolute; top: 50%; left: 14px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px; }
.password-toggle { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--muted); transform: translateY(-50%); }
.password-toggle:hover { background: var(--surface-hi); color: var(--ink); }
.check-field { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.field-error { color: var(--danger); font-size: 10.5px; }
.auth-switch { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a { font-weight: 800; }
.auth-help { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 10.5px; }
.auth-art { position: relative; display: flex; align-items: center; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #1e2635; color: #fff; box-shadow: none; }
.auth-art-alt { background: #232c3d; }
.auth-art-inner { position: relative; z-index: 2; }
.auth-art h2 { max-width: 360px; margin: 12px 0 12px; color: #fff; font-size: clamp(24px, 2.4vw, 30px); }
.auth-art p { max-width: 340px; color: #c9d2e3; font-size: 13.5px; }
.auth-art-visual { max-width: 320px; margin: 0 0 24px; padding: 0; border: 0; background: transparent; }
.auth-art-visual .ns-art { width: min(300px, 92%); margin-inline: auto; }
.auth-art-visual img { width: 100%; height: auto; vertical-align: middle; }
.auth-art .kicker { color: #c5baff; }
.auth-art-cards { display: grid; gap: 10px; margin-top: 30px; }
.mini-card { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 13px; background: rgba(255, 255, 255, .065); color: #dbe2f0; font-size: 11.5px; backdrop-filter: blur(10px); }
.mini-card-offset { margin-left: 22px; }
.mini-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #c8bbff; }
.auth-sticker { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 10px; background: rgba(255, 255, 255, .07); color: #e4e9f5; font-size: 10.5px; font-weight: 750; }
.auth-shape { display: none; }
.auth-points { display: grid; gap: 9px; margin-top: 24px; }
.auth-points span { display: flex; align-items: flex-start; gap: 8px; color: #d5ddeb; font-size: 11.5px; }
.auth-points svg { color: #6ee0cd; flex: none; margin-top: 1px; }
.pw-meter { margin-top: 7px; }
.pw-meter-track { height: 5px; overflow: hidden; border-radius: 5px; background: var(--surface-soft); }
.pw-meter-track i { display: block; height: 100%; border-radius: 5px; background: var(--danger); transition: width .25s, background .25s; }

/* Header internals and account navigation */
.account-name { max-width: 100px; overflow: hidden; color: var(--ink-soft); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.account-pop, .head-pop, .lang-pop { position: relative; }
.pop-panel, .pop-panel-wide, .lang-pop .pop-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-hi);
  box-shadow: 0 12px 32px rgba(16, 24, 40, .12);
}
.pop-link, .pop-logout { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 6px; color: var(--ink-soft); font-size: 12.5px; font-weight: 500; }
.pop-link:hover { background: var(--surface-soft); color: var(--ink); }
.pop-label { padding: 7px 10px 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.menu-btn { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: none; color: var(--primary); }
.brand-word { color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.brand-sub { display: block; margin-top: 1px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.account-nav { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 26px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: none; scrollbar-width: none; }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav-link { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 9px 11px; border-radius: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.account-nav-link:hover { background: var(--surface-soft); color: var(--ink); }
.account-nav-link.is-active { background: var(--primary-wash); color: var(--primary-deep); }
.account-nav-badge { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 7px; background: var(--surface-hi); color: var(--primary-deep); font-size: 9px; }
.account-nav-logout { margin-left: auto; color: var(--danger); }

/* Footer internals */
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr)); gap: clamp(30px, 5vw, 64px); }
.foot-brand .brand-word, .foot-brand .brand-sub { color: #fff; }
.foot-mail { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #c4cde0; font-size: 12px; }
.foot-social { display: flex; gap: 7px; margin-top: 18px; }
.foot-currency-menu { position: relative; margin-top: 20px; }
.foot-currency { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #dfe5f2; font-size: 11px; font-weight: 750; }
.foot-currency-pop { position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 130px; padding: 6px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: #2b3248; box-shadow: 0 20px 42px rgba(0, 0, 0, .35); }
.foot-currency-pop a { display: block; padding: 7px 9px; border-radius: 7px; font-size: 11px; }
.foot-currency-pop a.is-active { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Support & ratings ---------- */
.page-hero { padding: clamp(34px, 5vw, 58px) 0 18px; }
.page-hero-inner { display: block; max-width: 840px; }
.page-hero-inner .review-summary { margin-top: 22px; }
.page-hero h1 { margin: 10px 0 9px; }
.page-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-deep); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.support-layout, .rating-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.support-main, .support-side, .rating-main, .rating-side { min-width: 0; }
.support-side, .rating-side, .page-side, .faq-side { position: static; top: auto; }
.support-hero { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--edge); border-radius: 22px; background: var(--primary-wash); box-shadow: var(--clay-sm); }
.support-panel-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 17px; background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.support-hero h2 { margin: 0 0 4px; font-size: 20px; }
.support-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.support-form { display: grid; gap: 0; }
.support-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.support-guest { padding: 18px; border-radius: 13px; background: var(--surface-soft); color: var(--muted); font-size: 12px; }
.support-small { color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.support-side-card { padding: 20px; border: 1px solid var(--edge); border-radius: 19px; background: var(--surface); box-shadow: var(--clay-sm); }
.support-side-card h3 { font-size: 15px; }
.support-email { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--primary-deep); font-size: 12px; font-weight: 750; word-break: break-word; }
.support-email:hover { color: var(--primary); }
.side-links { display: grid; gap: 5px; margin-top: 13px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover { color: var(--primary-deep); }
.support-ticket-list-panel { padding: 18px; border-radius: 22px; }
.ticket-list { display: grid; gap: 8px; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 13px; background: var(--surface-soft); }
.ticket-row:hover { background: var(--surface-hi); }
.ticket-row-main { min-width: 0; }
.ticket-row-main strong { display: block; overflow: hidden; color: var(--ink-soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--muted); font-size: 9.5px; }
.ticket-unread { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.support-thread-panel { padding: clamp(22px, 3vw, 30px); border-radius: 24px; }
.support-thread-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.support-thread-head h1 { margin: 0 0 4px; font-size: clamp(22px, 2.7vw, 30px); }
.support-thread { display: grid; gap: 11px; margin-bottom: 18px; }
.ticket-message { padding: 18px; border: 1px solid var(--edge); border-radius: 17px; background: var(--surface); box-shadow: none; }
.ticket-message.is-staff { border-color: color-mix(in srgb, var(--primary) 25%, transparent); background: var(--primary-wash); }
.ticket-message-body { color: var(--ink-soft); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; }
.ticket-message small { display: block; margin-top: 8px; color: var(--muted); font-size: 9.5px; }
.ticket-reply { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticket-close-form { margin-top: 12px; }
.support-closed-note { padding: 14px; border-radius: 12px; background: var(--surface-soft); color: var(--muted); font-size: 11.5px; }
.rating-hero { color: var(--ink); }
.rating-big { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 10px; }
.rating-big strong { font-size: clamp(54px, 7vw, 80px); font-weight: 800; line-height: .9; letter-spacing: -.07em; color: var(--primary-deep); }
.rating-big span { color: var(--muted); font-size: 13px; }
.rating-big-stars { margin-bottom: 14px; }
.rating-summary-card { padding: 24px; border-radius: 22px; box-shadow: var(--clay-sm); }
.rating-quote { margin: 12px 0 0; padding-left: 14px; border-left: 3px solid var(--primary-wash); color: var(--muted); font-size: 12.5px; line-height: 1.7; font-style: italic; }
.rating-form-panel { padding: clamp(24px, 3.4vw, 36px); border-radius: 24px; }
.rating-form-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 15px; background: var(--primary-wash); color: var(--primary-deep); }
.rating-form { display: grid; gap: 15px; }
.rating-star-field { display: flex; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.rating-star-help { color: var(--muted); font-size: 10.5px; }
.rate-stars { display: flex; align-items: center; gap: 5px; }
.rate-stars button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--line-strong); }
.rate-stars button:hover, .rate-stars button.is-active { color: var(--amber); background: var(--amber-wash); }
.rating-done { display: grid; justify-items: center; gap: 10px; padding: 46px 24px; text-align: center; }
.rating-done-icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 22px; background: var(--success-wash); color: var(--success); box-shadow: var(--clay-xs); }
.rating-done h2 { margin: 0; font-size: 24px; }
.rating-done p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12.5px; }
.rating-section { padding: clamp(30px, 4vw, 48px) 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { padding: 24px; border-radius: 14px; box-shadow: var(--clay-xs); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.review-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; padding: 20px 22px; border: 1px solid var(--edge); border-radius: 20px; background: var(--surface); box-shadow: var(--clay-sm); }
.review-summary strong { font-size: 38px; letter-spacing: -.06em; }
.review-card blockquote { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.72; }
.review-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 30px; padding: 24px; border: 1px solid var(--edge); border-radius: 20px; background: var(--surface); box-shadow: var(--clay-sm); }

/* ---------- Content pages ---------- */
.faq-hero { padding: clamp(36px, 5vw, 62px) 0 16px; }
.faq-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: stretch; }
.faq-hero-copy h1 { margin: 10px 0 9px; }
.faq-hero-copy p { max-width: 640px; margin: 0; color: var(--muted); font-size: 14.5px; }
.faq-hero-aside { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 22px; box-shadow: var(--clay-sm); }
.faq-hero-aside strong { color: var(--primary-deep); font-size: 34px; letter-spacing: -.06em; }
.faq-hero-stat { color: var(--muted); font-size: 11px; }
.faq-page-section { padding: clamp(30px, 4vw, 50px) 0; }
.faq-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.faq-list-wide { display: grid; gap: 11px; }
.faq-help-card { padding: 24px; border-radius: 22px; box-shadow: var(--clay-sm); }
.faq-help-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 13px; border-radius: 13px; background: var(--primary-wash); color: var(--primary-deep); }
.faq-help-card h3 { font-size: 16px; }
.faq-help-kicker { color: var(--primary-deep); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.faq-empty { padding: 40px 20px; border-radius: 18px; background: var(--surface-soft); color: var(--muted); text-align: center; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.page-article { min-width: 0; padding: clamp(26px, 4vw, 46px); border: 1px solid var(--edge); border-radius: 16px; background: var(--surface-hi); box-shadow: var(--clay-sm); }
.page-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-side { min-width: 0; }
.page-nav-card { padding: 18px; border: 1px solid var(--edge); border-radius: 17px; background: var(--surface); box-shadow: var(--clay-xs); }
.page-nav-card + .page-nav-card { margin-top: 10px; }
.page-hero-art { display: grid; place-items: center; max-width: 380px; min-height: 0; margin: 24px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--primary-deep); box-shadow: none; }
.page-hero-art .ns-art { width: min(320px, 100%); margin: 0; }
.page-hero-art img { width: 100%; height: auto; vertical-align: middle; }
.detail-card-art { display: grid; place-items: center; min-height: 0; margin-bottom: 16px; padding: 0; border-radius: 0; background: transparent; color: var(--primary-deep); box-shadow: none; }
.detail-card-art .side-art { width: min(220px, 100%); margin: 0 auto 16px; }
.detail-card-art img { width: 100%; height: auto; vertical-align: middle; }
.legacy-content { color: var(--ink-soft); font-size: 14px; line-height: 1.78; overflow-wrap: anywhere; }
.legacy-content > *:first-child { margin-top: 0; }
.legacy-content h1, .legacy-content h2, .legacy-content h3, .legacy-content h4 { margin-top: 1.5em; margin-bottom: .55em; }
.legacy-content h2 { font-size: clamp(24px, 2.6vw, 31px); }
.legacy-content h3 { font-size: 20px; }
.legacy-content p, .legacy-content li { color: var(--ink-soft); }
.legacy-content a { font-weight: 650; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }
.legacy-content img { max-width: 100%; height: auto; border-radius: 14px; }
.legacy-content blockquote { margin: 1.4em 0; padding: 18px 20px; border: 0; border-left: 4px solid var(--primary); border-radius: 0 14px 14px 0; background: var(--surface-soft); color: var(--ink-soft); }
.legacy-content pre { overflow-x: auto; padding: 16px; border-radius: 13px; background: var(--surface-soft); color: var(--ink); box-shadow: var(--clay-inset); font-size: 12px; }
.legacy-content code { padding: 2px 5px; border-radius: 5px; background: var(--surface-soft); font-family: var(--font-mono); font-size: .92em; }
.legacy-content pre code { padding: 0; background: transparent; }
.legacy-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; border-radius: 12px; }
.legacy-content table th, .legacy-content table td { padding: 10px 12px; border: 1px solid var(--line); font-size: 12px; text-align: left; }
.legacy-content table th { position: static; background: var(--surface-soft); color: var(--ink); }
.legacy-content .about_card, .legacy-content .about-card, .legacy-content .info_card, .legacy-content .info-card, .legacy-content .value_card, .legacy-content .value-card, .legacy-content .value_item, .legacy-content .glass_card { padding: clamp(18px, 2.4vw, 24px); border: 1px solid var(--edge); border-radius: 14px; background: var(--surface-hi); box-shadow: var(--clay-xs); }
.legacy-content .about_card h3, .legacy-content .value_item h4 { margin-top: 0; }
.legacy-content .value_icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 12px; background: var(--primary-wash); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.legacy-content .section_header { margin-bottom: 18px; }
.legacy-content .hero-eyebrow { display: inline-flex; color: var(--primary-deep); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.index-group { margin-bottom: 28px; }
.index-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.index-head h2 { margin: 0; font-size: 21px; }
.index-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 17px; box-shadow: var(--clay-xs); transition: transform .2s var(--ease), box-shadow .2s; }
.index-card:hover { border-color: var(--line-strong); box-shadow: var(--clay-xs); }
.index-title { margin: 0 0 2px; color: var(--ink); font-size: 13.5px; font-weight: 750; }
.index-desc { color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.index-arrow { color: var(--muted); flex: none; }

.blog-search { display: flex; align-items: center; gap: 8px; max-width: 420px; padding: 5px 5px 5px 14px; border-radius: 14px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.blog-search input { height: 38px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 12.5px; }
.blog-search input:focus { box-shadow: none; }
.blog-search .btn { min-height: 38px; padding-inline: 15px; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 0; }
.tag-chip { display: inline-flex; padding: 7px 11px; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 10px; font-weight: 750; box-shadow: var(--clay-xs); }
.tag-chip:hover, .tag-chip.is-active { background: var(--primary); border-color: transparent; color: #fff; }
.tag-chip-sm { padding: 5px 9px; font-size: 9px; }
.blog-card-large { grid-column: span 2; }
.blog-card-large .blog-card-link { padding: clamp(26px, 3vw, 38px); }
.blog-card-large h2, .blog-card-large h3 { font-size: clamp(23px, 2.6vw, 31px); }
.blog-cover { display: block; overflow: hidden; margin: 14px 0 0; border-radius: 15px; background: var(--surface-soft); box-shadow: var(--clay-inset); }
.blog-cover img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.blog-page { display: grid; gap: 26px; }

.article-page { padding: clamp(24px, 4vw, 46px) 0 0; }
.article-content { min-width: 0; }
.article-cover { display: block; overflow: hidden; margin: 20px 0 28px; border-radius: 14px; background: var(--surface-soft); box-shadow: var(--clay-xs); }
.article-cover img { display: block; width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.article-head h1 { margin: 12px 0 14px; font-size: clamp(30px, 3.3vw, 42px); }
.article-lede { color: var(--muted); font-size: 17px; line-height: 1.7; }
.article-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 10.5px; font-weight: 700; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.article-body { margin-top: 26px; padding: clamp(24px, 4vw, 46px); border: 1px solid var(--edge); border-radius: 16px; background: var(--surface-hi); box-shadow: var(--clay-sm); }
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-foot { margin-top: 26px; }
.share-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); box-shadow: var(--clay-xs); }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 22px; padding: 26px; border-radius: 22px; box-shadow: var(--clay-sm); }
.section-tint { background: transparent; }
.shell-narrow { width: min(calc(100% - 48px), 820px); margin-inline: auto; }

/* ---------- Orders & payments ---------- */
.order-wrap { max-width: 880px; margin-inline: auto; }
.order-card { padding: clamp(24px, 4vw, 40px); border-radius: 26px; }
.order-status { font-size: clamp(28px, 3.6vw, 40px); }
.order-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--amber-wash); color: #9a6d10; font-size: 10.5px; font-weight: 800; }
.order-badge.is-ok { background: var(--success-wash); color: var(--success); }
.order-sub { color: var(--muted); font-size: 13.5px; }
.order-lines { display: grid; gap: 0; margin: 22px 0; }
.order-lines > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.order-lines > div:last-child { border-bottom: 0; }
.order-lines strong { color: var(--ink-soft); }
.order-ref { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.order-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.manual-box { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--surface-soft); color: var(--muted); font-size: 11.5px; }
.manual-ref { display: block; margin-top: 6px; color: var(--ink); font-family: var(--font-mono); font-size: 11px; word-break: break-all; }
.bank-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.bank-main, .bank-side { min-width: 0; }
.bank-section { padding-top: 24px; }
.bank-hero-panel { display: flex; align-items: center; gap: 18px; }
.bank-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 17px; background: var(--primary-wash); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.bank-hero-panel h1 { margin: 7px 0 4px; font-size: clamp(27px, 3.4vw, 38px); }
.bank-hero-panel p { margin: 0; color: var(--muted); font-size: 12.5px; }
.bank-amount, .bank-reference { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding: 15px 17px; border-radius: 14px; background: var(--primary-wash); }
.bank-amount span, .bank-reference span { color: var(--muted); font-size: 11.5px; }
.bank-amount strong { color: var(--primary-deep); font-size: 23px; letter-spacing: -.04em; }
.bank-reference strong { overflow-wrap: anywhere; color: var(--ink); font-family: var(--font-mono); font-size: 12px; }
.bank-instructions { margin-top: 16px; padding: 16px; border-radius: 13px; background: var(--surface-soft); color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.bank-proof-form { display: grid; gap: 14px; }
.upload-zone { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--surface-soft); cursor: pointer; transition: border-color .18s, background .18s; }
.upload-zone:hover { border-color: var(--primary); background: var(--primary-wash); }
.upload-zone-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--surface-hi); color: var(--primary-deep); box-shadow: var(--clay-xs); }
.upload-zone-copy { display: grid; gap: 2px; }
.upload-zone-copy strong { color: var(--ink); font-size: 12.5px; }
.upload-zone-copy small { color: var(--muted); font-size: 10px; }
.upload-zone-action { margin-left: auto; padding: 7px 11px; border-radius: 9px; background: var(--surface-hi); color: var(--ink-soft); font-size: 10.5px; font-weight: 750; box-shadow: var(--clay-xs); }
.upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.upload-file-name { min-height: 16px; color: var(--success); font-size: 10.5px; }
.proof-received { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; padding: 16px; border-radius: 14px; background: var(--success-wash); }
.proof-received-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--surface-hi); color: var(--success); }
.proof-received strong { display: block; color: var(--success); font-size: 12.5px; }
.proof-received p { margin: 2px 0 0; color: color-mix(in srgb, var(--success) 78%, var(--ink)); font-size: 11px; }
.proof-received small { color: var(--muted); font-size: 9.5px; }
.bank-items { display: grid; gap: 8px; margin: 14px 0; }
.bank-items > div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 12px; }
.bank-items small { color: var(--muted); }
.bank-missing { padding: 14px; border-radius: 12px; background: var(--danger-wash); color: var(--danger); font-size: 11.5px; }
.payment-summary { margin: 16px 0; }
.payment-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.payment-actions .btn { flex: 1 1 220px; }
.status-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.status-line:last-of-type { border-bottom: 0; }
.status-line strong { color: var(--ink-soft); font-size: 11.5px; }

/* ---------- Error & utilities ---------- */
.error-page { display: grid; place-items: center; min-height: 64vh; padding: 40px 0; }
.error-wrap { display: grid; justify-items: center; max-width: 590px; text-align: center; }
.error-art { position: relative; display: grid; place-items: center; width: min(300px, 82%); height: auto; margin-bottom: 22px; padding: 10px; }
.error-art .ns-art { width: 100%; }
.error-art img { width: 100%; height: auto; vertical-align: middle; }
.error-blob { display: none; }
.error-code-badge { position: absolute; top: 2px; left: 2px; z-index: 1; display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 10px; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface-hi); color: var(--primary-deep); font: 800 12px/1 var(--font-mono); box-shadow: var(--clay-xs); }
.error-copy h1 { margin: 10px 0 10px; }
.error-copy p { color: var(--muted); font-size: 14px; }
.error-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-deep); font-size: 11.5px; font-weight: 800; }
.link-arrow:hover { gap: 9px; }

/* Toasts */
[data-toast], .toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1400;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: min(390px, calc(100vw - 32px));
  padding: 15px 16px;
  border: 1px solid var(--edge);
  border-radius: 17px;
  background: var(--surface-hi);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
  box-shadow: var(--clay);
  animation: toastIn .32s var(--ease);
}
[data-toast].is-leaving { animation: toastOut .25s var(--ease) forwards; }
[data-toast][data-type="error"] { border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px) scale(.98); } }

.reveal { opacity: 1; transform: none; }
.is-visible { opacity: 1; transform: none; }

/* No sticky side rails or table headers anywhere in the storefront. */
.catalog-side, .store-rail, .buy-box, .detail-side, .summary-card,
.checkout-side, .page-side, .support-side, .rating-side, .faq-side,
.hp-faq-intro, .doc-side, .order-table, .download-list, .license-grid,
.data-table, .data-table thead, .data-table th, .legacy-content table th {
  position: static;
  top: auto;
}
.data-table, .legacy-content table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td, .legacy-content table td, .legacy-content table th {
  padding: 11px 13px;
  border: 1px solid var(--line);
  text-align: left;
  white-space: normal;
}
.data-table th, .legacy-content table th { background: var(--surface-soft); color: var(--ink); font-size: 11px; font-weight: 800; }
.data-table td, .legacy-content table td { color: var(--ink-soft); font-size: 12px; }
.data-table { overflow: hidden; border-radius: 14px; }

.announcement { border: 0; background: #252b40; color: #e9edf7; }
.announcement-inner { min-height: 38px; gap: 10px; padding: 8px 0; color: #d9e0ee; font-size: 11px; }
.announcement a { color: #fff; }
.announcement-close { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; }
.announcement.is-hidden { display: none; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 2000; padding: 10px 14px; border-radius: 10px; background: var(--primary); color: #fff; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  background: rgba(18, 23, 36, .46);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(8px);
  transition: opacity .22s, visibility .22s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel {
  width: min(390px, 92vw);
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid var(--edge);
  background: var(--bg);
  box-shadow: -24px 0 60px rgba(8, 12, 22, .25);
  transform: translateX(24px);
  transition: transform .28s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: grid; gap: 3px; padding: 15px 0; }
.drawer-nav a { display: block; padding: 10px 12px; border-radius: 11px; color: var(--ink-soft); font-size: 13.5px; font-weight: 700; }
.drawer-nav a:hover, .drawer-nav a.is-active { background: var(--surface-soft); color: var(--primary-deep); }
.drawer-sep { height: 1px; margin: 4px 0; background: var(--line); }
.drawer-actions { display: grid; gap: 8px; padding: 14px 0; }
.drawer-logout { margin: 0; padding: 14px 0; }
.drawer-label { margin: 0 0 6px; color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.drawer-lang { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 0 14px; }
.drawer-lang a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 10.5px; font-weight: 700; }
.drawer-lang a.is-active { border-color: transparent; background: var(--primary); color: #fff; }

.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1400; display: grid; gap: 9px; width: min(390px, calc(100vw - 32px)); }
.toast-stack .toast {
  position: relative;
  inset: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  overflow: hidden;
  padding: 15px 16px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--surface-hi);
  box-shadow: var(--clay);
  animation: toastIn .3s var(--ease);
}
.toast-stack .toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .22s, transform .22s; }
.toast-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--success-wash); color: var(--success); }
.toast-error .toast-icon { background: var(--danger-wash); color: var(--danger); }
.toast-info .toast-icon { background: var(--primary-wash); color: var(--primary-deep); }
.toast-copy { flex: 1; min-width: 0; }
.toast-title { display: block; color: var(--ink); font-size: 12.5px; font-weight: 800; }
.toast-body { display: block; padding-top: 2px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.toast-close { display: grid; place-items: center; width: 27px; height: 27px; flex: none; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.toast-close:hover { background: var(--surface-soft); color: var(--ink); }
.toast-timer { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--primary); transform-origin: left; animation: toastTimer linear forwards; }
@keyframes toastTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* Remaining storefront components */
.store-crumb { padding: 15px 0 0; border: 0; background: transparent; color: var(--muted); }
.store-crumb .shell { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 11px; font-weight: 650; }
.store-crumb a, .store-crumb span { color: var(--muted); }
.store-crumb a:hover { color: var(--primary-deep); }
.store-crumb svg { color: var(--line-strong); }
.page-numbers { display: flex; align-items: center; gap: 6px; }
.page-gap { display: grid; place-items: center; min-width: 26px; color: var(--muted); font-size: 12px; }
.quick-copy { display: grid; gap: 2px; min-width: 0; }
.quick-copy small { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.quick-copy strong { overflow: hidden; color: var(--ink-soft); font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.copy-chip-icon { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 10px; background: var(--surface-hi); box-shadow: var(--clay-xs); }
.rating-done-stars { justify-content: center; color: var(--amber); }
.rating-done-stars svg { fill: currentColor; stroke: currentColor; }
.reading-progress { height: 3px; background: var(--primary); box-shadow: none; }
.hero-dots { display: flex; align-items: center; gap: 6px; }
.hero-controls { display: flex; align-items: center; gap: 9px; }
.hero-now { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.hero-now b { color: var(--ink); }
.hero-now i { font-style: normal; opacity: .55; }
.hero-slide-cat { color: var(--primary-deep); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-slide-copy { display: grid; gap: 4px; min-width: 0; }
.hero-slide-cta { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-deep); font-size: 10.5px; font-weight: 800; }
.btn-dark { border-color: var(--ink); background: var(--ink); color: var(--surface-hi); box-shadow: none; }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }
.btn-white { border-color: transparent; background: var(--surface-hi); color: var(--ink); }
.price.is-free { color: var(--success); }

/* Responsive */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-cat.is-main { grid-column: span 2; }
  .store-browser-layout { grid-template-columns: 225px minmax(0, 1fr); }
  .product-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .bank-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1020px) {
  .site-head { top: 0; }
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .head-row { min-height: 64px; }
  .hero-carousel-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 680px; }
  .hero-reel { max-width: 720px; }
  .product-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .store-browser-layout { grid-template-columns: 205px minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card-large { grid-column: span 2; }
  .hp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout, .checkout-layout, .bank-layout { grid-template-columns: 1fr; }
  .summary-card, .checkout-side, .bank-side { position: static; }
  .summary-card { order: -1; }
  .account-columns { grid-template-columns: 1fr; }
  .account-columns-bottom { grid-template-columns: 1fr; }
  .support-layout, .rating-layout { grid-template-columns: 1fr; }
  .support-side, .rating-side { order: 2; }
  .faq-page { grid-template-columns: 1fr; }
  .faq-hero-inner { grid-template-columns: 1fr; }
  .faq-hero-aside { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
  .page-layout { grid-template-columns: 1fr; }
  .page-side { order: 2; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-grid, .auth-grid-register { grid-template-columns: 1fr; max-width: 620px; }
  .auth-art { min-height: 290px; order: -1; }
  .foot-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .foot-col:last-child { grid-column: span 1; }
  .hp-process-grid { grid-template-columns: 1fr; }
  .hp-process-head { max-width: 620px; }
  .faq-wrap { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-license-grid, .license-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-head { width: 100%; margin: 0; border-radius: 0; }
  .site-head .shell { width: calc(100% - 32px); padding-inline: 0; }
  .head-row { min-height: 62px; gap: 8px; }
  .head-search-link { display: none; }
  .brand-sub { display: none; }
  .brand-word { font-size: 16px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .head-login { display: none; }
  .account-name { display: none; }
  .site-head .account-trigger { padding: 4px; }
  .site-head .head-register { padding-inline: 11px; }
  .hero-carousel { padding-top: 42px; }
  .hero-copy h1 { font-size: clamp(34px, 6.2vw, 46px); }
  .hero-copy .hp-sub { font-size: 14.5px; }
  .hp-search { height: 54px; }
  .hp-search .btn { padding-inline: 15px; }
  .hp-proof { gap: 20px; }
  .hp-proof strong { font-size: 23px; }
  .hero-slide-media, .hero-slide-media img { min-height: 280px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-section, .hp-process { padding: 48px 0; }
  .hp-sec-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hp-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-cat.is-main { grid-column: span 2; }
  .hp-cat { min-height: 160px; padding: 19px; }
  .hp-cat-name { font-size: 17px; margin-top: 22px; }
  .hp-promo-card { grid-template-columns: 1fr; }
  .hp-promo-art { display: grid; margin-top: 6px; }
  .hp-promo-art .ns-art { width: min(260px, 76%); }
  .hp-step-art { width: 88px; height: 88px; }
  .hp-step-top { min-height: 88px; }
  .product-grid, .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .store-grid.is-list .product-media, .product-grid.is-list .product-media { width: 170px; }
  .store-grid.is-list .product-body, .product-grid.is-list .product-body { padding: 16px 16px 16px 6px; }
  .product-body { padding: 15px 15px 17px; }
  .product-body h3 { font-size: 14.5px; }
  .product-foot .price { font-size: 16px; }
  .store-browser-layout { grid-template-columns: 1fr; }
  .store-rail { padding: 16px; }
  .store-cats { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .store-cats::-webkit-scrollbar { display: none; }
  .store-cat { flex: none; padding: 8px 11px; border: 1px solid var(--line); white-space: nowrap; }
  .store-rail-links { display: flex; flex-wrap: wrap; gap: 4px; }
  .store-rail-note { display: none; }
  .store-rate { margin-top: 14px; }
  .store-mast-grid { grid-template-columns: 1fr; padding: 24px; }
  .store-mast-member { justify-self: stretch; width: 100%; }
  .store-tools { gap: 8px; }
  .store-search { max-width: none; flex-basis: 100%; order: 3; }
  .store-sort { margin-left: auto; }
  .product-layout { grid-template-columns: 1fr; }
  .buy-box { padding: 24px; }
  .product-quick { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 13px; padding: 14px; }
  .cart-thumb { width: 68px; height: 58px; }
  .cart-price { grid-column: 2; grid-row: 2; font-size: 14px; }
  .cart-qty-form { grid-column: 3; grid-row: 2; }
  .cart-remove { grid-column: 3; grid-row: 1; }
  .account-stats { grid-template-columns: 1fr; }
  .account-license-grid, .license-grid, .profile-columns, .field-grid, .form-row { grid-template-columns: 1fr; }
  .account-page-head, .page-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .order-item-top { gap: 10px; }
  .download-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-large { grid-column: auto; }
  .index-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .article-body, .page-article { padding: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: span 2; }
  .foot-bottom { align-items: flex-start; flex-direction: column; }
  .auth-art { min-height: 250px; padding: 28px; }
  .auth-art h2 { font-size: 27px; }
  .auth-card { padding: 26px; }
  .faq-hero-stat strong { font-size: 28px; }
  .pagination { flex-wrap: wrap; }
  .page-head-row { align-items: flex-start; }
  .page-head h1 { font-size: 38px; }
  .hp-cta-card { grid-template-columns: 1fr; }
  .hp-ratings-track { grid-auto-columns: minmax(280px, 84%); }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-step { padding: 20px; }
  .hp-step h3 { margin-top: 18px; }
  .hp-ratings-foot { align-items: flex-start; flex-direction: column; gap: 10px; }
  .support-hero { align-items: flex-start; padding: 20px; }
  .ticket-row { align-items: flex-start; }
  .bank-hero-panel { align-items: flex-start; }
  .bank-amount strong { font-size: 20px; }
  .payment-actions { flex-direction: column; }
  .payment-actions .btn { flex: none; width: 100%; }
  .order-card { padding: 24px; }
  .upload-zone { align-items: flex-start; }
  .upload-zone-action { display: none; }
}

@media (max-width: 540px) {
  .shell { width: calc(100% - 28px); }
  .section { padding: 38px 0; }
  .head-actions { gap: 2px; }
  .head-icon, .theme-toggle, .menu-btn { width: 38px; height: 38px; border-radius: 8px; }
  .theme-toggle, .lang-pop { display: none; }
  .site-head .head-register { padding-inline: 10px; }
  .hero-copy h1 { font-size: clamp(30px, 8.6vw, 35px); }
  .hp-search { padding-left: 13px; }
  .hp-search .btn { font-size: 11.5px; padding-inline: 12px; }
  .hp-actions { gap: 14px; }
  .hp-actions .btn-lg { min-height: 48px; font-size: 13px; }
  .hp-proof { justify-content: space-between; gap: 10px; }
  .hp-proof strong { font-size: 20px; }
  .hp-proof span { font-size: 9px; }
  .hero-reel { padding: 11px; border-radius: 14px; }
  .hero-slide-media, .hero-slide-media img { min-height: 220px; }
  .hero-slide-caption { align-items: flex-start; flex-direction: column; gap: 7px; }
  .product-grid, .store-grid { grid-template-columns: 1fr; }
  .store-grid.is-list .product-card, .product-grid.is-list .product-card { flex-direction: column; }
  .store-grid.is-list .product-media, .product-grid.is-list .product-media { width: auto; aspect-ratio: 16 / 10; }
  .store-grid.is-list .product-body, .product-grid.is-list .product-body { padding: 16px 18px 18px; }
  .trust-strip { grid-template-columns: 1fr; }
  .hp-cat-grid { grid-template-columns: 1fr; }
  .hp-cat.is-main { grid-column: auto; }
  .hp-cat { min-height: 145px; }
  .hp-step-art { width: 76px; height: 76px; }
  .hp-step-top { min-height: 76px; }
  .hp-cta-card, .hp-promo-card { padding: 26px; border-radius: 14px; }
  .hp-cta-actions .btn { width: 100%; }
  .panel { padding: 20px; border-radius: 14px; }
  .panel-head-between { align-items: flex-start; }
  .page-head h1 { font-size: 32px; }
  .article-head h1 { font-size: 33px; }
  .article-lede { font-size: 15px; }
  .hero-slide-title { font-size: 18px; }
  .product-quick { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr); }
  .cart-thumb { width: 58px; height: 52px; }
  .cart-price { grid-column: 2; grid-row: auto; }
  .cart-qty-form { grid-column: 2; grid-row: auto; }
  .cart-remove { position: absolute; right: 9px; top: 9px; }
  .cart-item { position: relative; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row .status-pill { display: none; }
  .support-form .form-row { grid-template-columns: 1fr; }
  .support-thread-head { flex-direction: column; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .auth-art { display: none; }
  .auth-card { padding: 22px; border-radius: 14px; }
  .faq-q { padding: 17px; font-size: 13.5px; gap: 10px; }
  .faq-answer { padding: 0 17px 17px; }
  .bank-amount, .bank-reference { align-items: flex-start; flex-direction: column; gap: 5px; }
  .bank-amount strong, .bank-reference strong { font-size: 18px; }
  .bank-detail-row { flex-direction: column; gap: 4px; }
  .bank-detail-row dd { justify-content: flex-start; text-align: left; }
  .toast-stack { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  .expr, .center-rail, .promo-rail, .ad-slot, [data-ad] { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-head, .site-foot, .announcement, .drawer, .toast-stack, .cart-btn,
  .theme-toggle, .menu-btn, .product-rail .buy-form, .preview-backdrop { display: none !important; }
  body { background: #fff; }
  .panel, .order-card, .page-article, .article-body { box-shadow: none; border-color: #ddd; }
}

/* Keep legacy !important rules from changing support contact contrast. */
@layer overrides {
  .support-side-card .support-email { color: var(--primary-deep) !important; }
  .support-side-card .support-email:hover { color: var(--primary) !important; }
}
