/* ═══════════════════════════════════════════════════
   Grizzly Peptides — Design System
   Palette: deep void + crimson
════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Oswald:wght@500;600;700&display=swap');

:root {
  --bg: #0a0608;
  --bg-soft: #100609;
  --surface: #180b0d;
  --surface-2: #200e11;
  --text: #f5ede8;
  --text-dim: #c9a89e;
  --muted: #8a6460;
  --line: rgba(200, 60, 60, 0.13);
  --accent: #cc1a1a;
  --accent-2: #991010;
  --gradient: linear-gradient(135deg, #cc1a1a 0%, #7a0a0a 100%);
  --accent-soft: rgba(204, 26, 26, 0.11);
  --shadow: 0 24px 56px rgba(30, 0, 0, 0.7);
  --shadow-sm: 0 8px 20px rgba(30, 0, 0, 0.5);
  --radius: 20px;
  --radius-sm: 12px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 65% 45% at 75% -5%, rgba(204, 26, 26, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at -5% 70%, rgba(122, 10, 10, 0.05) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
input, textarea, select, button { font: inherit; }

/* ── Layout ────────────────────────────────────── */
.shell {
  width: min(1360px, calc(100% - 3rem));
  margin: 0 auto;
}

/* ── Site header ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(1.6);
  background: rgba(10, 6, 8, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

/* ── Brand ─────────────────────────────────────── */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}

.brand-name-grizzly {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: #f2eee6;
  text-transform: uppercase;
}

.brand-name-peptides {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.52rem;
  letter-spacing: 0.38em;
  color: #d7263d;
  text-transform: uppercase;
  padding-left: 2px;
}

.brand-lockup h1 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.2rem;
  display: block;
}

/* ── Navigation ────────────────────────────────── */
.header-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-links > a:not(.primary-btn):not(.secondary-btn) {
  color: var(--muted);
  font-size: 0.87rem;
  padding: 0.42rem 0.72rem;
  border-radius: 9px;
  transition: color 150ms;
}

.header-links > a:not(.primary-btn):not(.secondary-btn):hover {
  color: var(--text);
}

/* ── Nav dropdown ───────────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  color: var(--muted);
  font-size: 0.87rem;
  padding: 0.42rem 0.72rem;
  border-radius: 9px;
  transition: color 150ms;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  text-decoration: none;
}

.nav-dropdown-trigger:hover { color: var(--text); }

.nav-chevron {
  font-size: 0.7rem;
  transition: transform 200ms;
  display: inline-block;
}

.nav-dropdown-wrap:hover .nav-chevron,
.nav-dropdown-wrap:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms, transform 180ms;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.nav-dropdown-wrap:hover .nav-dropdown-panel,
.nav-dropdown-wrap:focus-within .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.52rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-radius: 8px;
  transition: background 140ms, color 140ms;
  text-decoration: none;
}

.nav-dropdown-panel a:hover {
  background: rgba(204,26,26,0.1);
  color: var(--text);
}

.nav-dropdown-panel a:first-child {
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  margin-bottom: 0.25rem;
}

/* ── Buttons ────────────────────────────────────── */
.primary-btn,
.secondary-btn,
.tab-toggle,
#logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms, box-shadow 140ms, opacity 140ms;
  white-space: nowrap;
  text-decoration: none;
}

.primary-btn {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 5px 18px rgba(204, 26, 26, 0.35);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(204, 26, 26, 0.45);
}

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

.secondary-btn,
.tab-toggle,
#logout-btn {
  background: rgba(255,255,255,.05);
  color: var(--text-dim);
  border: 1px solid var(--line-subtle);
}

.secondary-btn:hover,
.tab-toggle:hover,
#logout-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
}

.tab-toggle.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(204, 26, 26, 0.3);
}

/* ── Hero ───────────────────────────────────────── */
.hero-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  padding: 2rem 0 1.5rem;
}

.hero-copy,
.hero-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.hero-copy {
  background: rgba(24, 11, 13, 0.65);
  backdrop-filter: blur(16px);
  padding: 2.25rem;
}

.hero-copy h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero-copy h2 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy > p {
  color: var(--muted);
  line-height: 1.82;
  margin-top: 1.2rem;
  font-size: 1.02rem;
  max-width: 500px;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.hero-meta div {
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-subtle);
}

.hero-meta strong {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
}

.hero-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 0.25rem;
}

.hero-panel {
  background: rgba(24, 11, 13, 0.65);
  backdrop-filter: blur(16px);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(204, 26, 26, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 0.9rem;
}

.hero-panel-inner {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-subtle);
  padding: 1.1rem;
  background: rgba(255,255,255,.02);
  flex: 1;
}

.mini-product-stack { display: grid; gap: 0.55rem; }

.mini-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-subtle);
  font-size: 0.87rem;
  transition: border-color 160ms;
}

.mini-product:hover { border-color: rgba(124,58,237,.28); }

.mini-product strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  white-space: nowrap;
}

.mini-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.9rem 0 0;
}

/* ── Feature strip ─────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 1rem;
}

.feature-strip article {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(24, 11, 13, 0.5);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 220ms, border-color 220ms, box-shadow 220ms;
}

.feature-strip article:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.32);
  box-shadow: 0 20px 50px rgba(124,58,237,.14);
}

.feature-strip article::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0.7;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(124,58,237,.22);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.3rem;
}

.feature-strip article h3 {
  margin: 0 0 0.6rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.feature-strip article p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
}

/* ── Section blocks ────────────────────────────── */
.section-block {
  margin-top: 1rem;
  padding: 1.85rem;
  border-radius: var(--radius);
  background: rgba(24, 11, 13, 0.5);
  border: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  letter-spacing: -0.045em;
  font-weight: 900;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 380px;
  font-size: 0.9rem;
  line-height: 1.78;
}

/* ── Product grid ──────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  background: var(--surface);
  transition: transform 230ms, box-shadow 230ms, border-color 230ms;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(204, 26, 26, 0.2);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 380ms ease;
}

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

.product-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(14,17,36,.55) 0%, transparent 100%);
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 1;
}

.product-body {
  padding: 1.1rem 1.15rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-body > p,
.product-desc {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 0.75rem;
}

.product-meta strong {
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Storefront product card footer ─────────────── */
.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-subtle);
}

.product-footer .primary-btn {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
}

.product-secondary-cta {
  margin-top: 0.55rem;
}

.product-secondary-cta .secondary-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.5rem;
}

/* ── Stock indicators ────────────────────────────── */
.stock-label {
  margin-top: 0.2rem;
}

.stock-low {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.stock-out {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.02em;
}

.primary-btn:disabled,
.primary-btn[disabled] {
  background: rgba(255,255,255,.08);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.badge {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(204, 26, 26, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── Reviews ────────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-grid article {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(14,17,36,.55);
  position: relative;
  overflow: hidden;
  transition: border-color 220ms, transform 220ms;
}

.review-grid article:hover {
  border-color: rgba(124,58,237,.28);
  transform: translateY(-2px);
}

.review-grid article::before {
  content: '\201C';
  position: absolute;
  top: -0.8rem;
  right: 1.1rem;
  font-size: 6rem;
  line-height: 1;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
}

.review-grid article > p:not(.stars) {
  color: var(--text-dim);
  font-size: 0.91rem;
  line-height: 1.78;
  font-style: italic;
  margin: 0 0 0.75rem;
}

.stars {
  color: var(--orange);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.7rem;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  padding: 1.5rem 0 2.5rem;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.footer-inner p {
  color: var(--muted);
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
}

.footer-links { display: flex; gap: 0.6rem; }

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.38rem 0.8rem;
  border-radius: 9px;
  border: 1px solid var(--line-subtle);
  transition: color 150ms, background 150ms;
}

.footer-links a:hover {
  color: var(--text);
  background: var(--surface);
}

/* ── Auth page ──────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-shell {
  padding: 2rem 0 2.5rem;
  flex: 1;
}

.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: rgba(24, 11, 13, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  backdrop-filter: blur(22px);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.auth-copy h2 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.045em;
  font-weight: 900;
  line-height: 1.12;
}

.auth-copy > p:last-of-type,
.auth-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.78;
  font-size: 0.93rem;
  margin: 0;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.auth-benefits span {
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.auth-forms {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line-subtle);
}

.toggle-row {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.35rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-subtle);
  border-radius: 14px;
  padding: 0.22rem;
}

.tab-toggle {
  flex: 1;
  text-align: center;
  border-radius: 12px;
  border: none;
  padding: 0.6rem 1rem;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
}

.auth-form.active { display: flex; }

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-size: 0.83rem;
  color: var(--muted);
}

/* ── Form inputs ────────────────────────────────── */
.auth-form input,
.product-form input,
.product-form textarea,
.product-form select {
  width: 100%;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0.75rem 0.95rem;
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 150ms, box-shadow 150ms;
  outline: none;
}

.auth-form input:focus,
.product-form input:focus,
.product-form textarea:focus,
.product-form select:focus {
  border-color: rgba(204, 26, 26, 0.4);
  box-shadow: 0 0 0 3px rgba(204, 26, 26, 0.1);
}

.auth-form input::placeholder,
.product-form input::placeholder,
.product-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.product-form select option {
  background: var(--surface);
  color: var(--text);
}

input[type="file"] {
  padding: 0.45rem 0;
  color: var(--muted);
  font-size: 0.84rem;
  border: none;
  background: transparent;
}

input[type="file"]::file-selector-button {
  background: rgba(255,255,255,.06);
  color: var(--text-dim);
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  padding: 0.38rem 0.75rem;
  margin-right: 0.7rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  transition: background 150ms;
}

input[type="file"]::file-selector-button:hover {
  background: rgba(255,255,255,.1);
  color: var(--text);
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--violet);
  cursor: pointer;
  flex-shrink: 0;
}

.product-form label:has(input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ── Admin page ─────────────────────────────────── */
.admin-page { min-height: 100vh; }

.admin-shell { padding: 1.5rem 0 2.5rem; }

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.admin-hero h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: -0.04em;
  font-weight: 900;
}

#admin-status {
  color: var(--muted);
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
}

.admin-stat-row {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

.stat-card {
  min-width: 130px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(24, 11, 13, 0.7);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.stat-card > span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.stat-card > strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  margin-top: 0.1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1rem;
}

.panel-card {
  border-radius: var(--radius);
  background: rgba(24, 11, 13, 0.65);
  border: 1px solid var(--line);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.panel-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.panel-head { margin-bottom: 1.2rem; }

.panel-head h3 {
  margin: 0.2rem 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* ── Data table ─────────────────────────────────── */
.table-shell { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.data-table th {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.data-table td {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid rgba(200, 60, 60, 0.07);
  color: var(--text-dim);
}

.data-table tbody tr:hover td {
  background: rgba(124,58,237,.04);
}

/* ── Product form ────────────────────────────────── */
.product-form {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.product-form label {
  color: var(--muted);
  font-size: 0.81rem;
  display: grid;
  gap: 0.32rem;
}

.product-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions { display: flex; gap: 0.6rem; }

.form-note {
  color: var(--violet-light);
  font-size: 0.82rem;
  margin: 0.1rem 0 0;
  min-height: 1.1em;
}

/* ── Product list in admin ───────────────────────── */
.product-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.product-editor-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line-subtle);
  transition: border-color 150ms;
}

.product-editor-card:hover {
  border-color: rgba(204, 26, 26, 0.2);
}

.product-editor-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.product-editor-card h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-editor-card > div > p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0.2rem 0 0;
}

.image-preview {
  display: none;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-subtle);
  background: rgba(255,255,255,.02);
}

/* ── Upload zone ─────────────────────────────────── */
.upload-zone {
  position: relative;
  border: 2px dashed rgba(124,58,237,.22);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
  background: rgba(124,58,237,.04);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: rgba(204, 26, 26, 0.45);
  background: var(--accent-soft);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 0;
}

.upload-zone-hint strong {
  display: block;
  color: var(--violet-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  pointer-events: none;
}

.upload-zone-hint span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  pointer-events: none;
}

/* ── Checkout page ──────────────────────────────── */
.checkout-page { min-height: 100vh; }

.checkout-shell { padding: 2rem 0 3rem; }

.checkout-page-header { margin-bottom: 1.85rem; }

.checkout-page-header h1 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.05em;
  font-weight: 900;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.25rem;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: calc(64px + 1.25rem);
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-subtle);
  background: rgba(255,255,255,.02);
}

.checkout-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 9px;
}

.checkout-item-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.checkout-item-qty {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.checkout-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.checkout-total-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-total-amount {
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checkout-form-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.checkout-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.checkout-legend {
  display: block;
  width: 100%;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0.75rem 0.95rem;
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 150ms, box-shadow 150ms;
  outline: none;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: rgba(124,58,237,.48);
  box-shadow: 0 0 0 3px rgba(124,58,237,.11);
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.checkout-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

/* ── Checkout step indicator ─────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  margin-bottom: 1.85rem;
}

.checkout-step-dot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.checkout-step-dot.active { color: var(--text); }
.checkout-step-dot.done { color: #22c55e; }

.step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.1);
  color: var(--muted);
  flex-shrink: 0;
}

.checkout-step-dot.active .step-num {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-violet);
}

.checkout-step-dot.done .step-num {
  background: rgba(34,197,94,.15);
  border-color: rgba(34,197,94,.3);
  color: #22c55e;
}

.step-divider {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 0.75rem;
  max-width: 3rem;
}

/* ── Stripe payment placeholder ──────────────────── */
.stripe-placeholder {
  border: 2px dashed rgba(124,58,237,.22);
  border-radius: var(--radius-sm);
  padding: 2.5rem 1.75rem;
  text-align: center;
  background: rgba(124,58,237,.04);
}

.stripe-placeholder-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 13px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.22);
  display: grid;
  place-items: center;
  margin: 0 auto 0.95rem;
  color: var(--violet-light);
}

.stripe-placeholder h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.stripe-placeholder p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
  margin: 0;
}

.stripe-placeholder code {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-subtle);
  border-radius: 5px;
  padding: 0.1rem 0.4rem;
  font-size: 0.78rem;
  color: var(--violet-light);
}

/* Payment step hidden by default */
#payment-step { display: none; }

/* ── Order confirmation ──────────────────────────── */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.confirmation-shell {
  flex: 1;
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.confirmation-card {
  width: min(640px, 100%);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(14,17,36,.82);
  backdrop-filter: blur(22px);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.confirmation-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.confirmation-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
  box-shadow: 0 10px 32px var(--accent-glow);
}

.confirmation-card h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.confirmation-card > p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.78;
  margin: 0 0 1.5rem;
}

.order-id-chip {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.25);
  color: var(--violet-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  font-family: monospace;
}

.confirmation-items {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.confirmation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.confirmation-item:last-child { border-bottom: none; }
.confirmation-item span { color: var(--text-dim); }

.confirmation-item strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.confirmation-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: rgba(124,58,237,.05);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.confirmation-total-amount {
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Status badge ────────────────────────────────── */
.status-badge {
  display: inline-flex;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pending    { background: rgba(249,115,22,.12);  color: var(--orange); }
.status-processing { background: rgba(124,58,237,.12);  color: var(--violet-light); }
.status-shipped    { background: rgba(56,189,248,.12);  color: #38bdf8; }
.status-delivered  { background: rgba(34,197,94,.12);   color: #22c55e; }
.status-cancelled  { background: rgba(248,113,113,.12); color: #f87171; }

.status-select {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  color: var(--text);
  padding: 0.28rem 0.55rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
}

/* ── Products page ──────────────────────────────── */
.products-page { min-height: 100vh; }
.products-shell { padding: 2rem 0 3rem; }

.products-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.85rem;
  flex-wrap: wrap;
}

.products-page-header h1 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -0.05em;
  font-weight: 900;
}

.product-count-chip {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(204, 26, 26, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.search-bar { position: relative; flex-shrink: 0; }

.search-bar input {
  width: 280px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0.72rem 0.9rem 0.72rem 2.6rem;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.search-bar input:focus {
  border-color: rgba(204, 26, 26, 0.4);
  box-shadow: 0 0 0 3px rgba(204, 26, 26, 0.1);
}

.search-bar input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: 4rem 0;
  font-size: 0.95rem;
}

/* ── Cart badge on nav button ───────────────────── */
.cart-nav-btn {
  position: relative;
  padding: 0.65rem 0.9rem;
  gap: 0.45rem;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 10px var(--accent-glow);
}

.cart-badge.visible { display: flex; }

/* ── Cart overlay ───────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms;
  backdrop-filter: blur(6px);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Cart drawer ────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-drawer-header h2 {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cart-close-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-subtle);
  border-radius: 9px;
  color: var(--muted);
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 150ms, background 150ms;
}

.cart-close-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.09);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 0.9rem;
  gap: 0.5rem;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-subtle);
  background: rgba(255,255,255,.02);
  transition: border-color 150ms;
}

.cart-item:hover { border-color: rgba(124,58,237,.22); }

.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.cart-item-price {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  margin-top: 0.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.qty-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-subtle);
  border-radius: 9px;
  overflow: hidden;
}

.qty-btn {
  background: rgba(255,255,255,.04);
  border: none;
  color: var(--text);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 150ms;
}

.qty-btn:hover { background: rgba(124,58,237,.14); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-btn:disabled:hover { background: rgba(255,255,255,.04); }

.qty-limit-note {
  display: block;
  font-size: 0.68rem;
  color: var(--orange);
  margin-top: 0.15rem;
}

.qty-value {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 1.6rem;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  transition: color 150ms;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-item-remove:hover { color: #f87171; }

.cart-footer {
  padding: 1.35rem 1.5rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-total-amount {
  font-size: 1.55rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checkout-btn {
  width: 100%;
  padding: 0.95rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════
   Scrolling ticker
════════════════════════════════════════════════════ */

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(6,8,18,.96);
  border-top: 1px solid rgba(124,58,237,.2);
  border-bottom: 1px solid rgba(124,58,237,.2);
  padding: 0.62rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

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

.ticker-content {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--violet-light);
  white-space: nowrap;
  padding-right: 3rem;
}

.ticker-sep {
  color: var(--orange);
  margin: 0 1.1rem;
  font-size: 0.7rem;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   Storefront layout
════════════════════════════════════════════════════ */

/* ── Hero banner (two-column split) ─────────────── */
.hero-banner {
  padding: 5rem 0 5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  gap: 5rem;
  align-items: center;
}

.hero-copy-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

.hero-banner h1 {
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.91;
  margin: 0 0 1.75rem;
}

.hero-banner h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.85;
  margin: 0 0 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions .primary-btn {
  padding: 0.85rem 2rem;
  font-size: 0.97rem;
  border-radius: 13px;
}

.hero-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 0.4rem;
  transition: color 150ms;
}

.hero-ghost-link:hover { color: var(--text); }

/* ── Hero credential card (right column) ─────────── */
.hero-cred-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-cred-item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-cred-item:nth-child(2n) { border-right: none; }
.hero-cred-item:nth-child(n+3) { border-bottom: none; }

.hero-cred-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 200ms;
}

.hero-cred-item:hover::before { opacity: 1; }

.hero-cred-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.hero-cred-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  line-height: 1.4;
}

.hero-cred-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 1rem 0 0;
  padding: 0 0.25rem;
}

/* ── Trust bar ──────────────────────────────────── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14,17,36,.75);
  backdrop-filter: blur(16px);
  overflow: hidden;
  margin: 3.5rem 0 4rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 1.35rem;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: none; }

.trust-check {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 0.1rem;
  line-height: 1.4;
}

/* ── Shop section ───────────────────────────────── */
.shop-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.shop-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  letter-spacing: -0.045em;
  font-weight: 900;
}

/* ── Reviews section ─────────────────────────────── */
.reviews-section {
  padding-bottom: 2rem;
}

.reviews-section .section-heading {
  margin-bottom: 1.6rem;
}

/* ── Footer (storefront) ─────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 2.25fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand-mark {
  display: inline-grid;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.78;
  margin: 0;
  max-width: 300px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.87rem;
  transition: color 150ms;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ── Responsive ─────────────────────────────────── */

/* ── Tablet (≤960px) ────────────── */
@media (max-width: 960px) {
  /* Hero stacks but both panels remain visible */
  .hero-section {
    grid-template-columns: 1fr;
  }

  /* 2-column product grid instead of collapsing to 1 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 2-column reviews */
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Feature strip stays 3-column — matches desktop */
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .feature-strip article {
    padding: 1rem;
  }

  /* Hero meta stays 3-column */
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-grid,
  .auth-card {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .admin-hero,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Phone (≤640px) ─────────────── */
@media (max-width: 640px) {
  .shell {
    width: calc(100% - 1.5rem);
  }

  /* Header: brand lockup on top row, nav on second row */
  .header-inner {
    padding: 0.75rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .brand-lockup {
    flex: 1 1 100%;
  }

  .brand-lockup h1 {
    font-size: 0.9rem;
  }

  .header-links {
    flex: 1 1 100%;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .header-links::-webkit-scrollbar {
    display: none;
  }

  .header-links > a:not(.primary-btn):not(.secondary-btn),
  .header-links > button:not(.primary-btn):not(.secondary-btn):not(.cart-nav-btn) {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  .primary-btn,
  .secondary-btn,
  .tab-toggle {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  /* Hero: compact padding */
  .hero-copy {
    padding: 1.5rem;
  }

  .hero-copy h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Hero meta: 3 columns, compact */
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .hero-meta div {
    padding: 0.65rem 0.55rem;
  }

  .hero-meta strong {
    font-size: 0.78rem;
  }

  .hero-meta span {
    font-size: 0.68rem;
  }

  /* Product grid: 2 columns on phone */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .product-body {
    padding: 0.85rem;
  }

  .product-body h3 {
    font-size: 0.88rem;
  }

  .product-body > p {
    font-size: 0.78rem;
  }

  .product-meta strong {
    font-size: 0.95rem;
  }

  /* Feature strip: 3 columns, very compact */
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .feature-strip article {
    padding: 0.85rem 0.7rem;
  }

  .feature-strip article h3 {
    font-size: 0.88rem;
    margin: 0.3rem 0 0.3rem;
  }

  .feature-strip article p:last-child {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  /* Reviews: single column on phone */
  .review-grid {
    grid-template-columns: 1fr;
  }

  /* Section block padding */
  .section-block {
    padding: 1.1rem;
  }

  .cta-row,
  .hero-actions,
  .form-actions,
  .admin-stat-row,
  .toggle-row {
    flex-wrap: wrap;
  }

  /* Checkout layout: stack on phone */
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    order: 2;
  }

  .checkout-form-section {
    order: 1;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ── Checkout page ─────────────────────────────── */
.checkout-shell {
  padding: 2rem 0 4rem;
}

.checkout-empty {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.checkout-summary,
.checkout-form-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.checkout-summary::before,
.checkout-form-section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}

.checkout-summary h2,
.checkout-form-section h2 {
  margin: 0.3rem 0 1.25rem;
  font-size: 1.3rem;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.summary-item-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.summary-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.summary-item-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.summary-item-qty {
  color: var(--muted);
  font-size: 0.8rem;
}

.summary-item-price {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.summary-totals {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.summary-row.summary-total {
  color: var(--text);
  font-size: 1rem;
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.muted-text {
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group legend {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  width: 100%;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.stripe-placeholder {
  border: 1px dashed rgba(200, 60, 60, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(204, 26, 26, 0.04);
  padding: 1.5rem;
}

.stripe-placeholder-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.stripe-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
}

.checkout-submit-btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.checkout-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Address autocomplete dropdown ─────────────────── */
.address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface-2);
  border: 1px solid rgba(200, 60, 60, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 200;
  overflow: hidden;
  max-height: 260px;
  overflow-y: auto;
}

.suggestion-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.7rem 0.9rem;
  font-size: 0.84rem;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background 120ms, color 120ms;
  line-height: 1.4;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item:focus,
.suggestion-item.highlighted {
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

/* ── Announcement bar ──────────────────────────── */
.announcement-bar {
  background: var(--gradient);
  padding: 0.55rem 1rem;
  text-align: center;
}

.announcement-bar p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ── Hero full-width ────────────────────────────── */
.hero-full {
  border-bottom: 1px solid var(--line);
  padding-top: 4rem;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(204, 26, 26, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(122, 10, 10, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-full-inner {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.hero-full-copy {
  max-width: 620px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1.1rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 520px;
}

/* Molecule decoration */
.hero-molecule {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  flex-shrink: 0;
}

.molecule-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(204, 26, 26, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 { width: 80px; height: 80px; animation-delay: 0s; }
.ring-2 { width: 160px; height: 160px; animation-delay: 0.8s; border-color: rgba(204, 26, 26, 0.12); }
.ring-3 { width: 260px; height: 260px; animation-delay: 1.6s; border-color: rgba(204, 26, 26, 0.07); }

@keyframes ringPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

.molecule-core {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(204, 26, 26, 0.5);
}

.molecule-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.n1 { top: 15%; left: 50%; transform: translateX(-50%); }
.n2 { top: 50%; right: 12%; transform: translateY(-50%); }
.n3 { bottom: 18%; left: 30%; }
.n4 { bottom: 18%; right: 30%; }
.n5 { top: 50%; left: 12%; transform: translateY(-50%); }

/* Hero stat strip */
.hero-stat-strip {
  border-top: 1px solid var(--line);
  background: rgba(24, 11, 13, 0.6);
  backdrop-filter: blur(12px);
}

.hero-stat-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  text-align: center;
}

.hero-stat-item strong {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-item span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── Product card enhancements ──────────────────── */
.product-media {
  position: relative;
}

.product-category-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 6, 8, 0.82);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.stars-small {
  color: #e8a030;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.rating-count {
  font-size: 0.72rem;
  color: var(--muted);
}

.stock-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.stock-pill.in-stock {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.stock-pill.out-of-stock {
  background: rgba(204, 26, 26, 0.1);
  color: var(--accent);
  border: 1px solid rgba(204, 26, 26, 0.2);
}

.stock-pill.low-stock {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* ── COA badge on product cards ─────────────────── */
.coa-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(204, 26, 26, 0.18);
  border: 1px solid rgba(204, 26, 26, 0.35);
  color: #f87171;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Card two-button row ────────────────────────── */
.card-cta-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.card-cta-row .primary-btn {
  flex: 1;
  font-size: 0.84rem;
  padding: 0.6rem 0.9rem;
}

.card-btn-view {
  font-size: 0.84rem;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
}

/* ── Statistics counters section ────────────────── */
.stats-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(24, 11, 13, 0.55);
  padding: 2.5rem 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.stat-counter {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.stat-counter span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── Email capture section ──────────────────────── */
.email-capture-section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.email-capture-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
}

.email-capture-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0.35rem 0 0.75rem;
}

.email-capture-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.email-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.email-benefits li {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.email-capture-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.email-input-wrap input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 150ms;
}

.email-input-wrap input:focus {
  border-color: var(--accent);
}

.email-capture-form .primary-btn {
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
}

.email-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.email-note.muted { opacity: 0.7; }

/* ── Footer improvements ────────────────────────── */
.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 0.6rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 0.75rem;
  max-width: 320px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 320px;
  margin: 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Section heading center variant ────────────── */
.section-heading-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-heading-center h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0.35rem 0 0.75rem;
}

.section-heading-center p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Process section ────────────────────────────── */
.process-section {
  padding: 3.5rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms, transform 200ms;
}

.process-step::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}

.process-step:hover {
  border-color: rgba(204, 26, 26, 0.25);
  transform: translateY(-2px);
}

.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Buyer protection grid ──────────────────────── */
.protection-section {
  padding: 3.5rem 0;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.protection-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.protection-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(204, 26, 26, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.protection-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.protection-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Reviews enhanced ───────────────────────────── */
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-stars {
  color: #e8a030;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.review-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.review-author strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.verified-badge {
  font-size: 0.75rem;
  color: #4ade80;
  font-weight: 600;
}

/* ── FAQ section ────────────────────────────────── */
.faq-section {
  padding: 3.5rem 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 150ms;
}

.faq-item[open] {
  border-color: rgba(204, 26, 26, 0.3);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 200ms;
  line-height: 1;
}

.faq-item[open] .faq-chevron {
  transform: rotate(90deg);
}

.faq-item p {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

/* ── Footer enhanced ────────────────────────────── */
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0.4rem 0 0;
}

.footer-disclaimer {
  margin-top: 0.85rem !important;
  font-size: 0.75rem !important;
  opacity: 0.65;
  font-style: italic;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.footer-cols a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.2rem 0;
  transition: color 150ms;
}

.footer-cols a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ── Section spacing ────────────────────────────── */
.section-block {
  margin-top: 2rem;
}

/* ── Responsive additions for new sections ──────── */
@media (max-width: 960px) {
  .hero-full-inner {
    grid-template-columns: 1fr;
  }

  .hero-molecule {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .protection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .email-capture-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .stats-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .stat-counter {
    flex: 0 1 45%;
    padding: 1rem;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-full {
    padding-top: 2rem;
  }

  .hero-full-inner {
    padding-bottom: 2rem;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-stat-inner {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat-item {
    flex: 0 1 40%;
  }

  .protection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .nav-dropdown-panel {
    left: auto;
    right: 0;
  }

  .card-cta-row {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════
   Payment pending notice (checkout)
════════════════════════════════════════════════════ */
.payment-pending-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(204, 26, 26, 0.25);
  background: rgba(204, 26, 26, 0.06);
  margin-bottom: 0.75rem;
}

.payment-pending-notice svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
  opacity: 0.8;
}

.payment-pending-notice div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.payment-pending-notice strong {
  font-size: 0.9rem;
  color: var(--text);
}

.payment-pending-notice span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════
   Order confirmation — payment instructions notice
════════════════════════════════════════════════════ */
.payment-instructions-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(204, 26, 26, 0.2);
  background: rgba(204, 26, 26, 0.05);
  text-align: left;
  margin-top: 1.25rem;
}

.payment-instructions-notice svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
  opacity: 0.75;
}

.payment-instructions-notice div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.payment-instructions-notice strong {
  font-size: 0.88rem;
  color: var(--text);
}

.payment-instructions-notice span {
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════
   Account page
════════════════════════════════════════════════════ */
.account-page { min-height: 100vh; }

.account-shell { padding: 2rem 0 3.5rem; }

.account-login-prompt {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.account-login-prompt h2 {
  margin: 0.4rem 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.account-login-prompt p {
  color: var(--text-dim);
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.account-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.account-header h2 {
  margin: 0.25rem 0 0.2rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.account-email-display {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.account-stat-row {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

.account-orders-section { margin-top: 0.5rem; }

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.orders-empty {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.orders-empty p {
  color: var(--muted);
  margin: 0;
}

/* ── Order card ─────────────────────────────────── */
.order-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(24, 11, 13, 0.65);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

.order-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.order-card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.order-id-label {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

.order-date {
  font-size: 0.82rem;
  color: var(--muted);
}

.order-card-badges {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.order-items-list {
  padding: 0.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.order-item-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.order-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.order-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-qty {
  font-size: 0.78rem;
  color: var(--muted);
}

.order-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.order-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.35rem 1rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.12);
  flex-wrap: wrap;
}

.order-shipping-address {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 55%;
}

.order-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.order-shipping-address span:last-child {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.order-total-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.order-total-amount {
  font-size: 1.35rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .account-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-stat-row {
    width: 100%;
  }

  .account-stat-row .stat-card {
    flex: 1;
  }

  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .order-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .order-shipping-address {
    max-width: 100%;
  }

  .order-total-block {
    align-items: flex-start;
  }
}

/* ── Category grid (homepage) ───────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}

.category-card:hover,
.category-card--active {
  border-color: var(--accent);
  background: rgba(215,38,61,.06);
  transform: translateY(-2px);
}

.category-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.category-info {
  flex: 1;
  min-width: 0;
}

.category-info h3 {
  margin: 0 0 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-info span {
  font-size: 0.73rem;
  color: var(--muted);
}

.category-arrow {
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.18s, transform 0.18s;
}

.category-card:hover .category-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ── Category admin panel ───────────────────────── */
.categories-admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cat-admin-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cat-admin-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cat-admin-info {
  flex: 1;
  min-width: 0;
}

.cat-admin-info strong {
  display: block;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-admin-info span {
  font-size: 0.73rem;
  color: var(--muted);
}

.cat-admin-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cat-admin-actions button {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  transition: border-color 0.15s, color 0.15s;
}

.cat-admin-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cat-admin-actions button.danger:hover {
  border-color: #ff4444;
  color: #ff4444;
}

.cat-inactive-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.category-assign-panel {
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(215,38,61,.04);
  border: 1px solid rgba(215,38,61,.18);
  border-radius: 8px;
}

.category-product-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.category-product-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  cursor: pointer;
  flex-direction: row;
  padding: 0.35rem 0.5rem;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.15s;
}

.category-product-checkboxes label:hover {
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-product-checkboxes {
    grid-template-columns: 1fr;
  }
}

