/* ==========================================================================
   VIGORWOLF — Premium dark streetwear design system
   Palette: black / charcoal / wolf-grey / white + red accent
   Type:  Anton (display) · Pirata One (gothic accent) · Space Grotesk (body) · Space Mono (labels)
   ----------------------------------------------------------------------------
   Change brand colors in the :root block below.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Pirata+One&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* --- Brand colors (edit here) --- */
  --bg:        #0a0a0b;   /* main background (near-black, avoids OLED smear) */
  --surface:   #121214;   /* sections / cards */
  --surface-2: #17171a;   /* raised cards / inputs */
  --charcoal:  #1c1c20;   /* deep charcoal accents */
  --line:      rgba(255,255,255,.09);  /* borders / wolf-grey lines */
  --line-2:    rgba(255,255,255,.16);
  --text:      #f5f5f4;   /* main text (white) */
  --muted:     #a1a1a6;   /* secondary text (wolf grey) */
  --muted-2:   #6c6c72;   /* faint text */

  /* Monochrome accent (no red). Change these to re-tint the whole site. */
  --accent:    #f2f2f0;   /* primary accent = near-white */
  --accent-hi: #ffffff;   /* accent hover */
  --accent-dim: rgba(255,255,255,.09);
  --on-accent: #0a0a0b;   /* text/ink on a filled accent surface */
  /* Legacy aliases: existing code references --red*, now mapped to the mono accent. */
  --red:       var(--accent);
  --red-hi:    var(--accent-hi);
  --red-dim:   var(--accent-dim);
  --green:     #d4d4d4;   /* success/positive now a light neutral */
  --amber:     #cfcfcf;   /* warnings now a mid neutral (kept non-red) */

  /* --- Type --- */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-gothic:  'Pirata One', 'Anton', serif;
  --font-body:    'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  /* --- Layout --- */
  --maxw: 1240px;
  --nav-h: 66px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------- 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-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }

/* subtle film-grain / vignette atmosphere */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.05), transparent 60%);
}

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section-head { margin-bottom: 40px; }
main { position: relative; z-index: 2; }

/* --------------------------------------------------------------- typography */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: .01em;
  text-transform: uppercase;
}
h1.display { font-size: clamp(2.8rem, 8vw, 6.5rem); }
h2.display { font-size: clamp(2rem, 5vw, 3.6rem); }
h3.display { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.gothic { font-family: var(--font-gothic); text-transform: none; letter-spacing: .5px; }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }

/* mono eyebrow / data label — the "underground" accent */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--red); display: inline-block;
}
.eyebrow--plain::before { display: none; }
.tag {
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px;
  display: inline-block;
}
.tag--red { color: var(--text); border-color: var(--line-2); background: var(--accent-dim); }

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--on-accent); cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--red-hi); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: .85rem; }
.btn--sm { padding: 9px 16px; font-size: .7rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn[data-loading="1"] { color: transparent; position: relative; }
.btn[data-loading="1"]::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.25); border-top-color: var(--on-accent); animation: spin .7s linear infinite;
}
/* Ghost buttons sit on a dark surface, so their spinner needs to be light. */
.btn--ghost[data-loading="1"]::after { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-underline {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); border-bottom: 1px solid var(--red); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.link-underline:hover { color: var(--red); }

/* --------------------------------------------------------------- header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo img { width: 36px; height: 36px; object-fit: contain; }
.nav__logo b {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase;
}
.nav__logo b span { color: var(--red); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .2s; position: relative; padding: 6px 0;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red);
}
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__icon { position: relative; color: var(--muted); transition: color .2s; display: flex; }
.nav__icon:hover { color: var(--text); }
.nav__icon svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: var(--on-accent); border-radius: 999px;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  display: none; align-items: center; justify-content: center; line-height: 1;
}
.cart-count[data-show="1"] { display: flex; }
.nav__toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(10,10,11,.98); backdrop-filter: blur(10px);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; padding: 28px 24px; gap: 4px;
}
.mobile-menu[data-open="1"] { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .eyebrow { margin-top: 22px; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: calc(100dvh - var(--nav-h));
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: grayscale(.35) contrast(1.05); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.72) 45%, rgba(10,10,11,.4) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__ghost {
  position: absolute; z-index: 1; right: -2%; bottom: -6%;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(6rem, 22vw, 20rem); line-height: .8; color: #fff; opacity: .03;
  pointer-events: none; white-space: nowrap;
}
.hero h1 { margin: 18px 0 20px; max-width: 14ch; }
.hero p.lede { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 26px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__meta .eyebrow { flex-direction: column; align-items: flex-start; gap: 4px; }
.hero__meta strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); letter-spacing: .04em; }

/* live clock chip */
.clock {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.clock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* --------------------------------------------------------------- marquee */
.marquee {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding: 14px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 40px; animation: marquee 26s linear infinite; }
.marquee span {
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem;
  letter-spacing: .1em; color: var(--muted); display: inline-flex; align-items: center; gap: 40px;
}
.marquee span::after { content: "◆"; color: var(--red); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- countdown */
.countdown { display: flex; gap: 12px; flex-wrap: wrap; }
.countdown__cell {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; min-width: 84px; text-align: center;
}
.countdown__cell b {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); display: block; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__cell span {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2);
}
.countdown--live b { color: var(--red); }

/* --------------------------------------------------------------- product grid */
.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 4/5; background: var(--charcoal); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 2px; backdrop-filter: blur(4px);
}
.badge--red    { background: var(--accent); color: var(--on-accent); }
.badge--soon   { background: rgba(255,255,255,.1); color: #fff; border: 1px solid var(--line-2); }
.badge--low    { background: rgba(255,255,255,.14); color: #fff; border: 1px solid var(--line-2); }
.badge--sold   { background: rgba(0,0,0,.6); color: var(--muted); border: 1px solid var(--line-2); }
.badge--feat   { background: #fff; color: #000; }
.card__soldout-veil {
  position: absolute; inset: 0; background: rgba(10,10,11,.55); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 1.3rem; color: #fff; z-index: 2;
}
.card__quickadd {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  transform: translateY(14px); opacity: 0; transition: .25s var(--ease);
}
.card:hover .card__quickadd { transform: translateY(0); opacity: 1; }
.card__body { padding: 15px 15px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.card__name { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.card__name a:hover { color: var(--red); }
.card__meta { font-family: var(--font-mono); font-size: .66rem; color: var(--muted); letter-spacing: .05em; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.price { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; }
.price .was { color: var(--muted-2); text-decoration: line-through; font-weight: 400; margin-right: 7px; }
.price .now { color: var(--red); }

/* --------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.field label .req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; color: var(--text); transition: border-color .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--red); background: #1b1b1f; outline: none; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { resize: vertical; min-height: 110px; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a1a1a6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field-error { color: var(--red); font-family: var(--font-mono); font-size: .68rem; margin-top: 6px; letter-spacing: .05em; }
.form-note { color: var(--muted); font-size: .85rem; }

/* option chips (size / color selectors) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 46px; padding: 10px 14px; text-align: center; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; transition: .18s var(--ease);
}
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { border-color: var(--red); background: var(--red-dim); color: #fff; }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* quantity stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stepper button { width: 40px; height: 40px; background: var(--surface-2); border: 0; color: var(--text); cursor: pointer; font-size: 1.1rem; transition: background .2s; }
.stepper button:hover { background: var(--charcoal); }
.stepper input { width: 46px; height: 40px; text-align: center; background: transparent; border: 0; font-family: var(--font-mono); }

/* --------------------------------------------------------------- panels / auth cards */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
}
.auth-wrap { max-width: 440px; margin: 60px auto; }
.divider { height: 1px; background: var(--line); margin: 22px 0; }

/* --------------------------------------------------------------- cart / summary rows */
.line-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img { width: 74px; height: 90px; object-fit: cover; border-radius: var(--radius); background: var(--charcoal); }
.line-item__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; line-height: 1; }
.line-item__meta { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); margin-top: 4px; }
.summary-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .85rem; padding: 7px 0; color: var(--muted); }
.summary-row--total { color: var(--text); font-size: 1.05rem; font-weight: 700; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.icon-btn { background: none; border: 0; color: var(--muted-2); cursor: pointer; transition: color .2s; }
.icon-btn:hover { color: var(--red); }

/* --------------------------------------------------------------- empty states */
.empty { text-align: center; padding: 70px 20px; }
.empty svg { width: 46px; height: 46px; color: var(--muted-2); margin: 0 auto 18px; }
.empty h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 22px; }

/* --------------------------------------------------------------- feature rows / why */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 30px 26px; }
.feature .num { font-family: var(--font-mono); color: var(--red); font-size: .8rem; letter-spacing: .1em; }
.feature h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; margin: 14px 0 8px; }
.feature p { color: var(--muted); font-size: .92rem; }

/* split / story */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05); }

/* --------------------------------------------------------------- signup band */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.signup-form { display: flex; gap: 10px; max-width: 480px; }
.signup-form .input { flex: 1; }
.signup-msg { font-family: var(--font-mono); font-size: .78rem; margin-top: 12px; letter-spacing: .04em; min-height: 18px; }
.signup-msg[data-type="ok"] { color: var(--green); }
.signup-msg[data-type="dupe"] { color: var(--amber); }
.signup-msg[data-type="err"] { color: var(--red); }

/* --------------------------------------------------------------- footer */
.site-footer { background: #0b0b0c; border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 40px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; }
.footer-brand b { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 10px; }
.footer-brand b span { color: var(--red); }
.footer-brand img { width: 32px; object-fit: contain; }
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: .9rem; max-width: 30ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-bottom p, .footer-bottom a { font-family: var(--font-mono); font-size: .7rem; color: var(--muted-2); letter-spacing: .06em; }
.admin-dot { color: var(--muted-2); opacity: .5; }
.admin-dot:hover { color: var(--red); opacity: 1; }

/* --------------------------------------------------------------- toast */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 10px; width: min(92vw, 400px); }
.toast {
  background: var(--surface-2); border: 1px solid var(--line-2); border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 13px 16px; font-size: .86rem; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  animation: toastIn .3s var(--ease); display: flex; gap: 10px; align-items: center;
}
.toast--ok { border-left-color: var(--green); }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } }

/* --------------------------------------------------------------- reveal animation */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------- product detail */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--charcoal); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumbs button { width: 70px; aspect-ratio: 4/5; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--charcoal); padding: 0; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--red); }
.pdp__price { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; margin: 6px 0 18px; }
.spec-list { border-top: 1px solid var(--line); margin-top: 24px; }
.spec-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.spec-list dd { color: var(--text); font-size: .92rem; }

/* --------------------------------------------------------------- shop toolbar */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.toolbar .input, .toolbar .select { width: auto; }
.toolbar .search { flex: 1; min-width: 200px; }
.chips-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip-filter {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--muted); cursor: pointer; transition: .18s var(--ease); white-space: nowrap;
}
.chip-filter:hover { color: var(--text); border-color: var(--line-2); }
.chip-filter[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* --------------------------------------------------------------- status pill */
.pill { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
/* Monochrome status pills — differentiated by brightness, not hue. */
.pill--pending    { color: #cfcfcf; border-color: var(--line-2); background: rgba(255,255,255,.05); }
.pill--confirmed,
.pill--processing { color: #e6e6e6; border-color: var(--line-2); background: rgba(255,255,255,.07); }
.pill--shipped    { color: #f0f0f0; border-color: var(--line-2); background: rgba(255,255,255,.09); }
.pill--delivered  { color: #0a0a0b; border-color: #fff; background: #fff; }
.pill--cancelled  { color: var(--muted-2); border-color: var(--line); background: transparent; text-decoration: line-through; }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin-shell { display: grid; grid-template-columns: 234px 1fr; min-height: 100dvh; }
.admin-side { background: #0c0c0d; border-right: 1px solid var(--line); padding: 20px 16px; position: sticky; top: 0; height: 100dvh; overflow-y: auto; }
.admin-side__logo { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 4px; }
.admin-side__logo img { width: 26px; object-fit: contain; }
.admin-side__logo b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; }
.admin-side__logo b span { color: var(--red); }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: var(--radius); color: var(--muted); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; transition: .18s; margin-bottom: 2px; }
.admin-nav a:hover { background: var(--surface); color: var(--text); }
.admin-nav a[aria-current="page"] { background: var(--red-dim); color: var(--text); box-shadow: inset 2px 0 0 var(--red); }
.admin-nav svg { width: 17px; height: 17px; flex-shrink: 0; }
.admin-main { padding: 26px 30px; overflow-x: hidden; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; letter-spacing: .03em; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 30px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.stat .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.stat .v { font-family: var(--font-display); font-size: 2.2rem; margin-top: 8px; line-height: 1; }
.stat .v small { font-size: 1rem; color: var(--muted); }
.stat--accent { border-color: var(--line-2); background: linear-gradient(180deg, var(--accent-dim), var(--surface)); }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; overflow-x: auto; background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th { text-align: left; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding: 14px 16px; border-bottom: 1px solid var(--line); background: #0d0d0e; white-space: nowrap; }
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .88rem; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: rgba(255,255,255,.02); }
.mono { font-family: var(--font-mono); font-size: .8rem; }
.row-thumb { width: 42px; height: 52px; object-fit: cover; border-radius: 3px; background: var(--charcoal); }
.actions-inline { display: flex; gap: 8px; flex-wrap: wrap; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 500; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-back[data-open="1"] { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); width: min(720px, 100%); padding: 26px; animation: toastIn .3s var(--ease); }
.modal h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin-bottom: 18px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.checkline { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 0; cursor: pointer; }
.checkline input { width: 16px; height: 16px; accent-color: var(--red); }

.admin-login-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }

/* --------------------------------------------------------------- utilities */
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .wrap { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.grow { flex: 1; }
.stack-lg > * + * { margin-top: 18px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 200; width: 234px; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .admin-side[data-open="1"] { transform: none; }
  .admin-main { padding: 18px 16px; }
  .admin-menu-btn { display: inline-flex !important; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .section { padding: 60px 0; }
  .checkout-grid, .cart-grid { grid-template-columns: 1fr !important; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__meta { gap: 18px; }
  .signup-form { flex-direction: column; }
}
.admin-menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }
