/* Hunter Store — clay / neo storefront
   Light + dark, #004EFF primary, no gradients. */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #f3f0e8;
  --bg-tint: #e9e4d7;
  --surface: #fffcf5;
  --ink: #12141a;
  --muted: #5b5f6c;
  --border: #12141a;
  --hair: #dad3c3;
  --primary: #004eff;
  --primary-deep: #0038b8;
  --primary-wash: #e4ebff;
  --green: #0e9f6e;
  --green-wash: #e3f7ee;
  --yellow: #ffd23f;
  --yellow-wash: #fff5cc;
  --yellow-ink: #7a5a00;
  --red: #dd3b3b;
  --red-wash: #ffe6e6;
  --mint: #bdebcb;
  --sky: #c9daff;
  --peach: #ffcbb2;
  --footer-bg: #12141a;
  --footer-ink: #f3f0e8;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--shadow-ink);
  --shadow-ink: #12141a;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shell: 1200px;
  --head-h: 78px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

[data-theme="dark"] {
  --bg: #0b0e14;
  --bg-tint: #111621;
  --surface: #161c28;
  --ink: #f2efe6;
  --muted: #a3abba;
  --border: #3d4759;
  --hair: #293140;
  --primary: #3d74ff;
  --primary-deep: #2a5ce0;
  --primary-wash: #172448;
  --green: #37d399;
  --green-wash: #102a22;
  --yellow: #ffd84d;
  --yellow-wash: #2a2410;
  --yellow-ink: #ffd84d;
  --red: #ff6b6b;
  --red-wash: #2c1518;
  --mint: #bdebcb;
  --sky: #c9daff;
  --peach: #ffcbb2;
  --footer-bg: #070a10;
  --footer-ink: #f2efe6;
  --shadow: 6px 6px 0 #000;
  --shadow-sm: 3px 3px 0 #000;
  --shadow-lg: 10px 10px 0 #000;
  --shadow-ink: #000;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.drawer-open { overflow: hidden; }

img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}
.shell-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-weight: 800;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon { flex: none; vertical-align: -0.15em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--shadow-ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--shadow-ink); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
[data-theme="dark"] .btn-primary:hover { background: #5a89ff; }
.btn-dark { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .btn-dark { color: #0b0e14; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-white { background: #fff; color: #12141a; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
}
.btn-block { width: 100%; }
.btn-sm { padding: 8px 13px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 15px 24px; font-size: 17px; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  transition: background .16s, border-color .16s, transform .16s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--border); }
.icon-btn-soft { background: var(--bg-tint); border-color: var(--hair); width: 36px; height: 36px; }
.icon-btn-soft:hover { border-color: var(--border); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .16s;
}
.link-arrow:hover { color: var(--primary); border-color: var(--primary); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--shadow-ink);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.kicker-sm { font-size: 10.5px; padding: 4px 10px; box-shadow: none; }

.flash-wrap { margin-top: 18px; }
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 14px;
}
.flash-success { background: var(--green-wash); color: var(--green); }
.flash-error { background: var(--red-wash); color: var(--red); }
.flash-info { background: var(--primary-wash); color: var(--primary); }

.muted-note { color: var(--muted); font-size: 13.5px; }
a.muted-note, .muted-note a { color: var(--primary); font-weight: 700; }
.count-pill {
  display: inline-grid;
  place-items: center;
  min-width: 26px; height: 26px;
  padding: 0 7px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--bg-tint);
  font: 600 13px var(--font-head);
  vertical-align: 3px;
}
.is-muted { color: var(--muted); font-weight: 500; }

/* ---------- Announcement ---------- */
.announcement {
  background: var(--primary);
  color: #fff;
  border-bottom: 2px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  text-align: center;
}
.announcement-close {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: transparent;
  color: #fff;
}
.announcement-close:hover { background: rgba(255, 255, 255, .16); }
.announcement.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--head-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: block; width: 40px; height: 40px; }
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word {
  font: 600 21px var(--font-head);
  letter-spacing: -.03em;
  white-space: nowrap;
}
.brand-sub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  transition: background .16s, border-color .16s;
}
.nav-link:hover, .nav-link.is-active { background: var(--bg-tint); border-color: var(--hair); }
.nav-drop { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  display: none;
  width: 270px;
  padding: 8px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu,
.nav-drop.is-open .nav-menu { display: block; }
.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}
.nav-menu a:hover { background: var(--bg-tint); }
.nav-menu small {
  min-width: 24px;
  text-align: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.head-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.head-search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 218px;
  height: 42px;
  padding: 0 12px;
  background: var(--bg-tint);
  border: 2px solid transparent;
  border-radius: 12px;
  transition: border-color .16s, background .16s;
}
.head-search:focus-within { border-color: var(--border); background: var(--surface); }
.head-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
}
.head-search input::placeholder { color: var(--muted); }
.head-search-icon { display: flex; color: var(--muted); }

.theme-icon { display: inline-flex; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-sun { display: inline-flex; }
[data-theme="dark"] .theme-icon-moon { display: none; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: 1px; right: 0;
  min-width: 18px; height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.lang-short { font: 600 13px var(--font-head); letter-spacing: .02em; }

.head-pop { position: relative; }
.head-pop > summary { list-style: none; cursor: pointer; }
.head-pop > summary::-webkit-details-marker { display: none; }
.head-pop[open] > summary { background: var(--surface); border-color: var(--border); }
.pop-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 224px;
  padding: 8px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.pop-panel-wide { width: 246px; }
.pop-label {
  padding: 4px 12px 7px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pop-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
}
.pop-link:hover { background: var(--bg-tint); }
.pop-link.is-active { color: var(--primary); }
.pop-link.is-active .icon { margin-left: auto; }
.pop-logout { color: var(--red); }
.pop-panel form { margin: 0; }

.account-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 9px 0 4px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
}
.account-trigger:hover { border-color: var(--border); background: var(--surface); }
.account-trigger img {
  width: 32px; height: 32px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg-tint);
}
.account-name { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.menu-btn { display: none; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 10, 16, .58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  flex-direction: column;
  width: 330px;
  max-width: 88%;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  background: var(--surface);
  border-left: 2px solid var(--border);
  transform: translateX(102%);
  transition: transform .26s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--hair);
}
.drawer-nav { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}
.drawer-nav a:hover { background: var(--bg-tint); }
.drawer-sep { height: 2px; background: var(--hair); margin: 4px 0; }
.drawer-actions { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; }
.drawer-logout { padding: 14px 0; }
.drawer-lang { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; }
.drawer-lang a {
  padding: 6px 12px;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
}
.drawer-lang a.is-active { background: var(--primary); color: #fff; border-color: var(--border); }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 2px solid var(--border);
  margin-top: 40px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 58px 0 40px;
}
.foot-brand .brand-word { color: var(--footer-ink); }
.foot-brand p {
  max-width: 330px;
  margin: 16px 0;
  color: rgba(255, 255, 255, .64);
  font-size: 13.5px;
  line-height: 1.65;
}
.foot-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--footer-ink);
  border-bottom: 1.5px solid rgba(255, 255, 255, .3);
}
.foot-mail:hover { border-color: var(--footer-ink); }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h3 {
  margin-bottom: 4px;
  font: 600 12px var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.foot-col a { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .78); width: fit-content; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 26px;
  border-top: 1.5px solid rgba(255, 255, 255, .14);
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}
.foot-social { display: flex; gap: 14px; }
.foot-social a { font-weight: 800; color: rgba(255, 255, 255, .72); }
.foot-social a:hover { color: #fff; }
.foot-note { text-align: right; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 62px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero-accent {
  display: inline-block;
  margin-top: 8px;
  padding: 0 14px 4px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--shadow-ink);
  transform: rotate(-1.2deg);
}
.hero-sub {
  max-width: 540px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.6;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 540px;
  padding: 5px 5px 5px 15px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}
.hero-search-icon { color: var(--muted); flex: none; }
.hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
  outline: none;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 2px solid var(--hair);
}
.hero-stats strong { display: block; font: 600 29px var(--font-head); letter-spacing: -.03em; }
.hero-stats span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art { position: relative; min-height: 500px; }
.hero-art > .clay-main { position: relative; z-index: 2; }
.clay {
  background: var(--yellow);
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: 9px 9px 0 #12141a;
}
[data-theme="dark"] .clay { box-shadow: 9px 9px 0 #000; }
.clay-main {
  width: 88%;
  margin: 34px 0 0 auto;
  transform: rotate(-2deg);
  transition: transform .4s var(--ease);
}
.hero-art:hover .clay-main { transform: rotate(-1deg) translateY(-4px); }
.clay-window { display: flex; gap: 7px; margin-bottom: 20px; }
.clay-dot {
  width: 11px; height: 11px;
  border: 2px solid #12141a;
  border-radius: 50%;
  background: var(--surface);
}
.clay-dot:nth-child(1) { background: var(--red); }
.clay-dot:nth-child(2) { background: var(--yellow); }
.clay-dot:nth-child(3) { background: var(--mint); }
.clay-line {
  height: 13px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(18, 20, 26, .16);
}
.clay-line.w80 { width: 80%; }
.clay-line.w60 { width: 60%; }
.clay-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.clay-tag {
  padding: 4px 10px;
  background: #fffdf5;
  color: #12141a;
  border: 1.5px solid #12141a;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}
.clay-tag.is-green { background: var(--green); color: #fff; }
.clay-bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 132px;
  margin-top: 22px;
  padding: 0 4px;
  border-bottom: 2px solid rgba(18, 20, 26, .5);
}
.clay-bars span {
  flex: 1;
  background: var(--primary);
  border: 2px solid #12141a;
  border-radius: 7px 7px 0 0;
}
.clay-bars span:nth-child(2n) { background: #fffdf5; }
.clay-float {
  position: absolute;
  color: var(--ink);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--shadow-ink);
}
.clay-float .icon { color: var(--primary); }
.clay-float strong { display: block; font-size: 12.5px; line-height: 1.2; }
.clay-float small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.clay-float-a { top: 6px; left: -8px; transform: rotate(3deg); }
.clay-float-b { bottom: 30px; left: -22px; transform: rotate(-2deg); }
.hero-shape {
  position: absolute;
  z-index: 1;
  display: block;
  border: 2px solid #12141a;
  border-radius: 50%;
}
.shape-one { width: 130px; height: 130px; top: 0; right: 26px; background: var(--mint); }
.shape-two { width: 86px; height: 86px; right: 0; bottom: 56px; background: var(--peach); }
[data-theme="dark"] .hero-shape { border-color: transparent; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 26px;
  margin-top: 46px;
  padding: 17px 0;
  border-top: 2px solid var(--hair);
  border-bottom: 2px solid var(--hair);
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}
.trust-strip .icon { color: var(--primary); }

/* ---------- Sections ---------- */
.section { padding: 74px 0; }
.section-flush { padding-top: 28px; }
.section-tint { background: var(--bg-tint); border-block: 2px solid var(--hair); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 37px); }
.section-head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.section-head .link-arrow { margin-bottom: 4px; flex: none; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(206px, 1fr)); gap: 18px; }
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 172px;
  padding: 20px;
  border: 2px solid #12141a;
  border-radius: 20px;
  color: #12141a;
  box-shadow: 4px 4px 0 #12141a;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
[data-theme="dark"] .cat-card { box-shadow: 4px 4px 0 #000; }
.cat-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 #12141a; }
[data-theme="dark"] .cat-card:hover { box-shadow: 7px 7px 0 #000; }
.cat-1 { background: #ffe066; }
.cat-2 { background: var(--mint); }
.cat-3 { background: var(--sky); }
.cat-4 { background: var(--peach); }
.cat-icon {
  display: grid;
  place-items: center;
  width: 45px; height: 45px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, .6);
  border: 2px solid #12141a;
  border-radius: 13px;
}
.cat-name { font: 600 19px var(--font-head); letter-spacing: -.02em; }
.cat-count { font-size: 11.5px; font-weight: 800; opacity: .62; }
.cat-go {
  position: absolute;
  top: 17px; right: 17px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  background: rgba(255, 255, 255, .55);
  border: 1.5px solid #12141a;
  border-radius: 9px;
  transition: transform .18s;
}
.cat-card:hover .cat-go { transform: rotate(8deg); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 22px;
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.product-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.product-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 2px solid var(--border);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.045); }
.product-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-sale {
  position: absolute;
  top: 11px; right: 11px;
  padding: 4px 9px;
  background: var(--red);
  color: #fff;
  border: 2px solid #12141a;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
}
.product-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 17px 18px 16px; }
.product-body h3 { font-size: 18px; line-height: 1.28; }
.product-body h3 a:hover { color: var(--primary); }
.product-info {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
}
.product-meta span { display: inline-flex; align-items: center; gap: 4px; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1.5px solid var(--hair);
}
.price { font: 600 19px var(--font-head); letter-spacing: -.02em; white-space: nowrap; }
.price.is-free { color: var(--green); }
.price-was { margin-left: 5px; color: var(--muted); font: 600 13px var(--font-head); }
.price-now { color: var(--primary); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  padding: 26px 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 9px;
  background: var(--yellow);
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: 8px;
  font: 600 13px var(--font-head);
}
.step h3 { margin-bottom: 7px; font-size: 20px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.blog-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--shadow-ink); }
.blog-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}
.blog-cover {
  width: calc(100% + 48px);
  max-width: none;
  height: 190px;
  margin: -24px -24px 20px;
  object-fit: cover;
  border-bottom: 2px solid var(--border);
  border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0;
}
.blog-num { color: var(--muted); font: 600 25px var(--font-head); letter-spacing: -.03em; opacity: .55; }
.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-wash);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: fit-content;
}
.blog-card .blog-tag { margin-left: 8px; vertical-align: 4px; }
.blog-card h2, .blog-card h3 { margin: 14px 0 8px; font-size: 21px; line-height: 1.26; }
.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.blog-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
}
.blog-arrow {
  position: absolute;
  right: 20px; bottom: 18px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-tint);
  transition: transform .2s;
}
.blog-card:hover .blog-arrow { transform: rotate(8deg); background: var(--primary); color: #fff; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 52px; align-items: start; }
.faq-intro h2 { font-size: clamp(28px, 3.4vw, 38px); }
.faq-intro p { margin: 10px 0 20px; color: var(--muted); font-size: 14.5px; }
.faq-item {
  margin-bottom: 11px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  box-shadow: 2px 2px 0 var(--shadow-ink);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font: 500 16px var(--font-head);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { display: flex; transition: transform .2s; color: var(--primary); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 18px 17px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- CTA ---------- */
.cta-section { padding: 20px 0 74px; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 46px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: 8px 8px 0 var(--shadow-ink);
}
.cta-card h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-card p { max-width: 540px; margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 14.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Breadcrumb / page head ---------- */
.breadcrumb { padding-top: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb .icon { opacity: .55; }

.page-head { padding: 34px 0 8px; }
.page-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: clamp(30px, 4.2vw, 44px); }
.page-head p { max-width: 620px; margin-top: 7px; color: var(--muted); font-size: 14.5px; }
.page-head-hero { padding: 44px 0 30px; }
.page-head-hero h1 { margin: 14px 0 10px; font-size: clamp(32px, 4.4vw, 48px); max-width: 780px; }
.page-head-hero p { font-size: 16px; }
.result-pill, .secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: 12.5px;
  font-weight: 900;
  white-space: nowrap;
}
.secure-pill { background: var(--green-wash); color: var(--green); }

/* ---------- Catalog ---------- */
.catalog-layout { display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 28px; align-items: start; }
.catalog-side { position: sticky; top: calc(var(--head-h) + 20px); }
.filter-card {
  padding: 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.filter-title {
  margin-bottom: 10px;
  font: 600 11px var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
}
.filter-link:hover { background: var(--bg-tint); }
.filter-link span { color: var(--muted); font-size: 11px; font-weight: 800; }
.filter-link.is-active { background: var(--primary); color: #fff; }
.filter-link.is-active span { color: rgba(255, 255, 255, .72); }
.filter-note {
  margin-top: 16px;
  padding: 18px;
  background: var(--yellow);
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: var(--r-md);
  box-shadow: 3px 3px 0 #12141a;
}
.filter-note .icon { margin-bottom: 7px; }
.filter-note p { font-size: 12.5px; font-weight: 700; line-height: 1.55; }
.filter-note .link-arrow { margin-top: 10px; font-size: 12.5px; border-color: rgba(18, 20, 26, .4); }
.filter-note .link-arrow:hover { color: #12141a; border-color: #12141a; }

.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 380px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
}
.catalog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
}
.catalog-search .icon { color: var(--muted); }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form label { font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.sort-form select {
  height: 44px;
  padding: 0 30px 0 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.page-numbers { display: flex; align-items: center; gap: 6px; }
.page-num {
  display: grid;
  place-items: center;
  min-width: 38px; height: 38px;
  padding: 0 8px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font: 600 14px var(--font-head);
}
.page-num:hover { background: var(--bg-tint); }
.page-num.is-active { background: var(--primary); color: #fff; }
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
}
.page-btn:hover { background: var(--bg-tint); }
.page-gap { color: var(--muted); padding: 0 4px; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 22px;
  text-align: center;
  border: 2px dashed var(--hair);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  margin-bottom: 4px;
  background: var(--bg-tint);
  border: 2px solid var(--border);
  border-radius: 19px;
  color: var(--primary);
}
.empty-state h2 { font-size: 25px; }
.empty-state p { max-width: 420px; color: var(--muted); font-size: 14px; }
.empty-state .btn { margin-top: 8px; }
.empty-state-inline { padding: 40px 20px; border: 0; }

/* ---------- Product page ---------- */
.product-page { padding-top: 18px; }
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 32px;
  align-items: start;
}
.product-gallery { min-width: 0; }
.product-shot {
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.product-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 13px 4px;
}
.product-quick span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
}
.buy-box {
  position: sticky;
  top: calc(var(--head-h) + 18px);
  padding: 26px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.buy-box-head h1 { margin: 10px 0 8px; font-size: clamp(26px, 2.6vw, 33px); line-height: 1.12; }
.buy-box-head p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.buy-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 14px 0;
  border-block: 2px solid var(--hair);
}
.price-xl { font: 600 42px var(--font-head); letter-spacing: -.035em; }
.buy-price del { color: var(--muted); font-size: 17px; font-weight: 700; }
.save-pill {
  padding: 3px 10px;
  background: var(--yellow);
  color: #12141a;
  border: 1.5px solid #12141a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.buy-form { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty-row label { font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.qty-control {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
}
.qty-control button {
  width: 38px; height: 38px;
  padding: 0;
  border: 0;
  background: var(--bg-tint);
  font-size: 19px;
  font-weight: 800;
}
.qty-control button:hover { background: var(--hair); }
.qty-control input {
  width: 50px; height: 38px;
  border: 0;
  border-inline: 1.5px solid var(--hair);
  background: transparent;
  text-align: center;
  font-weight: 800;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 9px; color: var(--green); font-size: 12.5px; font-weight: 800; }
.buy-points { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; list-style: none; }
.buy-points li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.buy-points .icon { color: var(--primary); }
.buy-fine { margin-top: 14px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.buy-box > .btn { margin-top: 12px; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: start;
  margin-top: 40px;
}
.detail-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.detail-block {
  padding: 26px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
}
.detail-block h2 { margin-bottom: 13px; font-size: 25px; }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.detail-head h2 { margin: 0; }
.detail-side { position: sticky; top: calc(var(--head-h) + 18px); display: flex; flex-direction: column; gap: 16px; }
.detail-card {
  padding: 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
}
.detail-card h3 { margin-bottom: 12px; font-size: 17px; }
.spec-list { margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1.5px solid var(--hair); }
.spec-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list dt { color: var(--muted); font-size: 12.5px; }
.spec-list dd { margin: 0; font-size: 12.5px; font-weight: 800; text-align: right; }
.detail-help .icon { color: var(--primary); margin-bottom: 6px; }
.detail-help p { margin-bottom: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.review-form {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-tint);
  border: 2px solid var(--hair);
  border-radius: var(--r-md);
}
.review-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.review-form textarea { margin-bottom: 10px; }
.review-list { display: flex; flex-direction: column; }
.review { padding: 15px 0; border-top: 1.5px solid var(--hair); }
.review:first-child { border-top: 0; padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.review-head img { width: 38px; height: 38px; object-fit: cover; border: 1.5px solid var(--hair); border-radius: 50%; }
.review-head strong { display: block; font-size: 13.5px; }
.review-head time { display: block; color: var(--muted); font-size: 11px; }
.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 3px 8px;
  background: var(--green-wash);
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
}
.review > p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; }
.check-list .icon { color: var(--green); flex: none; margin-top: 2px; }
.related-block { margin-top: 52px; }

/* ---------- Status pills ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: capitalize;
  white-space: nowrap;
}
.status-completed, .status-active { background: var(--green-wash); color: var(--green); }
.status-pending { background: var(--yellow-wash); color: var(--yellow-ink); }
.status-revoked, .status-expired, .status-failed { background: var(--red-wash); color: var(--red); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 358px; gap: 28px; align-items: start; }
.cart-main { min-width: 0; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
}
.cart-thumb img {
  display: block;
  width: 120px; height: 84px;
  object-fit: cover;
  border: 1.5px solid var(--hair);
  border-radius: 10px;
}
.cart-info h2 { font-size: 17px; line-height: 1.3; }
.cart-info h2 a:hover { color: var(--primary); }
.cart-info p { margin-top: 3px; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.cart-price { font: 600 18px var(--font-head); white-space: nowrap; }
.cart-note { display: flex; align-items: flex-start; gap: 7px; margin: 16px 0; color: var(--muted); font-size: 12.5px; }
.cart-note .icon { flex: none; margin-top: 1px; }
.summary-card {
  position: sticky;
  top: calc(var(--head-h) + 18px);
  padding: 22px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.summary-card h2 { margin-bottom: 14px; font-size: 21px; }
.summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.summary-row > span { color: var(--muted); font-weight: 700; }
.summary-row.is-discount, .summary-row.is-discount strong { color: var(--green); }
.summary-total { margin-top: 6px; padding-top: 13px; border-top: 2px solid var(--hair); font: 600 19px var(--font-head); }
.summary-total > span { color: var(--ink); font-family: var(--font-head); font-size: 18px; }
.redeem-form { display: flex; gap: 8px; margin: 12px 0 14px; }
.redeem-form input { flex: 1; min-width: 0; height: 40px; }
.redeem-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 14px;
  padding: 8px 12px;
  background: var(--green-wash);
  border: 1.5px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 800;
}
.redeem-applied span { display: inline-flex; align-items: center; gap: 5px; }
.redeem-applied button { border: 0; background: none; color: var(--green); font-size: 11.5px; font-weight: 900; text-decoration: underline; }
.summary-fine { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; color: var(--muted); font-size: 11px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.checkout-main { min-width: 0; }
.checkout-side { display: flex; flex-direction: column; gap: 0; }
.panel {
  padding: 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
}
.checkout-main .panel { margin-bottom: 20px; }
.panel-tint { background: var(--bg-tint); }
.panel h2 { font-size: 21px; }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.panel-head h2 { font-size: 21px; }
.panel-num {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--border);
  border-radius: 50%;
  font: 600 14px var(--font-head);
}
.panel-head-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-head-between h2 { font-size: 20px; }
.panel > .icon { color: var(--primary); margin-bottom: 6px; }
.panel > p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.gateway-list { display: flex; flex-direction: column; gap: 10px; }
.gateway-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--hair);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .16s, background .16s;
}
.gateway-option:hover { border-color: var(--border); }
.gateway-option:has(input:checked) { border-color: var(--primary); background: var(--primary-wash); }
.gateway-option input { position: absolute; opacity: 0; pointer-events: none; }
.gateway-radio {
  display: block;
  width: 19px; height: 19px;
  flex: none;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}
.gateway-option input:checked + .gateway-radio { background: var(--primary); box-shadow: inset 0 0 0 3px var(--surface); }
.gateway-option:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }
.gateway-body { flex: 1; min-width: 0; }
.gateway-top { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.gateway-top strong { font-size: 14.5px; }
.gateway-top em {
  padding: 1px 7px;
  background: var(--primary-wash);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.gateway-desc { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.gateway-icon { display: flex; color: var(--primary); }
.checkout-items { margin-bottom: 8px; }
.checkout-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--hair);
  font-size: 13.5px;
}
.checkout-item small { color: var(--muted); font-size: 11px; }
.checkout-item strong { white-space: nowrap; }
.checkout-main .panel > .summary-row { padding: 6px 0; }
.checkout-main .summary-total { margin-bottom: 14px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 900; letter-spacing: .02em; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--surface);
  border: 2px solid var(--hair);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .16s, box-shadow .16s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-wash);
}
textarea { resize: vertical; min-height: 100px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .85; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-toggle {
  position: absolute;
  top: 50%; right: 5px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.password-toggle:hover { background: var(--bg-tint); color: var(--ink); }
.check-field { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.check-field input {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--primary);
}
.check-field a { color: var(--primary); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.form-panel .field:last-of-type { margin-bottom: 16px; }
.form-panel h2 { margin-bottom: 14px; }

/* ---------- Auth ---------- */
.auth-section { padding: 52px 0 74px; }
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1080px;
}
.auth-card {
  padding: 38px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.auth-head h1 { margin: 13px 0 8px; font-size: clamp(28px, 3.4vw, 38px); }
.auth-head p { color: var(--muted); font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 15px; margin-top: 24px; }
.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--hair);
  font-size: 13px;
  color: var(--muted);
}
.auth-switch a { color: var(--primary); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.auth-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 14px;
  background: var(--bg-tint);
  border: 2px solid var(--hair);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: var(--muted);
}
.auth-help .icon { flex: none; color: var(--primary); margin-top: 2px; }
.auth-help strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 12.5px; }
.auth-help a { color: var(--primary); font-weight: 800; }

.auth-art {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.auth-art-alt { background: #12141a; color: var(--surface); }
[data-theme="dark"] .auth-art-alt { background: #1c2331; color: #f2efe6; }
.auth-art-inner { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; justify-content: center; }
.auth-art h2 { margin: 16px 0 10px; font-size: clamp(26px, 3vw, 36px); color: #fff; }
.auth-art-alt h2 { color: inherit; }
.auth-art p { max-width: 380px; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.6; }
.auth-art-alt p { color: rgba(255, 255, 255, .65); }
.auth-sticker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 12px;
  background: var(--yellow);
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 2px 2px 0 #12141a;
  transform: rotate(-2deg);
}
.auth-art-cards { display: flex; flex-direction: column; gap: 11px; margin-top: 28px; }
.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  padding: 10px 13px;
  background: #fff;
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: 13px;
  box-shadow: 3px 3px 0 #12141a;
}
.mini-card-offset { margin-left: 34px; }
.mini-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  background: var(--sky);
  border: 1.5px solid #12141a;
  border-radius: 9px;
}
.mini-card strong { display: block; font-size: 12px; line-height: 1.25; }
.mini-card small { font-size: 10px; color: #5b5f6c; font-weight: 700; }
.auth-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.auth-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .88); }
.auth-points .icon { color: var(--mint); }
.auth-shape { position: absolute; border: 2px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.auth-shape-a { width: 180px; height: 180px; right: -50px; top: -50px; background: rgba(255, 255, 255, .08); }
.auth-shape-b { width: 110px; height: 110px; right: 34px; bottom: -30px; background: rgba(255, 255, 255, .1); }

/* ---------- Account ---------- */
.account-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 max(28px, calc((100% - var(--shell)) / 2 + 28px));
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  scrollbar-width: none;
}
.account-nav::-webkit-scrollbar { display: none; }
.account-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 15px 13px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
.account-nav-link:hover { color: var(--ink); background: var(--bg-tint); }
.account-nav-link.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.account-nav-logout { margin-left: auto; }
.account-nav-logout .account-nav-link { color: var(--red); }
.account-section { padding-top: 38px; }
.account-greeting { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.account-avatar {
  width: 64px; height: 64px;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  background: var(--bg-tint);
}
.account-greeting h1 { font-size: 31px; margin-top: 4px; }
.account-greeting p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.account-head-actions { margin-left: auto; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 0 13px;
  padding: 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 2px solid var(--border);
  border-radius: 12px;
}
.stat-blue { background: var(--sky); color: #12141a; }
.stat-green { background: var(--mint); color: #12141a; }
.stat-yellow { background: #ffe066; color: #12141a; }
.stat-card strong { font: 600 28px var(--font-head); line-height: 1; }
.stat-card > span:last-child { color: var(--muted); font-size: 11.5px; font-weight: 800; }
.account-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.account-columns .panel { padding: 20px; }
.account-columns-bottom .panel h2 { margin-bottom: 6px; font-size: 19px; }
.account-columns-bottom .panel p { margin-bottom: 12px; }
.order-table { display: flex; flex-direction: column; }
.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1.5px solid var(--hair);
}
.order-row-main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.order-row-main small { display: block; color: var(--muted); font-size: 10.5px; }
.order-row-amount { font: 600 14px var(--font-head); white-space: nowrap; }
.mini-license-list { display: flex; flex-direction: column; }
.mini-license { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1.5px solid var(--hair); }
.mini-license > .icon { color: var(--primary); flex: none; }
.mini-license > div { flex: 1; min-width: 0; }
.mini-license strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.mini-license small { display: block; color: var(--muted); font-size: 10.5px; }
.small-empty { padding: 18px 0; color: var(--muted); font-size: 13px; }
.small-empty a { color: var(--primary); font-weight: 800; }
.account-narrow { max-width: 720px; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-title-row h1 { font-size: clamp(28px, 3.6vw, 38px); }
.page-title-row p { margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.account-section > .shell > .panel { margin-bottom: 20px; }

/* ---------- Licences ---------- */
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.license-card {
  padding: 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.license-top { display: flex; align-items: center; gap: 10px; }
.license-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  background: #ffe066;
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: 11px;
}
.license-title { flex: 1; min-width: 0; }
.license-title h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.license-title small { color: var(--muted); font-size: 11px; font-weight: 700; }
.license-key {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  padding: 7px 9px 7px 11px;
  background: var(--bg-tint);
  border: 1.5px dashed var(--border);
  border-radius: 10px;
}
.license-key code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.license-meta { margin: 0; }
.license-meta > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--hair); font-size: 12px; }
.license-meta > div:last-child { border-bottom: 0; }
.license-meta dt { color: var(--muted); }
.license-meta dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.license-hint { margin-top: 10px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }

/* ---------- Downloads ---------- */
.download-list { display: flex; flex-direction: column; }
.download-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 2px solid var(--hair);
}
.download-row:first-child { padding-top: 0; }
.download-row:last-child { border-bottom: 0; padding-bottom: 0; }
.download-row img {
  width: 92px; height: 64px;
  flex: none;
  object-fit: cover;
  border: 1.5px solid var(--hair);
  border-radius: 10px;
}
.download-info { flex: 1; min-width: 0; }
.download-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.download-info small { display: block; color: var(--muted); font-size: 11.5px; }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th {
  padding: 8px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table td { padding: 12px; border-bottom: 1.5px solid var(--hair); font-size: 13.5px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td small { display: block; color: var(--muted); font-size: 11px; }
.data-table .table-actions { text-align: right; white-space: nowrap; }
.data-table code { font-family: var(--font-mono); font-size: 12px; }

/* ---------- Order status ---------- */
.order-wrap { display: flex; justify-content: center; padding: 20px 0 30px; }
.order-card {
  width: 100%;
  max-width: 620px;
  padding: 34px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  text-align: center;
}
.order-badge {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.order-badge.is-ok { background: var(--mint); color: #12141a; }
.order-badge.is-pending { background: #ffe066; color: #12141a; }
.order-card h1 { font-size: 30px; }
.order-sub { margin-top: 7px; color: var(--muted); font-size: 14px; }
.order-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 20px 0 12px;
  padding: 10px 14px;
  background: var(--bg-tint);
  border: 2px solid var(--hair);
  border-radius: 11px;
  font-size: 12.5px;
}
.order-ref span { color: var(--muted); }
.order-ref strong { font-family: var(--font-mono); }
.order-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.order-status small { color: var(--muted); font-size: 11px; }
.order-lines { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1.5px solid var(--hair); font-size: 13.5px; }
.order-lines li:last-child { border-bottom: 1.5px solid var(--hair); }
.manual-box {
  margin-bottom: 18px;
  padding: 16px;
  background: var(--yellow-wash);
  border: 2px solid var(--yellow-ink);
  border-radius: var(--r-md);
  text-align: left;
}
.manual-box h2 { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font-size: 16px; }
.manual-box p { font-size: 12.5px; line-height: 1.6; }
.manual-box .manual-ref { margin-top: 7px; font-family: var(--font-mono); }
.order-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------- Error ---------- */
.error-page { padding: 76px 0 90px; }
.error-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: center; }
.error-art { position: relative; display: grid; place-items: center; min-height: 250px; }
.error-art > span { position: relative; z-index: 2; font: 600 clamp(96px, 14vw, 170px)/1 var(--font-head); letter-spacing: -.06em; color: var(--primary); }
.error-blob {
  position: absolute;
  right: 4%; top: 6%;
  width: 62%; aspect-ratio: 1;
  background: #ffe066;
  border: 2px solid #12141a;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  box-shadow: 7px 7px 0 #12141a;
  transform: rotate(-8deg);
}
[data-theme="dark"] .error-blob { box-shadow: 7px 7px 0 #000; }
.error-copy h1 { margin: 12px 0 9px; font-size: clamp(30px, 4vw, 44px); }
.error-copy p { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.error-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }

/* ---------- Blog index / tags ---------- */
.blog-search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 4px 4px 13px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}
.blog-search .icon { color: var(--muted); flex: none; }
.blog-search input {
  width: 190px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: background .16s, color .16s;
}
.tag-chip:hover { background: var(--bg-tint); }
.tag-chip.is-active { background: var(--primary); color: #fff; }
.tag-chip-sm { padding: 2px 9px; font-size: 10.5px; background: var(--bg-tint); border-width: 1.5px; }

/* ---------- Article ---------- */
.article-page { padding-bottom: 10px; }
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  width: 0;
  height: 4px;
  background: var(--primary);
  border-right: 2px solid var(--border);
}
.article-head { padding-top: 42px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.article-head h1 { margin: 15px 0 11px; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; }
.article-lede { color: var(--muted); font-size: 18px; line-height: 1.6; }
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.article-cover { margin-top: 28px; }
.article-cover img {
  display: block;
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.article-body { padding-top: 30px; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 760px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 2px solid var(--hair);
}
.share-box { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12px; font-weight: 800; color: var(--muted); }
.share-box a {
  padding: 4px 10px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}
.share-box a:hover { background: var(--primary); color: #fff; }
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 24px;
  background: var(--yellow);
  color: #12141a;
  border: 2px solid #12141a;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.article-cta h2 { font-size: 24px; }
.article-cta p { margin-top: 4px; font-size: 13px; opacity: .75; }

/* ---------- Legacy / CMS content ---------- */
.legacy-content { font-size: 15.5px; line-height: 1.72; overflow-wrap: anywhere; }
.legacy-content > *:first-child { margin-top: 0; }
.legacy-content h1, .legacy-content h2, .legacy-content h3, .legacy-content h4 {
  margin: 1.4em 0 .55em;
  line-height: 1.22;
}
.legacy-content h1 { font-size: 31px; }
.legacy-content h2 { font-size: 26px; }
.legacy-content h3 { font-size: 21px; }
.legacy-content h4 { font-size: 18px; }
.legacy-content p { margin: 0 0 1em; }
.legacy-content a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legacy-content ul, .legacy-content ol { margin: 0 0 1em; padding-left: 1.35em; }
.legacy-content li { margin: .35em 0; }
.legacy-content img { max-width: 100%; height: auto; margin: .7em 0; border: 2px solid var(--hair); border-radius: var(--r-md); }
.legacy-content figure { margin: 1.2em 0; }
.legacy-content figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; text-align: center; }
.legacy-content blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  background: var(--bg-tint);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
}
.legacy-content blockquote p:last-child { margin-bottom: 0; }
.legacy-content code {
  padding: 2px 6px;
  background: var(--bg-tint);
  border: 1px solid var(--hair);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: .88em;
}
.legacy-content pre {
  margin: 1.2em 0;
  padding: 16px;
  overflow-x: auto;
  background: #12141a;
  color: #f3f0e8;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: 12.5px;
  line-height: 1.6;
}
.legacy-content pre code { padding: 0; background: none; border: 0; color: inherit; }
.legacy-content table { width: 100%; margin: 1.2em 0; border-collapse: collapse; font-size: 13.5px; }
.legacy-content th, .legacy-content td { padding: 9px 11px; border: 1.5px solid var(--hair); text-align: left; }
.legacy-content th { background: var(--bg-tint); font-weight: 800; }
.legacy-content .video-wrap, .legacy-content iframe { max-width: 100%; }

/* ---------- Licensing docs ---------- */
.doc-layout { display: grid; grid-template-columns: 214px minmax(0, 1fr); gap: 38px; align-items: start; }
.doc-side { position: sticky; top: calc(var(--head-h) + 18px); }
.doc-nav { display: flex; flex-direction: column; gap: 2px; }
.doc-nav a { padding: 8px 11px; border-radius: 8px; color: var(--muted); font-size: 12.5px; font-weight: 800; }
.doc-nav a:hover { background: var(--bg-tint); color: var(--ink); }
.doc-body { min-width: 0; max-width: 860px; }
.doc-block { margin-bottom: 38px; }
.doc-block h2 { margin-bottom: 10px; font-size: 27px; }
.doc-block p { margin-bottom: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.doc-block p code, .doc-block li code { padding: 1px 6px; background: var(--bg-tint); border: 1px solid var(--hair); border-radius: 5px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.doc-list { margin: 10px 0 14px; padding-left: 1.3em; color: var(--muted); font-size: 14px; }
.doc-list li { margin: .35em 0; }
.doc-list a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
.doc-callout {
  display: flex;
  gap: 12px;
  margin: 14px 0;
  padding: 16px;
  background: var(--primary-wash);
  border: 2px solid var(--primary);
  border-radius: var(--r-md);
}
.doc-callout .icon { color: var(--primary); flex: none; }
.doc-callout strong { display: block; margin-bottom: 3px; font-size: 14px; }
.doc-callout p { margin: 0; font-size: 13px; }
.doc-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  background: var(--bg-tint);
  border-radius: 10px;
  font-size: 12.5px !important;
}
.doc-note .icon { flex: none; color: var(--primary); margin-top: 2px; }
.code-details {
  margin: 14px 0;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
}
.code-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 15px;
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  font-weight: 900;
}
.code-details summary::-webkit-details-marker { display: none; }
.code-details[open] summary { border-bottom: 2px solid var(--border); }
.code-block { position: relative; overflow: hidden; background: #12141a; color: #f3f0e8; }
.code-block.is-static { border: 2px solid var(--border); border-radius: var(--r-md); }
.code-block pre { margin: 0; padding: 18px; overflow: auto; font-size: 12px; line-height: 1.65; }
.code-block code { font-family: var(--font-mono); }
.code-copy {
  position: absolute;
  top: 8px; right: 8px;
  padding: 3px 9px;
  background: #fff;
  color: #12141a;
  border: 1.5px solid #12141a;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 900;
}
.code-copy:hover { background: var(--yellow); }

/* ---------- Static pages ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 38px; align-items: start; }
.page-article { min-width: 0; }
.page-article h1 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 42px); }
.page-side { position: sticky; top: calc(var(--head-h) + 18px); display: flex; flex-direction: column; gap: 16px; }
.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-links a { padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.side-links a:hover { background: var(--bg-tint); color: var(--ink); }
.side-links a.is-active { background: var(--bg-tint); color: var(--primary); font-weight: 900; }
.page-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 2px solid var(--hair); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
[data-theme-transition] * { transition: background-color .2s, border-color .2s, color .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .shell, .shell-narrow { padding-inline: 24px; }
  .head-row { gap: 14px; }
  .head-search { width: 178px; }
  .head-actions { gap: 3px; }
  .main-nav .nav-link { padding-inline: 9px; font-size: 14px; }
  .account-name { display: none; }
  .hero-grid { gap: 32px; }
  .clay-float-a { left: 0; }
  .clay-float-b { left: -6px; }
}

@media (max-width: 1060px) {
  .main-nav, .head-search { display: none; }
  .menu-btn { display: inline-grid; }
  .account-nav { padding-inline: 24px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 660px; }
  .hero-art { display: none; }
  .trust-strip { margin-top: 30px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .buy-box, .detail-side, .summary-card, .catalog-side, .doc-side, .page-side { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-side { display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-list { flex-direction: row; flex-wrap: wrap; }
  .filter-link { border: 1.5px solid var(--hair); border-radius: 999px; padding: 7px 12px; gap: 7px; }
  .filter-note { display: none; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; max-width: 560px; }
  .auth-art { display: none; }
  .account-columns { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .doc-layout { grid-template-columns: 1fr; gap: 22px; }
  .doc-nav { flex-direction: row; flex-wrap: wrap; }
  .doc-nav a { border: 1.5px solid var(--hair); border-radius: 999px; }
  .page-layout { grid-template-columns: 1fr; }
  .page-side { display: none; }
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
  .error-wrap { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .error-art { min-height: 200px; }
  .error-copy p { margin-inline: auto; }
  .error-actions { justify-content: center; }
}

@media (max-width: 760px) {
  :root { --head-h: 68px; }
  body { font-size: 15px; }
  .shell, .shell-narrow { padding-inline: 18px; }
  .announcement-inner { min-height: 34px; font-size: 11.5px; gap: 8px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark svg { width: 35px; height: 35px; }
  .brand-word { font-size: 19px; }
  .brand-sub { display: none; }
  .head-actions .btn.head-login, .head-actions .btn.head-register { display: none; }
  .head-row { gap: 8px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-accent { padding: 0 10px 3px; border-radius: 12px; }
  .hero-sub { font-size: 15.5px; margin: 18px 0 22px; }
  .hero-stats { gap: 22px; margin-top: 28px; }
  .hero-stats strong { font-size: 25px; }
  .hero-search { border-radius: 14px; }
  .hero-search input { height: 42px; font-size: 13.5px; }
  .hero-search .btn { padding-inline: 14px; }
  .trust-strip { justify-content: flex-start; gap: 10px 20px; }
  .trust-strip span { font-size: 11.5px; }

  .section { padding: 48px 0; }
  .section-flush { padding-top: 20px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .section-head p { font-size: 13.5px; }
  .cat-grid { gap: 12px; }
  .cat-card { min-height: 150px; padding: 16px; }
  .cat-name { font-size: 17px; }
  .cat-go { width: 28px; height: 28px; top: 13px; right: 13px; }
  .cat-icon { width: 39px; height: 39px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-body { padding: 15px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-link { padding: 20px; }
  .blog-cover { width: calc(100% + 40px); margin: -20px -20px 16px; height: 165px; }
  .cta-section { padding-bottom: 48px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 28px 22px; gap: 20px; border-radius: var(--r-lg); }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }

  .page-head { padding-top: 24px; }
  .page-head-row { align-items: flex-start; }
  .blog-search { width: 100%; }
  .blog-search input { width: 100%; flex: 1; }
  .page-head h1 { font-size: 30px; }
  .catalog-toolbar { gap: 8px; }
  .catalog-search { max-width: none; }
  .sort-form label { display: none; }
  .pagination { justify-content: center; }
  .page-btn span { display: none; }

  .buy-box { padding: 20px; box-shadow: var(--shadow-sm); }
  .price-xl { font-size: 36px; }
  .detail-block, .panel, .detail-card { padding: 18px; }
  .detail-side { grid-template-columns: 1fr; }
  .product-quick { gap: 8px 14px; }
  .article-head { padding-top: 28px; }
  .article-lede { font-size: 16px; }
  .article-body { padding-top: 22px; }
  .article-cta { padding: 20px; }
  .share-box { width: 100%; }
  .article-foot { flex-direction: column; align-items: flex-start; }

  .cart-item { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 11px; padding: 11px; }
  .cart-thumb img { width: 88px; height: 62px; }
  .cart-info h2 { font-size: 15px; }
  .cart-price { grid-column: 2; font-size: 16px; }
  .cart-remove { grid-column: 3; grid-row: 1; align-self: start; }
  .summary-card { padding: 18px; }
  .auth-card { padding: 24px 20px; box-shadow: var(--shadow-sm); }
  .auth-section { padding: 26px 0 48px; }
  .auth-head h1 { font-size: 28px; }

  .account-nav { padding-inline: 12px; }
  .account-nav-link { padding: 13px 10px; font-size: 12.5px; }
  .account-greeting h1 { font-size: 26px; }
  .account-head-actions { margin-left: 0; width: 100%; }
  .account-stats { grid-template-columns: 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .license-grid { grid-template-columns: 1fr; }
  .download-row { flex-wrap: wrap; }
  .download-row img { width: 68px; height: 50px; }
  .download-info { flex-basis: calc(100% - 82px); }
  .download-row .btn { margin-left: 82px; }

  .order-card { padding: 24px 18px; box-shadow: var(--shadow-sm); }
  .order-actions .btn { flex: 1; }
  .error-page { padding: 46px 0 60px; }
  .error-art > span { font-size: 110px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 26px; padding: 40px 0 26px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-note { text-align: left; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 14px; }
  .hero-stats { gap: 18px; }
  .hero-stats span { font-size: 10px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .account-nav-logout { margin-left: 0; }
  .order-row { grid-template-columns: minmax(0, 1fr) auto; }
  .order-row .status-pill { grid-column: 2; grid-row: 1; }
  .order-row-amount { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
  .tag-row { gap: 6px; }
  .drawer-panel { width: 90%; }
}

@media print {
  .site-head, .site-foot, .announcement, .drawer, .breadcrumb, .cta-section, .article-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .btn { box-shadow: none; }
}

/* =========================================================================
   Hunter Store — professional editorial layer
   Overrides the earlier clay theme. Thin rules, neutral surfaces, no gradients.
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f8fa;
  --bg-tint: #eef1f6;
  --surface: #ffffff;
  --ink: #0a1020;
  --muted: #5a6474;
  --border: #d5dbe5;
  --hair: #e4e8ef;
  --primary: #004eff;
  --primary-deep: #0040d0;
  --primary-wash: #edf2ff;
  --green: #0d8a5f;
  --green-wash: #e8f6f0;
  --yellow: #e9b949;
  --yellow-wash: #fdf5e3;
  --yellow-ink: #7a5300;
  --red: #cf3030;
  --red-wash: #fdeeee;
  --footer-bg: #080d18;
  --footer-ink: #edf1f8;
  --shadow: 0 1px 2px rgba(10, 16, 32, .05);
  --shadow-sm: 0 1px 2px rgba(10, 16, 32, .05);
  --shadow-lg: 0 22px 48px -20px rgba(10, 16, 32, .22);
  --shadow-ink: rgba(10, 16, 32, .1);
  --r-xl: 16px;
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 8px;
  --font-head: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shell: 1220px;
  --head-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="dark"] {
  --bg: #0a0e16;
  --bg-tint: #0f1521;
  --surface: #121926;
  --ink: #eef2f9;
  --muted: #98a3b5;
  --border: #2a3547;
  --hair: #1d2635;
  --primary: #4a7cff;
  --primary-deep: #3a6aef;
  --primary-wash: #142345;
  --green: #3fd3a0;
  --green-wash: #10251d;
  --yellow: #ecc55f;
  --yellow-wash: #251f0f;
  --yellow-ink: #f0cd73;
  --red: #f17575;
  --red-wash: #291619;
  --footer-bg: #060a12;
  --footer-ink: #eef2f9;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .03);
  --shadow-lg: 0 22px 48px -20px rgba(0, 0, 0, .7);
  --shadow-ink: rgba(0, 0, 0, .5);
  --r-xl: 16px;
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 8px;
}

body {
  background: var(--bg);
  font: 400 15.5px/1.65 var(--font-body);
  letter-spacing: -.005em;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.028em;
  line-height: 1.16;
}
h1 { font-weight: 600; letter-spacing: -.038em; }
::selection { background: var(--primary); color: #fff; }
.shell { max-width: var(--shell); padding-inline: 24px; }

/* Buttons */
.btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  box-shadow: none;
  font: 600 14px/1 var(--font-body);
  letter-spacing: -.01em;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { transform: none; box-shadow: none; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-dark:hover { background: #1b2537; border-color: #1b2537; }
[data-theme="dark"] .btn-dark { background: #f2f5fa; color: #0a0e16; border-color: #f2f5fa; }
[data-theme="dark"] .btn-dark:hover { background: #dfe5ef; border-color: #dfe5ef; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-tint); border-color: var(--border); }
.btn-sm { min-height: 34px; padding: 8px 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { min-height: 48px; padding: 13px 24px; font-size: 15px; border-radius: var(--r-md); }
.btn .icon { margin-left: 2px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border: 0;
  border-bottom: 1px solid var(--border);
  font: 600 13.5px/1.5 var(--font-body);
  color: var(--ink);
}
.link-arrow:hover { color: var(--primary); border-color: var(--primary); }
.icon-btn {
  width: 38px; height: 38px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
}
.icon-btn:hover { background: var(--bg-tint); border-color: transparent; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--primary);
  font: 600 11.5px/1.5 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-kicker { margin-bottom: 12px; color: var(--muted); }
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 15%, transparent);
}

/* Announcement + header */
.announcement {
  background: var(--ink);
  color: #fff;
  border: 0;
  font: 500 12px/1.5 var(--font-body);
  letter-spacing: .01em;
}
.announcement-inner { min-height: 34px; padding-block: 7px; gap: 10px; }
.announcement strong { font-weight: 700; }
.announcement a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.announcement::before, .announcement::after, .announcement-marquee { display: none; }
.site-head {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 0;
  border-bottom: 1px solid var(--hair);
  box-shadow: none;
  backdrop-filter: saturate(1.6) blur(14px);
}
.head-row { min-height: var(--head-h); gap: 26px; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-word { font: 600 16.5px/1.15 var(--font-head); letter-spacing: -.03em; }
.brand-sub {
  margin-top: 3px;
  color: var(--muted);
  font: 500 9.5px/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.main-nav { gap: 4px; }
.nav-link {
  padding: 8px 11px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--muted);
  font: 500 13.5px/1.4 var(--font-body);
}
.nav-link:hover, .nav-link.is-active {
  background: var(--bg-tint);
  border-color: transparent;
  color: var(--ink);
}
.nav-menu {
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.nav-menu a {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}
.nav-menu a:hover { background: var(--bg-tint); }
.nav-menu small { color: var(--muted); font-weight: 500; }
.head-search {
  width: 188px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-tint);
  box-shadow: none;
}
.head-search:focus-within { background: var(--surface); border-color: var(--primary); }
.head-search input { height: 34px; font-size: 13px; font-weight: 400; }
.head-actions { gap: 3px; }
.pop-panel {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.pop-label { color: var(--muted); font-size: 10.5px; letter-spacing: .1em; }
.pop-link { border-radius: 6px; font-size: 13px; font-weight: 500; }
.account-trigger { border-radius: var(--r-sm); }
.account-trigger:hover { background: var(--bg-tint); }
.contact-strip, .head-contact { display: none; }

/* Hero */
.hero {
  padding: 0;
  border: 0;
  background: none;
}
.hero::before, .hero::after, .hero-shape, .hero-foot { display: none; }
.hero-clean {
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--hair);
}
.hero-clean .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-clean .eyebrow { margin-bottom: 20px; color: var(--muted); }
.hero-clean h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.hero-accent {
  display: inline;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--primary);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  font: inherit;
}
.hero-clean .hero-sub {
  max-width: 505px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}
.hero-clean .hero-search {
  max-width: 500px;
  padding: 4px 4px 4px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-clean .hero-search:focus-within { border-color: var(--primary); }
.hero-clean .hero-search input { height: 42px; font-size: 14px; font-weight: 400; }
.hero-clean .hero-search .btn { min-height: 34px; padding: 0 16px; }
.hero-clean .hero-actions { gap: 20px; margin-top: 20px; align-items: center; }
.hero-clean .hero-stats {
  gap: 40px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.hero-clean .hero-stats strong {
  font: 600 26px/1.15 var(--font-head);
  letter-spacing: -.04em;
}
.hero-clean .hero-stats span {
  margin-top: 4px;
  color: var(--muted);
  font: 500 10.5px/1.4 var(--font-body);
  letter-spacing: .09em;
}
.hero-showcase { position: relative; }
.hero-showcase::before { display: none; }
.showcase-frame {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.showcase-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--hair);
  background: var(--bg-tint);
}
.showcase-bar span { width: 7px; height: 7px; border-radius: 50%; background: #c9d1dd; }
.showcase-bar span:first-child { background: #e3b3b3; }
.showcase-bar span:nth-child(2) { background: #e4d0a6; }
.showcase-bar span:nth-child(3) { background: #b2d6c2; }
.showcase-bar small {
  margin-left: 6px;
  color: var(--muted);
  font: 500 10.5px/1 var(--font-body);
  letter-spacing: .06em;
}
.showcase-product { display: block; padding: 18px; background: var(--surface); }
.showcase-cover {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--bg-tint);
}
.showcase-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.showcase-product:hover .showcase-cover img { transform: scale(1.025); }
.showcase-info { padding: 18px 4px 4px; }
.showcase-cat {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font: 600 10px/1.4 var(--font-body);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.showcase-info h2 { font: 600 23px/1.24 var(--font-head); letter-spacing: -.035em; }
.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}
.showcase-price, .showcase-foot .price { font: 600 16px/1 var(--font-head); }
.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font: 600 12.5px/1 var(--font-body);
}
.showcase-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 13px 22px;
  border-top: 1px solid var(--hair);
  background: var(--bg-tint);
  color: var(--muted);
  font: 500 10.5px/1.4 var(--font-body);
}
.showcase-note span { display: inline-flex; align-items: center; gap: 5px; }
.showcase-note .icon { color: var(--primary); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--hair);
  color: var(--muted);
  font: 500 11.5px/1.5 var(--font-body);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip .icon { color: var(--primary); }

/* Sections */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--hair); }
.section-flush { padding-top: 38px; }
.section-head { align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(25px, 3vw, 36px); }
.section-head p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.cat-grid { gap: 12px; }
.cat-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
  transition: border-color .18s, transform .18s;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: none; }
.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin-bottom: 26px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--bg-tint);
  color: var(--primary);
}
.cat-name { font: 600 15px/1.3 var(--font-head); letter-spacing: -.02em; }
.cat-count { margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.cat-go { position: absolute; right: 16px; bottom: 16px; color: var(--muted); }
.cat-card:hover .cat-go { color: var(--primary); }

/* Product cards */
.product-grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.product-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
  transition: border-color .18s, box-shadow .18s;
}
.product-card:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}
.product-media { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--hair); background: var(--bg-tint); }
.product-card:hover .product-media img { transform: scale(1.02); }
.product-cat {
  top: 10px; left: 10px;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  font: 600 9.5px/1.4 var(--font-body);
  letter-spacing: .08em;
  backdrop-filter: blur(6px);
}
.product-sale {
  top: 10px; right: 10px;
  padding: 4px 7px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  font: 600 10px/1.4 var(--font-body);
}
.product-body { gap: 6px; padding: 15px 16px 14px; }
.product-body h3 { font: 600 15.5px/1.35 var(--font-head); letter-spacing: -.02em; }
.product-info { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.product-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--hair); }
.product-price, .price { font: 600 15px/1.2 var(--font-head); letter-spacing: -.02em; }
.product-meta, .product-rating { color: var(--muted); font-size: 11px; }
.product-card .btn { min-height: 32px; padding: 6px 11px; font-size: 12px; }

/* Blog */
.blog-grid { gap: 16px; }
.blog-card { border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--surface); box-shadow: none; }
.blog-card:hover { transform: none; box-shadow: var(--shadow-lg); border-color: var(--border); }
.blog-num { color: var(--muted); font: 500 11px/1 var(--font-mono); }
.blog-tag { color: var(--primary); font: 600 10px/1.4 var(--font-body); letter-spacing: .09em; text-transform: uppercase; }
.blog-card h3 { font-size: 17px; }
.blog-card p { color: var(--muted); font-size: 13px; }

/* Catalog */
.catalog-layout { grid-template-columns: 232px minmax(0, 1fr); gap: 30px; }
.filter-card, .catalog-side {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
}
.filter-card { padding: 16px; }
.filter-title {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
  color: var(--muted);
  font: 600 10.5px/1.4 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.filter-link { border-radius: 6px; font-size: 13px; font-weight: 500; }
.filter-link.is-active { background: var(--primary-wash); color: var(--primary); }
.filter-link.is-active span { color: var(--primary); opacity: .75; }
.filter-note {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
  color: var(--muted);
}
.filter-note .icon { color: var(--primary); }
.filter-note p { font-size: 12px; font-weight: 400; }
.filter-note .link-arrow { border-color: var(--border); font-size: 12px; }
.filter-note .link-arrow:hover { color: var(--primary); border-color: var(--primary); }
.catalog-head, .catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.catalog-toolbar { align-items: center; }
.sort-form select, .catalog-toolbar select {
  height: 38px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
}
.view-toggle {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-tint);
}
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
}
.view-btn:hover { color: var(--ink); }
.view-btn.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.product-grid-catalog.is-list { grid-template-columns: 1fr; }
.product-grid-catalog.is-list .product-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: stretch;
}
.product-grid-catalog.is-list .product-media {
  height: 100%;
  aspect-ratio: auto;
  min-height: 158px;
  border-right: 1px solid var(--hair);
  border-bottom: 0;
}
.product-grid-catalog.is-list .product-body { padding: 16px 18px; }
.product-grid-catalog.is-list .product-info { -webkit-line-clamp: 2; }
.catalog-empty, .empty-state {
  padding: 56px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: center;
}

/* Page heroes + editorial pages */
.page-hero {
  padding: clamp(42px, 5.5vw, 64px) 0 clamp(34px, 4vw, 46px);
  border-bottom: 1px solid var(--hair);
  background: var(--bg-tint);
}
.page-hero .eyebrow { margin-bottom: 12px; color: var(--primary); }
.page-hero h1 { max-width: 900px; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.045em; }
.page-hero p {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}
.breadcrumb { padding-top: 16px; }
.breadcrumb li { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.page-article {
  min-width: 0;
  max-width: 820px;
  border: 0;
  background: none;
  box-shadow: none;
}
.page-side { top: calc(var(--head-h) + 22px); gap: 14px; }
.page-foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair); }
.detail-card {
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
}
.detail-card h3 { font: 600 14px/1.4 var(--font-head); }
.detail-card .icon { color: var(--primary); }
.detail-card p { color: var(--muted); font-size: 12.5px; }
.side-links a { border-radius: 6px; font-size: 12.5px; font-weight: 500; }
.side-links a:hover, .side-links a.is-active { background: var(--bg-tint); color: var(--primary); font-weight: 600; }

/* Imported legacy prose */
.legacy-content { color: var(--ink); font-size: 15px; line-height: 1.75; }
.legacy-content > *:first-child, .legacy-content .page_container > *:first-child { margin-top: 0; }
.legacy-content h2, .legacy-content h3, .legacy-content h4 {
  margin: 1.8em 0 .6em;
  color: var(--ink);
  font-family: var(--font-head);
  letter-spacing: -.03em;
}
.legacy-content h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 600; }
.legacy-content h3 { font-size: 20px; font-weight: 600; }
.legacy-content h4 { font-size: 16.5px; font-weight: 600; }
.legacy-content p { margin: 0 0 1.1em; color: var(--muted); }
.legacy-content strong, .legacy-content b { color: var(--ink); font-weight: 600; }
.legacy-content a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legacy-content a:hover { color: var(--primary-deep); }
.legacy-content ul, .legacy-content ol { margin: 0 0 1.25em; padding-left: 1.25em; color: var(--muted); }
.legacy-content li { margin-bottom: .4em; }
.legacy-content ul { list-style: disc; }
.legacy-content ol { list-style: decimal; }
.legacy-content img { max-width: 100%; height: auto; margin: 1.4em 0; border: 1px solid var(--hair); border-radius: var(--r-md); }
.legacy-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--hair); }
.legacy-content blockquote {
  margin: 1.5em 0;
  padding: 14px 20px;
  border-left: 2px solid var(--primary);
  background: var(--primary-wash);
  color: var(--ink);
}
.legacy-content code { padding: 2px 5px; border: 1px solid var(--hair); border-radius: 4px; background: var(--bg-tint); font: 500 13px/1.5 var(--font-mono); }
.legacy-content pre { overflow: auto; padding: 16px; border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--bg-tint); }
.legacy-content pre code { padding: 0; border: 0; background: none; }
.legacy-content table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: 13.5px; }
.legacy-content th, .legacy-content td { padding: 10px 12px; border: 1px solid var(--hair); text-align: left; vertical-align: top; }
.legacy-content th { background: var(--bg-tint); color: var(--ink); font-weight: 600; }
.legacy-content td { color: var(--muted); }
.legacy-content .btn { color: #fff; text-decoration: none; }
.legacy-content .btn-ghost { color: var(--ink); }
.legacy-content form { margin: 1.5em 0; }
.legacy-content input, .legacy-content textarea, .legacy-content select {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 13.5px;
}
.legacy-content label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.legacy-content button { min-height: 40px; padding: 9px 16px; border: 1px solid var(--primary); border-radius: var(--r-sm); background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.legacy-content .page_container { max-width: none; padding: 0; }
.legacy-content .content_section { max-width: none; margin: 0 0 1.6em; padding: 0; background: none; border: 0; box-shadow: none; }
.legacy-content .hero-split,
.legacy-content .about_dual_grid,
.legacy-content .about_dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 1.4em 0;
}
.legacy-content .about_card,
.legacy-content .about-card,
.legacy-content .info_card,
.legacy-content .info-card,
.legacy-content .value_card,
.legacy-content .value-card {
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
}
.legacy-content .values_grid,
.legacy-content .values-grid,
.legacy-content .cards_grid,
.legacy-content .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 1.5em 0;
}
.legacy-content .compare_table,
.legacy-content .compare-table { width: 100%; border-collapse: collapse; }
.legacy-content .legal_content,
.legacy-content .legal-content { max-width: none; padding: 0; background: none; border: 0; box-shadow: none; }
.legacy-content .hero-split img { margin: 0; }
.legacy-content .section_title, .legacy-content .section-title { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.legacy-content [style*="background"] { border-radius: var(--r-md); }
.legacy-content span[style*="font-size"] { line-height: 1.6; }
.legacy-content .container, .legacy-content .wrapper { max-width: none; padding: 0; }

/* Index pages */
.index-group { margin-top: 34px; }
.index-head { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 34px 15px 15px;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .18s, box-shadow .18s;
}
.index-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: none; }
.index-title { color: var(--ink); font: 600 14px/1.4 var(--font-head); }
.index-desc { color: var(--muted); font-size: 12px; line-height: 1.55; }
.index-arrow { position: absolute; right: 14px; top: 16px; color: var(--muted); }
.index-card:hover .index-arrow { color: var(--primary); }

/* FAQ + reviews */
.faq-page { max-width: 900px; padding-top: 38px; padding-bottom: 72px; }
.faq-item { border-bottom: 1px solid var(--hair); background: none; box-shadow: none; }
.faq-item summary { padding: 20px 0; font: 600 15.5px/1.5 var(--font-head); }
.faq-item summary::after { border-color: var(--muted); }
.faq-item .faq-answer, .faq-answer { padding: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.review-card {
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
}
.review-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.review-meta { color: var(--muted); font-size: 11.5px; }
.review-stars { color: #d99a17; }

/* Forms, auth, account */
input, select, textarea {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.auth-card, .form-card, .account-card, .order-card, .download-row, .panel {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: none;
}
.auth-card, .form-card { padding: clamp(22px, 3vw, 32px); }
.auth-card h1, .form-card h1 { font-size: clamp(26px, 3vw, 34px); }
.auth-side, .auth-art { border-radius: var(--r-md); }
.account-nav, .account-nav a { box-shadow: none; border-radius: var(--r-sm); font-size: 13px; }

/* Footer */
.site-foot {
  padding: 56px 0 24px;
  border-top: 1px solid #1c2637;
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.foot-top { gap: clamp(28px, 5vw, 64px); padding-bottom: 36px; border-bottom: 1px solid #1c2637; }
.foot-brand p { color: rgba(237, 241, 248, .66); font-size: 13px; line-height: 1.7; }
.foot-col h3 { color: rgba(237, 241, 248, .45); font: 600 10px/1.4 var(--font-body); letter-spacing: .12em; }
.foot-col a { color: rgba(237, 241, 248, .76); font-size: 12.5px; font-weight: 400; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-mail { border-color: #2a3547; background: rgba(255, 255, 255, .03); box-shadow: none; font-size: 12.5px; }
.foot-mail:hover { border-color: #4a5a74; }
.foot-bottom { padding-top: 18px; color: rgba(237, 241, 248, .45); font-size: 11.5px; }
.foot-social a { color: rgba(237, 241, 248, .6); font-size: 12px; font-weight: 500; }
.foot-social a:hover { color: #fff; }
.foot-note { color: rgba(237, 241, 248, .45); font-size: 11.5px; }
.currency-switch a, .foot-currency a { font-size: 11.5px; }

/* Drawer */
.drawer-panel { border-left: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); }
.drawer-link { border-radius: var(--r-sm); font: 500 14px/1.4 var(--font-body); }
.drawer-head { border-bottom: 1px solid var(--hair); }

/* Small polish */
.badge, .pill, .tag {
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--bg-tint);
  color: var(--muted);
  font: 600 10.5px/1.4 var(--font-body);
  letter-spacing: .02em;
}
.status-pill {
  border: 1px solid color-mix(in srgb, currentColor 20%, var(--hair));
  border-radius: 7px;
  background: var(--bg-tint);
  color: var(--muted);
  font: 750 10.5px/1.4 var(--font-body);
  letter-spacing: .01em;
  padding: 4px 9px;
}
.status-pill.status-completed,
.status-pill.status-active,
.status-pill.status-approved { border-color: color-mix(in srgb, var(--green) 24%, transparent); background: var(--green-wash); color: var(--green); }
.status-pill.status-pending { border-color: color-mix(in srgb, var(--yellow) 28%, transparent); background: var(--yellow-wash); color: var(--yellow-ink); }
.status-pill.status-cancelled,
.status-pill.status-failed,
.status-pill.status-revoked,
.status-pill.status-expired,
.status-pill.status-rejected { border-color: color-mix(in srgb, var(--red) 24%, transparent); background: var(--red-wash); color: var(--red); }
.alert, .notice { border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: none; }
.cta-section { border-radius: var(--r-lg); box-shadow: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 1080px) {
  .hero-clean .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-showcase { max-width: 620px; }
  .catalog-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .page-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; }
  .head-search { display: none; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-side { position: static; }
  .filter-card { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px; }
  .filter-title, .filter-note { grid-column: 1 / -1; }
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; }
  .legacy-content .hero-split, .legacy-content .about_dual_grid, .legacy-content .about_dual-grid { grid-template-columns: 1fr; }
  .head-register, .head-login { display: none; }
}
@media (max-width: 640px) {
  .shell { padding-inline: 18px; }
  .hero-clean { padding-top: 36px; }
  .hero-clean h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-clean .hero-stats { gap: 24px; }
  .showcase-product { padding: 12px; }
  .showcase-note { padding: 12px 16px; gap: 8px 14px; }
  .trust-strip { gap: 10px 18px; padding: 14px 18px; font-size: 11px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  .product-body { padding: 12px; }
  .product-info { display: none; }
  .product-grid-catalog.is-list .product-card { grid-template-columns: 1fr; }
  .product-grid-catalog.is-list .product-media { aspect-ratio: 16/9; min-height: 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .view-toggle { display: none; }
  .index-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .legacy-content table { display: block; overflow-x: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Hunter Store — v3 surface system
   Final overrides: corrected tokens, non-wrapping header, structured hero,
   visible dark-theme cards, and cleaned product/catalog components.
   ========================================================================= */

:root {
  --bg: #f4f6f9;
  --bg-tint: #edf1f6;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink: #0b1220;
  --muted: #5d6879;
  --border: #d8e0ea;
  --hair: #e6ebf1;
  --primary: #004eff;
  --primary-deep: #003fd0;
  --primary-wash: #eef3ff;
  --green: #0b8461;
  --green-wash: #e9f6f1;
  --yellow: #dca62d;
  --yellow-wash: #fbf3df;
  --red: #c93333;
  --red-wash: #fceeee;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .04);
  --shadow-lg: 0 24px 60px -32px rgba(11, 18, 32, .28);
  --shadow-ink: rgba(11, 18, 32, .08);
  --r-xl: 14px;
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 8px;
  --head-h: 68px;
}
[data-theme="dark"] {
  --bg: #070b12;
  --bg-tint: #0c121c;
  --surface: #111926;
  --surface-raised: #151f2e;
  --ink: #e9eff8;
  --muted: #98a4b7;
  --border: #283446;
  --hair: #1e293a;
  --primary: #5b8cff;
  --primary-deep: #74a0ff;
  --primary-wash: #13213d;
  --green: #45d5a3;
  --green-wash: #10251d;
  --yellow: #e8c163;
  --yellow-wash: #261f0f;
  --red: #f07c7c;
  --red-wash: #2a161a;
  --shadow: 0 1px 0 rgba(255, 255, 255, .035);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .035);
  --shadow-lg: 0 26px 70px -30px rgba(0, 0, 0, .8);
  --shadow-ink: rgba(0, 0, 0, .5);
}

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

/* ---- Header: compact, single line ---- */
.site-head {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--hair);
  box-shadow: none;
}
.head-row {
  min-height: var(--head-h);
  height: var(--head-h);
  flex-wrap: nowrap;
  gap: 16px;
}
.brand { gap: 9px; }
.brand-mark, .brand-mark svg { width: 32px; height: 32px; }
.brand-word { font-size: 15.5px; line-height: 1.1; }
.brand-sub { font-size: 8.5px; letter-spacing: .13em; margin-top: 3px; }
.main-nav { gap: 1px; flex-wrap: nowrap; }
.nav-link {
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active {
  background: var(--bg-tint);
  border-color: transparent;
  color: var(--ink);
}
.nav-link .icon { opacity: .6; }
.head-actions { gap: 2px; }
.head-search {
  width: 196px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg-tint);
}
.head-search:focus-within { border-color: var(--primary); background: var(--surface); }
.head-search input,
.head-search input:hover,
.head-search input:focus {
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12.5px;
  font-weight: 400;
}
.head-search input::placeholder { color: var(--muted); }
.icon-btn { width: 34px; height: 34px; border-radius: 6px; }
.cart-count { top: -1px; right: -1px; min-width: 16px; height: 16px; border-width: 1px; font-size: 9px; }
.btn-sm { min-height: 32px; padding: 7px 11px; font-size: 12.5px; }
.head-register { border-radius: 7px; }

/* ---- Hero: two-line statement, framed product ---- */
.hero-clean {
  padding: clamp(52px, 6vw, 82px) 0 clamp(46px, 5vw, 68px);
  border-bottom: 1px solid var(--hair);
  background: var(--bg-tint);
}
.hero-clean .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-clean .hero-copy {
  padding-left: 24px;
  border-left: 2px solid var(--primary);
}
.hero-clean .eyebrow { margin-bottom: 18px; color: var(--muted); font-size: 10.5px; }
.hero-clean h1 {
  margin: 0;
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 600;
  line-height: 1.035;
  letter-spacing: -.045em;
}
.hero-accent {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--primary);
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
  white-space: nowrap;
  font: inherit;
}
.hero-clean .hero-sub {
  max-width: 490px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.hero-clean .hero-search {
  max-width: 490px;
  height: 48px;
  padding: 5px 5px 5px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-clean .hero-search:focus-within { border-color: var(--primary); }
.hero-clean .hero-search input,
.hero-clean .hero-search input:focus {
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13.5px;
}
.hero-clean .hero-search .btn { min-height: 36px; padding: 0 18px; }
.hero-clean .hero-actions { margin-top: 18px; gap: 18px; }
.hero-clean .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.hero-clean .hero-stats > div { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--border); }
.hero-clean .hero-stats > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero-clean .hero-stats strong { font: 600 23px/1.1 var(--font-head); letter-spacing: -.035em; }
.hero-clean .hero-stats span { display: block; margin-top: 5px; color: var(--muted); font: 500 9.5px/1.4 var(--font-body); letter-spacing: .1em; }
.hero-showcase { position: relative; }
.hero-showcase::before {
  display: block;
  content: "";
  position: absolute;
  inset: 18px -16px -16px 18px;
  z-index: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.showcase-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.showcase-bar { padding: 10px 13px; background: var(--bg-tint); }
.showcase-product { padding: 15px; }
.showcase-cover { border-radius: 8px; }
.showcase-info { padding: 16px 2px 2px; }
.showcase-info h2 { font-size: 21px; }
.showcase-note { padding: 12px 18px; font-size: 10px; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--muted);
  font: 500 11px/1.4 var(--font-body);
}
.trust-strip span { justify-content: center; padding: 14px 16px; border-right: 1px solid var(--hair); white-space: nowrap; }
.trust-strip span:last-child { border-right: 0; }
.trust-strip .icon { color: var(--primary); }
.trust-strip + .section { padding-top: clamp(56px, 7vw, 84px); }

/* ---- Section rhythm ---- */
.section { padding: clamp(58px, 7vw, 90px) 0; }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--hair); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 2.8vw, 34px); }
.section-head p { max-width: 590px; font-size: 14px; line-height: 1.65; }
.section-kicker { color: var(--muted); font-size: 10.5px; letter-spacing: .13em; }

/* ---- Categories ---- */
.cat-grid { gap: 10px; }
.cat-card {
  min-height: 154px;
  padding: 17px;
  gap: 4px;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: transparent;
  transition: background .18s;
}
.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.cat-card:hover::after { background: var(--primary); }
.cat-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border: 0;
  border-radius: 7px;
  background: var(--primary-wash);
  color: var(--primary);
}
.cat-name { color: var(--ink); font: 600 14.5px/1.35 var(--font-head); letter-spacing: -.015em; }
.cat-count { color: var(--muted); font-size: 11px; font-weight: 400; opacity: 1; }
.cat-go {
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  transition: color .18s, border-color .18s;
}
.cat-card:hover .cat-go { transform: none; color: var(--primary); border-color: var(--primary); }

/* ---- Why section ---- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0 clamp(40px, 6vw, 88px);
  align-items: start;
}
.why-head {
  grid-row: 1 / span 3;
  padding-right: clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--hair);
}
.why-head .section-kicker { margin-bottom: 14px; }
.why-head h2 { font-size: clamp(28px, 3vw, 38px); }
.why-head p { max-width: 390px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.why-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}
.why-item:first-of-type { padding-top: 0; }
.why-item:last-of-type { padding-bottom: 0; border-bottom: 0; }
.why-num {
  grid-row: 1 / span 2;
  padding-top: 3px;
  color: var(--primary);
  font: 500 10px/1.4 var(--font-mono);
  letter-spacing: .04em;
}
.why-item h3 { margin: 0 0 5px; color: var(--ink); font: 600 17px/1.35 var(--font-head); letter-spacing: -.02em; }
.why-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---- Product cards ---- */
.product-grid { gap: 14px; }
.product-card {
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: none;
}
.product-card:hover { border-color: var(--border); box-shadow: var(--shadow-lg); }
.product-media { aspect-ratio: 16 / 9.6; border-bottom: 1px solid var(--hair); }
.product-cat {
  top: 9px;
  left: 9px;
  padding: 3px 7px;
  border: 0;
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--ink);
  font: 600 8.5px/1.5 var(--font-body);
  letter-spacing: .09em;
}
.product-sale { top: 9px; right: 9px; font-size: 9px; border-radius: 4px; }
.product-body { gap: 5px; padding: 13px 14px 13px; }
.product-body h3 { font: 600 14.5px/1.35 var(--font-head); }
.product-info { color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-meta { display: flex; align-items: center; gap: 10px; margin-top: 1px; color: var(--muted); font-size: 10.5px; }
.product-foot { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--hair); }
.product-foot .price { font: 600 14px/1.2 var(--font-head); }
.price del, .price-was { margin-left: 5px; color: var(--muted); font-size: 10.5px; }
.product-card .btn {
  min-height: 29px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;
}
.product-card .btn:hover { border-color: var(--primary); background: var(--primary-wash); color: var(--primary); }

/* ---- Blog cards ---- */
.blog-grid { gap: 12px; }
.blog-card-link { padding: 20px; }
.blog-num { font-size: 10px; }
.blog-card h3 { font-size: 16px; margin-top: 10px; }
.blog-card p { font-size: 12.5px; }
.blog-arrow { width: 28px; height: 28px; border: 1px solid var(--hair); border-radius: 6px; background: transparent; }
.blog-card:hover .blog-arrow { transform: none; background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Page heads + catalog ---- */
.page-head {
  padding: 42px 0 18px;
  border-bottom: 1px solid var(--hair);
  background: var(--surface);
}
.page-head-row { align-items: flex-end; }
.page-head h1 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -.04em; }
.page-head p { margin-top: 8px; font-size: 14px; }
.result-pill {
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-tint);
  color: var(--muted);
  font: 500 11.5px/1.4 var(--font-body);
}
.catalog-layout { grid-template-columns: 222px minmax(0, 1fr); gap: 26px; }
.filter-card { padding: 14px; border: 1px solid var(--hair); border-radius: 9px; background: var(--surface); }
.filter-title { margin-bottom: 8px; padding-bottom: 9px; font-size: 9.5px; letter-spacing: .13em; }
.filter-list { gap: 1px; }
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
.filter-link:hover { background: var(--bg-tint); color: var(--ink); }
.filter-link.is-active { background: var(--primary-wash); color: var(--primary); }
.filter-link span { color: var(--muted); font-size: 10.5px; font-weight: 500; }
.filter-link.is-active span { color: var(--primary); }
.filter-note { padding: 15px; border: 1px solid var(--hair); border-radius: 9px; background: var(--surface); }
.filter-note p { font-size: 11.5px; line-height: 1.55; }
.filter-note .link-arrow { margin-top: 8px; font-size: 11.5px; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 9px;
  border: 1px solid var(--hair);
  border-radius: 9px;
  background: var(--surface);
}
.catalog-search {
  flex: 1 1 240px;
  max-width: none;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-tint);
}
.catalog-search:focus-within { border-color: var(--primary); background: var(--surface); }
.catalog-search input,
.catalog-search input:focus {
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12.5px;
  font-weight: 400;
}
.catalog-search .icon { color: var(--muted); }
.sort-form { margin-left: auto; gap: 7px; }
.sort-form label { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.sort-form select,
.catalog-toolbar select {
  height: 36px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background-color: var(--surface);
  font-size: 12px;
  font-weight: 500;
}
.view-toggle { height: 36px; padding: 2px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-tint); }
.view-btn { width: 28px; height: 30px; border-radius: 4px; }
.page-num, .page-btn { min-width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 500; }
.page-num.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---- Product page ---- */
.product-page { padding-top: 28px; }
.product-hero { grid-template-columns: minmax(0, 1.14fr) minmax(330px, .86fr); gap: clamp(24px, 3.5vw, 44px); align-items: start; }
.product-shot {
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0a1019;
  box-shadow: var(--shadow-lg);
}
.product-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; background: #0a1019; }
.product-quick {
  gap: 8px 22px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--hair);
}
.product-quick span { gap: 5px; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.product-quick .icon { color: var(--primary); }
.buy-box {
  padding: 24px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 22px 55px -42px rgba(11, 18, 32, .45);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 0;
  border-radius: 4px;
  background: var(--primary-wash);
  color: var(--primary);
  font: 600 9.5px/1.5 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.buy-box-head h1 { margin: 10px 0 8px; font-size: clamp(27px, 2.6vw, 34px); line-height: 1.12; }
.buy-box-head p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.buy-price { margin: 18px 0 2px; padding: 14px 0; border-block: 1px solid var(--hair); }
.price-xl { font: 600 35px/1.1 var(--font-head); letter-spacing: -.04em; }
.buy-price del { color: var(--muted); font-size: 14px; font-weight: 400; }
.save-pill { padding: 2px 7px; border: 0; border-radius: 4px; background: var(--green-wash); color: var(--green); font: 600 9.5px/1.5 var(--font-body); }
.buy-form { gap: 9px; margin-top: 14px; }
.qty-row label { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.qty-control { border: 1px solid var(--border); border-radius: 7px; }
.qty-control button { width: 34px; height: 32px; background: var(--bg-tint); font-size: 16px; font-weight: 500; }
.qty-control button:hover { background: var(--hair); }
.qty-control input { width: 44px; height: 32px; border-inline: 1px solid var(--border); font-size: 12.5px; font-weight: 500; }
.buy-box .btn-lg { min-height: 44px; font-size: 14px; }
.buy-box > .btn { margin-top: 10px; }
.buy-points { gap: 7px; margin-top: 16px; }
.buy-points li { color: var(--muted); font-size: 12px; font-weight: 400; }
.buy-points .icon { color: var(--primary); }
.buy-note { margin-top: 7px; color: var(--green); font-size: 11.5px; font-weight: 500; }
.product-detail { grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; margin-top: 28px; }
.detail-main { gap: 14px; }
.detail-block { padding: 24px; border: 1px solid var(--hair); border-radius: 11px; background: var(--surface); }
.detail-block h2 { margin-bottom: 12px; font-size: 21px; }
.detail-card { padding: 18px; border: 1px solid var(--hair); border-radius: 10px; background: var(--surface); }
.detail-card h3 { margin-bottom: 10px; font-size: 13.5px; }
.detail-card p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.spec-list > div { padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 11.5px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { color: var(--ink); font-weight: 500; }
.count-pill { min-width: 22px; height: 22px; border: 1px solid var(--hair); background: var(--bg-tint); font-size: 11px; font-weight: 500; vertical-align: 2px; }
.review-form { padding: 15px; border: 1px solid var(--hair); border-radius: 8px; background: var(--bg-tint); }
.review-form label { font-size: 12px; font-weight: 500; }
.review { padding: 14px 0; border-top: 1px solid var(--hair); }
.review > p { font-size: 12.5px; }
.verified-pill { border: 0; background: var(--green-wash); color: var(--green); font-size: 9.5px; }
.check-list li { font-size: 12.5px; }
.related-block { margin-top: 42px; }

/* ---- FAQ / CTA / footer refinements ---- */
.faq-wrap { gap: 46px; }
.faq-item { margin-bottom: 8px; border: 1px solid var(--hair); border-radius: 8px; box-shadow: none; }
.faq-item summary { padding: 14px 16px; font: 500 14.5px/1.5 var(--font-head); }
.faq-item p { padding: 0 16px 15px; font-size: 13px; }
.cta-card { padding: 38px 40px; border-radius: 12px; box-shadow: none; }
.site-foot { padding-top: 48px; }
.foot-top { grid-template-columns: 1.4fr repeat(3, 1fr); }

/* ---- Responsive corrections ---- */
@media (max-width: 1240px) {
  .head-search { display: none; }
}
@media (max-width: 1080px) {
  .hero-clean h1 { font-size: clamp(38px, 5vw, 50px); }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-head { grid-row: auto; padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .why-item:first-of-type { padding-top: 20px; }
  .product-hero { grid-template-columns: minmax(0, 1fr); }
  .product-detail { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 860px) {
  .head-row { gap: 10px; }
  .head-login, .head-register { display: none; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .trust-strip span:nth-child(2) { border-right: 0; }
  .trust-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .catalog-toolbar { flex-wrap: wrap; }
  .catalog-search { flex-basis: 100%; }
  .sort-form { margin-left: 0; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-clean .hero-copy { padding-left: 16px; }
  .hero-clean h1 { font-size: clamp(33px, 9.5vw, 42px); }
  .hero-accent { white-space: normal; }
  .hero-clean .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hero-clean .hero-stats > div:nth-child(2) { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero-showcase::before { display: none; }
  .trust-strip { font-size: 10px; }
  .trust-strip span { padding: 12px 10px; white-space: normal; }
  .why-grid { gap: 22px; }
  .product-grid { gap: 9px; }
  .buy-box { padding: 18px; }
  .catalog-layout { gap: 16px; }
  .filter-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-title, .filter-note { grid-column: 1 / -1; }
  .catalog-toolbar { padding: 7px; }
  .sort-form { flex: 1; }
  .sort-form select { width: 100%; }
  .view-toggle { display: none; }
  .product-shot { padding: 4px; }
  .detail-block { padding: 18px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

/* Trust rail: normal flow so the icons never clip on any theme */
.trust-strip {
  margin-top: 0;
  overflow: visible;
  border-inline: 0;
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--surface);
}
.trust-strip span { min-height: 44px; }

/* ---- Auth pages ---- */
.auth-section { padding: 44px 0 76px; }
.auth-grid { max-width: 1080px; gap: 20px; align-items: stretch; }
.auth-card { padding: 32px; border: 1px solid var(--hair); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.auth-head h1 { margin: 12px 0 8px; font-size: clamp(27px, 3vw, 35px); }
.auth-head p { color: var(--muted); font-size: 13.5px; }
.auth-form { gap: 14px; margin-top: 22px; }
.auth-form .field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 11.5px; font-weight: 600; }
.auth-form input[type="text"], .auth-form input[type="password"], .auth-form input[type="email"] { height: 42px; padding: 0 12px; font-size: 13px; }
.auth-help { margin-top: 14px; padding: 12px 13px; border: 1px solid var(--hair); border-radius: 7px; background: var(--bg-tint); }
.auth-help a { font-weight: 500; }
.auth-switch { font-size: 12.5px; }
.auth-art {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--ink);
  box-shadow: none;
}
.auth-art::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid var(--hair);
  border-radius: 8px;
  pointer-events: none;
}
.auth-art-inner { z-index: 1; padding: 10px; }
.auth-art h2 { margin: 14px 0 9px; color: var(--ink); font-size: clamp(27px, 2.8vw, 35px); line-height: 1.1; }
.auth-art p { max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.auth-sticker {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--primary-wash);
  color: var(--primary);
  box-shadow: none;
  font: 600 9px/1.5 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-art-cards { gap: 8px; margin-top: 24px; }
.mini-card {
  max-width: 245px;
  padding: 10px 12px;
  gap: 9px;
  border: 1px solid var(--hair);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.mini-card-offset { margin-left: 22px; }
.mini-icon { width: 30px; height: 30px; border: 1px solid var(--hair); border-radius: 6px; background: var(--bg-tint); color: var(--primary); }
.mini-card strong { font-size: 11.5px; font-weight: 500; }
.mini-card small { color: var(--muted); font-size: 9.5px; font-weight: 400; }
.auth-shape { display: none; }

/* ---- FAQ page layout ---- */
.faq-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
  max-width: none;
  padding-top: 34px;
  padding-bottom: 76px;
}
.faq-list-wide { min-width: 0; }
.faq-side { position: sticky; top: calc(var(--head-h) + 20px); }
.faq-side .detail-card { padding: 20px; }
.faq-side .detail-card h2 { margin: 10px 0 6px; font-size: 16px; }
.faq-side .detail-card p { margin-bottom: 12px; font-size: 12px; }
.faq-side .link-arrow { margin-top: 10px; font-size: 11.5px; }

/* ---- Imported editorial class names ---- */
.legacy-content .page_title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  font: 600 21px/1.3 var(--font-head);
  letter-spacing: -.025em;
}
.legacy-content .text_title,
.legacy-content .section_header h2,
.legacy-content .section_header h3 {
  margin: 1.5em 0 .5em;
  color: var(--ink);
  font: 600 clamp(21px, 2.2vw, 27px)/1.3 var(--font-head);
  letter-spacing: -.03em;
}
.legacy-content .section_header:first-child h2,
.legacy-content .section_header:first-child h3 { margin-top: 0; }
.legacy-content .text_text { margin: 0 0 1.15em; color: var(--muted); font-size: 14.5px; line-height: 1.78; }
.legacy-content .sub_text { font-size: 14.5px; }
.legacy-content .border_bottom { border-bottom: 1px solid var(--hair); }
.legacy-content .content_section { margin-bottom: 2.2em; }
.legacy-content .content_section.alt_bg {
  margin-inline: 0;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--bg-tint);
}
.legacy-content .section_header { margin-bottom: 10px; }
.legacy-content .about_dual_grid,
.legacy-content .about_dual-grid { gap: 14px; margin: 1.2em 0; }
.legacy-content .about_card { padding: 18px; border-radius: 9px; }
.legacy-content .about_card h3 { margin: 0 0 8px; font: 600 16px/1.35 var(--font-head); letter-spacing: -.02em; }
.legacy-content .about_card p { margin-bottom: 8px; font-size: 13.5px; }
.legacy-content .about_card ul { margin-bottom: 0; font-size: 13.5px; }
.legacy-content .values_grid { gap: 10px; margin: 1.2em 0; }
.legacy-content .value_item { padding: 17px; border: 1px solid var(--hair); border-radius: 9px; background: var(--surface); }
.legacy-content .value_icon { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 6px; background: var(--primary-wash); color: var(--primary); }
.legacy-content .glass_card { padding: 18px; border: 1px solid var(--hair); border-radius: 9px; background: var(--surface); }
.legacy-content .verdict_box { margin: 1.2em 0; padding: 16px 18px; border: 1px solid var(--border); border-left: 2px solid var(--primary); border-radius: 7px; background: var(--primary-wash); }
.legacy-content .verdict_box p { margin: 0; color: var(--ink); font-size: 13.5px; }
.legacy-content .pros_cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legacy-content .cta_row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 1.4em 0; }
.legacy-content .cta_btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--primary); border-radius: 6px; background: var(--primary); color: #fff !important; font-size: 12.5px; font-weight: 500; text-decoration: none; }
.legacy-content .cta_btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--border); }
.legacy-content .compare_table th { background: var(--bg-tint); }
.legacy-content .code_block { padding: 14px; border: 1px solid var(--hair); border-radius: 8px; background: var(--bg-tint); font: 500 12.5px/1.6 var(--font-mono); }
.legacy-content .theme_btn { appearance: none; }

@media (max-width: 860px) {
  .auth-grid { grid-template-columns: 1fr; max-width: 560px; }
  .auth-art { display: none; }
  .faq-page { grid-template-columns: 1fr; gap: 22px; }
  .faq-side { position: static; }
  .legacy-content .pros_cons { grid-template-columns: 1fr; }
}

/* Flush sections were inheriting the full .section padding again */
.section-flush { padding-top: 34px; }

/* ---- Small screens: stack the hero instead of squeezing it ---- */
@media (max-width: 860px) {
  .hero-clean .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-clean .hero-copy { max-width: none; }
  .hero-showcase { width: 100%; max-width: 560px; }
  .section-flush { padding-top: 28px; }
}
@media (max-width: 640px) {
  .hero-clean { padding: 38px 0 44px; }
  .hero-clean .hero-copy { padding-left: 14px; }
  .hero-clean h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.06; }
  .hero-clean .hero-sub { margin: 16px 0 20px; font-size: 13.5px; line-height: 1.65; }
  .hero-clean .hero-search { height: 44px; }
  .hero-clean .hero-search .btn { min-height: 32px; padding: 0 14px; }
  .hero-clean .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; gap: 0; margin-top: 26px; }
  .hero-clean .hero-stats > div { padding-right: 10px; margin-right: 10px; }
  .hero-clean .hero-stats > div:nth-child(2) { padding-right: 10px; margin-right: 10px; border-right: 1px solid var(--border); }
  .hero-clean .hero-stats strong { font-size: 19px; }
  .hero-clean .hero-stats span { font-size: 8px; letter-spacing: .07em; }
  .hero-showcase { max-width: 100%; }
  .showcase-info { padding: 12px 2px 2px; }
  .showcase-info h2 { font-size: 18px; }
  .section-flush { padding-top: 22px; }
}

.faq-page { padding-top: 0; }

/* ---- Catalog on phones: one column, chips instead of a sidebar ---- */
@media (max-width: 860px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .catalog-side { position: static; width: 100%; }
  .filter-card { display: block; padding: 11px; }
  .filter-title { margin: 0 0 8px; padding: 0; border: 0; font-size: 9px; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-link {
    flex: 0 0 auto;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--hair);
    border-radius: 999px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  .filter-link span { font-size: 9.5px; }
  .filter-note { display: none; }
  .catalog-main { min-width: 0; width: 100%; }
  .catalog-toolbar { flex-wrap: wrap; gap: 8px; padding: 8px; }
  .catalog-search { flex: 1 1 100%; max-width: none; }
  .sort-form { flex: 1 1 150px; min-width: 0; margin-left: 0; }
  .sort-form label { display: none; }
  .sort-form select { width: 100%; }
  .product-grid-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-grid-catalog.is-list .product-card { grid-template-columns: 116px minmax(0, 1fr); }
  .product-grid-catalog.is-list .product-media { min-height: 112px; }
}
@media (max-width: 520px) {
  .product-grid-catalog { grid-template-columns: minmax(0, 1fr); }
  .product-grid-catalog.is-list .product-card { grid-template-columns: 110px minmax(0, 1fr); }
  .product-grid-catalog.is-list .product-body { padding: 12px; }
}

/* Keep card descriptions on catalog cards on phones */
.product-grid-catalog .product-info { display: -webkit-box; }
.head-search input { text-overflow: ellipsis; }

/* Dark theme: primary surfaces need a deeper blue than primary text */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .head-register {
  background: #2f63ff;
  border-color: #2f63ff;
  color: #fff;
}
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .head-register:hover { background: #4777ff; border-color: #4777ff; }

/* Review stars + editorial grid */
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--border); }
.stars .icon { color: var(--border); }
.stars .is-filled { fill: currentColor; color: #e0a21b; }
.review-grid { align-items: start; }

/* Keep the 404 page in the same visual system */
.error-page { padding: 64px 0 80px; border-bottom: 1px solid var(--hair); background: var(--bg-tint); }
.error-blob {
  right: 4%;
  top: 4%;
  width: 68%;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--primary-wash);
  box-shadow: none;
  transform: none;
}
.error-art > span { color: var(--primary); }

.error-blob { inset: 0; width: auto; height: 100%; aspect-ratio: auto; border-radius: 20px; }

/* =========================================================================
   Hunter Store — v12 editorial storefront
   A calmer, sharper visual system: stronger type, layered surfaces,
   generous spacing and a small set of deliberate accents.
   ========================================================================= */

:root {
  --bg: #f5f7fb;
  --bg-tint: #edf1f7;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink: #080f1e;
  --muted: #5b6678;
  --border: #d4dce8;
  --hair: #e4eaf2;
  --primary: #004eff;
  --primary-deep: #003ddb;
  --primary-wash: #edf2ff;
  --green: #087a57;
  --green-wash: #e7f6f0;
  --shadow: 0 1px 2px rgba(8, 15, 30, .05);
  --shadow-sm: 0 1px 2px rgba(8, 15, 30, .05);
  --shadow-lg: 0 28px 70px -42px rgba(8, 15, 30, .45);
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 9px;
  --head-h: 70px;
}
[data-theme="dark"] {
  --bg: #060a11;
  --bg-tint: #0b111b;
  --surface: #101824;
  --surface-raised: #141e2d;
  --ink: #edf2fa;
  --muted: #9ba8bb;
  --border: #263449;
  --hair: #1c2839;
  --primary: #6d97ff;
  --primary-deep: #8aacff;
  --primary-wash: #132140;
  --shadow: 0 1px 0 rgba(255, 255, 255, .035);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .035);
  --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, .85);
}

body { font-size: 15.5px; }
h1, h2, h3, h4 { font-weight: 600; }

.btn {
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -.005em;
  box-shadow: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 48px; padding: 0 24px; font-size: 14px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 12px 28px -16px rgba(0, 78, 255, .85); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #1a2638; border-color: #1a2638; color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: #071020; }
.btn-white:hover { background: #eef3ff; border-color: #eef3ff; color: #071020; }
.btn-outline-light { border-color: rgba(255, 255, 255, .34); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* Sticky, quieter header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--hair);
}
.head-row { height: var(--head-h); min-height: var(--head-h); }
.brand-word { font-size: 16px; }
.nav-link { font-size: 13px; padding: 8px 10px; }
.nav-link.is-active { position: relative; background: transparent; color: var(--ink); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.head-search { height: 36px; border-radius: 9px; background: var(--bg-tint); border-color: transparent; }
.head-search:focus-within { border-color: var(--border); background: var(--surface); }
.icon-btn { border-radius: 8px; }

/* ---------- Home hero ---------- */
.hp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0 clamp(54px, 6vw, 78px);
  border-bottom: 1px solid var(--hair);
  background: var(--bg);
}
.hp-hero::before {
  content: "";
  position: absolute;
  right: -220px;
  top: -280px;
  width: 760px;
  height: 760px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hp-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 440px;
  height: 440px;
  border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(38px, 5vw, 70px);
}
.hp-copy { min-width: 0; }
.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--muted);
  font: 600 9.5px/1.3 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hp-pulse {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 14%, transparent);
}
.hp-copy h1 {
  margin: 24px 0 0;
  font-size: clamp(48px, 4.6vw, 66px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.06em;
}
.hp-copy h1 span { display: block; color: var(--ink); }
.hp-copy h1 em { display: block; margin-top: 3px; font-style: normal; color: var(--primary); white-space: nowrap; }
.hp-sub {
  max-width: 520px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.hp-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  max-width: 540px;
  height: 58px;
  margin-top: 29px;
  padding: 6px 6px 6px 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 22px 55px -40px rgba(8, 15, 30, .55);
  transition: border-color .18s, box-shadow .18s;
}
.hp-search:focus-within { border-color: var(--primary); box-shadow: 0 22px 55px -36px rgba(0, 78, 255, .45); }
.hp-search-icon { color: var(--muted); }
.hp-search input,
.hp-search input:hover,
.hp-search input:focus {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13.5px;
}
.hp-search .btn { min-height: 44px; padding: 0 20px; flex: none; }
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 20px; }
.hp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: color .18s, border-color .18s;
}
.hp-text-link:hover { color: var(--primary); border-color: var(--primary); }
.hp-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hp-proof > div { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--hair); }
.hp-proof > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hp-proof strong { display: block; color: var(--ink); font: 600 26px/1 var(--font-head); letter-spacing: -.045em; }
.hp-proof span { display: block; margin-top: 7px; color: var(--muted); font: 600 9px/1.3 var(--font-body); letter-spacing: .11em; text-transform: uppercase; }

.hp-stage { position: relative; min-width: 0; padding: 10px 0; }
.hp-stage-back {
  position: absolute;
  inset: 7% 1% 5% 9%;
  z-index: 0;
  border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--border));
  border-radius: 26px;
  background: var(--primary-wash);
  transform: rotate(-3deg);
}
.hp-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 45px 90px -52px rgba(8, 15, 30, .6);
}
.hp-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  background: var(--bg-tint);
}
.hp-window-dots { display: flex; gap: 5px; }
.hp-window-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.hp-window-bar small { flex: 1; color: var(--muted); font: 500 10px/1 var(--font-mono); text-align: center; }
.hp-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font: 600 8px/1.4 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hp-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hp-product { display: block; }
.hp-shot {
  margin: 13px 13px 0;
  overflow: hidden;
  border-radius: 12px;
  background: #080e18;
}
.hp-shot img { display: block; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }
.hp-product-body { padding: 19px 21px 21px; }
.hp-product-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.hp-product-cat {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--primary-wash);
  color: var(--primary);
  font: 600 8.5px/1.5 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hp-product-body h2 { margin: 10px 0 6px; font-size: clamp(21px, 2vw, 27px); line-height: 1.15; letter-spacing: -.035em; }
.hp-product-body p { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hp-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}
.hp-product-foot .price { font: 600 20px/1.2 var(--font-head); letter-spacing: -.03em; }
.hp-view {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--primary-wash);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.hp-window-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--hair);
  background: var(--bg-tint);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}
.hp-window-foot span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.hp-window-foot .icon { color: var(--primary); }
.hp-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 18px 40px -24px rgba(8, 15, 30, .5);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.hp-float .icon { color: var(--primary); }
.hp-float-a { top: -6px; right: -8px; transform: rotate(2deg); }
.hp-float-b { bottom: 42px; left: -18px; transform: rotate(-2deg); }

.hp-trust-wrap { position: relative; z-index: 3; margin-top: -25px; }
.hp-trust-wrap .trust-strip { border-radius: 13px; box-shadow: 0 18px 45px -38px rgba(8, 15, 30, .5); }

/* ---------- Home section rhythm ---------- */
.hp-section { padding: clamp(64px, 7vw, 98px) 0; }
.hp-tint { background: var(--bg-tint); border-block: 1px solid var(--hair); }
.hp-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.hp-sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 600 9.5px/1.4 var(--font-body);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hp-sec-label b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
  border-radius: 4px;
  color: var(--primary);
  font: 600 9px/1 var(--font-mono);
}
.hp-sec-head h2 {
  max-width: 680px;
  margin: 12px 0 9px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.04;
  letter-spacing: -.048em;
}
.hp-sec-head p { max-width: 580px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hp-sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.hp-sec-link:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Category bento ---------- */
.hp-cat-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 12px; }
.hp-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--surface);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.hp-cat:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-lg); }
.hp-cat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hp-cat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--primary-wash);
  color: var(--primary);
}
.hp-cat-num { color: var(--muted); font: 500 10px/1 var(--font-mono); letter-spacing: .06em; }
.hp-cat-name { margin-top: auto; padding-top: 32px; color: var(--ink); font: 600 17px/1.25 var(--font-head); letter-spacing: -.025em; }
.hp-cat-count { margin-top: 5px; color: var(--muted); font-size: 11px; }
.hp-cat-go {
  position: absolute;
  right: 17px; bottom: 17px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  color: var(--muted);
  transition: background .2s, border-color .2s, color .2s;
}
.hp-cat:hover .hp-cat-go { background: var(--primary); border-color: var(--primary); color: #fff; }
.hp-cat.is-main {
  border-color: #004eff;
  background: #004eff;
  color: #fff;
  box-shadow: 0 24px 55px -34px rgba(0, 78, 255, .9);
}
.hp-cat.is-main .hp-cat-icon { background: rgba(255, 255, 255, .13); color: #fff; }
.hp-cat.is-main .hp-cat-num,
.hp-cat.is-main .hp-cat-count { color: rgba(255, 255, 255, .62); }
.hp-cat.is-main .hp-cat-name { color: #fff; font-size: 23px; }
.hp-cat.is-main .hp-cat-go { border-color: rgba(255, 255, 255, .28); color: #fff; }
.hp-cat.is-main:hover .hp-cat-go { background: #fff; border-color: #fff; color: #004eff; }
.hp-cat.is-main::after {
  content: "";
  position: absolute;
  right: -64px; bottom: -88px;
  width: 210px; height: 210px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

/* ---------- Product cards ---------- */
.hp-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-page .product-card {
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--surface);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.home-page .product-card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-lg); }
.home-page .product-media { aspect-ratio: 16 / 10.2; border-bottom: 1px solid var(--hair); background: #080e18; }
.home-page .product-media img { transition: transform .45s var(--ease); }
.home-page .product-card:hover .product-media img { transform: scale(1.035); }
.home-page .product-cat {
  top: 10px; left: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--ink);
  font-size: 8px;
  backdrop-filter: blur(8px);
}
.home-page .product-body { gap: 6px; padding: 15px 16px 16px; }
.home-page .product-body h3 { font-size: 15.5px; letter-spacing: -.025em; }
.home-page .product-info { font-size: 12px; line-height: 1.55; }
.home-page .product-meta { color: var(--muted); font-size: 10px; }
.home-page .product-foot { margin-top: 8px; padding-top: 12px; }
.home-page .product-foot .price { font-size: 15px; }
.home-page .product-card .btn {
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
}
.home-page .product-card .btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ---------- Dark process band ---------- */
.hp-process {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0;
  background: #081120;
  color: #f4f7fc;
}
.hp-process::before {
  content: "";
  position: absolute;
  right: -180px; top: -240px;
  width: 620px; height: 620px;
  border: 1px solid rgba(109, 151, 255, .18);
  border-radius: 50%;
  pointer-events: none;
}
.hp-process::after {
  content: "";
  position: absolute;
  left: -220px; bottom: -320px;
  width: 560px; height: 560px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  pointer-events: none;
}
.hp-process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.hp-process-kicker {
  color: #8fb0ff;
  font: 600 9.5px/1.4 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hp-process-head h2 {
  max-width: 430px;
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.hp-process-head p { max-width: 400px; color: rgba(232, 239, 250, .64); font-size: 14px; line-height: 1.75; }
.hp-process-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.hp-process-link:hover { border-color: #fff; }
.hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.hp-step {
  min-height: 240px;
  padding: 23px 21px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}
.hp-step-num { display: block; margin-bottom: 48px; color: #8fb0ff; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; }
.hp-step h3 { color: #fff; font-size: 18px; line-height: 1.25; letter-spacing: -.025em; }
.hp-step p { margin-top: 9px; color: rgba(232, 239, 250, .58); font-size: 12.5px; line-height: 1.7; }

/* ---------- Guides and FAQ ---------- */
.home-page .blog-grid { gap: 14px; }
.home-page .blog-card { border-radius: 16px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.home-page .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.home-page .blog-card-link { padding: 26px; }
.home-page .blog-card h3 { margin-top: 14px; font-size: 19px; line-height: 1.3; letter-spacing: -.03em; }
.home-page .blog-card p { margin-top: 8px; font-size: 13px; line-height: 1.65; }
.home-page .blog-arrow { border-radius: 50%; }
.home-page .faq-wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
.hp-faq-intro h2 { margin: 14px 0 12px; font-size: clamp(34px, 3.8vw, 48px); letter-spacing: -.045em; }
.hp-faq-intro p { margin-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.home-page .faq-item { border-radius: 12px; background: var(--surface); }
.home-page .faq-item summary { padding: 17px 19px; font-size: 15px; }
.home-page .faq-item p { padding: 0 19px 17px; font-size: 13.5px; line-height: 1.7; }

/* ---------- Closing CTA ---------- */
.hp-cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.hp-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px);
  border-radius: 24px;
  background: #004eff;
  color: #fff;
  box-shadow: 0 36px 80px -50px rgba(0, 78, 255, .9);
}
.hp-cta-copy { position: relative; z-index: 1; max-width: 640px; }
.hp-cta-kicker { color: rgba(255, 255, 255, .6); font: 600 9px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.hp-cta-copy h2 { max-width: 600px; margin: 13px 0 10px; color: #fff; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.01; letter-spacing: -.055em; }
.hp-cta-copy p { max-width: 540px; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.7; }
.hp-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.hp-cta-mark {
  position: absolute;
  right: 32px; bottom: -96px;
  color: rgba(255, 255, 255, .07);
  font: 700 300px/1 var(--font-head);
  letter-spacing: -.08em;
  pointer-events: none;
  user-select: none;
}

/* ---------- Shared page + catalog polish ---------- */
.page-head { padding: 54px 0 26px; border-bottom: 1px solid var(--hair); }
.page-head h1 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.05em; }
.page-head p { max-width: 640px; margin-top: 11px; font-size: 14.5px; line-height: 1.7; }
.page-head .eyebrow { margin-bottom: 13px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.catalog-layout { gap: 30px; }
.filter-card { border-radius: 14px; padding: 18px; }
.filter-title { font-size: 10px; letter-spacing: .12em; }
.filter-link { border-radius: 7px; }
.catalog-toolbar { border-radius: 12px; }
.catalog-search { border-radius: 8px; }
.product-grid-catalog { gap: 16px; }
.index-grid { gap: 12px; }
.index-card { border-radius: 14px; }
.index-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Product detail needs the same generous surface language */
.product-page { padding-top: 34px; }
.product-shot { padding: 9px; border-radius: 20px; box-shadow: 0 34px 75px -52px rgba(8, 15, 30, .7); }
.product-shot img { border-radius: 12px; }
.buy-box { padding: 28px; border: 1px solid var(--border); border-top: 2px solid var(--primary); border-radius: 20px; box-shadow: 0 30px 65px -48px rgba(8, 15, 30, .5); }
.buy-box-head h1 { font-size: clamp(29px, 2.9vw, 38px); letter-spacing: -.04em; }
.buy-price { margin: 20px 0 2px; padding: 17px 0; }
.price-xl { font-size: 38px; }
.buy-form { gap: 10px; margin-top: 16px; }
.qty-control { border-radius: 9px; }
.buy-box .btn-lg { min-height: 48px; font-size: 14px; }
.buy-box > .btn { border-radius: 10px; }
.buy-points { margin-top: 18px; }
.detail-block { padding: 28px; border-radius: 16px; }
.detail-block h2 { font-size: 23px; letter-spacing: -.03em; }
.detail-card { border-radius: 14px; }
.detail-side { position: sticky; top: calc(var(--head-h) + 18px); }
.related-block { margin-top: 48px; }

/* Footer feels intentional rather than an afterthought */
.site-foot { padding-top: 58px; }
.foot-top { padding-bottom: 44px; }
.foot-brand .brand-word { font-size: 18px; }
.foot-bottom { padding-top: 22px; }

/* ---------- Home responsive ---------- */
@media (max-width: 1120px) {
  .hp-copy h1 { font-size: clamp(46px, 5.4vw, 62px); }
  .hp-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-cat.is-main { grid-column: span 2; }
  .hp-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-process-grid { grid-template-columns: 1fr; gap: 34px; }
  .hp-process-head p { max-width: 560px; }
  .hp-steps { max-width: 900px; }
}
@media (max-width: 900px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hp-copy h1 { max-width: 720px; font-size: clamp(46px, 7.4vw, 64px); }
  .hp-sub { max-width: 620px; }
  .hp-stage { max-width: 600px; width: 100%; margin: 0 auto; }
  .hp-sec-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hp-sec-head h2 { margin-top: 10px; }
  .hp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .hp-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .hp-hero { padding: 42px 0 58px; }
  .hp-hero::before, .hp-hero::after { display: none; }
  .hp-copy h1 { font-size: clamp(29px, 9.3vw, 48px); letter-spacing: -.055em; }
  .hp-sub { margin-top: 18px; font-size: 14px; }
  .hp-search { height: 52px; margin-top: 23px; padding-left: 13px; }
  .hp-search .btn { min-height: 38px; padding: 0 14px; }
  .hp-search input, .hp-search input:focus { height: 38px; font-size: 12.5px; }
  .hp-actions { gap: 14px; }
  .hp-actions .btn-lg { min-height: 44px; }
  .hp-proof { margin-top: 28px; padding-top: 18px; }
  .hp-proof strong { font-size: 22px; }
  .hp-proof span { font-size: 8px; }
  .hp-float { display: none; }
  .hp-window-bar small { font-size: 9px; }
  .hp-window-foot { padding: 11px 13px; font-size: 8.5px; }
  .hp-window-foot span:nth-child(3) { display: none; }
  .hp-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-cat { min-height: 168px; padding: 17px; }
  .hp-cat.is-main { grid-column: span 2; min-height: 180px; }
  .hp-cat.is-main .hp-cat-name { font-size: 22px; }
  .hp-cat-name { padding-top: 24px; font-size: 15px; }
  .hp-cat-go { right: 13px; bottom: 13px; width: 28px; height: 28px; }
  .hp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-page .product-body { padding: 12px 12px 13px; }
  .home-page .product-body h3 { font-size: 14px; }
  .home-page .product-info { font-size: 11.5px; -webkit-line-clamp: 2; }
  .home-page .product-foot { gap: 6px; }
  .home-page .product-foot .price { font-size: 13.5px; }
  .home-page .product-card .btn { padding: 5px 8px; font-size: 10px; }
  .hp-process { padding: 54px 0; }
  .hp-steps { grid-template-columns: 1fr; gap: 9px; }
  .hp-step { min-height: 0; padding: 20px; }
  .hp-step-num { margin-bottom: 22px; }
  .hp-process-head h2 { font-size: clamp(32px, 9vw, 42px); }
  .home-page .faq-item summary { padding: 15px 16px; font-size: 14px; }
  .home-page .faq-item p { padding: 0 16px 15px; font-size: 13px; }
  .hp-cta { padding-bottom: 60px; }
  .hp-cta-card { padding: 30px 24px; border-radius: 18px; gap: 24px; }
  .hp-cta-copy h2 { font-size: clamp(31px, 8.5vw, 42px); }
  .hp-cta-mark { display: none; }
  .hp-cta-actions { width: 100%; }
  .hp-cta-actions .btn { width: 100%; }
  .page-head { padding-top: 36px; }
  .page-head h1 { font-size: clamp(32px, 8vw, 42px); }
  .page-head-row { display: block; }
  .product-page { padding-top: 22px; }
  .buy-box { padding: 20px; }
  .detail-block { padding: 20px; }
}
@media (max-width: 360px) {
  .hp-product-grid { grid-template-columns: 1fr; }
  .hp-cat-grid { gap: 8px; }
  .hp-cat-name { font-size: 14px; }
  .hp-search .btn { padding: 0 12px; font-size: 12px; }
  .hp-proof { gap: 0; }
  .hp-proof > div { padding-right: 10px; margin-right: 10px; }
}

/* ==========================================================================
   v13 — Hunter Store: warm light palette, permanent dark header,
   editorial hero carousel and members store workspace
   ========================================================================== */

:root {
  --bg: #f7f7f2;
  --bg-tint: #eef0e8;
  --surface: #ffffff;
  --ink: #0a1120;
  --muted: #596577;
  --border: #d5dce7;
  --hair: #e5e9e1;
  --primary: #004eff;
  --primary-deep: #0040cf;
  --primary-wash: #e9efff;
  --green: #07875f;
  --green-wash: #e5f6ee;
  --footer-bg: #07101d;
  --footer-ink: #f5f8ff;
  --shadow: 0 1px 2px rgba(9, 18, 32, .05);
  --shadow-sm: 0 1px 2px rgba(9, 18, 32, .05);
  --shadow-lg: 0 28px 64px -36px rgba(9, 18, 32, .34);
  --shadow-ink: rgba(9, 18, 32, .16);
  --head-bg: #07101d;
  --head-ink: #f5f8ff;
  --head-muted: #9dabc0;
  --head-line: rgba(255, 255, 255, .11);
  --head-hover: rgba(255, 255, 255, .075);
}

[data-theme="dark"] {
  --bg: #080c14;
  --bg-tint: #0d131e;
  --surface: #111927;
  --ink: #eef3fb;
  --muted: #9aa8bb;
  --border: #28354a;
  --hair: #1c2737;
  --primary: #5480ff;
  --primary-deep: #7398ff;
  --primary-wash: #142347;
  --green: #3dd6a0;
  --green-wash: #0d2a21;
  --footer-bg: #050a12;
  --footer-ink: #f2f6fd;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 70px -34px rgba(0, 0, 0, .8);
  --shadow-ink: rgba(0, 0, 0, .45);
  --head-bg: #040910;
  --head-ink: #f4f8ff;
  --head-muted: #93a3b9;
  --head-line: rgba(255, 255, 255, .1);
  --head-hover: rgba(255, 255, 255, .08);
}

body {
  background: var(--bg);
  color: var(--ink);
}

/* ---- Buttons: quiet, legible states in both themes ---- */
.btn {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  box-shadow: none;
  font: 650 13.5px/1 var(--font-body);
  letter-spacing: -.005em;
  transition: background-color .18s, border-color .18s, color .18s, transform .16s;
}
.btn:hover { transform: translateY(-1px); box-shadow: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; }
.btn-dark { background: #0d1727; border-color: #0d1727; color: #fff; }
.btn-dark:hover { background: #1a2942; border-color: #1a2942; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-tint); border-color: var(--muted); color: var(--ink); }
.btn-white { background: #fff; border-color: #fff; color: #0a1120; }
.btn-white:hover { background: #e9efff; border-color: #e9efff; color: #0a1120; }
[data-theme="dark"] .btn-primary { background: #4f7dff; border-color: #4f7dff; color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: #6d94ff; border-color: #6d94ff; color: #06101f; }
[data-theme="dark"] .btn-dark { background: #e9effa; border-color: #e9effa; color: #08101c; }
[data-theme="dark"] .btn-dark:hover { background: #f4f7ff; border-color: #f4f7ff; color: #08101c; }
[data-theme="dark"] .btn-ghost { border-color: #33425a; color: #e8eef9; }
[data-theme="dark"] .btn-ghost:hover { background: #192438; border-color: #4a5f80; color: #fff; }
[data-theme="dark"] .btn-white { background: #f4f7ff; border-color: #f4f7ff; color: #08101c; }
[data-theme="dark"] .btn-white:hover { background: #fff; border-color: #fff; color: #08101c; }

.icon-btn { color: var(--ink); }
.icon-btn:hover { background: var(--bg-tint); color: var(--ink); }

/* ---- Header: always dark, regardless of theme ---- */
.announcement {
  background: #004eff;
  color: #fff;
  border: 0;
}
.announcement a { color: #fff; }

.site-head {
  position: relative;
  z-index: 40;
  background: var(--head-bg);
  color: var(--head-ink);
  border: 0;
  border-bottom: 1px solid var(--head-line);
  box-shadow: none;
  backdrop-filter: none;
}
.site-head .brand-word { color: var(--head-ink); }
.site-head .brand-sub { color: var(--head-muted); }
.site-head .main-nav .nav-link { color: var(--head-muted); }
.site-head .main-nav .nav-link:hover,
.site-head .main-nav .nav-link.is-active {
  background: var(--head-hover);
  color: #fff;
}
.site-head .nav-link .icon { color: var(--head-muted); }
.site-head .head-search {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .13);
}
.site-head .head-search:hover { border-color: rgba(255, 255, 255, .24); }
.site-head .head-search:focus-within {
  background: rgba(255, 255, 255, .1);
  border-color: #7ea2ff;
}
.site-head .head-search input { color: #fff; }
.site-head .head-search input::placeholder { color: var(--head-muted); }
.site-head .head-search-icon { color: var(--head-muted); }
.site-head .icon-btn { color: var(--head-ink); }
.site-head .icon-btn:hover { background: var(--head-hover); color: #fff; }
.site-head .head-login {
  color: var(--head-ink);
  border-color: rgba(255, 255, 255, .24);
  background: transparent;
}
.site-head .head-login:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: var(--head-hover);
}
.site-head .head-register {
  background: #fff;
  border-color: #fff;
  color: #07101d;
}
.site-head .head-register:hover { background: #dce6ff; border-color: #dce6ff; color: #07101d; }
.site-head .account-trigger { color: var(--head-ink); }
.site-head .account-trigger .icon { color: var(--head-muted); }
.site-head .lang-short { color: var(--head-ink); }
.site-head .cart-count {
  background: #fff;
  border-color: var(--head-bg);
  color: #07101d;
}
.site-head .nav-menu {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.site-head .nav-menu a { color: var(--ink); }
.site-head .nav-menu a:hover { background: var(--bg-tint); color: var(--primary); }
.site-head .nav-menu small { color: var(--muted); }
.site-head .pop-panel {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.site-head .pop-label { color: var(--muted); }
.site-head .pop-link { color: var(--ink); }
.site-head .pop-link:hover { background: var(--bg-tint); color: var(--primary); }

/* ---- Hero carousel ---- */
.hero-carousel {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 5.6vw, 78px) 0 clamp(34px, 4.2vw, 56px);
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}
.hero-orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hero-orbit-a { width: 760px; height: 760px; right: -320px; top: -390px; }
.hero-orbit-b { width: 420px; height: 420px; right: -150px; top: -210px; border-color: color-mix(in srgb, var(--primary) 9%, transparent); }
.hero-carousel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 5vw, 74px);
}
.hero-copy { padding: 0; border: 0; }
.hero-copy .hp-kicker {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .16em;
}
.hero-copy .hp-pulse { width: 6px; height: 6px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 12%, transparent); }
.hero-copy h1 {
  margin: 22px 0 0;
  font-size: clamp(48px, 5.1vw, 72px);
  line-height: .94;
  letter-spacing: -.065em;
}
.hero-copy h1 em { white-space: normal; }
.hero-copy .hp-sub { max-width: 460px; margin-top: 22px; font-size: 15px; line-height: 1.72; }
.hero-copy .hp-search {
  max-width: 480px;
  height: 54px;
  margin-top: 28px;
  padding: 5px 5px 5px 16px;
  border-radius: 11px;
  box-shadow: none;
}
.hero-copy .hp-search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 13%, transparent); }
.hero-copy .hp-search .btn { min-height: 42px; padding: 0 18px; }
.hero-copy .hp-actions { gap: 22px; margin-top: 20px; }
.hero-copy .hp-proof { max-width: 450px; margin-top: 34px; border-top-color: var(--border); }
.hero-copy .hp-proof strong { font-size: 24px; }

.hero-reel { position: relative; min-width: 0; }
.hero-reel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font: 600 9.5px/1 var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-reel-hint { color: var(--primary); letter-spacing: .1em; }
.hero-frame {
  position: relative;
  display: grid;
  min-height: 452px;
}
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 15px;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px) scale(.988);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.hero-slide-media {
  position: relative;
  display: block;
  min-height: 372px;
  overflow: hidden;
  border-radius: 26px 26px 26px 96px;
  background: #0b1321;
  box-shadow: 0 36px 80px -46px rgba(6, 13, 26, .7);
}
.hero-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 372px;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.hero-slide.is-active .hero-slide-media img { transform: scale(1.025); }
.hero-slide-count {
  position: absolute;
  top: 17px;
  right: 18px;
  display: inline-flex;
  gap: 2px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(5, 11, 21, .55);
  color: #fff;
  font: 600 10px/1 var(--font-mono);
  letter-spacing: .06em;
  backdrop-filter: blur(10px);
}
.hero-slide-count i { font-style: normal; opacity: .55; }
.hero-slide-open {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #07101d;
  transition: transform .25s var(--ease), background .2s;
}
.hero-slide:hover .hero-slide-open { transform: translate(3px, -3px); background: #dce6ff; }
.hero-slide-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 3px;
}
.hero-slide-copy { min-width: 0; }
.hero-slide-cat {
  display: block;
  color: var(--primary);
  font: 650 9.5px/1.3 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-slide-title {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font: 600 clamp(20px, 1.8vw, 25px)/1.16 var(--font-head);
  letter-spacing: -.035em;
}
.hero-slide-buy { display: flex; align-items: center; gap: 16px; flex: none; }
.hero-slide-buy .price { color: var(--ink); font: 600 18px/1.2 var(--font-head); letter-spacing: -.03em; }
.hero-slide-buy del { color: var(--muted); font-size: 11px; }
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font: 650 10.5px/1.2 var(--font-body);
  letter-spacing: .02em;
  white-space: nowrap;
}
.hero-slide:hover .hero-slide-cta { color: var(--primary); border-color: var(--primary); }
.hero-reel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--border);
  transition: width .25s var(--ease), background .2s;
}
.hero-dot:hover { background: var(--muted); }
.hero-dot.is-active { width: 44px; background: var(--primary); }
.hero-controls { display: flex; align-items: center; gap: 9px; }
.hero-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background .18s, color .18s, border-color .18s;
}
.hero-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.hero-now { color: var(--muted); font: 600 10px/1 var(--font-mono); letter-spacing: .05em; }
.hero-now b { color: var(--ink); font-weight: 600; }
.hero-now i { font-style: normal; opacity: .5; }
.hero-progress { display: block; height: 2px; margin-top: 12px; overflow: hidden; background: var(--hair); }
.hero-progress i { display: block; width: 0; height: 100%; background: var(--primary); }

/* ---- Members store ---- */
.store-crumb {
  background: var(--head-bg);
  color: var(--head-muted);
  border-bottom: 1px solid var(--head-line);
  font: 500 10.5px/1.4 var(--font-body);
}
.store-crumb .shell {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
}
.store-crumb a { color: var(--head-muted); }
.store-crumb a:hover { color: #fff; }
.store-crumb span { color: #fff; }
.store-crumb .icon { opacity: .45; }

.store-mast {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5vw, 68px) 0 clamp(38px, 4vw, 54px);
  background: #081120;
  color: #f4f8ff;
}
.store-mast::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(109, 151, 255, .2);
  border-radius: 50%;
  pointer-events: none;
}
.store-mast-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
.store-mast-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
  align-items: end;
  gap: clamp(32px, 5vw, 64px);
}
.store-mast-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8fb0ff;
  font: 650 9.5px/1.3 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.store-mast h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}
.store-mast p {
  max-width: 620px;
  color: rgba(235, 242, 252, .6);
  font-size: 14px;
  line-height: 1.72;
}
.store-mast-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: rgba(235, 242, 252, .66);
  font-size: 11px;
  font-weight: 600;
}
.store-mast-chips span { display: inline-flex; align-items: center; gap: 6px; }
.store-mast-chips .icon { color: #8fb0ff; }
.store-mast-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .1);
}
.store-mast-stat { padding: 20px 22px; background: rgba(255, 255, 255, .035); }
.store-mast-stat strong {
  display: block;
  color: #fff;
  font: 600 32px/1 var(--font-head);
  letter-spacing: -.045em;
}
.store-mast-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(235, 242, 252, .5);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.store-mast-member {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, .02);
  color: #8fb0ff;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.store-mast-member strong {
  max-width: 60%;
  overflow: hidden;
  color: #fff;
  font: 600 12px/1.3 var(--font-head);
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.store-browser { padding: 36px 0 74px; background: var(--bg); }
.store-browser-layout {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}
.store-rail { position: sticky; top: calc(var(--head-h) + 18px); min-width: 0; }
.store-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 10px;
  color: var(--muted);
  font: 650 9.5px/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.store-rail-head b { color: var(--ink); font: 600 10px/1 var(--font-mono); }
.store-cats {
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.store-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .16s, color .16s;
}
.store-cat b { color: var(--muted); font: 600 9.5px/1 var(--font-mono); }
.store-cat:hover { background: var(--bg-tint); color: var(--ink); }
.store-cat.is-active { background: var(--primary); color: #fff; }
.store-cat.is-active b { color: rgba(255, 255, 255, .68); }
.store-rail-note {
  margin-top: 14px;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.store-rail-note-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: var(--primary-wash);
  color: var(--primary);
}
.store-rail-note h2 { font-size: 16px; letter-spacing: -.03em; }
.store-rail-note p { margin: 6px 0 13px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.store-rail-links { display: grid; gap: 8px; margin-top: 16px; padding: 0 2px; }
.store-rail-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.store-rail-links a:hover { color: var(--primary); }

.store-main { min-width: 0; }
.store-tools {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.store-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--bg-tint);
  color: var(--muted);
}
.store-search:focus-within { border-color: var(--primary); background: var(--surface); }
.store-search input,
.store-search input:hover,
.store-search input:focus {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12.5px;
}
.store-search button {
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font: 650 10px/1 var(--font-body);
}
.store-sort { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.store-sort label { font-weight: 600; }
.store-sort select {
  height: 36px;
  padding: 0 28px 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;
}
.store-view { display: flex; gap: 2px; padding-left: 8px; border-left: 1px solid var(--hair); }
.store-view .view-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}
.store-view .view-btn:hover { background: var(--bg-tint); color: var(--ink); }
.store-view .view-btn.is-active { background: var(--primary-wash); color: var(--primary); }
.store-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.store-list-head h2 { font-size: 19px; letter-spacing: -.035em; }
.store-list-head span { color: var(--muted); font-size: 10.5px; font-weight: 500; }

.store-page .store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.store-page .product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.store-page .product-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--shadow-lg);
}
.store-page .product-media { border-bottom: 1px solid var(--hair); background: var(--bg-tint); }
.store-page .product-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 14px 15px; }
.store-page .product-body h3 { font-size: 15px; }
.store-page .product-info { font-size: 12px; }
.store-page .product-card .btn {
  min-height: 29px;
  padding: 5px 9px;
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
  font-size: 10.5px;
}
.store-page .product-card .btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.store-page .pagination { margin-top: 28px; }
.store-page .store-grid.is-list { grid-template-columns: 1fr; }
.store-page .store-grid.is-list .product-card { flex-direction: row; }
.store-page .store-grid.is-list .product-media { width: 190px; flex: none; border-right: 1px solid var(--hair); border-bottom: 0; }

@media (max-width: 1120px) {
  .hero-carousel-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 38px; }
  .hero-frame { min-height: 408px; }
  .hero-slide-media, .hero-slide-media img { min-height: 330px; }
  .store-grid, .store-page .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-tools { flex-wrap: wrap; }
  .store-search { flex-basis: 100%; }
}

@media (max-width: 980px) {
  .hero-carousel-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 680px; }
  .hero-copy .hp-sub, .hero-copy .hp-search, .hero-copy .hp-proof { max-width: 620px; }
  .hero-reel { max-width: 720px; }
  .store-mast-grid { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .store-mast-board { max-width: 460px; }
  .store-browser-layout { grid-template-columns: 1fr; gap: 22px; }
  .store-rail { position: static; }
  .store-cats { display: flex; gap: 4px; overflow-x: auto; padding: 5px; scrollbar-width: none; }
  .store-cats::-webkit-scrollbar { display: none; }
  .store-cat { flex: none; gap: 8px; white-space: nowrap; }
  .store-rail-note, .store-rail-links { display: none; }
}

@media (max-width: 720px) {
  .hero-carousel { padding-top: 38px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero-copy .hp-search { height: 50px; }
  .hero-copy .hp-search .btn { min-height: 38px; padding: 0 13px; }
  .hero-copy .hp-proof { margin-top: 28px; padding-top: 18px; }
  .hero-copy .hp-proof strong { font-size: 21px; }
  .hero-frame { min-height: 330px; }
  .hero-slide { gap: 12px; }
  .hero-slide-media { min-height: 264px; border-radius: 19px 19px 19px 64px; }
  .hero-slide-media img { min-height: 264px; }
  .hero-slide-open { left: 14px; bottom: 13px; width: 35px; height: 35px; }
  .hero-slide-count { top: 13px; right: 13px; padding: 5px 8px; font-size: 9px; }
  .hero-slide-caption { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-slide-title { font-size: 20px; }
  .hero-slide-buy { width: 100%; justify-content: space-between; }
  .hero-reel-foot { margin-top: 15px; }
  .store-mast h1 { font-size: clamp(33px, 9vw, 44px); }
  .store-mast-chips { gap: 12px; font-size: 10px; }
  .store-mast-stat { padding: 16px; }
  .store-mast-stat strong { font-size: 26px; }
  .store-page .store-grid { gap: 11px; }
  .store-list-head { margin-top: 20px; }
  .store-list-head h2 { font-size: 17px; }
  .store-page .store-grid.is-list .product-card { flex-direction: column; }
  .store-page .store-grid.is-list .product-media { width: 100%; border-right: 0; border-bottom: 1px solid var(--hair); }
}

@media (max-width: 420px) {
  .hero-copy .hp-search .btn { display: none; }
  .store-page .store-grid { grid-template-columns: 1fr; }
  .store-sort label { display: none; }
  .store-view { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   v14 — locale flags, RTL, currency menu and toast notifications
   ========================================================================== */
.lang-flag {
  display: inline-block;
  flex: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 15px;
  line-height: 1;
}
.lang-pop .pop-panel {
  min-width: 218px;
  max-height: min(420px, 68vh);
  overflow-y: auto;
}
.lang-pop .pop-link {
  display: flex;
  align-items: center;
  gap: 9px;
}
.lang-pop .pop-link .icon { margin-left: auto; }
.drawer-lang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toast-stack {
  position: fixed;
  top: calc(var(--head-h) + 16px);
  right: 22px;
  z-index: 1200;
  display: grid;
  gap: 10px;
  width: min(390px, calc(100vw - 28px));
  pointer-events: none;
}
.toast {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
  overflow: hidden;
  padding: 14px 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 54px -28px rgba(6, 14, 27, .5);
  pointer-events: auto;
  animation: toastIn .28s var(--ease);
}
.toast.is-leaving { opacity: 0; transform: translateY(-7px); transition: opacity .22s, transform .22s; }
.toast-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green-wash);
  color: var(--green);
}
.toast-error .toast-icon { background: var(--red-wash); color: var(--red); }
.toast-body { padding-top: 4px; font-size: 12.8px; font-weight: 600; line-height: 1.5; }
.toast-close {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.toast-close:hover { background: var(--bg-tint); color: var(--ink); }
.toast-timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  transform-origin: left;
  animation: toastTimer 6s linear forwards;
}
.toast-error .toast-timer { background: var(--red); }
.toast.is-paused .toast-timer { animation-play-state: paused; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes toastTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.foot-currency-pop { position: relative; }
.foot-currency-pop > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}
.foot-currency-pop > summary::-webkit-details-marker { display: none; }
.foot-currency-pop > summary b { color: var(--footer-ink); font-weight: 600; }
.foot-currency-menu {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 0;
  z-index: 30;
  display: grid;
  width: 232px;
  max-height: 285px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.foot-currency-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 11px;
}
.foot-currency-menu a:hover { background: var(--bg-tint); }
.foot-currency-menu a.is-active { background: var(--primary-wash); color: var(--primary); }
.foot-currency-menu small { color: var(--muted); font-size: 9.5px; }
.checkout-usd-note {
  margin: 10px 0 13px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--primary-wash);
  color: var(--primary);
  font-weight: 600;
}

/* RTL baseline */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .product-body,
html[dir="rtl"] .detail-block,
html[dir="rtl"] .panel,
html[dir="rtl"] .store-mast-copy,
html[dir="rtl"] .store-list-head,
html[dir="rtl"] .account-section { text-align: right; }
html[dir="rtl"] .hp-copy h1 em { margin-left: 0; }
html[dir="rtl"] .hero-slide-media { border-radius: 26px 26px 26px 26px; border-bottom-left-radius: 26px; border-bottom-right-radius: 96px; }
html[dir="rtl"] .hero-slide-caption,
html[dir="rtl"] .hero-reel-head,
html[dir="rtl"] .hero-reel-foot,
html[dir="rtl"] .store-tools,
html[dir="rtl"] .summary-row,
html[dir="rtl"] .product-foot,
html[dir="rtl"] .product-meta,
html[dir="rtl"] .checkout-item { direction: rtl; }
html[dir="rtl"] .toast-stack { right: auto; left: 22px; }
html[dir="rtl"] .toast-timer { transform-origin: right; }
html[dir="rtl"] .store-cat,
html[dir="rtl"] .store-rail-head,
html[dir="rtl"] .store-list-head { direction: rtl; }
html[dir="rtl"] .store-search input { text-align: right; }
html[dir="rtl"] .foot-currency-menu { left: auto; right: 0; }
html[dir="rtl"] .lang-pop .pop-link .icon { margin-left: 0; margin-right: auto; }

@media (max-width: 720px) {
  .toast-stack { top: calc(var(--head-h) + 10px); right: 12px; left: 12px; width: auto; }
  html[dir="rtl"] .toast-stack { right: 12px; left: 12px; }
  .foot-currency-menu { left: auto; right: 0; }
}

/* ==========================================================================
   v15 — original flag assets, uploaded artwork, auth polish and mobile fixes
   ========================================================================== */

/* ---------- Flags ---------- */
.flag-icon {
  display: block;
  width: 24px;
  height: 16px;
  flex: none;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(7, 16, 32, .12);
  background: #fff;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 16px;
  font-size: 0;
}
.lang-pop .pop-link .flag-icon,
.drawer-lang .flag-icon { width: 24px; height: 16px; }
.site-head .head-pop > summary { touch-action: manipulation; }
.site-head .lang-pop > summary { min-width: 44px; min-height: 44px; padding: 0 10px; }
.lang-pop .pop-panel { width: 218px; }
.lang-pop .pop-link { min-height: 40px; }

.drawer-label {
  margin: 0;
  padding: 14px 0 2px;
  color: var(--muted);
  font: 600 9.5px/1.4 var(--font-body);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.drawer-lang {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 0 14px;
}
.drawer-lang a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
}
.drawer-lang a:hover { border-color: var(--border); background: var(--bg-tint); }
.drawer-lang a.is-active { border-color: var(--primary); background: var(--primary-wash); color: var(--primary); }
.drawer-lang a .icon { margin-left: auto; flex: none; }

/* ---------- Uploaded light/dark artwork ---------- */
.ns-art { display: block; position: relative; max-width: 100%; }
.ns-art .art-img { display: block; width: 100%; height: auto; }
.ns-art .art-img-dark { display: none; }
[data-theme="dark"] .ns-art .art-img-light { display: none; }
[data-theme="dark"] .ns-art .art-img-dark { display: block; }

/* ---------- Auth ---------- */
.auth-section { padding: 52px 0 84px; }
.auth-card { padding: clamp(24px, 3.3vw, 38px); border-radius: 16px; }
.auth-head h1 { letter-spacing: -.035em; }
.auth-form { gap: 16px; }
.auth-form .field label { font-size: 12px; }
.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
  height: 48px;
  border-radius: 9px;
  font-size: 15px;
}
.input-with-icon { position: relative; }
.input-with-icon .input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.input-with-icon input { padding-left: 42px !important; }
html[dir="rtl"] .input-with-icon .input-icon { left: auto; right: 13px; }
html[dir="rtl"] .input-with-icon input { padding-left: 12px !important; padding-right: 42px !important; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.field-label-row label { margin-bottom: 0 !important; }
.field-link { color: var(--primary); font-size: 11.5px; font-weight: 600; }
.field-link:hover { text-decoration: underline; }
.field-error { display: block; margin-top: 6px; color: #c8332e; font-size: 11.5px; }
[data-theme="dark"] .field-error { color: #ff8e88; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px !important; }
html[dir="rtl"] .password-wrap input { padding-right: 12px !important; padding-left: 46px !important; }
.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}
.password-toggle:hover { background: var(--bg-tint); color: var(--ink); }
html[dir="rtl"] .password-toggle { right: auto; left: 4px; }
.pw-meter { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pw-meter[hidden] { display: none; }
.pw-meter-track { flex: 1; height: 5px; overflow: hidden; border-radius: 999px; background: var(--hair); }
.pw-meter-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: #c8332e; transition: width .2s var(--ease), background .2s var(--ease); }
.pw-meter[data-level="2"] .pw-meter-track i { background: #d99100; }
.pw-meter[data-level="3"] .pw-meter-track i { background: #278a58; }
.pw-meter[data-level="4"] .pw-meter-track i { background: var(--primary); }
.pw-meter small { min-width: 74px; color: var(--muted); font-size: 10.5px; text-align: right; }
html[dir="rtl"] .pw-meter small { text-align: left; }
.check-field { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.55; cursor: pointer; }
.check-field input { width: 17px; height: 17px; margin-top: 1px; flex: none; accent-color: var(--primary); }
.check-field a { color: var(--primary); font-weight: 600; }
.auth-form .btn-lg { min-height: 50px; border-radius: 9px; }
.auth-switch { margin-top: 20px; }
.auth-help { display: flex; gap: 10px; margin-top: 20px; border-radius: 9px; line-height: 1.5; }
.auth-help > .icon { flex: none; margin-top: 2px; color: var(--primary); }
.auth-help strong { display: block; font-size: 11.5px; }
.auth-help p { color: var(--muted); font-size: 11.5px; }
.auth-help a { color: var(--primary); }

.auth-art { overflow: hidden; border-radius: 16px; }
.auth-art::before { display: none; }
.auth-art-inner { padding: 0; }
.auth-art-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -4px -6px 20px;
  padding: 14px 20px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 68%),
    var(--surface);
}
.auth-art-visual .ns-art { width: min(280px, 88%); }
.auth-art h2 { letter-spacing: -.04em; }
.auth-art-cards { position: relative; z-index: 1; }
.auth-points { position: relative; z-index: 1; display: grid; gap: 9px; margin-top: 20px; padding: 0; list-style: none; }
.auth-points li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12.5px; font-weight: 500; }
.auth-points .icon { color: var(--primary); flex: none; }

/* ---------- Home art and promo ---------- */
.hp-promo { padding: clamp(42px, 6vw, 70px) 0 0; }
.hp-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4.6vw, 54px);
  border: 1px solid var(--hair);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 42%),
    var(--surface);
}
.hp-promo-copy h2 { max-width: 470px; margin: 12px 0 10px; font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -.045em; line-height: 1.06; }
.hp-promo-copy > p { max-width: 470px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hp-promo-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.hp-promo-list li { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 500; }
.hp-promo-list .icon { color: var(--primary); flex: none; }
.hp-promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.hp-text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 12px; font-weight: 600; }
.hp-text-link:hover { color: var(--primary); }
.hp-promo-art { display: flex; justify-content: center; }
.hp-promo-art .ns-art { width: min(370px, 100%); }

.hp-step-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 74px; margin-bottom: 24px; }
.hp-step-num { margin-bottom: 0 !important; }
.hp-step-art { display: block; width: 88px; margin: -8px -2px 0 0; opacity: .92; }
.hp-step-art .ns-art { width: 88px; }
[data-theme="light"] .hp-step-art .art-img-light { filter: drop-shadow(0 7px 14px rgba(0, 0, 0, .16)); }

/* ---------- Empty, error, contact and page heroes ---------- */
.empty-state-art { gap: 12px; padding-top: 42px; }
.empty-art { width: min(230px, 70%); margin: 0 auto 6px; }
.empty-state-art h2 { margin-top: 2px; }
.empty-state-art .btn { margin-top: 12px; }

.error-art { min-height: 300px; padding: 12px; }
.error-art .ns-art { width: min(330px, 92%); }
.error-code-badge {
  position: absolute;
  top: 4px;
  left: 8px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font: 600 12px/1 var(--font-mono);
}
html[dir="rtl"] .error-code-badge { left: auto; right: 8px; }
.error-art .error-blob { display: none; }

.detail-card-art { overflow: hidden; }
.side-art { width: min(240px, 90%); margin: -4px auto 16px; }

.page-head { position: relative; }
.page-hero-art { max-width: 520px; margin: 22px auto 0; }
.page-hero-art .ns-art { width: min(430px, 100%); margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .auth-grid { max-width: 560px; }
  .auth-art { display: none; }
  .hp-promo-card { grid-template-columns: 1fr; }
  .hp-promo-art { order: -1; }
  .hp-promo-art .ns-art { width: min(280px, 75%); }
}
@media (max-width: 760px) {
  .site-head .lang-pop > summary { min-width: 40px; min-height: 40px; padding: 0 8px; }
  .lang-pop .pop-panel {
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    max-height: calc(100dvh - 90px);
    -webkit-overflow-scrolling: touch;
  }
  .account-pop .pop-panel {
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lang-pop .pop-link { min-height: 44px; }
  .drawer-lang { grid-template-columns: 1fr 1fr; }
  .drawer-lang a { min-height: 44px; }
  .auth-section { padding: 30px 0 58px; }
  .auth-card { padding: 22px 18px; border-radius: 13px; }
  .auth-head h1 { font-size: 28px; }
  .auth-form input[type="text"],
  .auth-form input[type="password"],
  .auth-form input[type="email"] { height: 50px; font-size: 16px; }
  .auth-help { display: none; }
  .hp-promo { padding-top: 38px; }
  .hp-promo-card { padding: 24px 20px; border-radius: 16px; }
  .hp-promo-copy h2 { font-size: clamp(27px, 7.6vw, 36px); }
  .hp-promo-actions { gap: 14px; }
  .hp-promo-actions .btn { width: 100%; }
  .hp-promo-list { display: grid; gap: 7px; }
  .hp-step-top { min-height: 62px; margin-bottom: 18px; }
  .hp-step-art,
  .hp-step-art .ns-art { width: 68px; }
  .error-art { min-height: 220px; }
  .error-art .ns-art { width: min(250px, 88%); }
  .empty-state-art { padding-top: 30px; }
  .empty-art { width: min(190px, 68%); }
  .page-hero-art { max-width: 360px; }
  .side-art { width: min(210px, 85%); }
}
@media (max-width: 420px) {
  .drawer-lang { grid-template-columns: 1fr; }
  .auth-card { padding: 20px 15px; }
  .hp-step-art,
  .hp-step-art .ns-art { width: 58px; }
}

.field-error[hidden] { display: none !important; }

/* ==========================================================================
   v16 — refined site-wide toasts and auth feedback
   ========================================================================== */
.toast {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 14px 13px 16px 14px;
  border-radius: 14px;
  box-shadow: 0 22px 60px -30px rgba(6, 14, 27, .55), 0 2px 8px -4px rgba(6, 14, 27, .18);
}
.toast-copy { min-width: 0; padding-top: 1px; }
.toast-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
}
.toast-title[hidden] { display: none; }
.toast-body {
  display: block;
  margin-top: 2px;
  padding: 0;
  color: var(--muted);
  font-size: 12.6px;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.toast-icon { margin-top: 1px; }
.toast-info .toast-icon { background: var(--primary-wash); color: var(--primary); }
.toast-info .toast-timer { background: var(--primary); }
.toast-close { margin-top: 0; }
.toast-stack:empty { display: none; }

.btn.is-loading { pointer-events: none; }
.btn.is-loading::after {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 2px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: nsBtnSpin .75s linear infinite;
}
.btn.is-loading .icon { display: none; }
@keyframes nsBtnSpin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .toast-stack { top: calc(var(--head-h) + 10px); }
  .toast { border-radius: 13px; }
  .toast-body { font-size: 13px; }
}
/* ==========================================================================
   v17 — refined toastr-style notifications
   ========================================================================== */
.toast-stack {
  top: calc(var(--head-h) + 18px);
  right: 22px;
  z-index: 1400;
  gap: 12px;
  width: min(400px, calc(100vw - 32px));
}
.toast {
  --toast-accent: var(--green);
  --toast-wash: var(--green-wash);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  overflow: hidden;
  padding: 15px 15px 18px 19px;
  border: 1.5px solid var(--hair);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    0 26px 65px -30px rgba(6, 14, 27, .58),
    0 8px 22px -14px rgba(6, 14, 27, .28),
    inset 0 1px 0 rgba(255, 255, 255, .5);
  pointer-events: auto;
  isolation: isolate;
  animation: toastIn .46s cubic-bezier(.18, .89, .32, 1.18) both;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
  will-change: transform, opacity;
}
.toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--toast-accent);
}
.toast:hover {
  border-color: var(--toast-accent);
  box-shadow:
    0 30px 70px -30px rgba(6, 14, 27, .62),
    0 10px 24px -12px rgba(6, 14, 27, .3),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}
.toast-success { --toast-accent: var(--green); --toast-wash: var(--green-wash); }
.toast-error { --toast-accent: var(--red); --toast-wash: var(--red-wash); }
.toast-info { --toast-accent: var(--primary); --toast-wash: var(--primary-wash); }
.toast-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 1px;
  border-radius: 12px;
  background: var(--toast-wash);
  color: var(--toast-accent);
  box-shadow: 0 0 0 4px var(--toast-wash);
  animation: toastIconPop .48s .06s cubic-bezier(.18, .89, .32, 1.28) both;
}
.toast-error .toast-icon { background: var(--red-wash); color: var(--red); }
.toast-info .toast-icon { background: var(--primary-wash); color: var(--primary); }
.toast-copy { min-width: 0; padding-top: 1px; }
.toast-title {
  display: block;
  padding-right: 2px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.012em;
  line-height: 1.35;
}
.toast-title[hidden] { display: none; }
.toast-body {
  display: block;
  margin-top: 3px;
  padding: 0;
  color: var(--muted);
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.toast-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
}
.toast-close:hover { background: var(--bg-tint); color: var(--ink); transform: rotate(90deg); }
.toast-timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--toast-accent);
  opacity: .85;
  transform-origin: left;
  animation: toastTimer 6s linear forwards;
}
.toast.is-leaving {
  animation: toastOut .28s cubic-bezier(.4, 0, 1, 1) forwards;
  pointer-events: none;
}
.toast.is-paused .toast-timer { animation-play-state: paused; }
.toast-stack:empty { display: none; }
@keyframes toastIn {
  0% { opacity: 0; transform: translate3d(26px, -10px, 0) scale(.96); }
  60% { opacity: 1; transform: translate3d(-2px, 2px, 0) scale(1.006); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(30px, -4px, 0) scale(.97); }
}
@keyframes toastIconPop {
  0% { opacity: .35; transform: scale(.55) rotate(-14deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes toastTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

html[dir="rtl"] .toast-stack { right: auto; left: 22px; }
html[dir="rtl"] .toast { padding: 15px 19px 18px 15px; }
html[dir="rtl"] .toast::before { inset: 0 0 0 auto; }
html[dir="rtl"] .toast-timer { transform-origin: right; }

[data-theme="dark"] .toast {
  box-shadow:
    0 26px 65px -26px rgba(0, 0, 0, .85),
    0 8px 22px -14px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
[data-theme="dark"] .toast:hover {
  box-shadow:
    0 30px 70px -26px rgba(0, 0, 0, .9),
    0 10px 24px -12px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

@media (max-width: 760px) {
  .toast-stack { top: calc(var(--head-h) + 12px); right: 12px; left: 12px; width: auto; }
  html[dir="rtl"] .toast-stack { right: 12px; left: 12px; }
  .toast { gap: 11px; padding: 14px 13px 17px 17px; border-radius: 15px; }
  .toast-icon { width: 35px; height: 35px; border-radius: 11px; }
  .toast-body { font-size: 13px; }
}

/* ==========================================================================
   v18 — cart quantity and smoother store surfaces
   ========================================================================== */
.cart-item {
  grid-template-columns: 112px minmax(0, 1fr) auto auto auto;
  gap: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.cart-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 28px -24px rgba(0, 78, 255, .55);
}
.cart-info .status-pill { margin-top: 6px; }
.cart-qty-form { display: flex; align-items: center; }
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1.5px solid var(--hair);
  border-radius: 9px;
  background: var(--surface);
}
.cart-qty-stepper button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 32px;
  padding: 0;
  border: 0;
  background: var(--bg-tint);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.cart-qty-stepper button:hover:not(:disabled) { background: var(--primary); color: #fff; }
.cart-qty-stepper button:disabled { opacity: .38; cursor: not-allowed; }
.cart-qty-stepper input {
  width: 38px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}
.cart-qty-stepper input::-webkit-inner-spin-button,
.cart-qty-stepper input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.cart-qty-stepper:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-wash); }

@media (max-width: 760px) {
  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb info remove"
      "thumb price price"
      "thumb qty qty";
    align-items: center;
  }
  .cart-thumb { grid-area: thumb; }
  .cart-info { grid-area: info; }
  .cart-price { grid-area: price; grid-column: auto; justify-self: start; }
  .cart-qty-form { grid-area: qty; justify-self: start; }
  .cart-remove { grid-area: remove; grid-column: auto; grid-row: auto; align-self: start; }
}

/* Header account trigger: keep the dark header ink on light surfaces. */
.site-head .head-pop[open] > summary {
  background: var(--head-hover);
  border-color: rgba(255, 255, 255, .3);
  color: var(--head-ink);
}
.site-head .account-trigger:hover,
.site-head .account-trigger:focus-visible,
.site-head .head-pop[open] > .account-trigger {
  background: var(--head-hover);
  border-color: rgba(255, 255, 255, .34);
  color: var(--head-ink);
}
.site-head .account-trigger:hover .icon,
.site-head .account-trigger:focus-visible .icon,
.site-head .head-pop[open] > .account-trigger .icon { color: var(--head-ink); }

/* Smoother storefront surfaces */
.product-card {
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--hair));
  box-shadow: 0 20px 48px -30px rgba(6, 14, 27, .5), 0 8px 20px -16px rgba(6, 14, 27, .25);
}
.product-media img { transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-card .btn { transition: background .2s, color .2s, border-color .2s, transform .16s; }
.product-card .btn:active { transform: translateY(1px); }
.store-tools {
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 30px -24px rgba(6, 14, 27, .45);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.store-tools:focus-within {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  box-shadow: 0 0 0 4px var(--primary-wash), 0 12px 30px -24px rgba(6, 14, 27, .4);
}
.store-search { height: 42px; border-radius: 10px; }
.store-search button {
  height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  transition: background .18s, transform .16s;
}
.store-search button:hover { background: var(--primary-deep); }
.store-search button:active { transform: translateY(1px); }
.store-list-head { border-bottom-color: var(--hair); }
.store-cat { border-radius: 9px; transition: background .18s, color .18s, padding-left .18s; }
.store-cat:hover { padding-left: 4px; }

@media (prefers-reduced-motion: reduce) {
  .toast, .toast-icon, .toast-timer, .btn.is-loading::after { animation: none !important; }
  .toast, .toast-close, .product-card, .product-media img, .store-tools { transition: none !important; }
}

/* ==========================================================================
   v16 — licences, bank transfer, calmer pills and richer storefront motion
   ========================================================================== */

/* Copyable licence keys */
.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font: 700 10.5px/1.2 var(--font-body);
  white-space: nowrap;
  transition: border-color .18s, background .18s, color .18s, transform .15s;
}
.copy-chip:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); background: var(--primary-wash); color: var(--primary); }
.copy-chip:active { transform: translateY(1px); }
.copy-chip.is-copied { border-color: var(--green); background: var(--green-wash); color: var(--green); }
.copy-chip-icon { width: 30px; padding: 0; justify-content: center; flex: none; }

.license-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px 6px 11px;
  border: 1px solid var(--hair);
  border-radius: 9px;
  background: var(--bg-tint);
}
.license-copy-row + .license-copy-row { margin-top: 6px; }
.license-copy-row code { flex: 1; min-width: 0; overflow: auto; color: var(--ink); font: 700 12px/1.5 var(--font-mono); letter-spacing: .02em; white-space: nowrap; scrollbar-width: none; }
.license-copy-row code::-webkit-scrollbar { display: none; }
.order-license-block { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--hair); }
.order-license-label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--muted); font: 700 10px/1.3 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.order-license-label .icon { color: var(--primary); }
.order-license-hint { display: flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--muted); font-size: 11.5px; }
.order-license-hint .icon { color: var(--primary); }
.order-license-hint a { color: var(--primary); font-weight: 750; }

/* Responsive order cards */
.order-card-list { display: flex; flex-direction: column; gap: 12px; }
.order-item-card {
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.order-item-card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.order-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.order-item-title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.order-item-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--primary-wash); color: var(--primary); }
.order-item-title h2 { font-size: 15px; line-height: 1.3; }
.order-item-title small { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.order-item-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding: 11px 12px; border-radius: 9px; background: var(--bg-tint); }
.order-item-meta div { min-width: 0; }
.order-item-meta span { display: block; color: var(--muted); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.order-item-meta strong { display: block; margin-top: 3px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.order-item-actions .btn { min-height: 32px; }

/* Account quick licences */
.account-quick-licenses { display: flex; flex-direction: column; }
.account-quick-license { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid var(--hair); }
.account-quick-license:first-child { border-top: 0; }
.account-quick-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--primary-wash); color: var(--primary); }
.account-quick-license > div { flex: 1; min-width: 0; }
.account-quick-license strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.account-quick-license code { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 600 10px/1.4 var(--font-mono); }
.license-count-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 750; }
.license-count-chip .icon { color: var(--primary); }
.account-license-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.license-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; padding: 10px 11px; border-radius: 8px; background: var(--bg-tint); }
.license-meta dt { color: var(--muted); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.license-meta dd { margin-top: 3px; overflow: hidden; color: var(--ink); font-size: 11.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.license-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.license-help { display: flex; align-items: flex-start; gap: 13px; margin-top: 18px; }
.license-help > .icon { color: var(--primary); flex: none; margin-top: 2px; }
.license-help h3 { font-size: 14px; }
.license-help p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* Bank transfer checkout */
.bank-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.bank-main, .bank-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bank-hero-panel { display: flex; align-items: flex-start; gap: 14px; }
.bank-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--primary-wash); color: var(--primary); }
.bank-hero-panel h1 { margin-top: 4px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.05; letter-spacing: -.04em; }
.bank-hero-panel p { margin-top: 7px; max-width: 620px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.bank-details { display: flex; flex-direction: column; border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; }
.bank-detail-row { display: grid; grid-template-columns: minmax(110px, .38fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; }
.bank-detail-row + .bank-detail-row { border-top: 1px solid var(--hair); }
.bank-detail-row dt { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.bank-detail-row dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.bank-detail-row dd > span { overflow: hidden; font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.bank-details-compact { margin-top: 10px; border-color: var(--border); }
.bank-amount, .bank-reference { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--primary-wash); }
.bank-amount span, .bank-reference span { color: var(--muted); font-size: 11px; font-weight: 700; }
.bank-amount strong { margin-left: auto; color: var(--primary); font: 700 22px/1.1 var(--font-head); letter-spacing: -.03em; }
.bank-reference strong { margin-left: auto; color: var(--primary); font: 700 12px/1.4 var(--font-mono); word-break: break-all; }
.bank-instructions { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.bank-items { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 14px; color: var(--ink); font-size: 12px; }
.bank-items small { color: var(--muted); }
.bank-missing { padding: 12px; border-radius: 8px; background: var(--yellow-wash); color: var(--yellow-ink); font-size: 12px; }
.proof-received { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid color-mix(in srgb, var(--green) 22%, var(--hair)); border-radius: 10px; background: var(--green-wash); }
.proof-received-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); color: var(--green); }
.proof-received strong { color: var(--green); font-size: 13px; }
.proof-received p { margin-top: 3px; color: color-mix(in srgb, var(--green) 74%, var(--ink)); font-size: 12px; line-height: 1.6; }
.proof-received small { display: block; margin-top: 5px; color: var(--muted); font-size: 10.5px; }
.bank-proof-form { margin-top: 14px; }
.upload-zone { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px; border: 1.5px dashed var(--border); border-radius: 11px; background: var(--bg-tint); cursor: pointer; transition: border-color .18s, background .18s; }
.upload-zone:hover, .upload-zone:focus-within { border-color: var(--primary); background: var(--primary-wash); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-zone-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--surface); color: var(--primary); }
.upload-zone-copy strong { display: block; font-size: 13px; }
.upload-zone-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.upload-file-name { display: none; margin: 8px 2px; color: var(--primary); font-size: 11.5px; font-weight: 700; }
.upload-file-name.is-visible { display: block; }
.gateway-bank-preview { margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-tint); }
.gateway-bank-head { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12px; }
.gateway-bank-head .icon { color: var(--primary); }
.gateway-bank-preview p { margin-top: 9px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.inline-alert { display: flex; align-items: flex-start; gap: 8px; padding: 11px 12px; border-radius: 9px; font-size: 12px; line-height: 1.55; }
.inline-alert .icon { flex: none; margin-top: 1px; }
.inline-alert-error { border: 1px solid color-mix(in srgb, var(--red) 24%, var(--hair)); background: var(--red-wash); color: var(--red); }

/* Hero polish and motion */
.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, color-mix(in srgb, var(--primary) 11%, transparent), transparent 34%),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--green) 7%, transparent), transparent 27%),
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 2%, transparent), transparent 62%);
  pointer-events: none;
}
.hero-orbit-a { animation: hero-orbit-spin 42s linear infinite; }
.hero-orbit-b { animation: hero-orbit-spin 28s linear infinite reverse; }
.hero-copy > * { animation: hero-rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .07s; }
.hero-copy > :nth-child(3) { animation-delay: .13s; }
.hero-copy > :nth-child(4) { animation-delay: .19s; }
.hero-copy > :nth-child(5) { animation-delay: .25s; }
.hero-reel { animation: hero-reel-in .85s var(--ease) .1s both; }
.hero-slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(4, 10, 20, .24)); pointer-events: none; }
.hero-slide-media { transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.hero-slide.is-active .hero-slide-media:hover { transform: translateY(-3px); box-shadow: 0 46px 90px -46px rgba(6, 13, 26, .78); }
.hero-slide-caption { animation: hero-rise .6s var(--ease) both; }
.hero-slide.is-active .hero-slide-caption { animation-delay: .16s; }
.trust-strip span { transition: background .18s, color .18s; }
.trust-strip span:hover { background: var(--primary-wash); color: var(--primary); }
.product-card:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-wash); }
.hp-cat, .hp-product-card, .blog-card { will-change: transform; }

@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-reel-in { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes hero-orbit-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .bank-layout { grid-template-columns: 1fr; }
  .bank-side { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .order-item-meta { grid-template-columns: 1fr 1fr; }
  .order-item-meta div:last-child { grid-column: 1 / -1; }
  .bank-detail-row { grid-template-columns: 1fr; gap: 4px; }
  .bank-detail-row dd { justify-content: flex-start; }
  .bank-detail-row dd .copy-chip { margin-left: auto; }
  .bank-side { grid-template-columns: 1fr; }
  .license-copy-row { align-items: flex-start; flex-direction: column; }
  .license-copy-row .copy-chip { align-self: flex-end; }
}
@media (max-width: 520px) {
  .order-item-top { flex-direction: column; }
  .order-item-meta { grid-template-columns: 1fr; }
  .order-item-meta div:last-child { grid-column: auto; }
  .bank-amount { flex-wrap: wrap; }
  .bank-amount strong { margin-left: 0; width: 100%; }
  .copy-chip span { display: none; }
  .copy-chip { width: 30px; padding: 0; justify-content: center; }
  .license-copy-row .copy-chip { width: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-reel, .hero-orbit, .hero-slide-caption { animation: none !important; }
  .hero-slide-media, .order-item-card, .copy-chip { transition: none !important; }
}
