/* ============================================================================
   ORGANPARTS - MAIN STYLESHEET
   Token-driven design system shared by every template. Fonts are bundled
   variable-font subsets (latin + latin-ext).
   ========================================================================== */

/* 1. FONTS ----------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ----- 2. COLOR ----- */
  /* Warm near-black ink + paper white. Saturation kept low for the neutrals. */
  --ink:          #16130d;   /* primary text / deepest surface  */
  --ink-2:        #211d15;   /* raised dark surface             */
  --ink-3:        #2e281d;   /* dark borders / hairlines on dark */
  --carbon:       #3a3329;   /* muted dark                       */

  --paper:        #faf7f0;   /* page background (warm white)     */
  --paper-2:      #f3eee3;   /* sunken warm surface              */
  --paper-3:      #eae1d0;   /* warm tint blocks                 */
  --white:        #ffffff;

  /* Neutral grays (warm-leaning) */
  --gray-900:     #2a251c;
  --gray-700:     #4b4334;
  --gray-500:     #7a7160;
  --gray-400:     #9a9182;
  --gray-300:     #c4bcab;
  --gray-200:     #ded6c6;
  --gray-100:     #ece5d7;

  /* Gold - the brand. A refined "antique brass" as the premium primary,
     the deep heritage gold, and the bright accent used sparingly. */
  --gold:         #b8923f;   /* premium primary gold (refined)   */
  --gold-soft:    #cdaa5f;   /* lighter, for text on dark        */
  --gold-deep:    #8e762d;   /* heritage gold (brand)            */
  --gold-bright:  #e8c204;   /* bright accent (brand) - sparing  */
  --gold-wash:    #f0e6cf;   /* faint gold tint surface          */
  --gold-line:    #d9c79a;   /* gold hairline                    */

  /* Semantic */
  --bg:           var(--paper);
  --surface:      var(--white);
  --text:         var(--ink);
  --text-muted:   var(--gray-500);
  --text-subtle:  var(--gray-400);
  --accent:       var(--gold);
  --accent-deep:  var(--gold-deep);
  --hairline:     #e2dac9;
  --hairline-strong: #d2c8b2;

  /* ----- 3. TYPE FAMILIES ----- */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono:    'Spline Sans Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* ----- 3. TYPE SCALE (raw steps, root = 16px) ----- */
  --text-2xs:  0.6875rem;  /* 11px - micro labels        */
  --text-xs:   0.75rem;    /* 12px                       */
  --text-sm:   0.875rem;   /* 14px                       */
  --text-base: 1rem;       /* 16px - body                */
  --text-md:   1.125rem;   /* 18px - lead body           */
  --text-lg:   1.375rem;   /* 22px                       */
  --text-xl:   1.75rem;    /* 28px                       */
  --text-2xl:  2.25rem;    /* 36px                       */
  --text-3xl:  3rem;       /* 48px                       */
  --text-4xl:  4rem;       /* 64px                       */
  --text-5xl:  5.25rem;    /* 84px                       */
  --text-6xl:  7rem;       /* 112px                      */

  /* Semantic type roles - use THESE in markup, not raw steps. */
  --fs-display:  var(--text-5xl);
  --fs-h1:       var(--text-4xl);
  --fs-h2:       var(--text-3xl);
  --fs-h3:       var(--text-2xl);
  --fs-h4:       var(--text-xl);
  --fs-h5:       var(--text-lg);
  --fs-body-lg:  var(--text-md);
  --fs-body:     var(--text-base);
  --fs-small:    var(--text-sm);
  --fs-caption:  var(--text-xs);
  --fs-overline: var(--text-xs);

  /* Line heights */
  --lh-tight:   1.04;
  --lh-snug:    1.18;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;

  /* Tracking */
  --ls-tight:   -0.02em;
  --ls-normal:  0;
  --ls-wide:    0.04em;
  --ls-overline: 0.22em;

  /* Weights */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  /* ----- 4. SPACING (4px base) ----- */
  --space-1:  0.25rem;  /*  4 */
  --space-2:  0.5rem;   /*  8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 6rem;     /* 96 */
  --space-12: 8rem;     /* 128 */

  /* Section rhythm */
  --section-y: clamp(3rem, 5vw, 5rem);

  /* Container */
  --container:      1320px;
  --container-wide: 1560px;
  --gutter:         clamp(1.25rem, 4vw, 4rem);

  /* Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Borders */
  --bw: 1px;
  --bw-2: 1.5px;

  /* Shadows (warm-tinted, restrained) */
  --shadow-xs: 0 1px 2px rgba(22,19,13,0.06);
  --shadow-sm: 0 2px 8px rgba(22,19,13,0.06), 0 1px 2px rgba(22,19,13,0.05);
  --shadow:    0 8px 24px rgba(22,19,13,0.08), 0 2px 6px rgba(22,19,13,0.05);
  --shadow-lg: 0 24px 60px rgba(22,19,13,0.14), 0 6px 16px rgba(22,19,13,0.08);
  --shadow-gold: 0 12px 30px rgba(142,118,45,0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.4s;
}

/* ----- 5. BASE ELEMENTS --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: 0;
  color: var(--ink);
}

p { margin: 0; text-wrap: pretty; }

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

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

::selection { background: var(--gold-bright); color: var(--ink); }

/* Typographic utility roles ------------------------------------------------ */
.display  { font-family: var(--font-display); font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); font-weight: var(--fw-medium); }
.h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-tight);  font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); }
.h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: var(--lh-snug);  font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); }
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-snug);  font-weight: var(--fw-medium); }
.h4 { font-family: var(--font-display); font-size: var(--fs-h4); line-height: var(--lh-snug);  font-weight: var(--fw-semibold); }
.h5 { font-family: var(--font-sans);    font-size: var(--fs-h5); line-height: var(--lh-snug);  font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); }

.lead     { font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); color: var(--gray-700); }
.body     { font-size: var(--fs-body); line-height: var(--lh-relaxed); }
.small    { font-size: var(--fs-small); }
.caption  { font-size: var(--fs-caption); color: var(--text-muted); }

.overline {
  font-family: var(--font-mono);
  font-size: var(--fs-overline);
  text-transform: uppercase;
  letter-spacing: var(--ls-overline);
  font-weight: var(--fw-medium);
  color: var(--accent-deep);
}

.mono { font-family: var(--font-mono); }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: var(--fw-regular); }

/* ----- LAYOUT HELPERS ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.stack > * + * { margin-top: var(--space-4); }

/* ----- 6. COMPONENTS ------------------------------------------------------ */

/* Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border: var(--bw) solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold   { --btn-bg: var(--gold); --btn-fg: var(--paper); }
.btn-gold:hover { --btn-bg: var(--gold-deep); --btn-fg: var(--paper); }
.btn-ghost  { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--hairline-strong); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--paper); border-color: rgba(255,255,255,0.28); }
.btn-ghost-light:hover { --btn-bg: var(--gold); --btn-fg: var(--ink); border-color: var(--gold); }
.btn-lg { padding: 1.15rem 2rem; font-size: var(--fs-body); }
.btn-sm { padding: 0.6rem 1rem; font-size: var(--fs-caption); }

/* Pills / chips */
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  text-transform: uppercase; letter-spacing: var(--ls-wide);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  border: var(--bw) solid var(--hairline-strong);
  color: var(--gray-700);
  background: var(--surface);
}
.pill-gold { border-color: var(--gold-line); background: var(--gold-wash); color: var(--gold-deep); }

/* Cards */
.card {
  background: var(--surface);
  border: var(--bw) solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-line); }

/* Field / input */
.field {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--surface);
  border: var(--bw) solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-4);
  height: 56px;
}
.field input {
  border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: var(--fs-body); color: var(--ink);
  width: 100%; height: 100%;
}
.field input::placeholder { color: var(--text-subtle); }

/* Hairline divider */
.rule { height: var(--bw); background: var(--hairline); border: 0; }
.rule-gold { height: var(--bw-2); background: linear-gradient(90deg, var(--gold), transparent); border: 0; }


/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
/* ============================================================================
   ORGANPARTS - HOMEPAGE STYLES (built on styles/ds.css)
   ========================================================================== */

/* ---- Tweakable gold (set by JS) is just --gold; derived tones cascade ---- */

/* =========================================================== TOP UTILITY BAR */
.utility {
  background: var(--ink);
  color: var(--gray-300);
  font-size: var(--text-xs);
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: 42px; flex-wrap: wrap;
}
.utility a { color: var(--gray-300); transition: color .25s var(--ease); white-space: nowrap; }
.utility a:hover { color: var(--gold-soft); }
.utility__group { display: flex; align-items: center; gap: var(--space-5); }
.utility__tag {
  font-family: var(--font-mono); text-transform: uppercase; white-space: nowrap;
  letter-spacing: var(--ls-wide); color: var(--gold-soft); font-size: var(--text-2xs);
}
.utility__sep { width: 1px; height: 14px; background: var(--ink-3); }
.utility__contacts { display: flex; align-items: center; gap: var(--space-5); }
.switch { display: inline-flex; gap: 2px; font-family: var(--font-mono); font-size: var(--text-2xs); }
.switch a { padding: 2px 5px; border-radius: var(--radius-xs); letter-spacing: .05em; }
.switch a.is-active { background: var(--ink-3); color: var(--paper); }
/* Switchers inside the mobile panel: light context, finger-sized targets. */
.mobile-nav__meta { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.mobile-nav__meta .switch { font-size: var(--text-xs); gap: 4px; }
.mobile-nav__meta .switch a { padding: 8px 12px; border: var(--bw) solid var(--hairline-strong); color: var(--ink); }
.mobile-nav__meta .switch a.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =============================================================== HEADER / NAV */
.site-top { position: sticky; top: 0; z-index: 60; }
.header {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: var(--bw) solid var(--hairline);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--paper) 95%, transparent); }
.header__inner {
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.brand__logo { height: 44px; width: auto; display: block; }
.brand__logo-tile { display: inline-flex; background: var(--paper); border-radius: var(--radius-sm); padding: 5px 9px; }
.brand__logo-tile img { height: 38px; width: auto; display: block; }
.brand__name { line-height: 1.05; }
.brand__name b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: -.01em; display: block; }

.nav { display: flex; align-items: center; gap: var(--space-2); margin-left: var(--space-4); }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--gray-700);
  padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--paper-2); }
.nav__link { white-space: nowrap; }
.nav__link svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.icon-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--radius-sm); border: var(--bw) solid transparent;
  color: var(--gray-700); cursor: pointer; background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 6px; right: 6px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
}
.header__cta { margin-left: var(--space-2); }

/* ---- Mega menu ---- */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - 140px); overflow-y: auto;
  background: var(--surface); border-top: var(--bw) solid var(--hairline);
  border-bottom: var(--bw) solid var(--hairline);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 70;
}
.has-mega:hover .mega, .mega:hover, .mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.has-mega:hover .nav__link svg { transform: rotate(180deg); }
.mega__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: var(--space-5) 0;
}
.mega__col { padding: 0 var(--space-5); border-right: var(--bw) solid var(--hairline); }
.mega__col:last-child { border-right: 0; }
.mega__cat {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-size: var(--text-md); font-weight: 600; color: var(--ink);
  margin-bottom: var(--space-3); padding-bottom: var(--space-2);
  border-bottom: var(--bw) solid var(--hairline);
}
.mega__cat { transition: color .2s var(--ease); }
a.mega__cat:hover { color: var(--gold-deep); }
.mega__cat .n { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--gold-deep); }
.mega__sub { display: grid; gap: 2px; }
.mega__sub a { font-size: var(--text-xs); color: var(--gray-700); padding: 3px 0; transition: color .2s, padding-left .2s; }
.mega__sub a:hover { color: var(--gold-deep); padding-left: 5px; }
.mega__feature { padding: 0 var(--space-5); }
.mega__all { display: flex; }
.mega__all-cta { display: flex; flex-direction: column; gap: var(--space-2); justify-content: center; width: 100%; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: var(--space-6); transition: background .3s var(--ease); }
.mega__all-cta .overline { color: var(--gold-soft); margin-bottom: var(--space-2); }
.mega__all-cta b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); color: var(--paper); line-height: 1.05; }
.mega__all-cta p { font-size: var(--fs-small); color: var(--gray-300); line-height: var(--lh-relaxed); }
.mega__all-go { margin-top: var(--space-3); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-small); color: var(--gold-soft); }
.mega__all-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mega__all-cta:hover { background: var(--gold-deep); }
.mega__all-cta:hover .overline, .mega__all-cta:hover p, .mega__all-cta:hover .mega__all-go { color: var(--paper); }
.mega__all-cta:hover .mega__all-go svg { transform: translateX(5px); }

/* =================================================================== HERO */
.hero { position: relative; }

/* shared bits */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-5); }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }

.searchbar {
  display: flex; align-items: stretch; gap: 0;
  background: var(--surface); border: var(--bw-2) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
/* No overflow:hidden here - it would clip the absolutely-positioned live
   search dropdown. The edge children round their own outer corners instead. */
.searchbar svg { width: 20px; height: 20px; color: var(--gray-500); }
.searchbar__field { display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); flex: 1; border-radius: calc(var(--radius-sm) - var(--bw-2)) 0 0 calc(var(--radius-sm) - var(--bw-2)); }
.searchbar input {
  border: 0; outline: 0; background: transparent; width: 100%; height: 64px;
  font-family: var(--font-sans); font-size: var(--fs-body-lg); color: var(--ink);
}
.searchbar input::placeholder { color: var(--text-subtle); }
.searchbar button {
  border: 0; background: var(--ink); color: var(--paper); cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-small);
  padding: 0 var(--space-6); transition: background .25s var(--ease);
  border-radius: 0 calc(var(--radius-sm) - var(--bw-2)) calc(var(--radius-sm) - var(--bw-2)) 0;
}
.searchbar button:hover { background: var(--gold-deep); }
.searchbar button svg { display: none; width: 20px; height: 20px; color: var(--paper); }
.search-hint { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); margin-top: var(--space-3); letter-spacing: .03em; }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.chip {
  font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 500;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  border: var(--bw) solid var(--hairline-strong); color: var(--gray-700);
  background: var(--surface); transition: all .25s var(--ease); cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

/* editorial */
.hero__variant--editorial { padding-block: clamp(3rem, 6vw, 6rem) var(--section-y); }
.hero-ed {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-ed__title { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.08; margin-bottom: var(--space-5); }
.hero-ed__title em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--gold-deep); }
.hero-ed__lead { max-width: 46ch; margin-bottom: var(--space-6); }
.hero-ed__search { max-width: 560px; }
.hero-ed__media { position: relative; }
.hero-ed__media .media-frame { width: 100%; height: clamp(420px, 52vw, 640px); border-radius: var(--radius-lg); }
.hero-ed__meta { display: flex; gap: var(--space-6); margin-top: var(--space-7); padding-top: var(--space-6); border-top: var(--bw) solid var(--hairline); }
.hero-stat b { font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink); display: block; line-height: 1; }
.hero-stat span { font-size: var(--text-xs); color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }

/* ===================================================== SECTION HEADER common */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-8); flex-wrap: wrap; }
.sec-head__title { font-size: var(--fs-h2); max-width: 20ch; }
.sec-head__title em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.sec-head p { color: var(--gray-700); max-width: 42ch; margin-top: var(--space-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-small); color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 4px; transition: gap .25s var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ===================================================== CATEGORY BROWSER */
.cat-tools { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.cat-filter { display: flex; align-items: center; gap: var(--space-3); flex: 1; min-width: 280px; max-width: 420px; background: var(--surface); border: var(--bw) solid var(--hairline-strong); border-radius: var(--radius-sm); padding: 0 var(--space-4); height: 50px; }
.cat-filter input { border: 0; outline: 0; background: transparent; width: 100%; font-family: var(--font-sans); font-size: var(--fs-small); }
.cat-filter svg { width: 18px; height: 18px; color: var(--gray-500); }
.cat-count { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: var(--bw) solid var(--hairline);
  border-radius: var(--radius); overflow: hidden; min-height: 240px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.cat-card__media { height: 138px; position: relative; }
.cat-card__media .media-frame { width: 100%; height: 100%; border-radius: 0; }
.cat-card__n { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--font-mono); font-size: var(--text-2xs); background: var(--ink); color: var(--gold); padding: 3px 7px; border-radius: var(--radius-xs); letter-spacing: .05em; }
.cat-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card__name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--ink); line-height: 1.1; }
.cat-card__subs { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.45; }
.cat-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-deep); }
.cat-card.is-hidden { display: none; }
.cat-card--wide { grid-column: 1 / -1; flex-direction: row; min-height: 200px; background: var(--ink); border-color: var(--ink); }
.cat-card--wide:hover { border-color: var(--gold); }
.cat-card--wide .cat-card__media { width: 38%; height: auto; }
.cat-card--wide .cat-card__body { justify-content: center; padding: var(--space-6); }
.cat-card--wide .cat-card__name { color: var(--paper); font-size: var(--text-2xl); }
.cat-card--wide .cat-card__name::after { content: "→"; margin-left: .5em; color: var(--gold); font-family: var(--font-sans); font-size: .75em; }
.cat-card--wide .cat-card__subs { color: var(--gray-300); }
.cat-card--feature { grid-column: span 2; flex-direction: row; min-height: 240px; background: var(--ink); border-color: var(--ink); }
.cat-card--feature .cat-card__media { width: 46%; height: auto; }
.cat-card--feature .cat-card__body { justify-content: center; padding: var(--space-6); }
.cat-card--feature .cat-card__name { color: var(--paper); font-size: var(--text-2xl); }
.cat-card--feature .cat-card__subs { color: var(--gray-300); }
.cat-card--feature .eyebrow { color: var(--gold-soft); margin-bottom: var(--space-3); }
.cat-empty { display: none; text-align: center; padding: var(--space-9); color: var(--text-muted); font-family: var(--font-mono); font-size: var(--fs-small); grid-column: 1 / -1; }

/* ===================================================== CRAFT / ABOUT band */
.craft { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.craft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.craft .eyebrow { color: var(--gold-soft); }
.craft__title { color: var(--paper); font-size: var(--fs-h2); margin-bottom: var(--space-5); }
.craft__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.craft__quote { font-family: var(--font-display); font-style: italic; font-size: var(--text-2xl); line-height: 1.3; color: var(--gold-soft); margin-bottom: var(--space-5); }
.craft p { color: var(--gray-300); margin-bottom: var(--space-4); line-height: var(--lh-relaxed); }
.craft__media { position: relative; }
.craft__media .media-frame { width: 100%; height: clamp(380px, 44vw, 560px); border-radius: var(--radius-lg); }
.craft__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--space-9); border-top: var(--bw) solid var(--ink-3); }
.cstat { padding: var(--space-6) var(--space-4) 0; border-right: var(--bw) solid var(--ink-3); }
.cstat:last-child { border-right: 0; }
.cstat b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--gold); line-height: 1; display: block; }
.cstat span { font-size: var(--text-xs); color: var(--gray-400); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-top: var(--space-2); display: block; }

/* ===================================================== PRODUCTS */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.prod-card { display: flex; flex-direction: column; background: var(--surface); border: var(--bw) solid var(--hairline); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.prod-card__media { position: relative; height: 230px; background: var(--paper-2); }
.prod-card__media > a { display: block; width: 100%; height: 100%; }
.prod-card__media .media-frame { width: 100%; height: 100%; border-radius: 0; }
.prod-card__name a { color: inherit; transition: color .2s var(--ease); }
.prod-card__name a:hover { color: var(--gold-deep); }
.prod-card__tag { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .1em; background: var(--gold); color: var(--ink); padding: 4px 9px; border-radius: var(--radius-xs); font-weight: 600; }
.prod-card__fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--paper) 85%, transparent); display: grid; place-items: center; color: var(--gray-700); border: 0; cursor: pointer; transition: color .2s, background .2s; }
.prod-card__fav:hover { color: var(--gold-deep); background: var(--paper); }
.prod-card__fav svg { width: 18px; height: 18px; }
.prod-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.prod-card__sku { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--gold-deep); letter-spacing: .08em; }
.prod-card__name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--ink); line-height: 1.1; min-height: 2.3em; }
.prod-size { display: block; font-family: var(--font-mono); font-size: .62em; font-weight: 400; color: var(--text-muted); letter-spacing: .05em; margin-top: 4px; line-height: 1.3; }
.prod-card__cat { font-size: var(--text-xs); color: var(--text-muted); }
.prod-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); border-top: var(--bw) solid var(--hairline); }
.price b { font-family: var(--font-sans); font-size: var(--text-lg); font-weight: 700; color: var(--ink); }
.prod-card__foot .price b { font-size: var(--fs-body); white-space: nowrap; }
.price span { font-size: var(--text-2xs); color: var(--text-muted); font-family: var(--font-mono); display: block; }
.add-btn { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); border: 0; display: grid; place-items: center; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
.add-btn:hover { background: var(--gold-deep); transform: translateY(-2px); }
.add-btn svg { width: 18px; height: 18px; }

/* used products - compact list */
.used { background: var(--paper-2); }
.used-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-8); }
.used-row { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: var(--bw) solid var(--hairline-strong); transition: padding-left .25s var(--ease); }
.used-row:hover { padding-left: var(--space-2); }
.used-row .media-frame { width: 64px; height: 64px; border-radius: var(--radius-sm); flex-shrink: 0; }
.used-row__info { flex: 1; }
.used-row__name { font-family: var(--font-display); font-size: var(--text-md); font-weight: 600; color: var(--ink); }
.used-row__sku { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); }
.used-row__price { font-weight: 700; font-size: var(--text-md); white-space: nowrap; }
.used-row__price small { display: block; font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); font-weight: 400; text-align: right; }

/* ===================================================== PORTFOLIO */
.portfolio__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-4); }
.pf { position: relative; border-radius: var(--radius); overflow: hidden; }
.pf .media-frame { width: 100%; height: 100%; border-radius: 0; }
.pf__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-5); background: linear-gradient(transparent, rgba(10,8,5,0.82)); color: var(--paper); }
.pf__cap b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; display: block; }
.pf__cap span { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--gold-soft); text-transform: uppercase; letter-spacing: .1em; }
.pf--a { grid-column: span 7; height: 420px; }
.pf--b { grid-column: span 5; height: 420px; }
.pf--c { grid-column: span 4; height: 320px; }
.pf--d { grid-column: span 4; height: 320px; }
.pf--e { grid-column: span 4; height: 320px; }

/* ===================================================== TESTIMONIALS / TRUSTINDEX */
.testi { background: var(--paper-2); }
.ti-slot { border: var(--bw-2) dashed var(--gold-line); background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-9) var(--space-6); text-align: center; display: grid; gap: var(--space-3); justify-items: center; }
.ti-slot__stars { display: flex; gap: 4px; }
.ti-slot__stars svg { width: 22px; height: 22px; fill: var(--gold); }
.ti-slot b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--ink); }
.ti-slot p { font-size: var(--fs-small); color: var(--text-muted); max-width: 52ch; font-family: var(--font-mono); }
.testi__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-4); }
.testi-card { background: var(--surface); border: var(--bw) solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; }
.testi-card--feature { background: var(--ink); border-color: var(--ink); grid-row: span 1; }
.testi-card__quote { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; color: var(--ink); margin-bottom: var(--space-5); }
.testi-card--feature .testi-card__quote { color: var(--paper); font-size: var(--text-xl); }
.testi-card__mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--gold); height: 32px; }
.testi-card__by { margin-top: auto; display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: var(--bw) solid var(--hairline); }
.testi-card--feature .testi-card__by { border-color: var(--ink-3); }
.testi-card__by b { font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-small); color: var(--ink); display: block; }
.testi-card__by div { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.3; }
.testi-card--feature .testi-card__by b { color: var(--paper); }
.testi-card__by span { font-size: var(--text-xs); color: var(--text-muted); }
.testi-card__flag { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-deep); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: var(--text-xs); flex-shrink: 0; border: 1px solid var(--gold-line); }

/* ===================================================== WHOLESALE CTA */
.cta-band { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: var(--ink); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-8); align-items: center; padding-block: var(--section-y); }
.cta-band__title { font-size: var(--fs-h2); color: var(--ink); }
.cta-band p { color: color-mix(in srgb, var(--ink) 78%, transparent); margin-top: var(--space-4); max-width: 46ch; font-size: var(--fs-body-lg); }
.cta-band__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.cta-band .btn-dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.cta-band__note { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .1em; color: color-mix(in srgb, var(--ink) 65%, transparent); }

/* ===================================================== FOOTER */
.footer { background: var(--ink); color: var(--gray-300); padding-block: var(--space-10) var(--space-6); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--space-7); padding-bottom: var(--space-8); border-bottom: var(--bw) solid var(--ink-3); }
.footer__brand .brand__mark { width: 52px; height: 52px; }
.footer__brand p { margin-top: var(--space-4); max-width: 36ch; color: var(--gray-400); font-size: var(--fs-small); line-height: var(--lh-relaxed); }
.footer__contact { margin-top: var(--space-5); display: grid; gap: var(--space-2); }
.footer__contact a, .footer__contact span { font-size: var(--fs-small); color: var(--gray-300); }
.footer__contact b { color: var(--gold-soft); font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: 2px; }
.footer h4 { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .16em; color: var(--gold-soft); margin-bottom: var(--space-4); font-weight: 600; }
.footer__links { display: grid; gap: var(--space-2); }
.footer__links a { font-size: var(--fs-small); color: var(--gray-300); transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer__news input { width: 100%; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-top: var(--space-5); flex-wrap: wrap; }
.footer__bottom p { font-size: var(--text-xs); color: var(--gray-500); }
.footer__legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer__legal a { font-size: var(--text-xs); color: var(--gray-400); }
.footer__legal a:hover { color: var(--gold-soft); }
.footer__credit { width: 100%; }
.footer__credit a { color: var(--gray-500); text-decoration: underline; }
.footer__credit a:hover { color: var(--gold-soft); }

/* ===================================================== MOBILE NAV */
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ===================================================== RESPONSIVE */
@media (max-width: 1100px) {
  .hero-ed { grid-template-columns: 1fr; }
  .hero-ed__media { order: -1; }
  .craft__grid { grid-template-columns: 1fr; }
  .craft__media { order: -1; }
  .testi__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card--feature { grid-column: span 3; }
}
@media (max-width: 880px) {
  .nav, .header__cta, .utility__contacts { display: none; }
  /* Keep the switchers on screen: the tagline yields and truncates. */
  .utility__inner { gap: var(--space-3); }
  .utility__group:first-child { min-width: 0; flex: 1; }
  .utility__tag { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .utility__group--meta { flex-shrink: 0; }
  .menu-toggle { display: grid; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .used-list { grid-template-columns: 1fr; }
  .craft__stats { grid-template-columns: 1fr 1fr; gap: 0; }
  .cstat:nth-child(2) { border-right: 0; }
  .cstat:nth-child(n+3) { border-top: var(--bw) solid var(--ink-3); }
  .portfolio__grid > * { grid-column: 1 / -1 !important; height: 300px !important; }
  .hero-cat { grid-template-columns: 1fr; }
  .hero-cat__aside { text-align: left; }
}
@media (max-width: 620px) {
  .cat-grid, .prod-grid, .testi__grid { grid-template-columns: 1fr; }
  .cat-card--feature { grid-column: span 1; flex-direction: column; }
  .cat-card--feature .cat-card__media { width: 100%; height: 138px; }
  .cat-card--wide { flex-direction: column; min-height: 0; }
  .cat-card--wide .cat-card__media { width: 100%; height: 138px; }
  .footer__top { grid-template-columns: 1fr; }
  .searchbar button span { display: none; }
  .searchbar button svg { display: block; }
  .searchbar__field > svg { display: none; }
  .hero-ed__meta { flex-wrap: wrap; gap: var(--space-4); }
}

/* ===================================================== MOBILE NAV PANEL */
.mobile-nav.is-open { display: block; position: fixed; inset: 0; z-index: 100; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(10,8,5,0.5); }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88vw); background: var(--paper); padding: var(--space-6); overflow-y: auto; box-shadow: var(--shadow-lg); }
.mobile-nav__panel h4 { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .16em; color: var(--gold-deep); margin: var(--space-5) 0 var(--space-3); }
.mobile-nav__panel a { display: block; padding: var(--space-3) 0; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; border-bottom: var(--bw) solid var(--hairline); color: var(--ink); }
.mobile-nav__close { position: absolute; top: var(--space-4); right: var(--space-4); }
/* ============================================================================
   ORGANPARTS - SHOP ARCHIVE (product listing) - built on ds.css + home.css
   ========================================================================== */

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--paper-2); border-bottom: var(--bw) solid var(--hairline); }
.breadcrumb__inner { display: flex; align-items: center; gap: var(--space-2); min-height: 46px; font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-700); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span.sep { color: var(--gold-line); }
.breadcrumb .cur { color: var(--ink); }

/* ---------- page header band ---------- */
.shop-head { background: var(--paper-2); border-bottom: var(--bw) solid var(--hairline); }
.shop-head__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: end; padding-block: clamp(2rem, 4vw, 3.5rem); }
.shop-head__title { font-size: clamp(2.2rem, 4vw, var(--text-3xl)); line-height: 1.05; }
.shop-head__title em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.shop-head p { color: var(--gray-700); max-width: 56ch; margin-top: var(--space-3); font-size: var(--fs-body); }
.shop-head__meta { text-align: right; }
.shop-head__meta b { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--ink); display: block; line-height: 1; }
.shop-head__meta span { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }

/* ---------- layout ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-block: var(--space-8) var(--space-10); }
.cat-body { padding-block: var(--space-8) var(--space-10); }

/* ---------- sidebar ---------- */
.shop-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; }
.filter-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--space-4); border-bottom: var(--bw-2) solid var(--ink); margin-bottom: var(--space-2); }
.filter-head b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.filter-head button { background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-deep); padding: 0; }
.filter-head button:hover { color: var(--ink); }

.fgroup { border-bottom: var(--bw) solid var(--hairline); padding: var(--space-5) 0; }
.fgroup__title { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; cursor: default; padding: 0; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); font-weight: 600; }
.fgroup__title svg { width: 14px; height: 14px; color: var(--gray-500); transition: transform .25s var(--ease); display: none; }
.fgroup.is-collapsed .fgroup__title svg { transform: rotate(-90deg); }
.fgroup__body { margin-top: var(--space-4); display: grid; gap: var(--space-1); }
.fgroup.is-collapsed .fgroup__body { display: none; }

.fopt { display: flex; align-items: center; gap: var(--space-3); cursor: pointer; padding: var(--space-2) 0; user-select: none; }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt__box { width: 18px; height: 18px; border: var(--bw-2) solid var(--hairline-strong); border-radius: var(--radius-xs); display: grid; place-items: center; flex-shrink: 0; transition: border-color .2s, background .2s; background: var(--surface); }
.fopt__box svg { width: 12px; height: 12px; color: var(--paper); opacity: 0; transition: opacity .15s; }
.fopt input:checked + .fopt__box { background: var(--ink); border-color: var(--ink); }
.fopt input:checked + .fopt__box svg { opacity: 1; }
.fopt:hover .fopt__box { border-color: var(--gold-deep); }
.fopt__label { font-size: var(--fs-small); color: var(--gray-700); flex: 1; }
.fopt input:checked ~ .fopt__label { color: var(--ink); font-weight: 500; }
.fopt__count { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-subtle); }

/* category switcher links (category page) */
.catnav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; font-size: var(--fs-small); color: var(--gray-700); transition: color .2s var(--ease), padding-left .2s var(--ease); }
.catnav span { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-subtle); }
.catnav:hover { color: var(--ink); padding-left: 4px; }
.catnav.is-active { color: var(--gold-deep); font-weight: 600; }
.catnav.is-active span { color: var(--gold-deep); }

/* price */
.price-filter { display: grid; gap: var(--space-4); }
.price-read { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--ink); }
.price-read span { color: var(--text-muted); font-size: var(--text-2xs); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; background: var(--hairline-strong); border-radius: 999px; outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); cursor: pointer; }

/* ---------- main ---------- */
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: var(--bw) solid var(--hairline); margin-bottom: var(--space-5); flex-wrap: wrap; }
.shop-toolbar__count { font-size: var(--fs-small); color: var(--gray-700); }
.shop-toolbar__count b { color: var(--ink); font-weight: 600; }
.shop-toolbar__right { display: flex; align-items: center; gap: var(--space-3); }

.sort-select { position: relative; display: flex; align-items: center; }
.sort-select select { -webkit-appearance: none; appearance: none; font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 500; color: var(--ink); background: var(--surface); border: var(--bw) solid var(--hairline-strong); border-radius: var(--radius-sm); padding: 0.6rem 2.4rem 0.6rem 1rem; cursor: pointer; height: 44px; }
.sort-select select:focus { outline: none; border-color: var(--ink); }
.sort-select svg { position: absolute; right: 12px; width: 14px; height: 14px; color: var(--gray-500); pointer-events: none; }

.view-toggle { display: flex; gap: 2px; background: var(--paper-2); border: var(--bw) solid var(--hairline-strong); border-radius: var(--radius-sm); padding: 3px; height: 44px; }
.view-toggle button { width: 38px; border: 0; background: none; border-radius: var(--radius-xs); cursor: pointer; color: var(--gray-500); display: grid; place-items: center; }
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }

/* active filter chips */
.active-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); align-items: center; }
.active-filters:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-small); font-weight: 500; padding: 0.4rem 0.5rem 0.4rem 0.85rem; border-radius: var(--radius-pill); background: var(--gold-wash); border: var(--bw) solid var(--gold-line); color: var(--gold-deep); cursor: pointer; }
.fchip svg { width: 14px; height: 14px; }
.fchip:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.fchip--clear { background: none; border-color: transparent; color: var(--gray-500); text-decoration: underline; padding-left: .4rem; }
.fchip--clear:hover { background: none; color: var(--ink); }

/* product grid reuses .prod-grid / .prod-card from home.css */
#shopGrid { grid-template-columns: repeat(3, 1fr); }
.prod-card__media { cursor: pointer; }
.prod-card__main { display: flex; flex-direction: column; gap: 6px; }

/* list view */
#shopGrid.is-list { grid-template-columns: 1fr; gap: 0; }
#shopGrid.is-list .prod-card { flex-direction: row; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
#shopGrid.is-list .prod-card:first-child { border-top: var(--bw) solid var(--hairline); }
#shopGrid.is-list .prod-card:hover { transform: none; box-shadow: none; border-color: var(--hairline); background: var(--paper-2); }
#shopGrid.is-list .prod-card__media { width: 200px; height: 150px; flex-shrink: 0; }
#shopGrid.is-list .prod-card__body { flex-direction: row; align-items: center; gap: var(--space-6); flex: 1; padding: var(--space-5) var(--space-6); }
#shopGrid.is-list .prod-card__main { flex: 1; display: flex; flex-direction: column; gap: 4px; }
#shopGrid.is-list .prod-card__foot { margin: 0; border: 0; padding: 0; flex-shrink: 0; flex-direction: row; align-items: center; gap: var(--space-5); }
#shopGrid.is-list .prod-card__desc { display: block; font-size: var(--fs-small); color: var(--gray-700); max-width: 52ch; }
.prod-card__desc { display: none; }
#shopGrid.is-list .prod-card__fav { display: none; }

/* empty */
.shop-empty { display: none; text-align: center; padding: var(--space-11) var(--space-6); border: var(--bw) dashed var(--hairline-strong); border-radius: var(--radius-lg); }
.shop-empty.is-on { display: block; }
.shop-empty b { font-family: var(--font-display); font-size: var(--text-xl); display: block; margin-bottom: var(--space-2); }
.shop-empty p { color: var(--text-muted); font-size: var(--fs-small); }

/* pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-9); }
.pagination button { min-width: 44px; height: 44px; padding: 0 var(--space-3); border: var(--bw) solid var(--hairline-strong); background: var(--surface); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 600; color: var(--gray-700); cursor: pointer; transition: all .2s var(--ease); display: grid; place-items: center; }
.pagination button svg { width: 16px; height: 16px; }
.pagination button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pagination button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* mobile filter trigger */
.filter-trigger { display: none; }
.sidebar-scrim { display: none; }

@media (max-width: 1000px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: fixed; inset: 0; z-index: 100; background: var(--paper); padding: var(--space-6); overflow-y: auto; transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); width: min(380px, 90vw); inset-inline-end: auto; }
  .shop-sidebar.is-open { transform: translateX(0); }
  .filter-trigger { display: inline-flex; }
  .fgroup__title { cursor: pointer; }
  .fgroup__title svg { display: block; }
  #shopGrid { grid-template-columns: repeat(2, 1fr); }
  .sidebar-scrim { display: none; position: fixed; inset: 0; background: rgba(10,8,5,.5); z-index: 99; }
  .sidebar-scrim.is-on { display: block; }
}
@media (max-width: 640px) {
  #shopGrid { grid-template-columns: 1fr; }
  .shop-head__inner { grid-template-columns: 1fr; }
  .shop-head__meta { text-align: left; }
  #shopGrid.is-list .prod-card { flex-direction: column; }
  #shopGrid.is-list .prod-card__media { width: 100%; height: 200px; }
  #shopGrid.is-list .prod-card__body { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* ============================================================================
   ORGANPARTS - SINGLE PRODUCT PAGE - built on ds.css + home.css + archive.css
   ========================================================================== */
.prod-card__view { font-size: var(--text-xs); padding-bottom: 3px; }

/* related products (single product page) */
.product-related { margin-top: var(--space-10); }
.product-reviews { margin-top: var(--space-10); }
.prod-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* proof row (single product page) */
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); padding: var(--space-5) var(--space-6); background: var(--surface); border: var(--bw) solid var(--hairline); border-radius: var(--radius); margin-bottom: var(--space-7); }
.proof { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.proof__ic { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-wash); border: var(--bw) solid var(--gold-line); display: grid; place-items: center; color: var(--gold-deep); flex-shrink: 0; }
.proof__ic svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .prod-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .prod-grid--4 { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr; }
}

.product-sec { padding-block: var(--space-8) var(--space-10); }
.product-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.product-media { position: sticky; top: 110px; }
.product-media .media-frame { width: 100%; height: clamp(380px, 42vw, 560px); border-radius: var(--radius-lg); }

.product-info .eyebrow { margin-bottom: var(--space-4); }
.product-title { font-size: clamp(2rem, 3.4vw, var(--text-3xl)); line-height: 1.08; margin-bottom: var(--space-4); }
.product-sku { font-family: var(--font-mono); font-size: var(--fs-body); color: var(--text-muted); letter-spacing: .05em; margin-bottom: var(--space-5); }
.product-sku b { color: var(--gold-deep); font-weight: 600; }

.product-price { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-5) 0; border-top: var(--bw) solid var(--hairline); border-bottom: var(--bw) solid var(--hairline); }
.product-price b { font-size: var(--text-2xl); font-weight: 700; color: var(--ink); line-height: 1; }
.product-price span { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); }

.product-buy { display: flex; gap: var(--space-3); margin: var(--space-6) 0 var(--space-8); flex-wrap: wrap; }
.qty { display: flex; align-items: stretch; border: var(--bw) solid var(--hairline-strong); border-radius: var(--radius-sm); background: var(--surface); height: 58px; }
.qty button { width: 48px; border: 0; background: none; cursor: pointer; font-size: var(--text-lg); color: var(--gray-700); transition: color .2s, background .2s; }
.qty button:hover { color: var(--ink); background: var(--paper-2); }
.qty input { width: 56px; text-align: center; border: 0; outline: 0; background: transparent; font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-buy .btn { flex: 1; min-width: 220px; }

.product-details h3, .product-desc h3 { font-family: var(--font-sans); font-size: var(--fs-h5); font-weight: 600; margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-3); }
.product-details h3::after, .product-desc h3::after { content: ""; flex: 1; height: var(--bw); background: var(--hairline); }

.spec-lines { margin: 0; display: grid; }
.spec-line { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--ink); letter-spacing: .02em; padding: var(--space-3) 0; border-bottom: var(--bw) solid var(--hairline); }

.product-desc { max-width: 75ch; margin-top: var(--space-9); }
.product-desc p { color: var(--gray-700); line-height: var(--lh-relaxed); }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .product-media .media-frame { height: clamp(280px, 60vw, 420px); }
}
/* ============================================================================
   ORGANPARTS - CONTACT PAGE - built on ds.css + home.css + archive.css
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.contact-info { display: grid; gap: var(--space-4); }
.info-card { display: flex; gap: var(--space-4); padding: var(--space-5); border: var(--bw) solid var(--hairline); border-radius: var(--radius); background: var(--surface); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.info-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.info-card__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--gold-wash); color: var(--gold-deep); display: grid; place-items: center; flex-shrink: 0; border: var(--bw) solid var(--gold-line); }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; }
.info-card__val { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--ink); line-height: 1.2; }
.info-card .sub { font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 400; color: var(--gray-700); margin-top: 4px; }

.contact-map { margin-top: var(--space-2); position: relative; border-radius: var(--radius); overflow: hidden; border: var(--bw) solid var(--hairline); }
.contact-map .media-frame { width: 100%; height: 260px; border-radius: 0; }
.contact-map__pin { position: absolute; left: var(--space-5); bottom: var(--space-5); background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px; border-radius: var(--radius-xs); }

/* form */
.contact-form { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: var(--space-4); align-self: start; }
.contact-form__head { margin-bottom: var(--space-2); }
.contact-form h2 { font-size: var(--text-2xl); }
.contact-form h2 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.contact-form__head p { color: var(--gray-700); font-size: var(--fs-small); margin-top: var(--space-2); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-field { display: grid; gap: var(--space-2); }
.form-field label { font-size: var(--fs-small); font-weight: 500; color: var(--gray-700); }
.form-field label .req { color: var(--gold-deep); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-sans); font-size: var(--fs-body); color: var(--ink);
  background: var(--surface); border: var(--bw) solid var(--hairline-strong);
  border-radius: var(--radius-sm); padding: 0 var(--space-4); height: 52px; outline: none;
  transition: border-color .2s var(--ease); width: 100%;
}
.form-field textarea { height: auto; padding: var(--space-3) var(--space-4); min-height: 140px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--ink); }
.form-field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7160' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--space-4) center; padding-right: var(--space-8); }

.form-consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-small); color: var(--gray-700); line-height: 1.5; cursor: pointer; }
.form-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold-deep); flex-shrink: 0; }
.form-consent a { color: var(--gold-deep); text-decoration: underline; }

.form-success { display: none; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--gold-wash); border: var(--bw) solid var(--gold-line); border-radius: var(--radius-sm); color: var(--gold-deep); font-size: var(--fs-small); font-weight: 500; }
.form-success.is-on { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}
/* ===================================================== MEDIA FRAMES */
/* Replaces the mockup's <image-slot> element: a real image (or a wrapper
   around one) that fills its designed box. */
.media-frame { display: block; overflow: hidden; background: var(--paper-2); }
img.media-frame, .media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--empty {
  background:
    repeating-linear-gradient(135deg, rgba(142,118,45,0.05) 0 10px, transparent 10px 20px),
    var(--paper-2);
}

/* ===================================================== HEADER SEARCH PANEL */
.header-search { display: none; border-top: var(--bw) solid var(--hairline); padding: var(--space-4) 0; background: var(--paper); }
.header-search.is-open { display: block; }
.header-search .searchbar input { height: 56px; }

/* ===================================================== BREADCRUMB EXTRAS */
.breadcrumb .sep { color: var(--gold-line); }

/* ===================================================== GENERIC PAGES */
.page-body { padding-block: var(--space-8) var(--space-10); }
.entry-content { max-width: none; }
.entry-content iframe { width: 100%; border: 0; display: block; }
.entry-content > * + * { margin-top: var(--space-4); }
.entry-content h2, .entry-content h3 { margin-top: var(--space-7); }
.entry-content p, .entry-content li { color: var(--gray-700); line-height: var(--lh-relaxed); }
.entry-content a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content blockquote { border-left: 3px solid var(--gold); padding-left: var(--space-5); font-family: var(--font-display); font-style: italic; font-size: var(--fs-body-lg); }
.entry-content img { border-radius: var(--radius); }

.archive-list { display: grid; gap: var(--space-5); max-width: 820px; }
.archive-item { padding: var(--space-6); }
.archive-item h2 { font-size: var(--fs-h4); }
.archive-item h2 a:hover { color: var(--gold-deep); }
.archive-item time { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.archive-item p { margin-top: var(--space-3); color: var(--gray-700); }

.error-404 { text-align: center; padding-block: var(--space-11); }
.error-404 .display { font-size: clamp(4rem, 12vw, 8rem); color: var(--gold-deep); }
.error-404 p { color: var(--gray-700); margin: var(--space-4) 0 var(--space-6); }
.error-404 .searchbar { max-width: 480px; margin: 0 auto var(--space-6); }

/* ===================================================== WP CORE */
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip-path: none; height: auto; width: auto;
  background: var(--paper); color: var(--ink);
  display: block; font-size: var(--fs-small); font-weight: 600;
  left: 5px; top: 5px; padding: 12px 20px; z-index: 100000;
  box-shadow: var(--shadow); border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link { position: absolute; }

.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: var(--fs-caption); color: var(--text-muted); margin-top: var(--space-2); }
.sticky { display: block; }
.bypostauthor { display: block; }

/* ===================================================== THEME ADJUSTMENTS */
/* Classes replacing the mockup's inline styles, plus theme-only elements. */
.footer .brand { color: var(--paper); }
.footer__news-text { font-size: var(--fs-small); color: var(--gray-400); margin-bottom: 1rem; line-height: 1.6; }
.field--news { height: 50px; background: var(--ink-2); border-color: var(--ink-3); }
.field--news input { color: var(--paper); }
.footer__news-form .btn { width: 100%; margin-top: .75rem; }

.cta-band__eyebrow { color: var(--ink); }
.cta-band__ghost { border-color: rgba(22,19,13,.4); }

.craft__cta { margin-top: 2rem; }

.used-row__info { display: block; }
.used-row__name, .used-row__sku { display: block; }
.used-row__price { text-align: right; }

.shop-sidebar__close { display: none; }
@media (max-width: 1000px) {
  .shop-sidebar__close { display: grid; }
}

.product-excerpt { margin-top: var(--space-5); color: var(--gray-700); line-height: var(--lh-relaxed); }
.product-excerpt p { margin: 0 0 var(--space-3); }

.wc-page-content { min-width: 0; }

.search-again { max-width: 520px; margin-top: var(--space-6); }

/* Built-in contact form states */
.form-error { display: none; padding: var(--space-4) var(--space-5); background: #f7e8e4; border: var(--bw) solid #e4c4ba; border-radius: var(--radius-sm); color: #a4442a; font-size: var(--fs-small); font-weight: 500; }
.form-error.is-on { display: block; }
.organparts-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Reviews embed wrapper */
.reviews-embed { min-width: 0; }
.ti-slot p { font-size: var(--fs-small); color: var(--text-muted); max-width: 52ch; font-family: var(--font-mono); }

/* Comments (posts/pages) */
.comments-area { max-width: 75ch; margin-top: var(--space-8); }
.comments-title { margin-bottom: var(--space-5); }
.comment-list { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: var(--space-4); }
.comment-list .comment-body { padding: var(--space-5); background: var(--surface); border: var(--bw) solid var(--hairline); border-radius: var(--radius); font-size: var(--fs-small); }
.comment-list .comment-meta { margin-bottom: var(--space-3); }
.comment-list .avatar { border-radius: 50%; margin-right: var(--space-2); vertical-align: middle; }
.comment-list .children { list-style: none; margin: var(--space-3) 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-3); }
.comment-form label { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--gray-700); margin-bottom: var(--space-2); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  font-family: var(--font-sans); font-size: var(--fs-body); color: var(--ink);
  background: var(--surface); border: var(--bw) solid var(--hairline-strong);
  border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); width: 100%; outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--ink); }
.comment-form .submit {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: var(--fs-small); font-weight: var(--fw-semibold);
  padding: 0.95rem 1.6rem; border: 0; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--paper); cursor: pointer;
}
.comment-form .submit:hover { background: var(--gold-deep); }

/* Pagination for posts */
.page-body .pagination, .page-body .nav-links { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-8); }
.page-body .nav-links .page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--space-3);
  border: var(--bw) solid var(--hairline-strong); background: var(--surface); border-radius: var(--radius-sm);
  font-size: var(--fs-small); font-weight: 600; color: var(--gray-700);
}
.page-body .nav-links .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.page-body .nav-links a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

/* ===================================================== FOOTER NEWSLETTER PLUGINS */
/* Style plugin-rendered newsletter forms (e.g. The Newsletter Plugin) to
   match the dark footer column. */
.footer__news .tnp-field { margin-bottom: var(--space-3); }
.footer__news .tnp label,
.footer__news form label { font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); display: block; margin-bottom: var(--space-1); }
.footer__news form input[type="text"],
.footer__news form input[type="email"] {
  width: 100%; height: 50px;
  background: var(--ink-2); border: var(--bw) solid var(--ink-3); border-radius: var(--radius-sm);
  color: var(--paper); padding: 0 var(--space-4);
  font-family: var(--font-sans); font-size: var(--fs-small); outline: none;
  transition: border-color .2s var(--ease);
}
.footer__news form input[type="text"]:focus,
.footer__news form input[type="email"]:focus { border-color: var(--gold-deep); }
.footer__news .tnp-privacy-field label { display: flex; gap: var(--space-2); align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: var(--text-xs); color: var(--gray-400); line-height: 1.5; }
.footer__news .tnp-privacy-field input { margin-top: 2px; accent-color: var(--gold); }
.footer__news form input[type="submit"],
.footer__news form button[type="submit"] {
  width: 100%; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: var(--fs-small); font-weight: var(--fw-semibold);
  padding: 0.95rem 1.6rem; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--paper);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer__news form input[type="submit"]:hover,
.footer__news form button[type="submit"]:hover { background: var(--gold-deep); color: var(--paper); }

/* ===================================================== MOBILE NAV ACCORDION */
.mnav-all { display: block; padding: var(--space-3) 0; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; border-bottom: var(--bw) solid var(--hairline); color: var(--ink); }
.mnav-cat { border-bottom: var(--bw) solid var(--hairline); }
.mnav-cat summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.mnav-cat summary::-webkit-details-marker { display: none; }
.mnav-cat summary svg { width: 16px; height: 16px; color: var(--gold-deep); flex-shrink: 0; transition: transform .25s var(--ease); }
.mnav-cat[open] summary svg { transform: rotate(180deg); }
.mnav-sub { padding: 0 0 var(--space-3) var(--space-4); display: grid; }
.mnav-sub a { font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 400; color: var(--gray-700); border-bottom: 0; padding: 7px 0; }
.mnav-sub a:first-child { color: var(--gold-deep); font-weight: 600; }

/* ===================================================== HARDENING */
/* Logo must never be stretched by lazyload placeholder sizing. */
.brand__logo { height: 44px; width: auto; aspect-ratio: auto; }
.brand__logo-tile img { height: 38px; width: auto; aspect-ratio: auto; }
/* The currency plugin's floating sidebar duplicates the utility bar switcher. */
.woo-multi-currency.wmc-sidebar { display: none !important; }

/* ===================================================== NEWSLETTER PRIVACY ROW */
.footer__news .tnp-field { min-width: 0; }
.footer__news .tnp-privacy-field label {
  display: flex !important; gap: 10px; align-items: flex-start;
  font-family: var(--font-sans) !important; font-size: var(--text-xs) !important;
  text-transform: none !important; letter-spacing: 0 !important;
  color: var(--gray-400) !important; line-height: 1.55; white-space: normal;
}
.footer__news .tnp-privacy-field a { color: var(--gold-soft); text-decoration: underline; }

/* ===================================================== SEARCH SUGGESTIONS */
.searchbar { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120;
  background: var(--surface); border: var(--bw) solid var(--hairline-strong);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); overflow: hidden;
  display: none; text-align: left;
}
.search-suggest.is-open { display: block; }
.search-suggest__item { display: grid; grid-template-columns: 44px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-bottom: var(--bw) solid var(--hairline); transition: background .15s var(--ease); }
.search-suggest__item:hover, .search-suggest__item.is-hover { background: var(--paper-2); }
.search-suggest__item .media-frame { width: 44px; height: 44px; border-radius: var(--radius-xs); }
.search-suggest__name { font-size: var(--fs-small); font-weight: 600; color: var(--ink); line-height: 1.2; }
.search-suggest__sku { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--gold-deep); }
.search-suggest__price { font-size: var(--fs-small); font-weight: 700; white-space: nowrap; }
.search-suggest__price .woocommerce-Price-amount { font-size: inherit; }
.search-suggest__all { display: block; padding: var(--space-3) var(--space-4); text-align: center; font-family: var(--font-mono); font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-deep); background: var(--paper-2); }
.search-suggest__all:hover { color: var(--ink); }
.search-suggest__empty { padding: var(--space-4); font-size: var(--fs-small); color: var(--text-muted); text-align: center; }

/* ===================================================== SIDEBAR CATEGORY TREE */
.catnav-row { display: flex; align-items: center; gap: var(--space-2); }
.catnav-row .catnav { flex: 1; }
.catnav__plus {
  width: 26px; height: 26px; flex-shrink: 0; border: var(--bw) solid var(--hairline-strong);
  border-radius: var(--radius-xs); background: var(--surface); cursor: pointer;
  display: grid; place-items: center; color: var(--gray-500); padding: 0;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease);
}
.catnav__plus svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.catnav__plus:hover { color: var(--ink); border-color: var(--ink); }
/* The frame stays square; only the plus rotates into an x. */
.catnav-branch.is-open > .catnav-row .catnav__plus { color: var(--gold-deep); border-color: var(--gold-line); }
.catnav-branch.is-open > .catnav-row .catnav__plus svg { transform: rotate(45deg); }
.catnav-children { display: none; padding-left: var(--space-4); border-left: var(--bw) solid var(--hairline); margin: 2px 0 var(--space-2); }
.catnav-branch.is-open > .catnav-children { display: block; }
.catnav--child { font-size: var(--text-xs); padding: 5px 0; }

/* ===================================================== CARD-WIDE CLICK TARGET */
/* The name link stretches over the whole card, so anywhere on a product card
   navigates to the product (media and view links keep working as themselves). */
.prod-card { position: relative; }
.prod-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.prod-card__foot .prod-card__view { position: relative; z-index: 2; }
.cat-card { cursor: pointer; }

/* ===================================================== TRUSTINDEX WIDGET SKIN */
/* The widget's CDN stylesheet loads after the theme - pin the design over it. */
.reviews-embed .ti-widget .ti-review-item > .ti-inner {
  background: var(--surface) !important;
  border: var(--bw) solid var(--hairline) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
  padding: var(--space-5) !important;
}
.reviews-embed .ti-widget .ti-name {
  font-family: var(--font-sans) !important; font-weight: 600 !important;
  color: var(--ink) !important; font-size: var(--fs-small) !important;
}
.reviews-embed .ti-widget .ti-date,
.reviews-embed .ti-widget .ti-date span {
  color: var(--text-muted) !important; font-size: var(--text-xs) !important;
  font-family: var(--font-mono) !important;
}
.reviews-embed .ti-widget .ti-review-content {
  color: var(--gray-700) !important; font-size: var(--fs-small) !important;
  line-height: var(--lh-relaxed) !important; font-family: var(--font-sans) !important;
}
.reviews-embed .ti-widget .ti-rating {
  font-family: var(--font-display) !important; font-weight: 600 !important;
  color: var(--ink) !important; letter-spacing: normal !important;
}
.reviews-embed .ti-widget .ti-rating-text,
.reviews-embed .ti-widget .ti-rating-text strong { color: var(--gray-700) !important; font-family: var(--font-sans) !important; }
.reviews-embed .ti-widget .ti-read-more span,
.reviews-embed .ti-widget .ti-read-more .ti-read-more-active { color: var(--gold-deep) !important; }
.reviews-embed .ti-widget .ti-controls .ti-next,
.reviews-embed .ti-widget .ti-controls .ti-prev {
  background-color: var(--surface) !important;
  border: var(--bw) solid var(--hairline-strong) !important;
  box-shadow: var(--shadow-sm) !important;
}
.reviews-embed .ti-widget .ti-controls-line { display: none !important; }

/* ===================================================== NEWSLETTER ROW, PINNED */
/* The Newsletter plugin's stylesheet loads after the theme and centers /
   constrains its own form - pin the whole footer block geometry. */
.footer__news div.tnp-subscription,
.footer__news form.tnp-subscription,
.footer__news .tnp form {
  max-width: 100% !important; width: 100% !important; margin: 0 !important;
}
.footer__news .tnp-privacy-field label {
  display: flex !important; flex-wrap: nowrap !important;
  justify-content: flex-start !important; align-items: flex-start !important;
  gap: 10px !important; width: 100% !important; max-width: 100% !important;
  margin: 0 !important; text-align: left !important;
}
.footer__news .tnp-privacy-field input[type="checkbox"] {
  flex: 0 0 auto !important; width: 16px !important; max-width: none !important;
  margin: 2px 0 0 !important; accent-color: var(--gold);
}
.footer__news .tnp-privacy-field a {
  flex: 1 1 auto !important; min-width: 0 !important;
  display: inline !important; float: none !important; margin: 0 !important;
  text-align: left !important; color: var(--gold-soft) !important;
  font-family: var(--font-sans) !important; font-size: var(--text-xs) !important;
  text-transform: none !important; letter-spacing: 0 !important; line-height: 1.55 !important;
}

/* Trustindex header rating text is never translated (data-no-translation) -
   hide the Hungarian "KIVÁLÓ" / "N vélemény alapján"; keep stars + logo. */
.reviews-embed .ti-widget .ti-header .ti-rating-text { display: none !important; }
