/* ============================================================
   Say GO Gaming — stylesheet
   Light is the default theme; dark is an optional toggle.
   ============================================================ */

:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #edf1f5;
  --ink: #0f1b2a;
  --ink-soft: #4c5c70;
  --line: #dce3ea;
  --brand: #00974d;
  --brand-deep: #00713a;
  --brand-tint: #e6f5ec;
  --accent: #f5a524;
  --accent-tint: #fdf3e2;
  --danger: #c0392b;

  --logo-ink: #06291a;
  --logo-tile: #00974d;
  --logo-s: #ffffff;
  --logo-g: #ffc24d;

  --track-ink: #062a3f;
  --track-tile: #0f6fa8;
  --track-line: #7fe0ff;
  --track-tint: #e8f2fa;

  --shadow-1: 0 1px 2px rgba(15, 27, 42, .06);
  --shadow-2: 0 10px 28px rgba(15, 27, 42, .10);
  --shadow-3: 0 24px 60px rgba(10, 20, 32, .24);
  --scrim: rgba(10, 20, 32, .5);

  --r-btn: 10px;
  --r-card: 16px;
  --r-media: 12px;

  --font-head: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --maxw: 1280px;
}

[data-theme="dark"] {
  --bg: #0c1520;
  --surface: #121e2b;
  --surface-2: #182636;
  --ink: #eaf0f6;
  --ink-soft: #a5b4c4;
  --line: #24374c;
  --brand: #2bd07c;
  --brand-deep: #24b56b;
  --brand-tint: #12301f;
  --accent: #ffc24d;
  --accent-tint: #2e2614;
  --logo-ink: #04150c;
  --logo-tile: #18a95f;
  --logo-s: #ffffff;
  --logo-g: #ffd166;
  --track-ink: #04121c;
  --track-tile: #1b86c4;
  --track-line: #9ceaff;
  --track-tint: #0e2432;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 12px 30px rgba(0, 0, 0, .45);
  --shadow-3: 0 26px 64px rgba(0, 0, 0, .6);
  --scrim: rgba(3, 8, 14, .7);
}

/* ---------------- Base ---------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  letter-spacing: -.02em;
  color: var(--ink);
}
h1 { font-size: 46px; font-weight: 800; line-height: 1.05; }
h2 { font-size: 34px; font-weight: 700; line-height: 1.12; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600;
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 12px; }

main { display: block; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { background: var(--surface-2); }
[data-theme="dark"] .btn-outline { border-color: #33485f; }

.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

.link-ghost {
  background: none; border: 0; padding: 0;
  color: var(--brand);
  font: 600 15px/1.4 var(--font-body);
  cursor: pointer;
}
.link-ghost:hover { text-decoration: underline; }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}
.icon-btn:hover { background: var(--surface-2); }

/* ---------------- Header (persistent) ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 18px rgba(15, 27, 42, .07); }

.header-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: block; width: 48px; height: 48px; flex: none; }
.brand-mark svg { width: 48px; height: 48px; display: block; }
.brand-word {
  font-family: var(--font-head);
  font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--brand); }

.header-search {
  display: flex; align-items: center; gap: 8px;
  max-width: 520px; width: 100%;
  margin: 0 auto;
  position: relative;
}
.header-search > svg { position: absolute; left: 14px; color: var(--ink-soft); pointer-events: none; }
.header-search input {
  flex: 1; min-width: 0;
  height: 44px;
  padding: 0 12px 0 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface-2);
  color: var(--ink);
  font: 400 15px var(--font-body);
}
.header-search input::placeholder { color: var(--ink-soft); }
.header-search .search-go { flex: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .icon-sun { display: none; }
[data-theme="dark"] .header-actions .icon-sun { display: block; }
[data-theme="dark"] .header-actions .icon-moon { display: none; }

.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px;
  background: var(--accent); color: #21160a;
  font: 600 11px/19px var(--font-mono);
  text-align: center;
}
.hamburger { display: none; }

/* ---------------- Nav bar (persistent) ---------------- */
.category-bar { border-top: 1px solid var(--line); background: var(--surface); }
.nav-list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  /* Scrollable when space is tight, but never show a scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.nav-item { position: relative; flex: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  height: 48px; padding: 0 13px;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand); }
.nav-item.open > .nav-link,
.nav-item:hover > .nav-link { color: var(--brand); border-bottom-color: var(--brand); }
.caret { transition: transform 200ms var(--ease); opacity: .65; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  top: 100%; left: 0;
  z-index: 70;
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
}
.nav-item:hover .mega-panel,
.nav-item:focus-within .mega-panel,
.nav-item.open .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-title {
  font: 600 12px/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.mega-col ul li { margin-bottom: 6px; }
.mega-col a { font-size: 14.5px; color: var(--ink); }
.mega-col a:hover { color: var(--brand); }
.mega-aside { border-left: 1px solid var(--line); padding-left: 24px; }
.mega-blurb { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }

/* ---------------- Mobile nav ---------------- */
.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  transition: max-height 260ms var(--ease);
}
.mobile-nav.open { max-height: 76vh; overflow-y: auto; padding-bottom: 18px; }
.m-acc { padding: 6px 20px; }
.m-acc-item { border-bottom: 1px solid var(--line); }
.m-acc-trigger, .m-acc-link {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 12px 2px;
  background: none; border: 0;
  color: var(--ink);
  font: 600 16px var(--font-head);
  text-align: left;
  cursor: pointer;
}
.m-acc-trigger svg { transition: transform 200ms var(--ease); }
.m-acc-item.open .m-acc-trigger svg { transform: rotate(180deg); }
.m-acc-panel { max-height: 0; overflow: hidden; transition: max-height 260ms var(--ease); }
.m-acc-item.open .m-acc-panel { max-height: 620px; padding-bottom: 14px; }
.m-acc-panel ul li { margin-bottom: 4px; }
.m-acc-panel a { font-size: 14.5px; color: var(--ink-soft); }
.mobile-nav .btn-block { margin: 14px 20px 0; width: calc(100% - 40px); }

/* ---------------- Shared section furniture ---------------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
}
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin: 10px 0 12px; }
.section-lede { color: var(--ink-soft); font-size: 16.5px; }

.eyebrow {
  display: inline-block;
  font: 600 12.5px/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand);
}

.chip {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font: 600 12.5px/1.4 var(--font-body);
}
.chip-brand { background: var(--brand-tint); color: var(--brand-deep); }
[data-theme="dark"] .chip-brand { color: var(--brand); }
.chip-accent { background: var(--accent-tint); color: #8a5a06; }
[data-theme="dark"] .chip-accent { color: var(--accent); }

.tag {
  display: inline-flex; align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  font: 600 12px/1.4 var(--font-body);
}
.tag-good { background: var(--brand-tint); color: var(--brand-deep); }
[data-theme="dark"] .tag-good { color: var(--brand); }
.tag-low { background: var(--accent-tint); color: #8a5a06; }
[data-theme="dark"] .tag-low { color: var(--accent); }

.price { font-family: var(--font-mono); font-size: 17px; font-weight: 600; }
.price-was { color: var(--ink-soft); text-decoration: line-through; font-size: 14px; }

/* ---------------- Carousel ---------------- */
.carousel {
  position: relative;
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding: 0 24px;
}
.carousel-viewport { overflow: hidden; border-radius: var(--r-card); }
.carousel-track { display: grid; }
.carousel-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms var(--ease), visibility 420ms;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
/* Clear the prev/next arrows so the copy never sits underneath them */
.slide-copy { padding-left: 56px; }
.slide-title { font-size: 34px; font-weight: 700; margin: 14px 0 12px; }
.slide-text { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 22px; }
.slide-media {
  border-radius: var(--r-media);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
}
.slide-media img { max-height: 100%; width: auto; object-fit: contain; }
.slide-media-tint-a { background: var(--brand-tint); }
.slide-media-tint-b { background: #e8eef7; }
.slide-media-tint-c { background: var(--accent-tint); }
.slide-media-tint-d { background: #eef4ec; }
[data-theme="dark"] .slide-media-tint-b { background: #1b2a3c; }
[data-theme="dark"] .slide-media-tint-d { background: #1a2c22; }

.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: background 180ms var(--ease);
}
.carousel-arrow:hover { background: var(--surface-2); }
.carousel-prev { left: 36px; }
.carousel-next { right: 36px; }

.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px;
}
.carousel-dot {
  width: 26px; height: 6px;
  border: 0; padding: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background 200ms var(--ease), width 200ms var(--ease);
}
.carousel-dot.is-active { background: var(--brand); width: 38px; }

/* ---------------- Shop section ---------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  align-items: start;
}

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.spotlight-media {
  position: relative;
  background: var(--brand-tint);
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
}
.spotlight-media img { object-fit: contain; max-height: 340px; }
.spotlight-flag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #21160a;
  padding: 5px 11px; border-radius: 6px;
  font: 600 12.5px var(--font-body);
  text-transform: uppercase; letter-spacing: .08em;
}
.spotlight-body { padding: 28px; }
.spotlight-title { font-size: 26px; font-weight: 700; margin: 12px 0 8px; }
.spotlight-meta { color: var(--ink-soft); font-size: 14.5px; }
.spotlight-price { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.spotlight-points { margin-bottom: 22px; }
.spotlight-points li {
  position: relative; padding-left: 20px; margin-bottom: 7px;
  font-size: 14.5px; color: var(--ink-soft);
}
.spotlight-points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--brand);
}
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.category-rail {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.category-rail h3 { margin-bottom: 6px; }
.rail-note { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.rail-list { display: grid; gap: 4px; }
.rail-link {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background 180ms var(--ease);
}
.rail-link:hover { background: var(--surface-2); }
.rail-badge {
  flex: none;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--brand-tint); color: var(--brand-deep);
  font: 700 11px/1 var(--font-head);
  letter-spacing: .02em;
}
[data-theme="dark"] .rail-badge { color: var(--brand); }
.rail-text { display: flex; flex-direction: column; min-width: 0; }
.rail-text strong { font-size: 15px; font-weight: 600; }
.rail-text em { font-size: 12.5px; color: var(--ink-soft); font-style: normal; }
.rail-arrow { margin-left: auto; color: var(--ink-soft); }

.featured-row { margin-top: 48px; }
.row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}

/* ---------------- Product grid + cards ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: #c6d2dd;
}
[data-theme="dark"] .product-card:hover { border-color: #33485f; }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.product-media img { object-fit: contain; max-height: 100%; }
.product-chip {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  padding: 4px 9px; border-radius: 6px;
  font: 600 11.5px var(--font-body);
}
[data-theme="dark"] .product-chip { background: rgba(18, 30, 43, .9); color: var(--ink); }

.tile-art {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border-radius: var(--r-media);
  background: linear-gradient(150deg, var(--brand-tint), var(--surface-2));
}
.tile-initials {
  font: 800 40px/1 var(--font-head);
  color: var(--brand);
  letter-spacing: .01em;
}

.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.product-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.product-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px; margin-top: auto;
}
.product-card .btn-block { width: 100%; }

/* ---------------- Buylist ---------------- */
.buylist { border-top: 1px solid var(--line); }
.buylist-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
.buylist h2 { margin: 10px 0 12px; }
.step-list { display: grid; gap: 12px; margin-top: 26px; }
.step-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--brand-tint); color: var(--brand-deep);
  font: 700 15px/1 var(--font-head);
}
[data-theme="dark"] .step-num { color: var(--brand); }
.step-row h3 { font-size: 17px; margin-bottom: 4px; }
.step-row p { font-size: 14.5px; color: var(--ink-soft); }
.step-list-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.buylist-panel {
  padding: 26px;
  border-radius: var(--r-card);
  background: var(--brand-tint);
  border: 1px solid transparent;
}
[data-theme="dark"] .buylist-panel { border-color: var(--line); }
.panel-eyebrow {
  font: 600 12.5px/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-deep); margin-bottom: 12px;
}
[data-theme="dark"] .panel-eyebrow { color: var(--brand); }
.panel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.panel-tags li {
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
}
.panel-copy { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; }

.buylist-cta { border-top: 1px solid var(--line); }
.buylist-cta .buylist-inner { grid-template-columns: 1.6fr auto; align-items: center; }
.buylist-cta h2 { font-size: 28px; }

/* ---------------- About ---------------- */
.about { border-top: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-copy h2 { margin: 10px 0 16px; }
.about-lede { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 24px; }

/* CardCast note: same badge family as the main mark, hexagon shape + cast-signal palette */
.tech-note {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(140deg, var(--track-tint), var(--surface));
}
.tech-note-mark { flex: none; width: 60px; height: 60px; }
.tech-note-mark svg { width: 60px; height: 60px; display: block; }
.tech-note-body { display: grid; gap: 5px; min-width: 0; }
.tech-note-name {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1;
  color: var(--ink);
}
.tech-note-tag {
  font: 600 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 999px;
  background: var(--track-tile); color: #fff;
}
.tech-note-copy { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.about-list { display: grid; gap: 12px; }
.about-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.about-list.compact li { padding: 12px; }
.about-list strong { display: block; font-size: 15.5px; font-weight: 600; }
.about-list p { font-size: 14px; color: var(--ink-soft); }
.tick {
  flex: none;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 700;
}

/* ---------------- Breadcrumb ---------------- */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13.5px; color: var(--ink-soft);
}
.breadcrumb a:hover { color: var(--brand); }
.crumb-current { color: var(--ink); font-weight: 600; }

/* ---------------- Category hero ---------------- */
.category-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.category-hero-copy h1 { font-size: 40px; margin: 10px 0 14px; }
.category-blurb { color: var(--ink-soft); font-size: 16.5px; max-width: 62ch; }
.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 22px;
}
.hero-count { font: 500 14px var(--font-mono); color: var(--ink-soft); }

.category-hero-art {
  border-radius: var(--r-card);
  min-height: 210px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint);
  border: 1px solid var(--line);
}
.cat-initials { font: 800 54px/1 var(--font-head); color: var(--brand); letter-spacing: .02em; }
.cat-art-magic { background: var(--brand-tint); }
.cat-art-pokemon { background: #e8eef7; }
.cat-art-one-piece { background: #fdeaea; }
.cat-art-sports-cards { background: #eaf2ea; }
.cat-art-lego { background: var(--accent-tint); }
.cat-art-electronics { background: #eaeef4; }
.cat-art-games { background: #f0ecf7; }
.cat-art-collectibles { background: #f2efe9; }
.cat-art-accent { background: var(--accent-tint); }
[data-theme="dark"] .cat-art-pokemon { background: #1b2a3c; }
[data-theme="dark"] .cat-art-one-piece { background: #3a1f22; }
[data-theme="dark"] .cat-art-sports-cards { background: #1c2e22; }
[data-theme="dark"] .cat-art-electronics { background: #1d2733; }
[data-theme="dark"] .cat-art-games { background: #262038; }
[data-theme="dark"] .cat-art-collectibles { background: #2b2620; }
.buylist-hero .category-hero-art { min-height: 190px; }

/* ---------------- Category body: filters ---------------- */
.category-body { padding-top: 32px; }
.filter-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 26px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14px var(--font-body);
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.chip-filter:hover { background: var(--surface-2); }
.chip-filter.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.sort-field { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.sort-field select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--ink);
  font: 500 14.5px var(--font-body);
}
.empty-state {
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  text-align: center;
  color: var(--ink-soft);
}

/* ---------------- Submission form ---------------- */
.submission-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.submission-form {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.submission-form h2 { font-size: 26px; margin-bottom: 8px; }
.form-note { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }

.field { margin-bottom: 18px; display: block; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field-hint { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface-2);
  color: var(--ink);
  font: 400 15px var(--font-body);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-mono); font-size: 14px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; background: var(--surface);
}
.field .has-error, .has-error { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: 13px; margin-top: 6px; }
.field-row { margin-bottom: 22px; }
.check-field { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 400; }
.check-field input { width: 18px; height: 18px; accent-color: var(--brand); }

.submission-aside h3 { font-size: 18px; margin-bottom: 12px; }
.submission-aside h3 + .about-list { margin-bottom: 26px; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { font-size: 14.5px; color: var(--ink-soft); max-width: 34ch; }
.footer-title {
  font: 600 12.5px/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { font-size: 14.5px; color: var(--ink); }
.footer-col a:hover { color: var(--brand); }
.footer-meta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 32px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13.5px; color: var(--ink-soft);
}

/* ---------------- Modal ---------------- */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: var(--scrim);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-3);
}
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal-eyebrow {
  font: 600 12px/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand); margin-bottom: 10px;
}
.modal h3 { font-size: 22px; margin-bottom: 10px; padding-right: 40px; }
.modal p { color: var(--ink-soft); font-size: 15px; }

/* ---------------- Product detail page ---------------- */
.product-view {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}
.detail-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  padding: 34px;
}
.detail-media img { object-fit: contain; max-height: 100%; }
.detail-media .tile-art { background: transparent; }
.detail-media .tile-initials { font-size: 64px; }

.detail-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.detail-title { font-size: 36px; margin-bottom: 10px; }
.detail-meta { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 16px; }
.detail-price { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.price-lg { font-size: 30px; }
.detail-note { font-size: 13.5px; color: var(--ink-soft); }
.detail-desc { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.offer-panel {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  margin-bottom: 22px;
}
.offer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.offer-row + .offer-row { border-bottom: 0; }
.offer-row strong { color: var(--ink); }
.offer-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.detail-specs li {
  background: var(--surface);
  padding: 13px 16px;
  display: flex; flex-direction: column; gap: 3px;
}
.detail-specs span { font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.detail-specs strong { font-size: 15px; font-weight: 600; }
.related-section { padding-top: 48px; }

/* ---------------- Cart page ---------------- */
.cart-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.cart-hero h1 { font-size: 38px; margin: 10px 0 12px; }
.cart-hero .category-blurb { max-width: 66ch; }
.cart-section { padding-top: 32px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.cart-list { display: grid; gap: 14px; }

.cart-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.cart-thumb {
  width: 84px; height: 84px;
  border-radius: var(--r-media);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  overflow: hidden;
}
.cart-thumb img { object-fit: contain; max-height: 100%; }
.cart-thumb .tile-art { background: transparent; }
.cart-thumb .tile-initials { font-size: 20px; }
.cart-name { font-size: 16px; margin-bottom: 4px; }
.cart-name a:hover { color: var(--brand); }
.cart-meta { font-size: 13px; color: var(--ink-soft); }
.cart-unit { font-size: 13px; color: var(--ink-soft); font-family: var(--font-mono); }

.cart-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 40px;
  border: 0;
  background: var(--surface-2);
  color: var(--ink);
  font: 600 18px/1 var(--font-body);
  cursor: pointer;
  transition: background 180ms var(--ease);
}
.qty-btn:hover { background: var(--brand-tint); color: var(--brand-deep); }
[data-theme="dark"] .qty-btn:hover { color: var(--brand); }
.qty-value {
  min-width: 42px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}
.cart-line-price { min-width: 84px; text-align: right; }
.cart-remove {
  background: none; border: 0; padding: 6px 4px;
  color: var(--danger);
  font: 600 13.5px var(--font-body);
  cursor: pointer;
}
.cart-remove:hover { text-decoration: underline; }

.cart-empty {
  padding: 44px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  text-align: center;
}
.cart-empty h2 { font-size: 26px; margin-bottom: 10px; }
.cart-empty p { color: var(--ink-soft); margin-bottom: 22px; }
.cart-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.cart-summary {
  position: sticky;
  top: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.cart-summary h3 { font-size: 19px; margin-bottom: 16px; }
.summary-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 9px 0;
  font-size: 14.5px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.summary-row strong { color: var(--ink); }
.summary-total {
  border-bottom: 0;
  padding-top: 14px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}
.summary-total .price { font-size: 22px; }
.summary-note { font-size: 13px; color: var(--ink-soft); margin: 6px 0 18px; }
.cart-summary .btn-block + .btn-block { margin-top: 10px; }
.summary-fine { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

.cart-suggest { margin-top: 44px; }

/* ---------------- Motion preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .header-top { grid-template-columns: auto 1fr auto; gap: 16px; }
  .header-search { max-width: none; }
  .nav-list { padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-layout { grid-template-columns: 1fr; }
  .category-hero { grid-template-columns: 1fr; }
  .category-hero-art { min-height: 150px; }
  .buylist-inner { grid-template-columns: 1fr; gap: 28px; }
  .buylist-cta .buylist-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .submission-grid { grid-template-columns: 1fr; }
  .product-view { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-summary { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .carousel-slide { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px; }
  .slide-copy { padding-left: 44px; }
  .slide-title { font-size: 30px; }
}

@media (max-width: 900px) {
  .header-search { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 44px 20px; }
  .header-top { padding: 12px 16px; }
  .nav-list { display: none; }
  .category-bar { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-nav { display: block; }
  .header-actions .sell-cta { display: none; }
  .brand-word { font-size: 19px; }
  .brand-mark, .brand-mark svg { width: 42px; height: 42px; }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 17px; }

  .carousel { margin-top: 20px; padding: 0 20px; }
  .carousel-slide { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .slide-copy { padding-left: 0; }
  .slide-media { aspect-ratio: 4 / 5; order: -1; }
  .slide-title { font-size: 25px; }
  .carousel-arrow { display: none; }
  .carousel-slide .btn { width: 100%; }

  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media img { max-height: 240px; }
  .spotlight-actions .btn { width: 100%; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-body { padding: 13px; }
  .product-media { padding: 12px; }
  .product-name { font-size: 14.5px; }
  .product-chip { font-size: 10.5px; padding: 3px 7px; }
  .tile-initials { font-size: 30px; }

  .step-list-wide { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; }

  .filter-row { flex-direction: column; align-items: stretch; }
  .sort-field { justify-content: space-between; }
  .sort-field select { flex: 1; }

  .breadcrumb { padding: 16px 20px 0; }
  .category-hero { padding: 20px 20px 0; }
  .category-hero-copy h1 { font-size: 30px; }
  .category-hero-art { min-height: 120px; }
  .cat-initials { font-size: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .submission-form { padding: 20px; }
  .product-view { padding: 20px 20px 4px; }
  .detail-title { font-size: 26px; }
  .detail-media { padding: 20px; }
  .detail-specs { grid-template-columns: 1fr; }
  .detail-actions .btn { flex: 1 1 100%; }
  .cart-hero { padding: 20px 20px 0; }
  .cart-hero h1 { font-size: 28px; }
  .cart-hero .btn { flex: 1 1 100%; }
  .cart-row {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    row-gap: 10px;
    padding: 13px;
  }
  .cart-thumb { width: 68px; height: 68px; }
  .cart-qty { grid-column: 2 / 3; justify-self: start; }
  .cart-line-price { grid-column: 3 / 4; text-align: right; }
  .cart-remove { grid-column: 2 / 4; justify-self: end; }
  .cart-summary { padding: 18px; }
  .cart-empty-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; padding: 36px 20px 24px; gap: 26px; }
  .footer-meta { padding: 16px 20px 28px; flex-direction: column; }
  .carousel-dot { width: 20px; }
  .carousel-dot.is-active { width: 30px; }
}

@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}
