/* ==========================================================================
   Dujiao-Next · home storefront
   Y2K / millennium aesthetic · flowing gradient system
   ========================================================================== */

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --neon-pink: #FF69B4;
  --neon-cyan: #00FFFF;
  --chrome-silver: #C0C0C0;
  --y2k-purple: #9400D3;
  --pink-deep: #C71585;
  --pink-ink: #A31473;
  --ink: #2E0A47;
  --ink-2: #5A2678;
  --ink-3: #6B4A86;

  --bg: #FDF3FB;
  --bg-gradient: linear-gradient(135deg, #FFD9F3 0%, #EEDFFF 48%, #D6F6FF 100%);
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #FFFFFF;
  --surface-2: rgba(255, 255, 255, .55);
  --surface-deep: rgba(255, 255, 255, .94);
  --border: rgba(148, 0, 211, .18);
  --border-strong: rgba(148, 0, 211, .32);
  --text: var(--ink);
  --text-soft: var(--ink-2);
  --text-muted: var(--ink-3);
  --text-invert: #FFF7FE;
  --focus: #00B8D4;
  --success: #0B7A5B;
  --success-bg: #D9FBEF;
  --danger: #A1123F;
  --danger-bg: #FFE0EB;
  --warn: #7A4B00;
  --warn-bg: #FFF1CC;
  --info-bg: #E3F4FF;

  --glossy-gradient: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .18) 46%, rgba(255, 255, 255, 0) 100%);
  --chrome-gradient: linear-gradient(100deg, #FFE1F3 0%, #FFFFFF 18%, #C0C0C0 38%, #FFFFFF 52%, #FFAFE0 70%, #9BF6FF 88%, #FFFFFF 100%);
  --pink-gradient: linear-gradient(120deg, #FFB3DD 0%, #FF69B4 45%, #C71585 100%);
  --cyan-gradient: linear-gradient(120deg, #D6FBFF 0%, #00FFFF 55%, #00A6C8 100%);
  --violet-gradient: linear-gradient(120deg, #F0D9FF 0%, #9400D3 100%);
  --iridescent-border: linear-gradient(120deg, rgba(255, 105, 180, .75), rgba(0, 255, 255, .7), rgba(148, 0, 211, .6), rgba(255, 105, 180, .75));

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(46, 10, 71, .07);
  --shadow-md: 0 12px 32px rgba(148, 0, 211, .14);
  --shadow-lg: 0 26px 64px rgba(46, 10, 71, .18);
  --glow-pink: 0 0 0 1px rgba(255, 105, 180, .28), 0 12px 34px rgba(255, 105, 180, .32);
  --glow-cyan: 0 0 0 1px rgba(0, 255, 255, .35), 0 12px 34px rgba(0, 200, 230, .25);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;

  --font: 'Orbitron', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Noto Sans SC', 'Noto Sans TC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-mid: 280ms;
  --t-slow: 520ms;
}

[data-theme="dark"] {
  --bg: #190A2B;
  --bg-gradient: linear-gradient(135deg, #2A0B3F 0%, #1A0B32 48%, #072434 100%);
  --surface: rgba(43, 16, 66, .78);
  --surface-solid: #241038;
  --surface-2: rgba(255, 255, 255, .06);
  --surface-deep: #2C1245;
  --border: rgba(255, 188, 232, .18);
  --border-strong: rgba(255, 188, 232, .34);
  --text: #F8ECFF;
  --text-soft: #E6CEFA;
  --text-muted: #C4A8DA;
  --text-invert: #1A0629;
  --focus: #6FF3FF;
  --success: #7BF0C6;
  --success-bg: rgba(11, 122, 91, .28);
  --danger: #FF9EC1;
  --danger-bg: rgba(161, 18, 63, .3);
  --warn: #FFD98A;
  --warn-bg: rgba(122, 75, 0, .32);
  --info-bg: rgba(0, 130, 170, .28);
  --pink-ink: #FF9CCE;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, .42);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, .55), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 255, 255, .16), transparent 50%);
}
[data-theme="dark"] body::after {
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 105, 180, .12), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 255, 255, .08), transparent 50%);
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--pink-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-deep); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--neon-pink); color: #2E0A47; }

.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;
}
.noscript { margin: 96px auto; max-width: 720px; padding: 20px; border-radius: 16px; background: #fff; color: #2E0A47; font-weight: 600; text-align: center; }
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform var(--t-fast);
}
.skip-link:focus-visible { transform: translateY(0); color: #fff; }

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora__blob {
  position: absolute;
  width: 56vmax;
  height: 56vmax;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .55;
  will-change: transform;
}
.aurora__blob--pink {
  top: -22vmax; left: -14vmax;
  background: radial-gradient(circle at 35% 35%, #FF9DD1, #FF69B4 45%, transparent 70%);
  animation: drift-a 12s ease-in-out infinite alternate;
}
.aurora__blob--cyan {
  right: -20vmax; top: 4vmax;
  background: radial-gradient(circle at 60% 40%, #B6FFFF, #00E5FF 50%, transparent 72%);
  animation: drift-b 10s ease-in-out infinite alternate;
}
.aurora__blob--violet {
  left: 18vmax; bottom: -30vmax;
  background: radial-gradient(circle at 50% 50%, #E3B6FF, #9400D3 55%, transparent 74%);
  opacity: .38;
  animation: drift-c 14s ease-in-out infinite alternate;
}
.aurora__grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(46, 10, 71, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 10, 71, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}
[data-theme="dark"] .aurora__grid { opacity: .12; background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px); }
.aurora__spark {
  position: absolute;
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px var(--neon-pink), 0 0 30px 8px rgba(0, 255, 255, .5);
  animation: twinkle 4.4s ease-in-out infinite;
}
.aurora__spark--1 { top: 22%; left: 12%; }
.aurora__spark--2 { top: 12%; right: 18%; animation-delay: 1.4s; }
.aurora__spark--3 { bottom: 18%; right: 8%; animation-delay: 2.6s; }

@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-5vmax, 6vmax, 0) scale(.95); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vmax, -4vmax, 0) scale(1.08); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
main { display: block; min-height: 60vh; padding-top: var(--header-h); }
.page { padding-block: 48px 88px; }
.page--flush { padding-top: 0; }
.section { padding-block: 40px; }
.section--tight { padding-block: 24px; }
.section + .section { border-top: 1px solid var(--border); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head__copy { max-width: 46rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.section-desc {
  margin-top: 10px;
  max-width: 34em;
  color: var(--text-soft);
  font-size: 15px;
}
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.stack { display: grid; gap: 16px; }
.stack--sm { gap: 8px; }
.stack--lg { gap: 32px; }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; } .between { justify-content: space-between; } .center-flex { align-items: center; }
.wrap { flex-wrap: wrap; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.grow { flex: 1 1 auto; } .hide { display: none !important; }

/* ---------- Surfaces ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid);
}
.card--flush { padding: 0; overflow: hidden; }
.card--glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--iridescent-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.hr { height: 1px; background: var(--border); border: 0; margin: 20px 0; }

/* ---------- Brand / header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: color-mix(in srgb, var(--surface-deep) 86%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(46, 10, 71, .08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: conic-gradient(from 210deg, #FF69B4, #C0C0C0, #00FFFF, #9400D3, #FF69B4);
  box-shadow: 0 6px 18px rgba(255, 105, 180, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 13px;
  background: var(--surface-deep);
}
.brand-mark svg { position: relative; z-index: 1; width: 24px; height: 24px; }
.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .06em;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.is-active { color: var(--ink); }
[data-theme="dark"] .nav-link.is-active { color: #FFD1EC; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.icon-btn:hover { background: var(--surface-deep); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.icon-btn:active { transform: translateY(1px) scale(.98); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: linear-gradient(160deg, #FF9AD1, #FF3D9A);
  color: #2E0A47;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid var(--surface-solid);
  box-shadow: 0 2px 8px rgba(255, 61, 154, .45);
}
.lang-select {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 34px 0 12px;
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.menu-toggle { display: none; }
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 12px; right: 12px;
  z-index: 89;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-deep);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 4px;
  transform-origin: top center;
  animation: menu-in var(--t-mid) var(--ease);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.mobile-menu a:hover, .mobile-menu a.is-active { background: var(--surface-2); }
.mobile-menu .mobile-menu__sep { height: 1px; background: var(--border); margin: 6px 0; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pink-gradient);
  --btn-fg: #2E0A47;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid), filter var(--t-fast), background var(--t-mid);
  box-shadow: 0 8px 22px rgba(255, 105, 180, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glossy-gradient);
  opacity: .9;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 105, 180, .38), inset 0 1px 0 rgba(255, 255, 255, .7); filter: saturate(1.08); }
.btn:active { transform: translateY(1px) scale(.99); box-shadow: 0 4px 12px rgba(255, 105, 180, .3); }
.btn svg { width: 18px; height: 18px; }
.btn--secondary {
  --btn-bg: var(--surface-deep);
  --btn-fg: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { box-shadow: var(--shadow-md); border-color: var(--neon-pink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--pink-ink);
  box-shadow: none;
  padding-inline: 8px;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--ghost::before { display: none; }
.btn--ghost:hover { transform: none; color: var(--pink-deep); box-shadow: none; }
.btn--chrome {
  --btn-bg: var(--chrome-gradient);
  --btn-fg: #2E0A47;
  box-shadow: 0 10px 24px rgba(192, 192, 192, .4), inset 0 1px 0 #fff;
}
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .48;
  filter: grayscale(.35);
  transform: none !important;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Badges / chips / tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  line-height: 1.5;
  white-space: nowrap;
}
.badge--pink { background: #FFE3F2; color: #8E1159; border-color: #FFB3DC; }
.badge--cyan { background: #DDFBFF; color: #00606E; border-color: #9DEFF7; }
.badge--violet { background: #F2E0FF; color: #5B1387; border-color: #DDB3FA; }
.badge--green { background: var(--success-bg); color: var(--success); border-color: #9CE8CE; }
.badge--warn { background: var(--warn-bg); color: var(--warn); border-color: #F3D48A; }
.badge--danger { background: var(--danger-bg); color: var(--danger); border-color: #FFB4CC; }
.badge--neutral { background: var(--surface-2); color: var(--text-soft); border-color: var(--border); }
[data-theme="dark"] .badge--pink { background: rgba(255, 105, 180, .2); color: #FFC0E2; border-color: rgba(255, 105, 180, .4); }
[data-theme="dark"] .badge--cyan { background: rgba(0, 255, 255, .14); color: #A9F8FF; border-color: rgba(0, 255, 255, .32); }
[data-theme="dark"] .badge--violet { background: rgba(148, 0, 211, .26); color: #E1B8FF; border-color: rgba(180, 90, 255, .4); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--neon-pink); color: var(--text); transform: translateY(-1px); }
.chip--active { background: var(--ink); color: #FFF3FB; border-color: var(--ink); }
.chip--active:hover { color: #FFF3FB; }
[data-theme="dark"] .chip--active { background: #FFC3E4; color: #2E0A47; border-color: #FFC3E4; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text-soft);
  border: 1px solid var(--border);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 64px 48px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 105, 180, .4);
  background: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #8E1159;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(255, 105, 180, .16);
}
[data-theme="dark"] .hero__eyebrow { background: rgba(255, 105, 180, .14); color: #FFC3E4; }
.hero__eyebrow .dot { color: var(--neon-pink); box-shadow: 0 0 10px 2px rgba(255, 105, 180, .8); animation: pulse 2.4s infinite; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.02em;
  max-width: 13ch;
}
.chrome-text {
  background: var(--chrome-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(255, 105, 180, .25);
  animation: chrome-shift 9s linear infinite;
  filter: drop-shadow(0 3px 0 rgba(46, 10, 71, .12));
}
.hero h1 .pink-text {
  background: linear-gradient(100deg, #C71585, #FF69B4 45%, #9400D3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-soft);
  line-height: 1.75;
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 24px; }
.hero__stat { display: grid; gap: 2px; }
.hero__stat strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.hero__stat span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.hero__art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.hero-orbit {
  position: absolute;
  width: min(78%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(148, 0, 211, .35);
  animation: spin 26s linear infinite;
}
.hero-orbit::before, .hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.hero-orbit::before { inset: 12%; border: 1px solid rgba(0, 255, 255, .45); }
.hero-orbit::after { inset: 26%; border: 1px solid rgba(255, 105, 180, .4); }
.hero-orbit .satellite {
  position: absolute;
  top: 50%; left: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 16px 4px rgba(0, 255, 255, .65);
}
.orb {
  position: relative;
  width: min(62%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #FFFFFF 0%, rgba(255, 255, 255, .9) 12%, transparent 28%),
    radial-gradient(circle at 68% 74%, #00FFFF 0%, rgba(0, 255, 255, .55) 22%, transparent 46%),
    linear-gradient(145deg, #FFD1EC 0%, #FF69B4 34%, #B24BFF 62%, #00D9F0 100%);
  box-shadow:
    inset -22px -26px 50px rgba(46, 10, 71, .35),
    inset 18px 18px 40px rgba(255, 255, 255, .55),
    0 30px 70px rgba(148, 0, 211, .38),
    0 0 0 1px rgba(255, 255, 255, .5);
  animation: bob 7s ease-in-out infinite;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 6% 8% 55% 16%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), transparent);
  filter: blur(6px);
  opacity: .8;
}
.orb-ring {
  position: absolute;
  width: min(76%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(0, 255, 255, .55), rgba(255, 105, 180, .75)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transform: rotate(-24deg) scaleY(.42);
  filter: blur(.2px);
  box-shadow: 0 20px 50px rgba(0, 255, 255, .2);
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--surface-deep);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  animation: bob 6s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--pink-ink); }
.float-chip--a { top: 8%; right: 2%; animation-delay: .4s; }
.float-chip--b { bottom: 12%; left: 0; animation-delay: 1.2s; }
.float-chip--c { top: 44%; right: -2%; animation-delay: 2s; }
.hero__art::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 105, 180, .28), rgba(0, 255, 255, .16) 45%, transparent 70%);
  filter: blur(10px);
}
@keyframes chrome-shift { to { background-position: 200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------- Info strip / chips ---------- */
.style-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  backdrop-filter: blur(12px);
}
.style-strip__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  margin-right: 6px;
}

/* ---------- Feature cards ---------- */
.feature-card { display: grid; gap: 14px; align-content: start; padding: 24px; }
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 105, 180, .18));
  border: 1px solid var(--border);
  color: var(--pink-ink);
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(255, 105, 180, .12);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.feature-card p { font-size: 14px; color: var(--text-soft); }
.feature-card:hover { transform: translateY(-4px); background: var(--surface-deep); }
.feature-card:hover .feature-card__icon { box-shadow: var(--glow-pink); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid), border-color var(--t-mid);
  height: 100%;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(255, 105, 180, .5); }
.product-card:focus-visible { outline-offset: 2px; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #FFE0F1, #E5D6FF 55%, #CFF8FF);
}
[data-theme="dark"] .product-card__media { background: linear-gradient(135deg, #3A154E, #231041 55%, #07313D); }
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.product-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(46, 10, 71, .55);
}
.product-card__placeholder svg { width: 46px; height: 46px; opacity: .7; }
.product-card__placeholder::before {
  content: "";
  position: absolute;
  width: 62%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .16), 0 0 0 40px rgba(255, 255, 255, .1);
}
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1 1 auto; }
.product-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__desc { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 6px; }
.price { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--pink-ink); }
[data-theme="dark"] .price { color: #FFAFD9; }
.price small { font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: .06em; }
.price--lg { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.price s { font-size: .55em; color: var(--text-muted); font-weight: 500; margin-left: 6px; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.stock-pill .dot { color: var(--success); }
.stock-pill--low .dot { color: #D98A00; }
.stock-pill--out .dot { color: var(--danger); }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.category-card:hover { transform: translateY(-3px); border-color: var(--neon-pink); box-shadow: var(--shadow-sm); }
.category-card__mark {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #FFD9F3, #CFEFFF);
  color: var(--pink-ink);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 #fff;
}
.category-card__mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.category-card__mark svg { width: 20px; height: 20px; }
.category-card strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.category-card span { font-size: 12px; color: var(--text-muted); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #E6D6FF, #FFD9F3 55%, #CFF8FF); position: relative; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 18px; display: grid; gap: 10px; }
.post-card h3 { font-size: 17px; line-height: 1.35; font-weight: 700; }
.post-card p { font-size: 13px; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card time { font-size: 12px; color: var(--text-muted); letter-spacing: .04em; }
.post-card:hover h3 { color: var(--pink-ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.label { font-size: 13px; font-weight: 700; color: var(--text-soft); letter-spacing: .03em; display: flex; align-items: center; gap: 6px; }
.label .req { color: var(--pink-deep); }
.input, .textarea, .select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-deep);
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 75%, transparent); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--neon-pink); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: transparent;
  box-shadow: 0 0 0 5px rgba(0, 184, 212, .16);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.help { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.error-text { font-size: 12px; color: var(--danger); font-weight: 600; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1 1 auto; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink-deep); flex: 0 0 auto; }
.checkbox a { color: var(--pink-ink); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative;
  width: 50px; height: 28px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--text-muted) 30%, transparent);
  border: 1px solid var(--border);
  transition: background var(--t-mid);
  flex: 0 0 auto;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(46, 10, 71, .25);
  transition: transform var(--t-mid) var(--ease);
}
.switch input:checked + .switch__track { background: linear-gradient(90deg, var(--neon-pink), var(--y2k-purple)); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-error { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--danger); font-size: 13px; font-weight: 600; }
.form-success { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--success-bg); color: var(--success); font-size: 13px; font-weight: 600; }

/* ---------- Toolbar / products page ---------- */
.products-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.filters__group { display: grid; gap: 8px; }
.filters__title { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.filter-link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}
.filter-link:hover { background: var(--surface-2); color: var(--text); }
.filter-link.is-active { background: var(--surface-deep); color: var(--ink); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .filter-link.is-active { color: #FFD1EC; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.search-form { flex: 1 1 260px; display: flex; gap: 8px; position: relative; }
.search-form .input { padding-left: 42px; }
.search-form .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.mobile-filter-btn { display: none; }
.filters-panel { display: grid; gap: 18px; }

/* ---------- Product detail ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--pink-ink); }
.breadcrumb span[aria-current] { color: var(--text); font-weight: 600; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 48px; align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main {
  position: relative;
  aspect-ratio: 1 / .9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #FFE0F1, #E5D6FF 48%, #CFF8FF);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .gallery__main { background: linear-gradient(135deg, #3A154E, #231041 48%, #07313D); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.gallery__placeholder svg { width: 84px; height: 84px; opacity: .55; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumb {
  flex: 0 0 74px;
  width: 74px; height: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface-2);
  padding: 0;
  transition: border-color var(--t-fast);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--neon-pink); box-shadow: var(--glow-pink); }
.product-info { display: grid; gap: 18px; }
.product-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.product-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.product-summary { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.sku-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sku-btn {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-deep);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.sku-btn small { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.sku-btn:hover { border-color: var(--neon-pink); transform: translateY(-1px); }
.sku-btn.is-active { border-color: var(--pink-deep); box-shadow: var(--glow-pink); background: #FFF0F8; }
[data-theme="dark"] .sku-btn.is-active { background: rgba(255, 105, 180, .2); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.buy-row .btn { flex: 1 1 180px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-deep);
  overflow: hidden;
  height: 48px;
}
.qty button {
  width: 44px; height: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  display: grid; place-items: center;
}
.qty button:hover { background: var(--surface-2); }
.qty input {
  width: 56px;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.benefit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.benefit {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.benefit svg { width: 18px; height: 18px; color: var(--pink-ink); flex: 0 0 auto; margin-top: 1px; }
.benefit strong { display: block; font-size: 12px; font-weight: 700; }
.benefit span { font-size: 11px; color: var(--text-muted); }
.product-tabs { margin-top: 56px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tab {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--pink-ink); border-bottom-color: var(--neon-pink); }
.tab-panel { display: none; animation: fade-in var(--t-mid) var(--ease); }
.tab-panel.is-active { display: block; }
.tab-panel h3 { font-size: 17px; margin-bottom: 10px; }
.tab-panel p { font-size: 14px; color: var(--text-soft); line-height: 1.75; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Prose ---------- */
.prose { font-size: 15px; line-height: 1.8; color: var(--text-soft); max-width: 46rem; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 22px; color: var(--text); margin-top: 32px; line-height: 1.3; }
.prose h3 { font-size: 17px; color: var(--text); margin-top: 24px; }
.prose ul, .prose ol { padding-left: 1.4em; list-style: disc; display: grid; gap: 6px; }
.prose ol { list-style: decimal; }
.prose a { color: var(--pink-ink); }
.prose img { border-radius: var(--radius); margin-block: 18px; height: auto; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose blockquote { border-left: 3px solid var(--neon-pink); padding-left: 16px; color: var(--text-muted); }
.prose pre { overflow: auto; background: var(--ink); color: #F8E9FF; padding: 16px; border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 32px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.cart-item__media { position: relative; width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, #FFE0F1, #D9F6FF); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.cart-item__meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.cart-item__price { font-weight: 800; font-size: 15px; white-space: nowrap; }
.remove-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--text-muted); border-radius: var(--radius-sm); display: grid; place-items: center; }
.remove-btn:hover { background: var(--danger-bg); color: var(--danger); }
.remove-btn svg { width: 18px; height: 18px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-soft); }
.summary__row strong { color: var(--text); font-weight: 700; }
.summary__row--total { padding-top: 12px; border-top: 1px solid var(--border); font-size: 16px; }
.summary__row--total .price { font-size: 24px; }
.summary__note { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.mini-list { display: grid; gap: 10px; }
.mini-item { display: flex; gap: 10px; justify-content: space-between; font-size: 13px; color: var(--text-soft); }

/* ---------- Checkout / payment ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; align-items: start; }
.checkout-section { display: grid; gap: 16px; padding: 24px; }
.checkout-section h2 { font-size: 18px; font-weight: 700; }
.checkout-section__num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pink-gradient);
  color: #2E0A47;
  font-size: 12px;
  font-weight: 800;
  margin-right: 8px;
}
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.channel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-deep);
  text-align: left;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.channel:hover { border-color: var(--neon-pink); transform: translateY(-1px); }
.channel.is-active { border-color: var(--pink-deep); box-shadow: var(--glow-pink); }
.channel input { position: absolute; opacity: 0; pointer-events: none; }
.channel__mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); flex: 0 0 auto; }
.channel__mark svg { width: 18px; height: 18px; }
.channel strong { display: block; font-size: 13px; font-weight: 700; }
.channel span { display: block; font-size: 11px; color: var(--text-muted); }
.order-items { display: grid; gap: 12px; }
.order-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.order-item__media { position: relative; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #FFE0F1, #D9F6FF); }
.order-item__media img { width: 100%; height: 100%; object-fit: cover; }
.order-item__title { font-size: 13px; font-weight: 700; line-height: 1.35; }
.order-item__meta { font-size: 11px; color: var(--text-muted); }
.order-item__price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: 32px; align-items: start; }
.qr-box {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 240px;
}
.qr-box canvas, .qr-box img { max-width: 220px; height: auto; }
.qr-box .qr-fallback { font-family: var(--mono); font-size: 11px; word-break: break-all; text-align: center; color: #2E0A47; }
.pay-status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pay-status .dot { animation: pulse 2s infinite; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--pink-ink); }
.status-timeline { display: grid; gap: 0; }
.status-timeline__item { position: relative; padding: 0 0 20px 26px; border-left: 2px solid var(--border); }
.status-timeline__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.status-timeline__item::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-solid); border: 2px solid var(--border-strong); }
.status-timeline__item.is-done { border-left-color: var(--neon-pink); }
.status-timeline__item.is-done::before { background: var(--pink-gradient); border-color: transparent; box-shadow: 0 0 0 4px rgba(255, 105, 180, .15); }
.status-timeline__item strong { display: block; font-size: 13px; font-weight: 700; }
.status-timeline__item time { font-size: 11px; color: var(--text-muted); }

/* ---------- Tabs / account ---------- */
.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; padding: 10px; }
.account-nav a {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}
.account-nav a svg { width: 17px; height: 17px; }
.account-nav a:hover { background: var(--surface-2); color: var(--text); }
.account-nav a.is-active { background: var(--surface-deep); color: var(--pink-ink); box-shadow: var(--shadow-sm); }
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.account-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric { padding: 18px; display: grid; gap: 4px; }
.metric span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.metric strong { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; }
.metric small { font-size: 12px; color: var(--text-muted); }
.order-card { display: grid; gap: 12px; padding: 18px; }
.order-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.order-card__no { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.order-card__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.order-card__items { display: flex; flex-wrap: wrap; gap: 6px; }
.order-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.filters-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.filters-tabs a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text-soft); border: 1px solid var(--border); }
.filters-tabs a:hover { border-color: var(--neon-pink); color: var(--text); }
.filters-tabs a.is-active { background: var(--ink); color: #FFF3FB; border-color: var(--ink); }
[data-theme="dark"] .filters-tabs a.is-active { background: #FFC3E4; color: #2E0A47; border-color: #FFC3E4; }
.detail-list { display: grid; gap: 10px; }
.detail-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-row span { color: var(--text-muted); }
.detail-row strong { font-weight: 700; text-align: right; word-break: break-word; }
.fulfillment {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #F8E9FF;
  font-family: var(--mono);
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 320px;
  overflow: auto;
}
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-family: var(--mono); font-size: 13px; }
.recovery-codes span { padding: 6px 10px; background: var(--surface-deep); border: 1px dashed var(--border-strong); border-radius: 8px; text-align: center; letter-spacing: .06em; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 40px; align-items: stretch; padding-block: 48px 72px; }
.auth-card { padding: 32px; max-width: 480px; width: 100%; margin-inline: auto; }
.auth-card h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.auth-card .lead { color: var(--text-soft); font-size: 14px; margin-bottom: 24px; }
.auth-aside { position: relative; display: grid; align-content: center; gap: 18px; padding: 32px; overflow: hidden; }
.auth-aside h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.2; }
.auth-aside p { color: var(--text-soft); font-size: 14px; }
.auth-aside__orb { position: absolute; right: -60px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #fff, #FF69B4 40%, #9400D3 100%); opacity: .5; filter: blur(2px); }

/* ---------- Blog / notice ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-head { max-width: 760px; margin-bottom: 32px; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.16; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; color: var(--text-muted); margin-top: 14px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); max-height: 420px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }

/* ---------- Empty state ---------- */
.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 56px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.empty__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #FFE3F3, #DDFBFF);
  color: var(--pink-ink);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-sm);
}
.empty__icon svg { width: 28px; height: 28px; }
.empty h2, .empty h3 { font-size: 18px; font-weight: 700; }
.empty p { font-size: 14px; color: var(--text-muted); max-width: 34em; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn {
  min-width: 42px; height: 42px;
  padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.page-btn:hover { border-color: var(--neon-pink); color: var(--text); }
.page-btn.is-active { background: var(--ink); border-color: var(--ink); color: #FFF3FB; }
[data-theme="dark"] .page-btn.is-active { background: #FFC3E4; border-color: #FFC3E4; color: #2E0A47; }
.page-btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* ---------- Toast / modal ---------- */
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: grid; gap: 10px; width: min(360px, calc(100vw - 36px)); }
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--surface-deep);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  animation: toast-in var(--t-mid) var(--ease);
}
.toast svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.toast--success { border-color: #7FD9BC; color: var(--success); }
.toast--error { border-color: #F3A7C0; color: var(--danger); }
.toast--info { border-color: #8FD7F2; color: var(--text); }
.toast.is-leaving { animation: toast-out var(--t-mid) var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal-root { position: fixed; inset: 0; z-index: 140; display: none; }
.modal-root.is-open { display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(30, 4, 48, .55); backdrop-filter: blur(6px); }
.modal {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-deep);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  animation: modal-in var(--t-mid) var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal__head h2 { font-size: 19px; font-weight: 800; }

/* ---------- Header progress / skeleton ---------- */
.top-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120; background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan)); opacity: 0; transition: width .4s var(--ease), opacity .2s; }
.top-progress.is-active { opacity: 1; }
.skeleton { position: relative; overflow: hidden; background: color-mix(in srgb, var(--text-muted) 16%, transparent); border-radius: 8px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shimmer 1.4s infinite; }
[data-theme="dark"] .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); }
.skeleton--line { height: 14px; margin-bottom: 12px; }
.skeleton--w40 { width: 40%; } .skeleton--w70 { width: 70%; }
.skeleton--block { height: 220px; margin-top: 24px; border-radius: var(--radius); }
.skeleton--card { height: 300px; border-radius: var(--radius); }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.page-loading { padding-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  padding: 56px 0 24px;
  background: linear-gradient(160deg, #2A0A45 0%, #1D0733 62%, #120524 100%);
  color: #F3E1FF;
  border-top: 1px solid rgba(255, 188, 232, .2);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 0%, rgba(255, 105, 180, .25), transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(0, 255, 255, .14), transparent 38%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 40px; }
.footer-brand .brand { color: #FFF3FB; }
.footer-brand .brand-mark::after { background: #1D0733; }
.footer-brand .brand-sub { color: #C7A9DE; }
.footer-brand p { margin-top: 16px; font-size: 13px; color: #C7A9DE; max-width: 26em; line-height: 1.7; }
.footer-col h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #FFB8DF; margin-bottom: 14px; font-weight: 800; }
.footer-col a { display: block; padding: 6px 0; color: #D9C1EC; text-decoration: none; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 15px; height: 15px; }
.footer-bottom {
  position: relative;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #B99BD1;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: #C7A9DE; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-pay { display: flex; gap: 8px; align-items: center; }
.footer-pay span { padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; font-size: 10px; letter-spacing: .1em; color: #D9C1EC; }

/* ---------- Dark overrides for decorative gradient panels ---------- */
[data-theme="dark"] .cta-band {
  background: linear-gradient(120deg, rgba(58, 21, 78, .92), rgba(120, 25, 90, .72) 48%, rgba(7, 49, 61, .92)) !important;
  border-color: rgba(255, 188, 232, .3) !important;
}
[data-theme="dark"] .about-art {
  background: linear-gradient(135deg, rgba(58, 21, 78, .92), rgba(35, 16, 65, .9) 52%, rgba(7, 49, 61, .92)) !important;
}
[data-theme="dark"] .wallet-hero {
  background: linear-gradient(120deg, rgba(58, 21, 78, .95), rgba(120, 25, 90, .68) 55%, rgba(7, 49, 61, .9)) !important;
}

/* ---------- Utilities ---------- */
.no-glow .aurora__blob,
.no-glow .aurora__spark { animation: none !important; opacity: .28; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.info-banner {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--info-bg);
  font-size: 13px;
  line-height: 1.6;
}
.info-banner svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--pink-ink); }
.warning-banner { background: var(--warn-bg); border-color: #EBCB7A; color: var(--warn); }
.warning-banner svg { color: var(--warn); }
.success-banner { background: var(--success-bg); border-color: #9CE8CE; color: var(--success); }
.success-banner svg { color: var(--success); }
.danger-banner { background: var(--danger-bg); border-color: #F3A7C0; color: var(--danger); }
.danger-banner svg { color: var(--danger); }
.copy-field { display: flex; gap: 8px; align-items: center; }
.copy-field code { flex: 1 1 auto; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); font-family: var(--mono); font-size: 12px; word-break: break-all; }
.icon-list { display: grid; gap: 10px; }
.icon-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); }
.icon-list svg { width: 18px; height: 18px; color: var(--pink-ink); flex: 0 0 auto; margin-top: 2px; }
.kit-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kit-toggle-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.kit-badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.card-link-cover { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card-link-cover:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; --gutter: 18px; }
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .lang-select { display: none; }
  .hero { padding-block: 40px 32px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { order: -1; min-height: 300px; margin-block: 8px 4px; }
  .hero h1 { max-width: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .products-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.is-open { display: grid; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .mobile-filter-btn { display: inline-flex; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout, .pay-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
  .account-nav a { white-space: nowrap; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .auth-aside { display: none; }
  .post-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 620px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 15px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 42px; height: 42px; }
  .header-theme, .header-account { display: none; }
  .mobile-menu__theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; color: var(--text); font-weight: 600; font-size: 14px; background: none; border: 0; border-radius: var(--radius-sm); width: 100%; }
  .mobile-menu__theme:hover { background: var(--surface-2); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .post-grid, .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "media info remove" "media price price"; row-gap: 8px; }
  .cart-item__media { grid-area: media; width: 64px; height: 64px; }
  .cart-item__info { grid-area: info; }
  .cart-item__price { grid-area: price; text-align: left; }
  .cart-item .remove-btn { grid-area: remove; align-self: start; }
  .cart-item .qty { grid-area: price; justify-self: end; }
  .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-row { grid-template-columns: minmax(0, 1fr); }
  .channel-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
  .input-group { flex-direction: column; }
  .input-group .btn { width: 100%; }
  .auth-card { padding: 22px; }
  .checkout-section, .card { padding: 16px; }
  .recovery-codes { grid-template-columns: minmax(0, 1fr); }
  .hero__art { min-height: 280px; }
  .float-chip--c { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .toast-stack { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .aurora__blob, .hero-orbit, .orb, .float-chip, .chrome-text { animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .aurora, .toast-stack, .modal-root, .top-progress, .btn { display: none !important; }
  main { padding-top: 0; }
  body { background: #fff; color: #000; }
  .card, .panel { border-color: #ccc; box-shadow: none; background: #fff; }
}
