/* ==========================================================================
   PrimedSprue V4 Specialty Hobby Storefront Stylesheet
   Scale Models, Bandai Gunpla, Warhammer Miniatures, German Airbrushes & Tools
   Palette: Deep Slate Badge (#111827), Workbench Obsidian (#0b0f19),
   Warm Brass/Amber (#f59e0b), Precision Crimson (#ef4444), Slate Steel (#cbd5e1),
   Warm Studio Paper (#f6f5f1), Pure Card White (#ffffff).
   ========================================================================== */

:root {
  --obsidian: #0f172a;
  --obsidian-deep: #090d16;
  --obsidian-card: #151e32;
  --obsidian-elevated: #1e293b;
  --obsidian-line: #2c3a52;
  --paper: #f5f4ef;
  --paper-deep: #eae7de;
  --vellum: #faf9f6;
  --gallery: #ffffff;
  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-deep: #92400e;
  --gold-pale: #fde68a;
  --crimson: #ef4444;
  --crimson-deep: #b91c1c;
  --steel: #cbd5e1;
  --steel-muted: #9fb0c7;
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #475569;
  --rule: #dcd8cc;
  --rule-strong: #c4beae;
  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 28px -12px rgba(15, 23, 42, 0.14);
  --shadow-hover: 0 18px 38px -14px rgba(15, 23, 42, 0.24);
  --shadow-dark: 0 22px 48px rgba(0, 0, 0, 0.42);
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.56;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

/* Feedback widget hidden by default */
#htfb-btn {
  display: none !important;
}
body.show-feedback #htfb-btn {
  display: inline-flex !important;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--gold);
  color: var(--obsidian-deep);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  z-index: 500;
  text-decoration: none;
}
.skip:focus {
  left: 14px;
}

.wrap {
  width: min(1320px, 100% - 40px);
  margin-inline: auto;
}

small {
  font-size: 0.8rem;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.81rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crimson-deep);
  margin-bottom: 8px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  display: inline-block;
}
.eyebrow.gold {
  color: var(--gold);
}
.eyebrow.gold::before {
  background: var(--crimson);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 10px;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.8rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0 0 20px;
}

.fine {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   Sticky Top Navbar
   ========================================================================== */
.top {
  position: sticky;
  top: 0;
  z-index: 140;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #f8fafc;
  border-bottom: 2px solid rgba(245, 158, 11, 0.55);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-height: 44px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #f8fafc;
  text-transform: uppercase;
}
.wordmark b {
  color: var(--gold);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--steel);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav a:hover {
  color: #ffffff;
  background: var(--obsidian-elevated);
}
.nav a.active {
  background: var(--gold);
  color: var(--obsidian-deep);
}
.nav a.nav-accent:not(.active) {
  color: var(--gold-bright);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--obsidian-line);
  border-radius: var(--radius-xs);
  color: var(--steel);
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--obsidian-elevated);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.bench-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-xs);
  background: rgba(245, 158, 11, 0.1);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.bench-link:hover {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.2);
}
.bench-link em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 700;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--obsidian-line);
  background: var(--obsidian-card);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-bars {
  width: 16px;
  height: 2px;
  background: var(--gold);
  position: relative;
  display: inline-block;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--gold);
}
.menu-bars::before {
  top: -5px;
}
.menu-bars::after {
  top: 5px;
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn.sm {
  min-height: 38px;
  padding: 6px 13px;
  font-size: 0.82rem;
}
.btn.primary {
  background: var(--obsidian);
  color: #f8fafc;
  border-color: var(--obsidian);
}
.btn.primary:hover {
  background: var(--obsidian-elevated);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn.crimson {
  background: var(--crimson-deep);
  color: #ffffff;
  border-color: var(--crimson);
}
.btn.crimson:hover {
  background: #b91c1c;
  border-color: var(--gold);
}
.btn.gold-outline {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-pale);
  border-color: var(--gold);
}
.btn.gold-outline:hover {
  background: var(--gold);
  color: var(--obsidian-deep);
}
.btn.ghost {
  background: var(--gallery);
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn.ghost:hover {
  border-color: var(--obsidian);
  background: var(--vellum);
}
.btn.ghost-dark {
  background: var(--obsidian-elevated);
  color: #f8fafc;
  border-color: var(--obsidian-line);
}
.btn.ghost-dark:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.inp {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--rule-strong);
  background: var(--gallery);
  color: var(--ink);
  font-size: 0.92rem;
}
.inp:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.dark-inp {
  background: var(--obsidian-deep);
  color: #f8fafc;
  border-color: var(--obsidian-line);
}

/* ==========================================================================
   Product-First Hobby Workbench & Sprue Kit Hero (#home)
   ========================================================================== */
.sprue-hero {
  position: relative;
  padding: 18px 0 24px;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 0%, rgba(245, 158, 11, 0.16), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(185, 28, 28, 0.08), transparent 32%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.036) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.036) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
  border-bottom: 2px solid var(--obsidian);
}
.sprue-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0 38%, var(--crimson) 38% 68%, var(--steel) 68% 100%);
  pointer-events: none;
}

.sprue-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sprue-hero-copy {
  flex: 1 1 310px;
  min-width: 0;
  max-width: 100%;
}

.sprue-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.sprue-bench-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: var(--obsidian);
  border: 1.5px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.swatch-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.swatch-dots i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.swatch-dots .sd-red {
  background: var(--crimson);
}
.swatch-dots .sd-gold {
  background: var(--gold-bright);
}
.swatch-dots .sd-blue {
  background: #38bdf8;
}

.sprue-stat-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.sprue-stat-pill a {
  color: var(--crimson-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
}

.sprue-hero-h {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.sprue-hero-h em {
  font-style: normal;
  color: var(--crimson-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.sprue-hero-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 360px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
}

.hero-search-box {
  position: relative;
  flex: 1 1 210px;
  min-width: 0;
  max-width: 100%;
}
.hero-search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--crimson-deep);
  stroke-width: 2.2;
  stroke-linecap: round;
  pointer-events: none;
}
.hero-search-box input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px 0 36px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--obsidian);
  background: var(--gallery);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.hero-search-box input::placeholder {
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-search-box input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--obsidian);
}

#home-sort {
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--rule-strong);
  background: var(--gallery);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.hero-bench-btn {
  min-height: 42px;
  white-space: nowrap;
}

.sprue-filter-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  background: var(--gallery);
  border: 1.5px solid var(--rule-strong);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.cat-chip em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.cat-chip:hover {
  border-color: var(--obsidian);
}
.cat-chip.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: #f8fafc;
}
.cat-chip.active em {
  color: var(--gold-bright);
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  background: #fef3c7;
  border: 1.5px dashed var(--gold-deep);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.toggle-chip em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--crimson-deep);
}
.toggle-chip:hover {
  border-style: solid;
  border-color: var(--crimson-deep);
}
.toggle-chip.sale-chip.active {
  background: var(--crimson-deep);
  border: 1.5px solid var(--crimson-deep);
  color: #ffffff;
}
.toggle-chip.sale-chip.active em {
  color: var(--gold-pale);
}

.hero-live-count {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.empty-box {
  background: var(--gallery);
  border: 1.5px dashed var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
}
.empty-box p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

.near-disclose {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 70ch;
}
.near-disclose a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

/* Maker Quick-Filter Strip below Hero */
.maker-strip {
  background: var(--obsidian);
  border-bottom: 1px solid var(--obsidian-line);
  padding: 12px 0;
}
.maker-strip-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}
.maker-strip-inner::-webkit-scrollbar {
  display: none;
}
.maker-strip-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid var(--obsidian-line);
}
.maker-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--obsidian-line);
  color: #e2e8f0;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.maker-pill:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.12);
}

/* ==========================================================================
   Sections, Category Cards & Product Grid
   ========================================================================== */
.section-block {
  padding: 46px 0;
}
.section-block + .section-block {
  border-top: 1px solid var(--rule);
}

.section-dark {
  background: var(--obsidian-deep);
  color: #f8fafc;
  padding: 52px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.sec-head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  max-width: 64ch;
}
.section-dark .sec-head h2 {
  color: #ffffff;
}
.section-dark .sec-head p {
  color: var(--steel);
}

.cat-crest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.cat-crest-btn {
  text-align: left;
  padding: 14px 16px;
  background: var(--gallery);
  border: 1.5px solid var(--rule-strong);
  border-top: 4px solid var(--obsidian);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.cat-crest-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-deep);
  border-top-color: var(--crimson);
}
.cat-crest-btn span.mono {
  display: block;
  font-size: 0.75rem;
  color: var(--crimson-deep);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cat-crest-btn strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.12;
  color: var(--ink);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}

.prod-card {
  background: var(--gallery);
  color: var(--ink);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.prod-card:hover {
  transform: translateY(-3px);
  border-color: var(--obsidian);
  box-shadow: var(--shadow-hover);
}

.prod-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 14px;
  border-bottom: 1px solid var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-prod-grid .prod-img-wrap {
  aspect-ratio: 1 / 0.88;
  padding: 12px;
}
.hero-prod-grid .prod-excerpt {
  display: none;
}
.prod-img-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.24s ease;
}
.prod-card:hover .prod-img-wrap img {
  transform: scale(1.04);
}

.prod-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.25;
}
.badge.deal {
  background: var(--crimson-deep);
  color: #ffffff;
}
.badge.stock {
  background: var(--obsidian);
  color: var(--gold-bright);
}

.save-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--rule-strong);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
}
.save-btn:hover {
  border-color: var(--obsidian);
}
.save-btn.on {
  background: var(--obsidian);
  color: var(--gold-bright);
  border-color: var(--gold);
}

.prod-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.prod-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  min-width: 0;
}
.prod-meta .brand-inline {
  background: none;
  border: 0;
  padding: 0;
  color: var(--crimson-deep);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.prod-meta .brand-inline:hover {
  text-decoration: underline;
}
.prod-meta .spec-tag {
  font-size: 0.75rem;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

.prod-title {
  font-size: 0.96rem;
  margin: 0 0 7px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-title-link {
  color: inherit;
  text-decoration: none;
}
.prod-title-link:hover {
  color: var(--crimson-deep);
  text-decoration: underline;
}

.prod-excerpt {
  font-size: 0.83rem;
  line-height: 1.46;
  color: var(--ink-soft);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--paper-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.price {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.comp {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   YouTube Scale & Minis Showcase (#creators + Home Showcase)
   ========================================================================== */
.creator-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.section-dark .chip {
  background: var(--obsidian-card);
  color: #e2e8f0;
  border-color: var(--obsidian-line);
}
.section-dark .chip:hover {
  border-color: var(--gold);
  color: #ffffff;
}
.section-dark .chip.on {
  background: var(--gold);
  color: var(--obsidian-deep);
  border-color: var(--gold);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.creator-card {
  background: var(--obsidian-card);
  color: #f8fafc;
  border: 1.5px solid var(--obsidian-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.creator-card:hover,
.creator-card.active-ch {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.creator-page .creator-card {
  background: var(--gallery);
  color: var(--ink);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-card);
}
.creator-page .creator-card:hover,
.creator-page .creator-card.active-ch {
  border-color: var(--obsidian);
  box-shadow: var(--shadow-hover);
}

.creator-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #d6d3cc;
  overflow: hidden;
}
.creator-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.24s ease, opacity 0.2s ease;
}
.creator-card:hover .creator-cover img {
  transform: scale(1.04);
  opacity: 1;
}
.creator-subs-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(9, 13, 22, 0.88);
  color: var(--gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.45);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.creator-lane-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(9, 13, 22, 0.88);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
}

.creator-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.creator-name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
}
.creator-handle {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold-bright);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.creator-page .creator-handle {
  color: var(--crimson-deep);
  font-weight: 700;
}
.creator-handle:hover {
  text-decoration: underline;
}

.creator-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.creator-actions .btn.sm {
  min-height: 34px;
  padding: 4px 10px;
  font-size: 0.77rem;
}

/* Video Grid */
.vid-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--obsidian-line);
}
.creator-page .vid-subhead {
  border-top-color: var(--rule);
}
.vid-subhead h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 16px;
}

.vid-card {
  background: var(--obsidian-card);
  color: #f8fafc;
  border: 1.5px solid var(--obsidian-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.vid-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.creator-page .vid-card {
  background: var(--gallery);
  color: var(--ink);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-card);
}
.creator-page .vid-card:hover {
  border-color: var(--obsidian);
}

.vid-thumb {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: #d6d3cc;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}
.vid-card:hover .vid-thumb img {
  transform: scale(1.05);
}

.play-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--crimson-deep);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.vid-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(9, 13, 22, 0.88);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
}

.vid-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.vid-channel {
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 600;
  display: block;
}
.creator-page .vid-channel {
  color: var(--crimson-deep);
}
.vid-body h3 {
  font-size: 0.94rem;
  margin: 0;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vid-body a {
  text-decoration: none;
}
.vid-body a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   V4 Clipped-Corner Maker Cards (.bg-grid + .bcard)
   ========================================================================== */
.bg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 24px 20px;
}

.bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gallery);
  border: 2px solid var(--obsidian);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding-bottom: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.bcard::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 31px;
  height: 31px;
  background: linear-gradient(225deg, transparent 0 15px, var(--obsidian) 15px 17px, transparent 17px);
  pointer-events: none;
  z-index: 3;
}
.bcard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--gold) 0 38%, var(--crimson) 38% 70%, var(--steel) 70% 100%);
  border-top: 2px solid var(--obsidian);
}
.bcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.bcard-ph {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 16 / 9.6;
  background: var(--obsidian);
  border-bottom: 2px solid var(--obsidian);
  overflow: hidden;
}
.bcard-cell {
  background: #ffffff;
  padding: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcard-cell.c0 {
  grid-row: 1 / span 2;
}
.bcard-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.26s ease;
}
.bcard:hover .bcard-cell img {
  transform: scale(1.05);
}

.bcard-body {
  padding: 15px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.bcard-domain {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--obsidian);
  color: var(--gold-bright);
  padding: 3px 8px;
  border-radius: 4px;
}
.bcard-counts {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.bcard-nm {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.48rem;
  line-height: 0.96;
  color: var(--ink);
}
.bcard-hq {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.bcard-spec {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
  color: var(--ink-soft);
}

.bcard-perks {
  list-style: none;
  margin: 2px 0 0;
  padding: 8px 10px;
  background: var(--vellum);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  display: grid;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.bcard-perks li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.bcard-perks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.bcard-links {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.bcard-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
}

.bcard-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bcard-actions .btn {
  flex: 1 1 auto;
}

/* ==========================================================================
   Interactive Hobby Bench Tools (Hue Swatches, Airbrush PSI & N52 Magnets)
   ========================================================================== */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tool-card {
  background: var(--vellum);
  border: 1.5px solid var(--rule-strong);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

.tool-card.obsidian-panel {
  background: var(--obsidian);
  color: #f8fafc;
  border: 1.5px solid var(--obsidian-line);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-dark);
}

.tool-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.obsidian-panel .tool-head {
  border-bottom-color: var(--obsidian-line);
}
.obsidian-panel h2 {
  color: #ffffff;
}

.tool-sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 74ch;
}
.obsidian-panel .tool-sub {
  color: var(--steel);
}

.hue-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hue-controls input[type="search"] {
  flex: 1;
  min-width: 240px;
}

.swatch-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.swatch-card {
  background: var(--gallery);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.swatch-chip-banner {
  position: relative;
  height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.swatch-chip-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, transparent 45%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.swatch-hex-pill,
.swatch-role-pill {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
}
.swatch-role-pill {
  color: var(--gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.swatch-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.swatch-card-body h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--ink);
}

.swatch-equiv-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  background: var(--paper);
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--rule);
}
.swatch-equiv-list div strong {
  color: var(--obsidian);
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.swatch-card-foot {
  margin-top: auto;
  padding-top: 8px;
}
.swatch-card-foot .btn {
  width: 100%;
}

.air-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.air-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--gold-pale);
}

.air-readout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.air-stat {
  background: var(--obsidian-card);
  border: 1px solid var(--obsidian-line);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.air-stat span.mono {
  display: block;
  color: var(--gold-bright);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.air-stat strong.mono {
  display: block;
  font-size: 1.24rem;
  color: #ffffff;
  margin-bottom: 5px;
}
.air-stat small {
  color: var(--steel);
  font-size: 0.8rem;
}

.drop-cup-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.drop-bead {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.drop-bead.thinner {
  background: #38bdf8;
}
.drop-bead.paint {
  background: var(--crimson);
}
.drop-bead.flow {
  background: var(--gold);
}

.air-tip-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #f8fafc;
  padding: 13px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.89rem;
}

.base-calc-bar {
  display: grid;
  grid-template-columns: 1.2fr 140px 1.5fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
.base-calc-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.86rem;
}
.mag-bom {
  background: var(--obsidian);
  color: #f8fafc;
  border-left: 4px solid var(--gold);
  padding: 11px 14px;
  border-radius: var(--radius-xs);
}
.mag-bom strong {
  display: block;
  color: var(--gold-bright);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.mag-bom span.mono {
  font-size: 0.75rem;
  color: var(--steel);
}

.base-search {
  width: 100%;
  margin-bottom: 12px;
}

.hue-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-sm);
}
.hue-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: var(--gallery);
  color: var(--ink);
}
.hue-table th,
.hue-table td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--paper-deep);
  vertical-align: middle;
  font-size: 0.88rem;
}
.hue-table th {
  background: var(--obsidian);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hue-table tr.active-row {
  background: #fef3c7;
}

.tool-shelf {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1.5px solid var(--rule);
}
.obsidian-panel .tool-shelf {
  border-top-color: var(--obsidian-line);
}
.tool-shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tool-shelf-head h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.12rem;
  margin: 0;
  color: var(--ink);
}
.obsidian-panel .tool-shelf-head h3 {
  color: #f8fafc;
}
.tool-shelf-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}
.obsidian-panel .tool-shelf-sub {
  color: var(--gold-bright);
}
.swatch-card.active-swatch {
  border-color: var(--obsidian);
  box-shadow: 0 0 0 2px var(--gold);
}
.swatch-card-actions {
  display: flex;
  gap: 8px;
}
.swatch-card-actions .btn {
  flex: 1 1 auto;
}

/* ==========================================================================
   Filter Controls, Loadouts, Trust Pages & Video Modal
   ========================================================================== */
.page-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--rule);
}

.filter-bar {
  background: var(--gallery);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 40px;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.chip:hover {
  border-color: var(--obsidian);
}
.chip.on {
  background: var(--obsidian);
  color: var(--gold-bright);
  border-color: var(--obsidian);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-controls input[type="search"] {
  flex: 1;
  min-width: 220px;
}
.chk-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.result-count {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

.kit-card {
  background: var(--gallery);
  border: 1.5px solid var(--rule-strong);
  border-top: 4px solid var(--crimson-deep);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.kit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--paper-deep);
}
.kit-head > div:first-child {
  flex: 1 1 360px;
}
.kit-head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  max-width: 64ch;
}
.kit-total {
  flex-shrink: 0;
  text-align: right;
  background: var(--obsidian);
  color: #f8fafc;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--gold);
}
.kit-total span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--steel);
}
.kit-total strong {
  display: block;
  font-size: 1.45rem;
  color: var(--gold-bright);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}
.legal-card,
.remove-box {
  background: var(--gallery);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.legal-card h2 {
  font-size: 1.32rem;
  margin-top: 4px;
}
.partners-wrap {
  display: grid;
  gap: 20px;
  max-width: 860px;
}
.faq-list details {
  background: var(--gallery);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
  display: flex;
  align-items: center;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.88);
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.video-modal-box {
  width: min(940px, 100%);
  background: var(--obsidian-deep);
  color: #ffffff;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}
.video-modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--obsidian);
  border-bottom: 1px solid var(--obsidian-line);
}
.video-frame-wrap {
  aspect-ratio: 16 / 9;
  background: #000000;
}
.video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--obsidian);
  color: #f8fafc;
  padding: 11px 18px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--gold);
  border-left: 5px solid var(--crimson);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 280;
}
.toast.on {
  opacity: 1;
}

/* ==========================================================================
   Footer & Responsive Breakpoints
   ========================================================================== */
.foot {
  background: var(--obsidian-deep);
  color: var(--steel);
  padding: 44px 0;
  margin-top: 48px;
  border-top: 3px solid var(--gold);
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.foot-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.foot-codex-tag {
  font-size: 0.75rem;
  color: var(--gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 2px 8px;
  border-radius: 4px;
}
.foot-tag {
  margin: 0 0 10px;
  color: #e2e8f0;
  max-width: 56ch;
}
.foot-fine {
  font-size: 0.8rem;
  color: var(--steel-muted);
  margin: 0;
  max-width: 62ch;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-content: flex-start;
}
.foot-nav a,
.foot-link,
.foot-fb-dot {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0 2px;
  cursor: pointer;
}
.foot-nav a:hover,
.foot-link:hover {
  color: var(--gold-bright);
}
.foot-fb-dot {
  opacity: 0.35;
}
.foot-fb-dot:hover {
  opacity: 1;
}

@media (max-width: 1120px) {
  .swatch-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .menu-sheet {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.78);
    z-index: 260;
  }
  .menu-panel {
    background: var(--obsidian);
    color: #ffffff;
    width: min(330px, 88vw);
    height: 100%;
    padding: 20px;
    border-right: 2px solid var(--gold);
    overflow-y: auto;
  }
  .menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
  .menu-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .menu-body a {
    color: #f8fafc;
    text-decoration: none;
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--radius-xs);
    border-bottom: 1px solid var(--obsidian-line);
    font-weight: 700;
  }
  .menu-body a:hover,
  .menu-body a.active {
    background: var(--obsidian-elevated);
    color: var(--gold-bright);
  }
  .air-controls,
  .air-readout-grid,
  .base-calc-bar,
  .foot-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hide-sm {
    display: none;
  }
}

@media (max-width: 820px) {
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sprue-hero {
    padding: 12px 0 18px;
  }
  .sprue-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
  }
  .sprue-hero-copy,
  .sprue-hero-controls {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-search-box {
    flex: 1 1 100%;
    width: 100%;
  }
  #home-sort {
    flex: 1 1 150px;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1320px, 100% - 28px);
  }
  .swatch-cards-grid,
  .bg-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .prod-img-wrap,
  .hero-prod-grid .prod-img-wrap {
    padding: 10px;
  }
  .prod-body {
    padding: 10px;
  }
  .prod-title {
    font-size: 0.88rem;
  }
  .prod-excerpt {
    display: none;
  }
  .price {
    font-size: 0.98rem;
  }
  .store-btn {
    padding: 4px 10px;
    min-height: 34px;
    font-size: 0.76rem;
    width: 100%;
  }
  .sprue-hero-h {
    font-size: clamp(1.32rem, 5.4vw, 1.75rem);
  }
  .hero-search-box input,
  #home-sort,
  .hero-bench-btn {
    min-height: 38px;
  }
  .sprue-filter-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 3px;
    margin-bottom: 10px;
    scrollbar-width: none;
  }
  .sprue-filter-rail::-webkit-scrollbar {
    display: none;
  }
  .sprue-filter-rail .cat-chip,
  .sprue-filter-rail .toggle-chip {
    flex-shrink: 0;
    min-height: 36px;
    padding: 4px 10px;
  }
  .hero-live-count {
    display: none;
  }
  .cat-crest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-card {
    padding: 20px 16px;
  }
}

/* ---------- Mobile fit (v6): no side scroll at 320-430px ---------- */
@media (max-width: 680px) {
  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-card,
  .remove-box,
  .base-calc-bar label,
  .mag-bom,
  #video-modal-title {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #video-modal-close {
    flex-shrink: 0;
    white-space: nowrap;
  }
  select,
  input,
  #video-modal,
  .video-modal,
  .video-modal-box {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .top-inner { gap: 8px; min-height: 58px; }
  .logo { gap: 8px; min-width: 0; flex-shrink: 1; }
  .logo-mark { width: 32px; height: 32px; }
  .wordmark { font-size: 1.04rem; white-space: nowrap; }
  .top-actions { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
  .bench-link { min-width: 40px; min-height: 40px; padding: 0 10px; justify-content: center; }
  .menu-btn { width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .menu-btn > span:not(.menu-bars) { display: none; }
  .toast { right: 16px; max-width: calc(100vw - 32px); }
}
@media (max-width: 374px) {
  .wrap {
    width: calc(100% - 20px);
  }
  .prod-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cat-crest-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 359px) {
  .logo-mark { width: 28px; height: 28px; }
  .wordmark { font-size: 0.94rem; letter-spacing: 0; }
  .top-actions { gap: 4px; }
}
html, body { overflow-x: clip; }

/* ==========================================================================
   Retail Filter Bar, Slide-Up Drawer & Integrated Editorial Feed
   ========================================================================== */
:root {
  --rf-ink: #0f172a;
  --rf-accent: #b91c1c;
  --rf-border: #cbd5e1;
  --rf-tint: #f1f5f9;
}

.rf-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 12px 0 18px;
  box-sizing: border-box;
}

.rf-bar-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rf-search-field {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--rf-border);
  border-radius: 999px;
  padding: 0 14px;
  min-height: 44px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rf-search-field:focus-within {
  border-color: var(--rf-accent);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.rf-search-field svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: var(--rf-ink);
  fill: none;
  stroke-width: 2;
  opacity: 0.65;
  margin-right: 9px;
}

.rf-search-field input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--rf-ink);
  font-size: 0.94rem;
  line-height: 1.25;
  padding: 8px 0 !important;
  margin: 0 !important;
  height: auto !important;
}

.rf-drawer-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.rf-drawer-trigger.has-active {
  border-color: var(--rf-accent);
  background: var(--rf-tint);
}

.rf-drawer-trigger svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.rf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rf-accent);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.rf-badge[hidden] {
  display: none !important;
}

.rf-select-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.rf-pill-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--rf-border) !important;
  border-radius: 999px !important;
  color: var(--rf-ink) !important;
  font-size: 0.87rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  min-height: 42px !important;
  padding: 0 34px 0 14px !important;
  margin: 0 !important;
  cursor: pointer;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.rf-pill-select.is-active {
  border-color: var(--rf-accent) !important;
  background-color: var(--rf-tint) !important;
}

.rf-pill-select:focus {
  outline: 2px solid var(--rf-accent);
  outline-offset: 1px;
}

.rf-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--rf-ink);
  opacity: 0.72;
}

.rf-desktop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.rf-sale-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.rf-sale-btn.active {
  background: var(--rf-accent);
  border-color: var(--rf-accent);
  color: #ffffff;
}

.rf-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px dashed var(--rf-accent);
  background: transparent;
  color: var(--rf-accent);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.rf-clear-btn[hidden] {
  display: none !important;
}

/* Slide-Up / Slide-Over Filter Drawer */
.rf-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(12, 16, 24, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.rf-drawer[hidden] {
  display: none !important;
}

.rf-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rf-drawer-panel {
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  background: #ffffff;
  color: var(--rf-ink);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -14px 42px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.22s ease;
}

.rf-drawer.is-open .rf-drawer-panel {
  transform: translateY(0);
}

.rf-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rf-border);
  background: #ffffff;
}

.rf-drawer-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rf-ink);
}

.rf-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.rf-drawer-body {
  overflow-y: auto;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  -webkit-overflow-scrolling: touch;
}

.rf-drawer-sec-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rf-ink);
  opacity: 0.72;
}

.rf-drawer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rf-drawer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.rf-drawer-pill.active {
  background: var(--rf-accent);
  border-color: var(--rf-accent);
  color: #ffffff;
}

.rf-drawer-brand-shell {
  width: 100%;
}

.rf-drawer-brand-shell .rf-pill-select {
  width: 100%;
  min-height: 44px !important;
}

.rf-drawer-foot {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rf-border);
  background: #ffffff;
}

.rf-foot-reset {
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.rf-foot-apply {
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-accent);
  background: var(--rf-accent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

/* Integrated Editorial & Shopping In-Feed Posts */
.rf-feed-beat {
  margin: 0 0 22px;
}

.rf-post-card {
  margin: 22px 0;
  padding: 22px 24px;
  background: #ffffff;
  border: 1.5px solid var(--rf-border);
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.rf-post-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.rf-post-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rf-accent);
  margin-bottom: 4px;
}

.rf-post-title {
  margin: 0;
  font-size: clamp(1.18rem, 2.2vw, 1.48rem);
  line-height: 1.24;
  color: var(--rf-ink);
}

.rf-post-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rf-accent);
  text-decoration: none;
  white-space: nowrap;
}

.rf-post-link:hover {
  text-decoration: underline;
}

.rf-vid-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rf-vid-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--rf-tint);
  border: 1px solid var(--rf-border);
  border-radius: 14px;
  overflow: hidden;
}

.rf-vid-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.rf-vid-stage img,
.rf-vid-stage iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.rf-vid-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(10, 14, 24, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.rf-vid-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rf-ink);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.rf-vid-meta {
  padding: 12px 14px;
}

.rf-vid-creator {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rf-accent);
  margin-bottom: 4px;
}

.rf-vid-name {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.32;
  font-weight: 600;
  color: var(--rf-ink);
}

/* Guide / Interactive Tool Callout Card */
.rf-post-guide {
  background: linear-gradient(135deg, #ffffff 0%, var(--rf-tint) 100%);
  border-left: 4px solid var(--rf-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.rf-guide-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.rf-guide-sub {
  margin: 6px 0 12px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--rf-ink);
  opacity: 0.86;
}

.rf-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rf-guide-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rf-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rf-ink);
}

.rf-guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rf-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rf-accent);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.rf-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink) !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Complete Setup / Kit Lookbook Post */
.rf-post-kit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.rf-kit-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.rf-kit-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid var(--rf-border);
  border-radius: 12px;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}

.rf-kit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rf-kit-info {
  min-width: 0;
}

.rf-kit-sum {
  margin: 6px 0 12px;
  font-size: 0.92rem;
  line-height: 1.48;
  color: var(--rf-ink);
  opacity: 0.85;
}

.rf-kit-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rf-kit-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rf-ink);
}

.rf-stream-sentinel {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

.rf-more-btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-border);
  background: #ffffff;
  color: var(--rf-ink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 768px) {
  .rf-bar-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }
  .rf-search-field {
    grid-column: 1 / -1;
    width: 100%;
  }
  .rf-drawer-trigger {
    display: inline-flex;
    width: 100%;
  }
  .rf-sort-shell {
    width: 100%;
    display: flex;
  }
  .rf-sort-shell .rf-pill-select {
    width: 100%;
    min-height: 44px !important;
  }
  .rf-desktop-row,
  .rf-hero-cta {
    display: none !important;
  }
  .rf-post-card {
    padding: 16px;
    margin: 16px 0;
  }
  .rf-post-kit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .rf-vid-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .rf-kit-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pcard-meta > span,
  .pcard-meta .pcard-cat-tag,
  .prod-meta .spec-tag,
  .p-meta > span {
    display: none !important;
  }
  .pcard-meta,
  .prod-meta,
  .p-meta {
    flex-wrap: nowrap !important;
    overflow: hidden;
  }
}
