/* HyzerBag v3 - Pacific Northwest Cascade Fairway & Foil-Stamp Showcase
   Palette: Cascade Deep Evergreen (#0a2319), Cedar Bark (#123124), Sunlit Fairway Gold (#f5b82e),
   Terracotta Clay (#d85a2a), Warm Birch Paper (#f4f2eb), Pure Studio White (#ffffff).
   Typography: Bricolage Grotesque (800 display), Plus Jakarta Sans (UI/editorial), JetBrains Mono (flight numbers & prices). */

:root {
  --evergreen-950: #061710;
  --evergreen-900: #0a2319;
  --evergreen-850: #0e2c20;
  --cedar-800: #123124;
  --cedar-700: #1a4432;
  --pine: #164430;
  --pine-soft: #e3ece7;
  --gold: #f5b82e;
  --gold-deep: #c98f0e;
  --gold-soft: #fdf4dc;
  --clay: #a83b12;
  --clay-deep: #8f300c;
  --clay-soft: #fbeae3;
  --mint: #5eead4;
  --paper: #f4f2eb;
  --paper-warm: #ebe7dc;
  --card: #ffffff;
  --ink: #0d1f17;
  --ink-soft: #23382e;
  --muted: #3d5247;
  --line: #d8d5c8;
  --line-dark: rgba(235, 245, 239, 0.14);
  --shadow-sm: 0 2px 8px rgba(8, 28, 19, 0.06);
  --shadow-md: 0 12px 30px rgba(8, 28, 19, 0.10);
  --shadow-polaroid: 0 22px 46px rgba(3, 14, 9, 0.48), 0 4px 12px rgba(3, 14, 9, 0.28);
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.fine {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--evergreen-950);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip:focus {
  left: 12px;
}

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

/* ---------------- Sticky Cascade Evergreen Header ---------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(6, 23, 16, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 184, 46, 0.18);
  color: #f4f2eb;
}

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

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

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: #f7f5ee;
}
.wordmark b {
  color: var(--gold);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(244, 242, 235, 0.78);
  letter-spacing: -0.005em;
  transition: color 0.16s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a.active {
  color: #ffffff;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav a.nav-creators {
  color: #fde68a;
  font-weight: 700;
}

.nav a.nav-lab {
  color: var(--gold);
}

.nav a.nav-accent {
  color: #ff9d78;
}

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

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(244, 242, 235, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f2eb;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.icon-pill:hover {
  border-color: rgba(245, 184, 46, 0.55);
  background: rgba(245, 184, 46, 0.10);
}

.icon-pill svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saved-pill em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--evergreen-950);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(244, 242, 235, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f2eb;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-ico {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.menu-ico::before, .menu-ico::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.menu-ico::before { top: -5px; }
.menu-ico::after { top: 5px; }

/* ---------------- Mobile Drawer ---------------- */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 15, 10, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
}
.menu-sheet[hidden] {
  display: none !important;
}

.menu-panel {
  width: min(340px, 88vw);
  height: 100%;
  background: var(--evergreen-900);
  color: #f4f2eb;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid rgba(245, 184, 46, 0.22);
  overflow-y: auto;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-body a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: rgba(244, 242, 235, 0.86);
  font-weight: 600;
}

.menu-body a.active,
.menu-body a:hover {
  background: rgba(245, 184, 46, 0.14);
  color: var(--gold);
}

/* ---------------- Buttons & Eyebrows ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--pine);
  margin-bottom: 8px;
}

.eyebrow.gold {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  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: 44px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.btn.gold {
  background: var(--gold);
  color: var(--evergreen-950);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(245, 184, 46, 0.26);
}
.btn.gold:hover {
  background: #ffca4b;
  border-color: #ffca4b;
}

.btn.primary {
  background: var(--evergreen-900);
  color: #f7f5ee;
  border-color: var(--evergreen-900);
}
.btn.primary:hover {
  background: var(--cedar-700);
  border-color: var(--cedar-700);
}

.btn.wash {
  background: var(--pine-soft);
  color: var(--evergreen-900);
  border-color: #c5d8cd;
}
.btn.wash:hover {
  background: #d3e3da;
}

.btn.clay {
  background: var(--clay);
  color: #ffffff;
  border-color: var(--clay);
}
.btn.clay:hover {
  background: var(--clay-deep);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  border-color: var(--evergreen-900);
  background: rgba(10, 35, 25, 0.04);
}

.btn.ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: #f7f5ee;
  border-color: rgba(244, 242, 235, 0.28);
}
.btn.ghost-light:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--gold);
}

/* ---------------- Full-Bleed Cascade Evergreen Mosaic Hero ---------------- */
.hero-cascade {
  position: relative;
  overflow: hidden;
  background: var(--evergreen-950);
  color: #f7f5ee;
  padding: 58px 0 64px;
  min-height: 540px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(245, 184, 46, 0.22);
}

.hero-mosaic-wall {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-mosaic-track {
  position: absolute;
  right: -5%;
  top: -16%;
  width: 66%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  transform: rotate(-7deg);
  transform-origin: center center;
}

.mosaic-tile {
  pointer-events: auto;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(2, 10, 7, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mosaic-tile:nth-child(5n + 2),
.mosaic-tile:nth-child(5n + 4) {
  transform: translateY(18px);
}

.mosaic-tile:hover {
  transform: scale(1.05);
  z-index: 4;
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(2, 10, 7, 0.68);
}

.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-mosaic-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #061710 0%,
      #061710 35%,
      rgba(6, 23, 16, 0.96) 46%,
      rgba(10, 35, 25, 0.74) 58%,
      rgba(10, 35, 25, 0.18) 79%,
      rgba(6, 23, 16, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 23, 16, 0.34) 0%,
      transparent 24%,
      transparent 76%,
      rgba(6, 23, 16, 0.58) 100%
    );
}

.hero-cascade-grid {
  position: relative;
  z-index: 3;
  display: block;
}

.hero-copy {
  max-width: 610px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.55rem, 4.5vw, 4.05rem);
  line-height: 1.03;
  letter-spacing: -0.036em;
  margin: 0 0 18px;
  color: #faf8f2;
  text-shadow: 0 4px 24px rgba(3, 12, 8, 0.45);
}

.hero-h span {
  color: var(--gold);
}

.hero-lede {
  margin: 0 0 24px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(244, 242, 235, 0.88);
  max-width: 545px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-disclosure {
  margin: 0 0 18px;
  font-size: 0.79rem;
  line-height: 1.48;
  color: rgba(244, 242, 235, 0.7);
  max-width: 545px;
}

.hero-disclosure a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-makers-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 242, 235, 0.16);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: rgba(244, 242, 235, 0.72);
}

.hero-makers-ribbon strong {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-makers-ribbon a {
  color: rgba(244, 242, 235, 0.86);
  transition: color 0.15s ease;
}
.hero-makers-ribbon a:hover {
  color: var(--gold);
}

/* ---------------- Seamless Dark-Emerald Interactive Fairway Flight Bench ---------------- */
.fairway-bench-band {
  background-color: #123124;
  background-image: linear-gradient(180deg, var(--cedar-800) 0%, #091d15 100%);
  color: #f4f2eb;
  padding: 44px 0 56px;
  border-bottom: 4px solid var(--gold);
}

.bench-band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bench-band-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  letter-spacing: -0.028em;
  margin: 0 0 6px;
  color: #faf8f2;
}

.bench-band-head p {
  margin: 0;
  color: #d6e0da;
  max-width: 640px;
  font-size: 0.96rem;
}

.lab-shell {
  display: grid;
  grid-template-columns: minmax(310px, 440px) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.fairway-card {
  background-color: #0b281c;
  background-image:
    radial-gradient(circle at 50% 18%, rgba(45, 122, 83, 0.34), transparent 58%),
    linear-gradient(180deg, #0b281c 0%, #071911 100%);
  border: 1px solid rgba(245, 184, 46, 0.26);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  color: #f4f2eb;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 44px rgba(3, 12, 8, 0.32);
}

.fairway-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 242, 235, 0.12);
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.fairway-head b {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.fairway-head span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #dbe4de;
}

.fairway-svg {
  width: 100%;
  height: auto;
  max-height: 455px;
  margin-inline: auto;
}

.fairway-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 242, 235, 0.12);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 242, 235, 0.92);
}

.legend-swatch {
  width: 14px;
  height: 4px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.lab-controls {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.fairway-bench-band .lab-controls {
  background: rgba(15, 44, 32, 0.88);
  color: #f4f2eb;
  border-color: rgba(245, 184, 46, 0.22);
}

.lab-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
}

.lab-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lab-field label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fairway-bench-band .lab-field label {
  color: #d6e0da;
}

.lab-field select {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
}

.fairway-bench-band .lab-field select {
  background: #081c14;
  color: #f4f2eb;
  border-color: rgba(244, 242, 235, 0.22);
}

.mph-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mph-slider {
  width: 100%;
  min-height: 28px;
  accent-color: var(--gold);
  cursor: pointer;
}

.seg-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seg-btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.seg-btn.active {
  background: var(--evergreen-900);
  color: var(--gold);
  border-color: var(--evergreen-900);
}

.fairway-bench-band .seg-btn {
  background: rgba(6, 23, 16, 0.65);
  color: rgba(244, 242, 235, 0.84);
  border-color: rgba(244, 242, 235, 0.18);
}

.fairway-bench-band .seg-btn.active {
  background: var(--gold);
  color: var(--evergreen-950);
  border-color: var(--gold);
}

.mold-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mold-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.mold-chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.mold-chip:hover {
  border-color: var(--evergreen-900);
}

.mold-chip.active {
  background: var(--evergreen-900);
  color: #ffffff;
  border-color: var(--evergreen-900);
}
.mold-chip.active em {
  color: var(--gold);
}

.mold-chip.compare {
  background: var(--pine-soft);
  border-color: var(--pine);
}

.fairway-bench-band .mold-chip {
  background: rgba(6, 23, 16, 0.72);
  color: #f4f2eb;
  border-color: rgba(244, 242, 235, 0.16);
}
.fairway-bench-band .mold-chip em {
  color: rgba(244, 242, 235, 0.62);
}
.fairway-bench-band .mold-chip.active {
  background: var(--gold);
  color: var(--evergreen-950);
  border-color: var(--gold);
}
.fairway-bench-band .mold-chip.active em {
  color: var(--evergreen-900);
}

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

.flight-cell {
  background: var(--evergreen-900);
  color: #f7f5ee;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(245, 184, 46, 0.25);
}

.flight-cell small {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #d6e0da;
  margin-bottom: 2px;
}

.flight-cell strong {
  font-family: var(--mono);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--gold);
}

.spec-bench {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fairway-bench-band .spec-bench {
  background-color: #081e15;
  border-color: rgba(244, 242, 235, 0.16);
  color: #f4f2eb;
}

.spec-dims {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.fairway-bench-band .spec-dims {
  color: rgba(244, 242, 235, 0.84);
}

.spec-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
}

.spec-links a {
  font-weight: 700;
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bench-stock-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ---------------- Category Ribbon & Section Headers ---------------- */
.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 8px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.cat-chip:hover {
  border-color: var(--evergreen-900);
}

.cat-chip.active {
  background: var(--evergreen-900);
  color: #ffffff;
  border-color: var(--evergreen-900);
}
.cat-chip.active em {
  color: var(--gold);
}

.page-head {
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 8px;
}

.lede {
  margin: 0;
  max-width: 780px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 34px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sec-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  letter-spacing: -0.025em;
  margin: 0 0 4px;
}

.sec-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------------- Toolbar & Quick Maker Pills ---------------- */
.maker-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.toolbar input[type="search"] {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.92rem;
}

.toolbar select {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
}

.toolbar-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pine);
}

/* ---------------- Studio Foil-Stamp Product Cards ---------------- */
.prod-grid,
.stream-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pcard {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--cedar-700);
}

.pcard-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 14px;
  border-bottom: 1px solid #eceae2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-stage a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.pcard:hover .pcard-stage img {
  transform: scale(1.04);
}

.badge-deal {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--clay);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 35, 25, 0.92);
  color: #f4f2eb;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.save-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(13, 31, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.save-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.save-btn.saved {
  background: var(--evergreen-900);
  color: var(--gold);
  border-color: var(--evergreen-900);
}
.save-btn.saved svg {
  fill: currentColor;
}

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

.pcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

.pcard-brand {
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pine);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard-brand:hover {
  text-decoration: underline;
}

.flight-inline {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--evergreen-900);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pcard-title {
  margin: 0;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.pcard-title a:hover {
  color: var(--pine);
}

.pcard-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.size-pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.size-pill.deal {
  background: var(--clay-soft);
  border-color: #efb8a3;
  color: var(--clay-deep);
  font-weight: 700;
}

.pcard-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eeece4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-now {
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.price-now.sale {
  color: var(--clay-deep);
}

.price-was {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}

.shop-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--evergreen-900);
  transition: all 0.15s ease;
}
.shop-link:hover {
  background: var(--evergreen-900);
  border-color: var(--evergreen-900);
  color: var(--gold);
}

/* ---------------- Course Bag & Cart Setups ---------------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kcard {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.kcard-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 6px;
  padding: 8px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid #e4e1d5;
}

.kcard-slot {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #ece9de;
}

.kcard-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.kcard-slot-price {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(6, 23, 16, 0.92);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.kcard-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kcard-sum {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.kcard-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ece9de;
}

.kcard-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f2f0e8;
  font-size: 0.84rem;
}

.kcard-items li a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.kcard-items li a:hover {
  color: var(--pine);
}

.kcard-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------------- 2D Flight Matrix & Polymer Guide ---------------- */
.matrix-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.matrix-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.matrix-table th,
.matrix-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #eae7dc;
  border-right: 1px solid #eae7dc;
  vertical-align: top;
  text-align: left;
}

.matrix-table thead th {
  background: var(--evergreen-900);
  color: #f7f5ee;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.matrix-speed-col {
  background: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  width: 185px;
}

.matrix-table td .mold-chip {
  margin: 0 6px 6px 0;
}

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

.plastic-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plastic-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
}

.plastic-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.plastic-picks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #ece9de;
}

.plastic-pick-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid #e3dfd2;
  font-size: 0.78rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.plastic-pick-chip:hover {
  border-color: var(--evergreen-900);
  background: #ffffff;
}
.plastic-pick-chip img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}
.plastic-pick-chip span {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plastic-pick-chip b {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--evergreen-900);
  flex-shrink: 0;
}

.lab-inline-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.lab-inline-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid #dedad0;
  min-height: 60px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.lab-inline-card:hover {
  border-color: var(--evergreen-900);
  transform: translateY(-1px);
}
.lab-inline-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
  border: 1px solid #e7e4da;
  flex-shrink: 0;
}
.lab-inline-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lab-inline-info strong {
  font-size: 0.8rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.lab-inline-info span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pine);
}

/* ---------------- YouTube Creators Directory & Tour Watch Video Cards ---------------- */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.creator-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.creator-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--cedar-700);
}

.creator-card.active {
  border: 2px solid var(--gold-deep);
  background: #fffdf7;
}

.creator-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.creator-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--evergreen-900) 0%, var(--cedar-700) 100%);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(245, 184, 46, 0.35);
}

.creator-ident {
  min-width: 0;
  flex: 1;
}

.creator-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.creator-lane {
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--pine-soft);
  color: var(--evergreen-900);
  font-size: 0.75rem;
  font-weight: 700;
}

.creator-subs {
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--evergreen-900);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.creator-ident h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.22;
}

.creator-ident h3 a:hover {
  color: var(--pine);
}

.creator-handle {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted);
}

.creator-handle:hover {
  color: var(--pine);
}

.creator-bio {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.creator-gear {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #ece9de;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-gear-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.creator-gear-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-gear-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid #e3dfd2;
  font-size: 0.79rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.creator-gear-chip:hover {
  border-color: var(--evergreen-900);
  background: #ffffff;
}

.creator-gear-chip img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}

.creator-gear-chip span {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-gear-chip b {
  font-size: 0.77rem;
  color: var(--evergreen-900);
  flex-shrink: 0;
}

.creator-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vcard {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vcard-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #081811;
  overflow: hidden;
}

.vcard-stage img,
.vcard-stage iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.vid-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(6, 23, 16, 0.92);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.vcard-play {
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 16, 0.24);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-pill {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--evergreen-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
  transition: transform 0.16s ease;
}
.vcard-play:hover .play-pill {
  transform: scale(1.08);
}

.play-pill svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

.vcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
}

.vcard-ch {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--pine);
}

.vcard-lane {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--pine-soft);
  color: var(--evergreen-900);
  font-size: 0.75rem;
  font-weight: 600;
}

.vcard-title {
  margin: 0;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.32;
}

.vcard-stats {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.brand-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.brand-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bcard {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--cedar-700);
}

.bcard-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.bcard-mosaic-slot {
  background: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.bcard-mosaic-slot:first-child {
  grid-row: 1 / span 2;
  padding: 12px;
}

.bcard-mosaic-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 0.22s ease;
}

.bcard:hover .bcard-mosaic-slot img {
  transform: scale(1.04);
}

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

.bcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.bcard-domain {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--evergreen-900);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  max-width: 195px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bcard-counts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pine);
}

.bcard-deal-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--clay-soft);
  border: 1px solid #efb8a3;
  color: var(--clay-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.bcard-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.bcard-title a:hover {
  color: var(--pine);
}

.bcard-focus {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bcard-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid #e4e1d4;
  font-size: 0.76rem;
  color: var(--muted);
}

.bcard-strip-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bcard-strip-links {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.bcard-strip-links a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bcard-actions {
  margin-top: auto;
  padding-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ---------------- Product Detail & Trust Pages ---------------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 16px;
}

.detail-photo {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 4px 0 14px;
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-price .price-now {
  font-size: 1.55rem;
}

.detail-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.legal-card,
.remove-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.legal-card h2,
.remove-box h2 {
  margin-top: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}

.partners-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 28px;
}

.empty-box,
.notice-bar {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.load-more-wrap {
  margin: 28px 0 12px;
  display: flex;
  justify-content: center;
}

/* ---------------- Footer & Toast & Feedback Gate ---------------- */
.foot {
  margin-top: 64px;
  background: var(--evergreen-950);
  color: rgba(244, 242, 235, 0.8);
  border-top: 2px solid rgba(245, 184, 46, 0.25);
  padding: 44px 0 52px;
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.5fr);
  gap: 32px;
}

.foot-tag {
  margin: 10px 0 8px;
  font-size: 0.94rem;
  color: #e4ebe7;
}

.foot-fine,
.foot-fee {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #c7d2cb;
  line-height: 1.5;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px 16px;
}

.foot-nav a,
.foot-link,
.foot-fb-dot {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.86rem;
  color: rgba(244, 242, 235, 0.78);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.foot-nav a:hover,
.foot-link:hover {
  color: var(--gold);
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--evergreen-950);
  color: var(--gold);
  border: 1px solid rgba(245, 184, 46, 0.4);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#htfb-btn {
  display: none !important;
}
body.show-feedback #htfb-btn {
  display: inline-flex !important;
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 1140px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .hero-mosaic-track {
    width: 82%;
    right: -12%;
    opacity: 0.55;
  }
  .hero-copy {
    max-width: 660px;
  }
  .lab-shell {
    grid-template-columns: 1fr;
  }
  .prod-grid,
  .stream-grid,
  .bench-stock-strip,
  .plastic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kit-grid,
  .creator-grid,
  .vid-grid,
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hide-sm {
    display: none;
  }
  .hero-cascade {
    padding: 38px 0 44px;
    min-height: auto;
  }
  .hero-mosaic-track {
    width: 115%;
    right: -18%;
    top: -8%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    opacity: 0.34;
  }
  .hero-mosaic-scrim {
    background: linear-gradient(180deg, rgba(6, 23, 16, 0.90) 0%, rgba(6, 23, 16, 0.94) 65%, #061710 100%);
  }
  .prod-grid,
  .stream-grid,
  .bench-stock-strip,
  .plastic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .kit-grid,
  .creator-grid,
  .vid-grid,
  .brand-grid,
  .detail-grid,
  .legal-grid,
  .partners-wrap,
  .foot-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 374px) {
  .wrap {
    width: calc(100% - 20px);
  }
  .prod-grid,
  .stream-grid,
  .bench-stock-strip,
  .plastic-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-h {
    font-size: 2.1rem;
  }
}

/* ---------------- Mobile fit (v6): no side scroll at 320-430px ---------------- */
@media (max-width: 640px) {
  .creator-card,
  .toolbar,
  .toolbar > *,
  .filter-bar,
  .filter-bar > * {
    min-width: 0;
    max-width: 100%;
  }
  select,
  input:not([type="checkbox"]):not([type="radio"]) {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .creator-top,
  .sec-head {
    flex-wrap: wrap;
  }
  .toast {
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
  }
  .vmodal,
  .vmodal-box {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .top-inner { gap: 8px; }
  .logo { gap: 8px; min-width: 0; flex-shrink: 1; }
  .logo-mark { width: 32px; height: 32px; }
  .wordmark { font-size: 1.1rem; white-space: nowrap; }
  .top-actions { gap: 6px; }
  .icon-pill { gap: 5px; min-width: 42px; padding: 0 10px; justify-content: center; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-btn > span:not(.menu-ico) { display: none; }
}
@media (max-width: 359px) {
  .logo-mark { width: 28px; height: 28px; }
  .wordmark { font-size: 1rem; }
  .top-actions { gap: 4px; }
  .icon-pill { padding: 0 8px; }
}

html, body {
  overflow-x: clip;
}

/* ---------------- V7 Product-First Birch Paper Hero (#home) ---------------- */
.hb-hero {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(245, 184, 46, 0.16), transparent 36%),
    radial-gradient(circle at 88% 6%, rgba(22, 68, 48, 0.08), transparent 38%),
    linear-gradient(180deg, #faf8f2 0%, var(--paper) 340px);
  padding: 18px 0 28px;
  border-bottom: 2px solid var(--line);
}

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

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

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

.hb-niche-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--evergreen-900);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stat-pill {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-stat-pill a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hb-hero-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.7vw, 2.28rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--ink);
}

.hb-hero-h em {
  font-style: normal;
  color: var(--pine);
}

.hb-hero-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 340px;
  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(--pine);
  stroke-width: 2.2;
  stroke-linecap: round;
  pointer-events: none;
}

.hero-search-box input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px 0 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #c4c0b1;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.hero-search-box input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.hero-search-box input:focus {
  outline: 2px solid var(--pine);
  border-color: var(--pine);
}

#home-sort {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #c4c0b1;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.hero-calc-btn {
  white-space: nowrap;
}

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

.hb-filter-rail .toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--clay-soft);
  border: 1px solid #e5ad95;
  color: var(--clay-deep);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hb-filter-rail .toggle-chip:hover,
.hb-filter-rail .toggle-chip.active {
  background: var(--clay);
  border-color: var(--clay);
  color: #ffffff;
}

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

.hero-prod-grid .pcard-stage {
  aspect-ratio: 1 / 0.88;
  padding: 10px;
}

.hero-prod-grid .pcard-sizes {
  display: none;
}

@media (max-width: 820px) {
  .hb-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hb-hero-copy,
  .hb-hero-controls {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-search-box {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hb-hero {
    padding: 14px 0 22px;
  }
  #home-sort {
    width: auto;
    flex: 1 1 150px;
  }
  .hb-filter-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: calc(100vw - 28px);
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .hb-filter-rail::-webkit-scrollbar {
    display: none;
  }
  .hb-filter-rail .cat-chip,
  .hb-filter-rail .toggle-chip {
    flex-shrink: 0;
  }
  .hero-live-count {
    display: none;
  }
  .pcard-stage {
    padding: 10px;
  }
  .pcard-body {
    padding: 10px;
    gap: 6px;
  }
  .pcard-title {
    font-size: 0.9rem;
  }
  .pcard-sizes {
    display: none;
  }
  .pcard-foot {
    padding-top: 8px;
    gap: 6px;
  }
  .shop-link {
    padding: 0 9px;
    font-size: 0.76rem;
  }
}

@media (max-width: 374px) {
  .hb-filter-rail {
    max-width: calc(100vw - 20px);
  }
  #home-sort,
  .hero-calc-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* === V7 Retail Filter Sheet & Integrated Feed UX START === */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
.house-marquee, .brand-strip, .maker-wall {
  display: none !important;
}
.ab-hero, .bay-hero, .hull-hero, .caddie-hero, .nc-hero, .court-hero, .hb-hero {
  padding-bottom: 18px !important;
}
body.prm-lock {
  overflow: hidden;
}
.prm-shell, .prm-shell *, .prm-sheet-backdrop, .prm-sheet-backdrop *, .ifd-stream, .ifd-stream * {
  box-sizing: border-box;
}
.prm-shell {
  width: 100%;
  margin: 12px 0 6px;
}
.prm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.prm-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
  width: 100%;
}
.prm-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0.65;
  pointer-events: none;
}
.prm-search input[type="search"] {
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 14px 0 38px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(15, 23, 42, 0.22) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  outline: none !important;
  box-shadow: none !important;
}
.prm-search input[type="search"]::placeholder {
  color: #64748b !important;
}
.prm-dark .prm-search {
  color: #e2e8f0;
}
.prm-dark .prm-search input[type="search"] {
  background: rgba(15, 23, 42, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  color: #f8fafc !important;
}
.prm-dark .prm-search input[type="search"]::placeholder {
  color: rgba(248, 250, 252, 0.66) !important;
}
.prm-search input[type="search"]:focus {
  border-color: #38bdf8 !important;
}
.prm-sel-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #0f172a;
}
.prm-dark .prm-sel-wrap {
  color: #f8fafc;
}
.prm-sel-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  opacity: 0.78;
}
.prm-sel {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 0 32px 0 12px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(15, 23, 42, 0.22) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prm-dark .prm-sel {
  background: rgba(15, 23, 42, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  color: #f8fafc !important;
}
.prm-dark .prm-sel option {
  background: #0f172a;
  color: #f8fafc;
}
.prm-desk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.prm-desk-bar .prm-sel-wrap {
  flex: 0 1 auto;
  max-width: 220px;
}
.prm-toggle, .prm-open-btn, .prm-reset-btn, .prm-btn-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(15, 23, 42, 0.22);
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.prm-dark .prm-toggle,
.prm-dark .prm-open-btn,
.prm-dark .prm-reset-btn,
.prm-dark .prm-btn-filters {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(255, 255, 255, 0.26);
  color: #f8fafc;
}
.prm-toggle.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
}
.prm-dark .prm-toggle.active {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #0f172a !important;
}
.prm-btn-filters svg, .prm-open-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}
.prm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
}
.prm-dark .prm-badge {
  background: #f59e0b;
  color: #0f172a;
}
.prm-tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid rgba(15, 23, 42, 0.22);
  background: rgba(15, 23, 42, 0.05);
  color: inherit;
}
.prm-dark .prm-tool-link {
  border-color: rgba(15, 23, 42, 0.94) !important;
  background: rgba(15, 23, 42, 0.86) !important;
  color: #f8fafc !important;
}
.prm-active-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}
.prm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.22);
  background: #f1f5f9;
  color: #0f172a;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.prm-dark .prm-chip {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}
@media (min-width: 821px) {
  .prm-mob-bar {
    display: none !important;
  }
}
@media (max-width: 820px) {
  .prm-desk-bar,
  .prm-desk-only {
    display: none !important;
  }
  .prm-mob-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 8px;
    width: 100%;
  }
  .prm-mob-bar .prm-btn-filters,
  .prm-mob-bar .prm-sel-wrap,
  .prm-mob-bar .prm-sel {
    width: 100%;
    font-size: 15px !important;
  }
}

/* Slide-Up / Slide-Over Filter Sheet */
.prm-sheet-backdrop[hidden] {
  display: none !important;
}
.prm-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(9, 13, 22, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.prm-sheet {
  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-height: 88vh;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.3);
}
@media (min-width: 821px) {
  .prm-sheet-backdrop {
    align-items: stretch;
    justify-content: flex-end;
  }
  .prm-sheet {
    max-width: 420px;
    height: 100%;
    max-height: 100vh;
    border-radius: 18px 0 0 18px;
  }
}
.prm-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.prm-sheet-head h3 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.prm-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.prm-sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.prm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prm-field-lbl {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
}
.prm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prm-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.prm-pill.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
}
.prm-sheet-body .prm-sel-wrap {
  color: #0f172a !important;
  width: 100%;
}
.prm-sheet-body .prm-sel {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
.prm-sheet-foot {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.prm-foot-reset {
  min-height: 46px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.prm-foot-apply {
  min-height: 46px;
  border-radius: 10px;
  border: 1.5px solid #0f172a;
  background: #0f172a;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* === Integrated #home Shopping & Editorial Stream (.ifd-*) === */
.ifd-stream-wrap {
  padding-top: 20px;
  padding-bottom: 44px;
}
.ifd-stream-wrap {
  padding: 18px 0 32px;
  width: 100%;
}
.ifd-stream {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.ifd-post {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  width: 100%;
  overflow: hidden;
}
.ifd-post-accent {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
}
.ifd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.ifd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #0f172a;
}
.ifd-post-accent .ifd-kicker {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}
.ifd-head-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}
.ifd-post-accent .ifd-head-link {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}
.ifd-title {
  margin: 0 0 6px !important;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: inherit !important;
}
.ifd-sub {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: #475569 !important;
  max-width: 68ch;
}
.ifd-post-accent .ifd-sub {
  color: #cbd5e1 !important;
}
.ifd-vid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 680px) {
  .ifd-vid-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ifd-vcard {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  overflow: hidden;
  min-width: 0;
}
.ifd-vstage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}
.ifd-vstage img,
.ifd-vstage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.ifd-vplay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  border: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.62) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.ifd-vplay-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
}
.ifd-vbody {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ifd-vchan {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}
.ifd-vtitle {
  margin: 0 !important;
  font-size: 0.96rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
.ifd-guide-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ifd-guide-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.ifd-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ifd-spec-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}
.ifd-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ifd-cta-primary,
.ifd-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.ifd-cta-primary {
  background: #f59e0b;
  color: #0f172a !important;
  border: 1.5px solid #f59e0b;
}
.ifd-cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.ifd-kit-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}
.ifd-kit-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  flex: 1 1 280px;
  max-width: 440px;
}
.ifd-kit-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  overflow: hidden;
  text-decoration: none;
}
.ifd-kit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ifd-kit-meta {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ifd-kit-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.ifd-kit-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.ifd-more-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
}
.ifd-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid #0f172a;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}

/* 2-Column Mobile Product Cards & Single-Line Brand Meta */
@media (max-width: 640px) {
  .hero-prod-grid,
  .prod-grid,
  .pgrid,
  .grid,
  .grid.pgrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .pcard,
  .prod-card,
  .nc-hcard {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .pcard-meta > span:not(.pcard-brand),
  .pcard-meta > .prod-spec-pill,
  .hero-card-meta > span,
  .nc-hcard-top > .nc-hcard-specpill,
  .nc-hcard-body > .pcard-meta,
  .prod-card .prod-sum {
    display: none !important;
  }
  .pcard-meta,
  .hero-card-meta,
  .nc-hcard-top {
    justify-content: flex-start !important;
    min-width: 0 !important;
  }
  .pcard-brand,
  .hero-card-meta .brand-link {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .ifd-post {
    padding: 15px !important;
  }
  .ifd-kit-thumbs {
    gap: 6px;
  }
}
@media (max-width: 420px) {
  .pcard-body,
  .prod-body,
  .nc-hcard-body {
    padding: 9px !important;
  }
  .pcard-foot,
  .prod-actions,
  .nc-hcard-foot,
  .hero-card-foot,
  .pcard-actions {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .pcard-title,
  .prod-title,
  .nc-hcard-title,
  .hero-card-title {
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
  }
  .ifd-cta-primary,
  .ifd-cta-secondary,
  .ifd-more-btn {
    white-space: normal !important;
    text-align: center !important;
    width: 100%;
  }
}
/* === V7 Retail Filter Sheet & Integrated Feed UX END === */

/* Keep product prices and store links inside narrow cards. */
.pcard-foot { flex-wrap: wrap; gap: 8px; }
.price-block { min-width: 0; flex-wrap: wrap; }
