/* ==========================================================================
   PolishedIrons - Heritage English Saddlery & Show-Ring Atelier Stylesheet
   Aesthetic: Hermes Equestrian x Holland Cooper x Dover Saddlery Flagship
   Palette:
     Deep Hunt Coat Green   #0e2a1f
     Havana Bridle Leather  #6e381d
     Stirrup Solid Brass    #c8a04b
     Parchment Breeches     #faf7f0
     Studio Alabaster       #ffffff
   Typography:
     Display Serif: Cormorant Garamond (600, 700, Italic)
     Editorial Sans: Plus Jakarta Sans (400, 500, 600, 700)
     Technical Mono: IBM Plex Mono (400, 500, 600)
   ========================================================================== */

:root {
  --bg: #faf7f0;
  --bg-warm: #f2ece0;
  --bg-parchment: #e9e0cf;
  --card: #ffffff;
  --line: #e2d9c8;
  --line-strong: #cbbda4;
  --ink: #181410;
  --ink-soft: #332920;
  --muted: #62564a;
  --hunt: #0e2a1f;
  --hunt-mid: #173f2f;
  --hunt-deep: #071911;
  --hunt-tint: #ebf2ee;
  --havana: #6e381d;
  --havana-deep: #4e2510;
  --havana-tint: #f6ede6;
  --brass: #c8a04b;
  --brass-light: #e3c47a;
  --brass-deep: #8b6921;
  --brass-tint: #f9f2e1;
  --scarlet: #8f2d22;
  --scarlet-tint: #faece9;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-xs: 0 1px 3px rgba(14, 42, 31, 0.05);
  --shadow-sm: 0 6px 20px rgba(14, 42, 31, 0.06);
  --shadow-md: 0 16px 40px rgba(14, 42, 31, 0.10);
  --shadow-lookbook: 0 22px 50px rgba(4, 15, 10, 0.34);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* Hide floating feedback button by default; reveal on body.show-feedback */
#htfb-btn { display: none !important; }
body.show-feedback #htfb-btn { display: flex !important; }

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

a {
  color: var(--hunt);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--havana);
}

button, input, select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--hunt);
  color: var(--bg);
  border: 1px solid var(--brass);
  border-radius: var(--radius-xs);
}
.skip:focus {
  left: 14px;
}

.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   1. Top Atelier Ribbon & Architectural Masthead (Zero Pastel Pills)
   ========================================================================== */

.atelier-ribbon {
  background: var(--hunt-deep);
  color: rgba(250, 247, 240, 0.84);
  border-bottom: 1px solid rgba(200, 160, 75, 0.28);
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.1em;
}

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

.ribbon-note {
  color: var(--brass-light);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ribbon-links {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ribbon-links a {
  color: rgba(250, 247, 240, 0.86);
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.09em;
}
.ribbon-links a:hover {
  color: var(--brass-light);
}

.top {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 2px 18px rgba(14, 42, 31, 0.04);
}

.top::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--hunt) 0%, var(--brass) 50%, var(--havana) 100%);
  opacity: 0.65;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  max-width: 1400px;
  padding: 0 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-height: 44px;
  flex-shrink: 0;
}
.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(14, 42, 31, 0.22));
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.54rem;
  letter-spacing: 0.01em;
  color: var(--hunt);
}

.wordmark b {
  font-weight: 700;
  font-style: italic;
  color: var(--havana);
}

.wordmark-sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: nowrap;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav a:hover {
  color: var(--hunt);
  border-bottom-color: rgba(200, 160, 75, 0.55);
}

.nav a.active {
  color: var(--hunt);
  border-bottom-color: var(--brass);
}

.nav a.nav-tool {
  color: var(--havana);
}
.nav a.nav-tool:hover,
.nav a.nav-tool.active {
  color: var(--havana-deep);
  border-bottom-color: var(--havana);
}

.nav a.nav-accent {
  color: var(--scarlet);
}
.nav a.nav-accent.active {
  border-bottom-color: var(--scarlet);
}

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

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--card);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.action-link:hover,
.action-link.active {
  border-color: var(--hunt);
  background: var(--hunt);
  color: var(--bg);
}

.action-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saved-link em {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--brass);
  color: var(--hunt-deep);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.menu-ico {
  width: 16px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.menu-ico::before,
.menu-ico::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}
.menu-ico::before { top: 2px; }
.menu-ico::after { bottom: 2px; }

/* Mobile Menu Drawer */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(7, 25, 17, 0.58);
  display: flex;
  justify-content: flex-end;
}
.menu-sheet[hidden] { display: none; }

.menu-panel {
  width: min(390px, 100%);
  height: 100%;
  background: var(--bg);
  border-left: 2px solid var(--brass);
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

.menu-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.menu-body a:hover,
.menu-body a.active {
  border-color: var(--hunt);
  background: var(--hunt);
  color: var(--bg);
}

/* ==========================================================================
   2. Buttons, Eyebrows & Editorial Typography
   ========================================================================== */

.main-view {
  flex: 1;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--havana);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--hunt);
  border-color: var(--hunt);
  color: var(--bg);
}
.btn.primary:hover {
  background: var(--hunt-mid);
  border-color: var(--hunt-mid);
  color: #ffffff;
}

.btn.brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--hunt-deep);
  font-weight: 700;
}
.btn.brass:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: var(--hunt-deep);
}

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

.btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn.ghost:hover {
  border-color: var(--hunt);
  color: var(--hunt);
  background: var(--card);
}

.btn.ivory-outline {
  background: rgba(250, 247, 240, 0.06);
  border-color: rgba(250, 247, 240, 0.48);
  color: var(--bg);
}
.btn.ivory-outline:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--hunt-deep);
}

.btn.wash {
  background: var(--hunt-tint);
  border-color: rgba(14, 42, 31, 0.22);
  color: var(--hunt);
}
.btn.wash:hover {
  background: var(--hunt);
  color: var(--bg);
}

.btn.sm {
  min-height: 44px;
  padding: 0 15px;
  font-size: 0.78rem;
}

/* ==========================================================================
   3. Full-Bleed Hunt-Coat Green Tack-Room & Ring Lookbook Hero
   ========================================================================== */

.hero-atelier {
  position: relative;
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 160, 75, 0.16) 0%, rgba(200, 160, 75, 0) 48%),
    radial-gradient(circle at 14% 85%, rgba(110, 56, 29, 0.28) 0%, rgba(110, 56, 29, 0) 46%),
    linear-gradient(135deg, #091d15 0%, #0e2a1f 52%, #133628 100%);
  color: var(--bg);
  padding: 44px 0 48px;
  border-bottom: 3px solid var(--brass);
}

.hero-atelier-frame {
  border: 1px solid rgba(200, 160, 75, 0.34);
  border-radius: var(--radius);
  padding: 36px;
  background: rgba(7, 23, 16, 0.34);
  box-shadow: inset 0 0 0 1px rgba(250, 247, 240, 0.04);
}

.hero-atelier-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 38px;
  align-items: center;
}

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

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.85rem, 4.7vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #faf7f0;
  margin: 0 0 18px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--brass-light);
}

.hero-subcopy {
  font-size: 1.05rem;
  line-height: 1.64;
  color: rgba(250, 247, 240, 0.84);
  max-width: 50ch;
  margin: 0 0 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-disciplines {
  padding-top: 20px;
  border-top: 1px solid rgba(200, 160, 75, 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.hero-disciplines-label {
  font-family: var(--mono);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brass-light);
}

.hero-disc-btn {
  background: none;
  border: none;
  padding: 6px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(250, 247, 240, 0.88);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid rgba(200, 160, 75, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-disc-btn:hover {
  color: var(--brass-light);
  border-bottom-color: var(--brass-light);
}

/* Luminous #ffffff Studio Lookbook Mosaic (High Contrast - Never Dark-on-Dark!) */
.lookbook-mosaic {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  align-items: stretch;
}

.lookbook-lead {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 160, 75, 0.55);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lookbook);
  transition: transform 0.2s ease;
}
.lookbook-lead:hover {
  transform: translateY(-3px);
  color: var(--ink);
}

.lookbook-folio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--havana);
  padding-bottom: 10px;
  border-bottom: 1px solid #ede6d8;
}

.lookbook-lead-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  background: #ffffff;
}
.lookbook-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lookbook-lead-foot {
  padding-top: 10px;
  border-top: 1px solid #ede6d8;
}

.lookbook-house {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lookbook-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--ink);
  margin: 3px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lookbook-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--hunt);
}

.lookbook-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.lookbook-tile {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 160, 75, 0.42);
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(4, 15, 10, 0.24);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.lookbook-tile:hover {
  transform: translateX(-3px);
  border-color: var(--brass);
  color: var(--ink);
}

.lookbook-tile-img {
  width: 84px;
  height: 84px;
  background: #ffffff;
  border: 1px solid #f0eadc;
  border-radius: 4px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lookbook-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lookbook-tile-meta small {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--havana);
}

.lookbook-tile-meta strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  margin: 2px 0 4px;
}

.lookbook-tile-meta span {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hunt);
}

/* ==========================================================================
   4. Saddlery House Marquee Strip & Category Index Ribbon
   ========================================================================== */

.houses-strip {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.houses-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.houses-strip-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--havana);
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid var(--line-strong);
}

.house-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--hunt);
  white-space: nowrap;
  border-radius: var(--radius-xs);
  transition: background 0.15s ease, color 0.15s ease;
}
.house-tag:hover {
  background: var(--card);
  color: var(--havana);
}

.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 6px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.cat-chip:hover,
.cat-chip.active {
  background: var(--hunt);
  border-color: var(--hunt);
  color: var(--bg);
}
.cat-chip:hover em,
.cat-chip.active em {
  color: var(--brass-light);
}

/* ==========================================================================
   5. Section Headers & Atelier Interactive Fitting Room (Home + Dedicated)
   ========================================================================== */

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 46px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--hunt);
  margin: 0;
}

.sec-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 66ch;
}

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

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--hunt);
  margin: 4px 0 12px;
}

.lede {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 68ch;
  margin: 0;
}

/* Home Interactive Turnout + Safety Dual Atelier Showcase */
.atelier-workbench {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--hunt);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.wb-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.wb-box.safety-decoder-panel {
  background: linear-gradient(180deg, #102e22 0%, #0b2118 100%);
  color: var(--bg);
  border-color: rgba(200, 160, 75, 0.45);
}

.wb-box.safety-decoder-panel h3 {
  color: #faf7f0;
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 4px 0 8px;
}

.wb-box.safety-decoder-panel p {
  color: rgba(250, 247, 240, 0.82);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.decoder-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.decoder-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--radius-xs);
  background: rgba(250, 247, 240, 0.06);
  border: 1px solid rgba(200, 160, 75, 0.26);
  color: var(--bg);
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.decoder-item:hover {
  background: rgba(200, 160, 75, 0.16);
  border-color: var(--brass-light);
  color: #ffffff;
}

.decoder-code {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brass-light);
  display: block;
}

.decoder-desc {
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.84);
  display: block;
  margin-top: 2px;
}

.wb-mini-recs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.wb-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--ink);
}
.wb-mini-card:hover {
  border-color: var(--hunt);
}
.wb-mini-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.wb-mini-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.25;
}
.wb-mini-card span {
  display: block;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--hunt);
  font-weight: 600;
  margin-top: 2px;
}

/* ==========================================================================
   6. Product Cards, Ring Kits, Brand Cards & Video Cards
   ========================================================================== */

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

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

.pcard:hover {
  border-color: var(--brass);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pcard-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 18px;
  border-bottom: 1px solid #f0e9dc;
  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 {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.24s ease;
}

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

.badge-deal {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--scarlet);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(250, 247, 240, 0.94);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.save-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  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: 1.9;
}
.save-btn:hover {
  border-color: var(--hunt);
  color: var(--hunt);
}
.save-btn.saved {
  background: var(--hunt);
  border-color: var(--hunt);
  color: var(--brass-light);
}
.save-btn.saved svg {
  fill: currentColor;
}

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

.pcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pcard-brand {
  color: var(--havana);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.2;
}

.pcard-title a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-title a:hover {
  color: var(--hunt);
}

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

.size-pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.size-pill.deal {
  background: var(--scarlet-tint);
  border-color: rgba(143, 45, 34, 0.3);
  color: var(--scarlet);
}

.pcard-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--bg-warm);
  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: 0.96rem;
  font-weight: 600;
  color: var(--ink);
}
.price-now.sale {
  color: var(--scarlet);
}

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

.shop-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hunt);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--bg);
}
.shop-link:hover {
  background: var(--hunt);
  border-color: var(--hunt);
  color: var(--bg);
}

/* Curated Show & Schooling Ring Kits */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.kcard {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--havana);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

.kcard-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #ffffff;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
}

.kcard-slot {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kcard-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kcard-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.15;
}
.kcard-title a { color: var(--hunt); }
.kcard-title a:hover { color: var(--havana); }

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

.kcard-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.kcard-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--bg-warm);
  font-size: 0.84rem;
}
.kcard-items li a {
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kcard-items li a:hover {
  color: var(--hunt);
}

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

/* Video Cards (Films View) */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.vcard-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #101713;
  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: 2px;
  background: rgba(14, 42, 31, 0.9);
  color: #faf7f0;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.vcard-play {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 25, 17, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease;
}
.vcard-play:hover {
  background: rgba(7, 25, 17, 0.42);
}

.play-pill {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--hunt);
  border: 2px solid var(--brass);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.play-pill svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  margin-left: 2px;
}

.vcard-body {
  padding: 15px 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: 600;
  color: var(--havana);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.vcard-lane {
  font-family: var(--mono);
  font-size: 0.69rem;
  padding: 2px 7px;
  background: var(--hunt-tint);
  color: var(--hunt);
  border-radius: 2px;
}

.vcard-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
}

.vcard-stats {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--bg-warm);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

/* ==========================================================================
   7. Turnout Blanket Fill-Gram Sizer & Safety Spec Bench
   ========================================================================== */

.calc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.calc-panel,
.calc-output {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.calc-group {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--bg-warm);
}
.calc-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.calc-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hunt);
}

.temp-readout {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hunt);
}

.unit-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.unit-btn {
  min-height: 44px;
  min-width: 46px;
  border: 0;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.unit-btn.active {
  background: var(--hunt);
  color: var(--brass-light);
}

.temp-slider {
  width: 100%;
  accent-color: var(--hunt);
  height: 8px;
  cursor: pointer;
}

.preset-row,
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
}

.choice-btn {
  min-height: 48px;
  padding: 9px 11px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.14s ease;
}
.choice-btn span {
  font-weight: 600;
  font-size: 0.83rem;
}
.choice-btn small {
  font-family: var(--mono);
  font-size: 0.69rem;
  color: var(--muted);
}
.choice-btn:hover {
  border-color: var(--hunt);
}
.choice-btn.active {
  background: var(--hunt);
  border-color: var(--hunt);
  color: var(--bg);
}
.choice-btn.active small {
  color: var(--brass-light);
}

.verdict-banner {
  background: var(--hunt);
  color: var(--bg);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius-xs);
  padding: 20px;
  margin-bottom: 18px;
}
.verdict-banner.warn {
  background: var(--havana-deep);
  border-left-color: var(--brass-light);
}

.verdict-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 4px;
}

.verdict-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 6px;
}

.verdict-sub {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(250, 247, 240, 0.86);
}

.spec-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.spec-kv {
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
}
.spec-kv span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.spec-kv strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  margin-top: 2px;
}

.measure-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--hunt);
}

.measure-svg {
  width: 100%;
  height: auto;
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.size-table th,
.size-table td {
  padding: 7px 9px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.size-table th {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
}
.size-table tr.hl {
  background: var(--brass-tint);
  font-weight: 600;
}

/* Safety Standards & Spec Cards */
.notice-bar {
  background: var(--brass-tint);
  border: 1px solid rgba(200, 160, 75, 0.55);
  border-left: 4px solid var(--brass-deep);
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

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

.std-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--hunt);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.std-code {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--hunt);
  color: var(--brass-light);
  border-radius: 2px;
  margin-bottom: 8px;
}

.std-scope {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.std-meta {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 6px 0 0;
}

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

.spec-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-card-head {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.spec-thumb {
  width: 84px;
  height: 84px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 2px;
  background: var(--hunt-tint);
  color: var(--hunt);
  border: 1px solid rgba(14, 42, 31, 0.2);
}
.cert-badge.ms {
  background: var(--brass-tint);
  color: var(--havana-deep);
  border-color: rgba(200, 160, 75, 0.5);
}

.spec-rows {
  font-size: 0.84rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-source-tag {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--bg-warm);
}

/* ==========================================================================
   8. Toolbars, Brand Directory, Product Detail, Trust & Footer
   ========================================================================== */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.toolbar input[type="search"],
.toolbar select {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.88rem;
}

.toolbar input[type="search"] {
  flex: 1 1 260px;
}

.toolbar-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.brand-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.brand-sort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-search-input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.86rem;
  flex: 1 1 220px;
  max-width: 340px;
}

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

.bcard {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.bcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brass);
}

.brand-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(--bg-warm);
  border-bottom: 1px solid var(--line);
}

.brand-mosaic-lead {
  grid-row: 1 / span 2;
  background: #ffffff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

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

.brand-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease;
}

.bcard:hover .brand-mosaic img {
  transform: scale(1.03);
}

.bcard-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bcard-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.domain-pill,
.sku-pill,
.sale-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.03em;
}

.domain-pill {
  background: var(--bg-warm);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.sku-pill {
  background: var(--hunt-tint);
  color: var(--hunt);
  border: 1px solid rgba(14, 42, 31, 0.18);
}

.sale-pill {
  background: var(--scarlet-tint);
  color: var(--scarlet);
  border: 1px solid rgba(143, 45, 34, 0.28);
}

.bcard-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.bcard-top h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.48rem;
  line-height: 1.15;
  color: var(--hunt);
}
.bcard-top h2 a {
  color: inherit;
}
.bcard-top h2 a:hover {
  color: var(--havana);
}
.bcard-span {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

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

.bcard-policy-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  color: var(--muted);
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcard-policy-line span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcard-policy-line strong {
  color: var(--ink-soft);
}
.bcard-policy-line .sep {
  flex-shrink: 0;
}

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

.brand-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Inline Turnout Sizer Shoppable Cards & Creator Video Preview */
.calc-inline-shop {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.calc-inline-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calc-shop-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-shop-img {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 3px;
  aspect-ratio: 1 / 1;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.calc-shop-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.calc-shop-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.calc-shop-brand {
  font-family: var(--mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--havana);
}
.calc-shop-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.calc-shop-foot {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.8rem;
}

.ccard-preview {
  position: relative;
  display: block;
  width: calc(100% + 40px);
  margin: -20px -20px 2px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hunt-deep);
  cursor: pointer;
}
.ccard-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.ccard:hover .ccard-preview img {
  transform: scale(1.03);
}
.ccard-preview-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(7, 25, 17, 0.86);
  color: var(--brass-light);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid rgba(200, 160, 75, 0.4);
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  margin-top: 20px;
  align-items: start;
}

.detail-photo {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 28px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-info h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: var(--hunt);
  margin: 6px 0 14px;
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.detail-price .price-now {
  font-size: 1.45rem;
}

.detail-box {
  margin-top: 16px;
  padding: 15px 18px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fine {
  font-size: 0.8rem;
  color: var(--muted);
}

.empty-box {
  padding: 42px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.load-more-wrap {
  margin-top: 28px;
  text-align: center;
}

/* Trust Pages */
.trust-page,
.prose {
  max-width: 780px;
  padding: 28px 0;
}
.trust-page h1,
.prose h1 {
  font-family: var(--serif);
  font-size: 2.3rem;
  color: var(--hunt);
}
.trust-page h2,
.prose h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--hunt);
  margin-top: 28px;
}

/* Footer */
.foot {
  background: var(--hunt-deep);
  color: rgba(250, 247, 240, 0.82);
  border-top: 3px solid var(--brass);
  padding: 48px 0 56px;
  margin-top: auto;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
}

.foot-wordmark {
  color: #faf7f0;
  font-size: 1.85rem;
}
.foot-wordmark b {
  color: var(--brass-light);
}

.foot-tag {
  margin: 10px 0 12px;
  max-width: 46ch;
  color: rgba(250, 247, 240, 0.84);
  font-size: 0.94rem;
}

.foot-fine,
.foot-fee {
  font-size: 0.8rem;
  color: rgba(250, 247, 240, 0.64);
  max-width: 52ch;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.foot-col h4 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.foot-col nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-col nav a,
.foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(250, 247, 240, 0.82);
  font-size: 0.88rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.foot-col nav a:hover,
.foot-link:hover {
  color: var(--brass-light);
}

.foot-fb-dot {
  background: none;
  border: 0;
  color: rgba(250, 247, 240, 0.35);
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 150;
  padding: 12px 18px;
  background: var(--hunt);
  color: var(--bg);
  border: 1px solid var(--brass);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.on {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   9. Responsive Breakpoints (1120px, 860px, 560px, <=374px)
   ========================================================================== */

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-atelier-grid,
  .workbench-grid,
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kit-grid,
  .std-grid,
  .spec-bench-grid,
  .brand-grid,
  .vid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .wrap { padding: 0 18px; }
  .atelier-ribbon-inner .ribbon-links { display: none; }
  .hero-atelier-frame { padding: 22px; }
  .lookbook-mosaic,
  .detail-grid,
  .foot-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .kit-grid,
  .std-grid,
  .spec-bench-grid,
  .brand-grid,
  .vid-grid,
  .wb-mini-recs,
  .calc-inline-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .hide-sm { display: none; }
}

@media (max-width: 374px) {
  .wrap { padding: 0 12px; }
  .prod-grid,
  .spec-kv-grid,
  .foot-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .wordmark { font-size: 1.35rem; }
  .hero-headline { font-size: 2.25rem; }
}

/* Legal, Disclosure & Partner Governance Cards */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.legal-card,
.remove-box {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--hunt);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.legal-card h2,
.remove-box h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--hunt);
}
.partners-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
}
.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 28px;
}
.btn.clay {
  background: var(--scarlet);
  border-color: var(--scarlet);
  color: #ffffff;
}
@media (max-width: 780px) {
  .legal-grid,
  .partners-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   V4 Overhaul: Nav Shop Pill, Full-Bleed Studio Photo-Wall Hero & Creators
   ========================================================================== */

.nav {
  gap: 14px;
}

.nav a.nav-shop {
  background: var(--hunt);
  color: var(--bg);
  padding: 0 14px;
  min-height: 36px;
  border-radius: var(--radius-xs);
  border-bottom: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav a.nav-shop:hover,
.nav a.nav-shop.active {
  background: var(--brass);
  color: var(--hunt-deep);
  border-bottom: none;
}

.hero-photowall-stage {
  position: relative;
  overflow: hidden;
  background: #071911;
  color: var(--bg);
  min-height: 550px;
  display: flex;
  align-items: center;
  padding: 62px 0 66px;
  border-bottom: 3px solid var(--brass);
}

.hero-wall-backdrop {
  position: absolute;
  inset: -44px -70px -44px 26%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-wall-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(156px, 190px));
  gap: 14px;
  transform: rotate(-4.5deg) scale(1.04);
}

.hero-wall-tile {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 10px 8px;
  box-shadow: 0 18px 36px rgba(3, 12, 8, 0.46);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-wall-tile:nth-child(even) {
  transform: translateY(14px);
}

.hero-wall-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-wall-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-wall-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  margin-top: 6px;
  border-top: 1px solid #eee6d8;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--ink-soft);
}

.hero-wall-cap span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hero-wall-cap strong {
  color: var(--hunt);
  font-weight: 600;
  flex-shrink: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(14, 42, 31, 0.55) 0%, rgba(7, 25, 17, 0) 52%),
    linear-gradient(94deg, #061710 0%, rgba(8, 26, 18, 0.97) 36%, rgba(10, 32, 23, 0.82) 54%, rgba(7, 24, 17, 0.28) 80%, rgba(7, 24, 17, 0.14) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
}

.hero-copy-col {
  max-width: 630px;
}

.hero-shop-btn {
  min-width: 138px;
  font-size: 0.92rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.hero-ftc-note {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: rgba(250, 247, 240, 0.72);
}

.hero-ftc-note a {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.ccard {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--hunt);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ccard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brass);
}

.ccard-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ccard-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hunt-mid) 0%, var(--hunt-deep) 100%);
  color: var(--brass-light);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px rgba(200, 160, 75, 0.55);
}

.ccard-title-wrap {
  min-width: 0;
  flex: 1;
}

.ccard-lane {
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--havana);
  margin-bottom: 2px;
}

.ccard-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--hunt);
}

.ccard-name a {
  color: inherit;
}

.ccard-name a:hover {
  color: var(--havana);
}

.ccard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

.ccard-bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}

.ccard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-wall-backdrop {
    inset: -30px -90px -30px 38%;
  }
}

@media (max-width: 760px) {
  .creator-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-photowall-stage {
    min-height: 460px;
    padding: 44px 0 48px;
  }
  .hero-wall-backdrop {
    inset: 0 -40px 0 0;
    opacity: 0.32;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(6, 23, 16, 0.92) 0%, rgba(7, 25, 17, 0.96) 100%);
  }
}

/* Mobile fit (v6): no side scroll at 320-430px */
@media (max-width: 640px) {
  .toolbar {
    flex-wrap: wrap;
    min-width: 0;
  }
  .toolbar select,
  .toolbar input,
  select#feed-channel,
  select,
  input {
    max-width: 100%;
    min-width: 0;
  }
  .kcard,
  .kcard > * {
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .top-inner { gap: 8px; }
  .logo { gap: 8px; min-width: 0; flex-shrink: 1; }
  .logo-mark { width: 34px; height: 34px; }
  .wordmark { font-size: 1.24rem; white-space: nowrap; }
  .wordmark-sub { display: none; }
  .top-actions { gap: 6px; }
  .action-link { 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; }
  .toast { right: 16px; max-width: calc(100vw - 32px); }
}
@media (max-width: 359px) {
  .logo-mark { width: 30px; height: 30px; }
  .wordmark { font-size: 1.1rem; }
  .top-actions { gap: 4px; }
  .action-link { padding: 0 8px; }
}
html, body { overflow-x: clip; }

