/* ═══════════════════════════════════════════════════════════════════
   SHOTUSPRO STOREFRONT — Luminal Commerce Design System
   22nd-century immersive ecommerce experience
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  --page:         #060a0f;
  --surface:      #0d1520;
  --surface-soft: #121d2b;
  --surface-mid:  #1a2840;
  --glass:        rgba(13,21,32,0.72);
  --glass-strong: rgba(13,21,32,0.88);
  --glass-soft:   rgba(255,255,255,0.06);
  --crystal-border: rgba(255,255,255,0.09);

  --aura-one:   rgba(0,212,170,0.12);
  --aura-two:   rgba(99,179,255,0.08);
  --aura-three: rgba(168,85,247,0.06);

  --text:    #e8f0f7;
  --text-2:  #b8cdd8;
  --muted:   #7a94a8;
  --muted-2: #4a6070;

  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  --accent:        #00d4aa;
  --accent-strong: #00b894;
  --accent-soft:   rgba(0,212,170,0.12);
  --accent-glow:   rgba(0,212,170,0.3);

  --warm:         #ff7043;
  --gold:         #fbbf24;
  --success:      #10b981;
  --success-soft: rgba(16,185,129,0.12);
  --danger:       #f87171;
  --info:         #60a5fa;

  --contrast:      #e8f0f7;
  --contrast-soft: rgba(232,240,247,0.7);

  --radius:     10px;
  --radius-sm:  7px;
  --radius-md:  14px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.44), 0 2px 6px rgba(0,0,0,0.32);
  --shadow:    0 8px 32px rgba(0,0,0,0.52), 0 4px 10px rgba(0,0,0,0.36);
  --shadow-md: 0 16px 48px rgba(0,0,0,0.56), 0 6px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 28px 72px rgba(0,0,0,0.64), 0 10px 24px rgba(0,0,0,0.44);

  --font: "Ubuntu", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  --page-max: 1600px;
  --page-px: clamp(16px, 3.5vw, 48px);
  --nav-h: 72px;
}

/* ── Light theme ── */
body[data-theme="light"] {
  --page:         #f5f7fa;
  --surface:      #ffffff;
  --surface-soft: #f0f4f8;
  --surface-mid:  #e4eaf2;
  --glass:        rgba(255,255,255,0.8);
  --glass-strong: rgba(255,255,255,0.95);
  --glass-soft:   rgba(0,0,0,0.04);
  --crystal-border: rgba(0,0,0,0.07);
  --aura-one:   rgba(0,133,111,0.1);
  --aura-two:   rgba(0,0,0,0.04);
  --aura-three: rgba(245,183,0,0.06);
  --text:    #0e1520;
  --text-2:  #2d3d50;
  --muted:   #5a7080;
  --muted-2: #8a9eac;
  --line:        rgba(0,0,0,0.08);
  --line-strong: rgba(0,0,0,0.14);
  --accent:        #00856f;
  --accent-strong: #006f5d;
  --accent-soft:   rgba(0,133,111,0.1);
  --accent-glow:   rgba(0,133,111,0.2);
  --warm:    #e94f37;
  --contrast:      #0e1520;
  --contrast-soft: rgba(14,21,32,0.7);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 3px 12px rgba(0,0,0,0.08);
  --shadow:    0 8px 28px rgba(0,0,0,0.10);
  --shadow-md: 0 16px 44px rgba(0,0,0,0.12);
  --shadow-lg: 0 28px 64px rgba(0,0,0,0.14);
}

/* ── Goldish theme ── */
body[data-theme="goldish"] {
  --accent:        #f5b700;
  --accent-strong: #d4a000;
  --accent-soft:   rgba(245,183,0,0.12);
  --accent-glow:   rgba(245,183,0,0.3);
  --aura-one:   rgba(245,183,0,0.12);
  --aura-two:   rgba(255,200,50,0.06);
  --aura-three: rgba(255,150,0,0.06);
}

/* ── Pink / Bloom theme ── */
body[data-theme="pink"] {
  --accent:        #c9184a;
  --accent-strong: #a8143c;
  --accent-soft:   rgba(201,24,74,0.12);
  --accent-glow:   rgba(201,24,74,0.3);
  --aura-one:   rgba(201,24,74,0.12);
  --aura-two:   rgba(255,100,130,0.06);
  --aura-three: rgba(200,50,100,0.06);
}

/* ── Brownish / Olive theme ── */
body[data-theme="brownish"] {
  --accent:        #8fa12e;
  --accent-strong: #7a8c27;
  --accent-soft:   rgba(143,161,46,0.12);
  --accent-glow:   rgba(143,161,46,0.3);
  --aura-one:   rgba(143,161,46,0.12);
  --aura-two:   rgba(180,160,60,0.06);
  --aura-three: rgba(100,120,30,0.06);
}

/* ── Oceaning / Harbor theme ── */
body[data-theme="oceaning"] {
  --accent:        #0096c7;
  --accent-strong: #007eaa;
  --accent-soft:   rgba(0,150,199,0.12);
  --accent-glow:   rgba(0,150,199,0.3);
  --aura-one:   rgba(0,150,199,0.14);
  --aura-two:   rgba(0,100,200,0.08);
  --aura-three: rgba(0,180,230,0.06);
}

/* ══════════════════════════════════════════════════════
   BASE RESET
══════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
  font-size: 14px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* Utilities */
.hidden { display: none !important; }
.s-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.disabled-link {
  pointer-events: none;
  opacity: 0.5;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.helper-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.text-button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.text-button:hover {
  color: var(--accent-strong);
}

/* ══════════════════════════════════════════════════════
   PAGE CANVAS
══════════════════════════════════════════════════════ */
.s-app {
  min-height: 100vh;
  position: relative;
  background-color: var(--page);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 20%, var(--aura-one), transparent),
    radial-gradient(ellipse 60% 40% at 90% 60%, var(--aura-two), transparent),
    radial-gradient(ellipse 50% 50% at 50% 90%, var(--aura-three), transparent);
}

/* ══════════════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════════════ */
.s-ticker {
  position: relative;
  z-index: 210;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 var(--page-px);
}

.s-ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  animation: tickerScroll 40s linear infinite;
  flex-shrink: 0;
}

.s-ticker-track:hover {
  animation-play-state: paused;
}

.s-ticker-sep {
  color: var(--muted-2);
  font-size: 16px;
  line-height: 1;
}

.s-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.s-social-links a {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s;
}

.s-social-links a:hover { color: var(--accent); }

.s-social-links a.whatsapp:hover { color: #25d366; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
.s-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--glass-strong);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border-bottom: 1px solid var(--crystal-border);
  box-shadow: var(--shadow-sm);
}

.s-nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

.s-nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.s-nav-main-row {
  height: var(--nav-h);
  gap: 20px;
}

.s-nav-cat-row {
  height: 46px;
  border-top: 1px solid var(--line);
  gap: 12px;
  overflow: hidden;
}

/* Brand */
.s-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.s-brand-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1.5px solid var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.s-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-brand-fallback {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.s-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.s-brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.s-brand-sub {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Nav search */
.s-nav-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: var(--surface-soft);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-full);
  padding: 0 8px 0 16px;
  height: 42px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.s-nav-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.s-nav-search-icon {
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 8px;
}

.s-nav-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  min-width: 0;
}

.s-nav-search input::placeholder {
  color: var(--muted-2);
}

.s-nav-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #000;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.18s;
}

.s-nav-search-submit:hover {
  background: var(--accent-strong);
  transform: scale(1.05);
}

/* Nav actions */
.s-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.s-status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.s-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: liveGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes liveGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); opacity: 1; }
  50%       { box-shadow: 0 0 0 5px transparent; opacity: 0.7; }
}

.s-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--crystal-border);
  color: var(--text-2);
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.s-icon-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.04);
}

.s-nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #000;
  border: none;
  transition: background 0.18s, transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.s-nav-cart-btn:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.s-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--warm);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--page);
}

/* Category chip row */
.s-cat-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 6px 0;
}

.s-cat-chips-row::-webkit-scrollbar { display: none; }

.s-nav-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.s-sort-select {
  background: var(--surface-soft);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-full);
  color: var(--text-2);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s;
}

.s-sort-select:focus { border-color: var(--accent); }

.s-mobile-filter-btn,
.s-mobile-cat-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-soft);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-full);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.18s, color 0.18s;
}

.s-mobile-filter-btn:hover,
.s-mobile-cat-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.s-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--page);
}

.s-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.3s var(--ease), opacity 0.3s;
  opacity: 0;
  z-index: 0;
}

.s-hero-bg.with-image {
  opacity: 1;
}

.s-hero-bg.hero-visual--fading {
  opacity: 0;
}

.s-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,10,15,0.85) 0%, rgba(6,10,15,0.5) 100%);
}

/* Hero visual overlay / mark (JS injects these) */
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1;
  padding: 24px;
  text-align: center;
}

.hero-visual-overlay strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.hero-visual-overlay span {
  font-size: 14px;
  color: var(--text-2);
}

.hero-visual-mark {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

.hero-price-display {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}

/* Orbs */
.s-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.s-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--aura-one);
  top: -150px;
  left: -100px;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.s-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--aura-two);
  bottom: -100px;
  right: 10%;
  animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

.s-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--aura-three);
  top: 40%;
  right: 30%;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  from { transform: translateY(0) translateX(0); }
  to   { transform: translateY(-40px) translateX(20px); }
}

.s-hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Hero content grid */
.s-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px var(--page-px) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.s-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.s-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.s-hero-title {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}

.s-hero-body {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}

.s-hero-product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.s-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.s-hero-action-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.s-hero-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.s-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  background: var(--glass);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 80px;
}

.s-hero-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.s-hero-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Visual frame */
.s-hero-visual-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-hvf-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  background: var(--glass);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: framePulse 5s ease-in-out infinite;
  box-shadow: var(--shadow-md), 0 0 60px var(--accent-glow);
}

@keyframes framePulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 40px var(--accent-glow); }
  50%       { box-shadow: var(--shadow-md), 0 0 80px var(--accent-glow); }
}

.s-hvf-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-soft), transparent, var(--aura-two));
  pointer-events: none;
  opacity: 0.6;
}

.s-hvf-label {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.s-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: liveGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}

.s-hvf-art {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
}

.s-hvf-footer {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Slide dots */
.s-hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: center;
}

.s-hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: width 0.28s var(--ease), background 0.28s;
  padding: 0;
}

.s-hero-dots button.active {
  width: 28px;
  background: var(--accent);
}

/* ══════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════ */
.s-stats-bar {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.s-stats-bar-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.s-stats-bar-inner::-webkit-scrollbar { display: none; }

.s-stat-pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 28px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
  transition: background 0.18s;
}

.s-stat-pill:hover {
  background: var(--surface-soft);
}

.s-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.s-stat-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ══════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════ */
.s-section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 72px var(--page-px);
}

.s-section-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.s-section-hd h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 6px;
  line-height: 1.1;
}

.s-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.s-section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 480px;
}

/* ══════════════════════════════════════════════════════
   CATEGORY FEATURE GRID
══════════════════════════════════════════════════════ */
.s-cat-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.category-feature-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s, background 0.28s;
  overflow: hidden;
}

.category-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  opacity: 0;
  transition: opacity 0.28s;
  border-radius: inherit;
  pointer-events: none;
}

.category-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-soft);
}

.category-feature-card:hover::before { opacity: 1; }

.category-feature-card .eyebrow {
  font-size: 10px;
  position: relative;
  z-index: 1;
}

.category-feature-card strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.category-feature-card span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  position: relative;
  z-index: 1;
}

.category-feature-card .btn {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   CATEGORY RAIL
══════════════════════════════════════════════════════ */
.s-cat-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.category-rail-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-md);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s var(--ease), border-color 0.22s, color 0.22s, background 0.22s;
  text-align: left;
}

.category-rail-link:hover,
.category-rail-link.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.category-rail-link strong {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════
   PRODUCT COLLECTIONS (horizontal scroll)
══════════════════════════════════════════════════════ */
.s-product-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--crystal-border) transparent;
}

.s-product-scroll::-webkit-scrollbar {
  height: 4px;
}

.s-product-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.s-product-scroll::-webkit-scrollbar-thumb {
  background: var(--crystal-border);
  border-radius: 2px;
}

.s-product-scroll .product-card {
  flex-shrink: 0;
  width: 280px;
}

/* ══════════════════════════════════════════════════════
   PRODUCT CARD
══════════════════════════════════════════════════════ */
.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.44), 0 0 0 1px var(--accent);
  border-color: var(--accent);
}

.product-card-placeholder {
  opacity: 0.6;
}

/* Card media */
.product-card-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-soft);
  position: relative;
  flex-shrink: 0;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
  display: block;
}

.product-card:hover .product-card-media img {
  transform: scale(1.08);
}

/* Card overlay */
.product-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-quick-add {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

/* Stock pill (inside media) */
.stock-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.stock-pill.in {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.3);
}

.stock-pill.out {
  background: rgba(248,113,113,0.12);
  color: var(--danger);
  border: 1px solid rgba(248,113,113,0.3);
}

/* Placeholder art */
.placeholder-art {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-mid) 0%, var(--surface-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  user-select: none;
}

/* Card content */
.product-summary {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-summary h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.product-summary p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 16px 0;
  flex-wrap: wrap;
}

.product-summary .product-meta-row {
  padding: 0;
}

.price-tag {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: var(--surface-soft);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 14px;
}

.product-actions .btn {
  flex: 1;
}

.product-inline-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════
   CATALOG GRID
══════════════════════════════════════════════════════ */
.s-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Catalog controls */
.s-catalog-section .s-section-hd {
  margin-bottom: 20px;
}

/* Pagination */
.s-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

.s-pagination-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Filters panel (mobile) */
.s-filters-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(320px, 90%);
  background: var(--surface);
  border-right: 1px solid var(--crystal-border);
  z-index: 290;
  transform: translateX(-105%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.s-filters-panel.open {
  transform: translateX(0);
}

.s-filters-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.s-filters-panel-hd h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.s-filters-panel-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.s-filters-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════════
   CATEGORY CHIPS
══════════════════════════════════════════════════════ */
.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-soft);
  border: 1.5px solid var(--crystal-border);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.category-chip:hover,
.category-chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════
   ORDER TRACKER
══════════════════════════════════════════════════════ */
.s-tracker-section {
  background: var(--surface-soft);
  padding-top: 80px;
  padding-bottom: 80px;
}

.s-tracker-wrap {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.s-track-form {
  width: 100%;
}

.s-track-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 18px;
  height: 56px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.s-track-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.s-track-icon {
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 12px;
}

.s-track-input-row input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  min-width: 0;
}

.s-track-input-row input::placeholder { color: var(--muted-2); }

.s-track-input-row .btn {
  flex-shrink: 0;
  border-radius: var(--radius-full);
  padding: 10px 20px;
}

.s-track-result {
  width: 100%;
}

/* Track result cards */
.track-card {
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.track-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.track-order-ref {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.track-order-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.track-status-badge {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--st-color, #94a3b8) 14%, transparent);
  color: var(--st-color, #94a3b8);
  border: 1px solid color-mix(in srgb, var(--st-color, #94a3b8) 30%, transparent);
}

.track-customer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.track-customer > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.track-customer span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.track-customer strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.track-items {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.track-item strong {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.track-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

.track-total strong {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.track-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.track-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--crystal-border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.track-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-xl);
  color: var(--danger);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.track-error svg { flex-shrink: 0; margin-top: 2px; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════
   SHOP PROFILE
══════════════════════════════════════════════════════ */
.s-shop-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.s-shop-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s-shop-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
}

.s-shop-brand-col h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.s-shop-brand-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.s-shop-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.s-shop-detail-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.s-shop-dl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 70px;
  flex-shrink: 0;
}

.s-shop-dv {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.s-shop-link {
  color: var(--accent);
  text-decoration: none;
}

.s-shop-link:hover {
  text-decoration: underline;
}

.s-shop-metrics-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.s-shop-metric {
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s;
}

.s-shop-metric:hover {
  border-color: var(--accent);
}

.s-metric-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.s-metric-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Legacy metric class names for JS compatibility */
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.s-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px var(--page-px);
}

.s-footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.s-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.s-footer-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}

.s-footer-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.s-footer-tag {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.s-footer-copy {
  font-size: 12px;
  color: var(--muted-2);
}

/* ══════════════════════════════════════════════════════
   DRAWERS
══════════════════════════════════════════════════════ */
.s-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

.s-drawer.open {
  pointer-events: auto;
}

.s-drawer-bd {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  cursor: pointer;
}

.s-drawer.open .s-drawer-bd {
  opacity: 1;
}

.s-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(540px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--crystal-border);
  transform: translateX(105%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.s-drawer.open .s-drawer-panel {
  transform: translateX(0);
}

.s-drawer-hd {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}

.s-drawer-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.s-drawer-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-soft);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--crystal-border);
}

.s-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--crystal-border) transparent;
}

.s-drawer-body::-webkit-scrollbar { width: 4px; }
.s-drawer-body::-webkit-scrollbar-thumb { background: var(--crystal-border); border-radius: 2px; }

.s-drawer-ft {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 16px 24px 20px;
  flex-shrink: 0;
}

/* Cart items */
.s-cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  background: var(--surface-soft);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s;
}

.cart-item:hover {
  border-color: var(--accent-soft);
}

.cart-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-row h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.cart-item-row strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.cart-item-row span {
  font-size: 14px;
  color: var(--text-2);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Qty control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-control button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-2);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.qty-control button:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.qty-control input {
  width: 44px;
  height: 34px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--crystal-border);
  border-right: 1px solid var(--crystal-border);
  background: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

/* Cart summary row */
.s-cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.s-cart-total {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

/* Cart empty */
.s-cart-empty {
  margin: 40px 0;
}

/* Checkout */
.s-checkout-panel {
  width: min(580px, 100%);
}

.s-checkout-summary {
  background: var(--surface-soft);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s-form-section-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

/* Form field */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field > span,
.field > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.field input,
.field textarea,
.field select {
  background: var(--surface-soft);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.s-req {
  color: var(--danger);
}

.s-opt {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.s-checkout-status {
  text-align: center;
  min-height: 18px;
}

/* Product detail view */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-hero-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-soft);
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-media .placeholder-art {
  width: 100%;
  height: 100%;
  font-size: 80px;
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail-copy h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-detail-copy > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.product-meta {
  background: var(--surface-soft);
  border: 1px solid var(--crystal-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-meta .product-meta-row {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.product-meta .product-meta-row:last-child {
  border-bottom: none;
}

.product-meta .product-meta-row span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.product-meta .product-meta-row strong {
  color: var(--text);
  font-weight: 700;
}

/* Content section (related products) */
.content-section {
  padding-top: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.product-grid {
  display: grid;
  gap: 16px;
}

.compact-grid {
  grid-template-columns: 1fr;
}

/* ══════════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
  border: 1.5px solid var(--crystal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.empty-state p {
  font-size: 14px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.6;
}

.empty-state-actions {
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 8px 28px var(--accent-glow);
  color: #000;
  text-decoration: none;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--text-2);
  border-color: var(--crystal-border);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-block {
  width: 100%;
}

/* ══════════════════════════════════════════════════════
   THEME PANEL
══════════════════════════════════════════════════════ */
.s-theme-panel {
  position: fixed;
  right: 80px;
  bottom: 90px;
  z-index: 250;
  background: var(--glass-strong);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: 220px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.s-theme-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.s-theme-panel-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.s-theme-list {
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.theme-option:hover {
  background: var(--surface-soft);
}

.theme-option.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.theme-swatch {
  width: 28px;
  height: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--crystal-border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   CART FAB
══════════════════════════════════════════════════════ */
.s-cart-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
  position: fixed;
}

.s-cart-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 48px var(--accent-glow);
}

.s-cart-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--warm);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--page);
  line-height: 1;
}

/* ══════════════════════════════════════════════════════
   TOASTS
══════════════════════════════════════════════════════ */
.s-toast-stack {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 13px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: toastIn 0.28s var(--ease) both;
  pointer-events: auto;
  max-width: 340px;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
}

.toast.success {
  background: rgba(16,185,129,0.15);
  border: 1.5px solid rgba(16,185,129,0.35);
  color: #6ee7b7;
}

.toast.error {
  background: rgba(248,113,113,0.15);
  border: 1.5px solid rgba(248,113,113,0.35);
  color: #fca5a5;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ══════════════════════════════════════════════════════
   SETUP OVERLAY (js-generated panel)
══════════════════════════════════════════════════════ */
.store-setup-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(6,10,15,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.store-setup-card {
  background: var(--surface);
  border: 1.5px solid var(--crystal-border);
  border-radius: var(--radius-2xl);
  padding: 44px 40px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUp 0.32s var(--ease);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.store-setup-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
}

.store-setup-card h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
}

.store-setup-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.store-setup-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-setup-card .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-setup-card .field > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════
   KEYFRAMES (additional)
══════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-soft) 25%, var(--surface-mid) 50%, var(--surface-soft) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .s-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
  }

  .s-hero-copy {
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
  }

  .s-hero-visual-frame {
    display: none;
  }

  .s-hero-action-group {
    justify-content: center;
  }

  .s-hero-stats {
    justify-content: center;
  }

  .s-shop-profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .s-shop-metrics-col {
    grid-column: 1 / -1;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --nav-h: 62px;
  }

  .s-ticker {
    height: 30px;
  }

  .s-brand-sub { display: none; }

  .s-nav-search {
    max-width: none;
    flex: 1;
  }

  .s-nav-cat-row {
    height: 42px;
  }

  .s-status-pill {
    display: none;
  }

  .s-mobile-filter-btn,
  .s-mobile-cat-btn {
    display: flex;
  }

  .s-hero-title {
    font-size: clamp(34px, 8vw, 52px);
  }

  .s-cat-feature-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .s-catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .s-shop-profile-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .s-shop-metrics-col {
    grid-column: auto;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .s-drawer-panel {
    width: 100%;
  }

  .s-theme-panel {
    right: 16px;
    bottom: 90px;
    width: calc(100% - 32px);
    max-width: 320px;
  }

  .track-customer {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 480px
══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .s-nav-search {
    display: none;
  }

  .s-sort-select {
    display: none;
  }

  .s-stat-pill {
    padding: 12px 18px;
  }

  .s-catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .s-cat-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .s-cat-rail {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .s-hero-stat {
    padding: 8px 12px;
    min-width: 70px;
  }

  .s-track-input-row {
    height: 50px;
    padding-left: 14px;
  }

  .track-card-head {
    flex-direction: column;
    gap: 12px;
  }

  .s-shop-metrics-col {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail-grid {
    gap: 16px;
  }

  .s-section {
    padding: 48px var(--page-px);
  }
}

/* ══════════════════════════════════════════════════════
   FILTERS OPEN (body class)
══════════════════════════════════════════════════════ */
body.filters-open {
  overflow: hidden;
}

body.filters-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 280;
}
