/* ==========================================================================
   v13 — OVERTURE-STYLE LIGHT RETAIL
   Faithful visual language of overture3d.com: warm-white canvas, red
   announcement bar, black two-row search navigation, beige full-width hero
   with left copy + red CTA, clean sans-serif, generous whitespace.
   Functional layers (cart / auth / search / stock / red-italic price) intact.
   This file replaces v12.css (industrial editorial) as the active skin.
   ========================================================================== */
:root {
  --ink: #111214;
  --ink-2: #2A2C30;
  --body: #41454B;
  --muted: #7C8189;
  --line: #E6E3DE;
  --line-2: #F0EEEA;
  --line-strong: #CFCBC4;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --paper: #F6F2ED;
  --paper-2: #FBF9F6;
  --brand: #D8232A;
  --brand-700: #B3181F;
  --brand-300: #F06A6E;
  --brand-050: #FFF1F1;
  --brand-100: #FFD9DA;
  --price: #D8232A;
  --ok: #1B7F4B;
  --danger: #C7332A;
  --nav: #0B0B0C;
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-pill: 999px;
  --t-1: 12px;
  --t-2: 13px;
  --t-3: 15px;
  --t-4: 17px;
  --t-5: 21px;
  --t-6: clamp(26px, 3vw, 36px);
  --t-7: clamp(34px, 4.4vw, 60px);
  --t-8: clamp(34px, 4.4vw, 60px);
  --sans: "Figtree", "Segoe UI", Arial, sans-serif;
  --display: "Figtree", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow: 0 12px 34px rgba(17, 18, 20, .09);
}

/* clean canvas — no grid, no grain */
html { scroll-behavior: smooth; }
body {
  background: var(--bg) !important;
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before { display: none !important; }
body > * { position: relative; }

/* typography: plain, confident sans — nothing decorative */
h1, h2, h3, h4 {
  font-family: var(--display) !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  line-height: 1.12 !important;
  color: var(--ink);
}
h1, .page-h1, .cat-h1, .sale-h1, .hh-h1 {
  font-size: var(--t-7) !important;
  letter-spacing: -.03em !important;
  line-height: 1.05 !important;
}
em, .serif { font-style: normal; color: inherit; }
.page-lede { font-family: var(--sans); font-size: var(--t-4); color: var(--body); line-height: 1.65; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); font-weight: 600;
}

/* price: user rule — red italic, 10% larger than other text */
.price-hot, .price-hot .code, .fam-foot .code, .pd-price.price-hot, .price-now,
.part-foot .p, .cart-line .sum, .sfc-price {
  color: var(--price) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: 1.1em !important;
  font-family: var(--sans) !important;
}
.price-hot .unit, .price-hot small, .pd-price.price-hot small, .price-now .cur {
  font-style: normal !important; font-weight: 500 !important; font-size: .74em !important; opacity: .8;
}
.stock { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); }

/* ---------- announcement bar (red, centred, arrows) ---------- */
.pstrip { background: var(--brand) !important; color: #fff !important; border: 0 !important; position: relative; }
.pstrip-in {
  height: 30px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .02em; position: relative;
}
.pstrip-in b { color: #fff !important; font-weight: 600; }
.pstrip-in a { color: #fff !important; border-bottom: 0 !important; text-decoration: underline; text-underline-offset: 2px; }
.strip-arrow {
  position: absolute; top: 0; bottom: 0; width: 30px; border: 0; background: transparent;
  color: #fff; font-size: 16px; line-height: 1; cursor: pointer; opacity: .85;
}
.strip-arrow:hover { opacity: 1; background: rgba(0,0,0,.08); }
.strip-l { left: 8px; }
.strip-r-arrow { right: 8px; }
.pstrip-meta { position: absolute; right: 14px; top: 0; height: 30px; display: flex; align-items: center; gap: 14px; font-size: 11px; }
.pstrip-meta > * { border-left: 1px solid rgba(255,255,255,.35); padding-left: 14px; }
.pstrip-l, .pstrip-r, .pstrip-note, .pstrip-note-s, .pstrip .dot { display: none !important; }

/* ---------- navigation: black, two rows, centred search ---------- */
.pnav { background: var(--nav) !important; border: 0 !important; box-shadow: none !important; position: sticky; top: 0; z-index: 60; }
.pnav-in { display: block !important; height: auto !important; padding: 0; }
.pnav-top {
  display: grid; grid-template-columns: 1fr minmax(280px, 620px) 1fr;
  align-items: center; gap: 24px; padding: 12px 0 10px;
}
.pnav .logo { justify-self: start; display: inline-flex; }
.pnav .logo img { height: 26px; width: auto; }
.nav-search {
  width: 100%; height: 38px; display: flex; align-items: center; gap: 10px;
  padding: 0 14px; background: #1B1C1F !important; border: 1px solid #323338 !important;
  border-radius: var(--r-pill); color: #A9ACB2; cursor: text; font-size: 13px;
  text-align: left; transition: border-color var(--ease);
}
.nav-search:hover { border-color: #55565C !important; }
.nav-search svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #B9BCC2; stroke-width: 2; }
.nav-search span { flex: 1; }
.pnav-actions { justify-self: end; display: flex; align-items: center; gap: 20px; margin: 0 !important; }
.pnav-actions .picon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: #fff; cursor: pointer; position: relative; }
.pnav-actions .picon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.pnav-actions .cnt { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--brand); color: #fff; font: 600 10px/16px var(--sans); }
.pnav-actions .uslot { gap: 4px !important; }
.pnav-actions .pbtn-primary { background: var(--brand) !important; }
.pnav-bot { border-top: 1px solid #25262A; }
.pnav-links { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 38px); height: 42px; align-items: center; }
.pnav-links a {
  color: #E9EAEC !important; border: 0 !important; border-bottom: 3px solid transparent !important;
  /* Space Grotesk — SIL Open Font License 1.1, free for commercial use */
  font-family: "Space Grotesk", var(--sans);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .015em; padding: 6px 0; text-decoration: none; white-space: nowrap;
  background: transparent !important; border-radius: 0 !important;
  position: relative; transition: color .22s ease, transform .22s ease !important;
}
/* hover: red underline wipes in from the left — replaces the old white block */
.pnav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left center;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.pnav-links a:hover, .pnav-links a.on { color: #fff !important; transform: translateY(-1px); }
.pnav-links a:hover::after, .pnav-links a.on::after { transform: scaleX(1); }
.pnav-links a.nav-sale { color: var(--brand-300) !important; display: inline-flex; align-items: center; gap: 5px; background: transparent !important; }
.pnav-links a.nav-sale svg { width: 14px; height: 14px; }
.pnav-links a.nav-sale:hover, .pnav-links a.nav-sale.on { color: #fff !important; }

/* secondary nav dropdown — overture style: category list + product cards */
.pnav-links .mnu { position: relative; height: 100%; display: flex; align-items: center; }
.pnav-links .mnu > a { display: inline-flex; align-items: center; gap: 4px; }
.mnu-caret { font-size: 9px; line-height: 1; opacity: .7; transition: transform .2s ease; }
.mnu:hover .mnu-caret { transform: rotate(180deg); }
.mnu-pan .mnu-l, .mnu-pan .mnu-card {
  color: var(--ink-2) !important; opacity: 1 !important;
  font-size: 13px; letter-spacing: 0; text-shadow: none; transform: none !important;
}
.mnu-pan .mnu-l::after, .mnu-pan .mnu-card::after { display: none !important; }
.mnu-pan .mnu-card b, .mnu-pan .mnu-card-price { color: var(--ink) !important; }
.mnu-pan .mnu-card-price { color: var(--price) !important; }
.mnu-pan {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  width: min(880px, 94vw); background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.22);
  display: grid; grid-template-columns: 230px 1fr; gap: 0;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.mnu:hover .mnu-pan, .mnu:focus-within .mnu-pan { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mnu-col { padding: 18px; }
.mnu-links { background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.mnu-l {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 12px; font-size: 13px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; border-radius: 3px !important; border: 0 !important;
}
.mnu-l span:last-child { color: var(--brand); opacity: 0; transition: opacity .15s; }
.mnu-l:hover { background: #fff; color: var(--brand) !important; }
.mnu-l:hover span:last-child { opacity: 1; }
.mnu-l:hover::after { display: none !important; }
/* minmax(0,1fr) + min-width:0 stop long unbroken product names from widening
   a grid track past the panel — the cause of images sticking out of the frame. */
.mnu-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mnu-card {
  display: flex; flex-direction: column; gap: 6px; padding: 10px; text-decoration: none;
  min-width: 0; overflow: hidden;
  color: var(--ink); border: 1px solid var(--line) !important; border-radius: 4px !important;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.mnu-card:hover { border-color: var(--brand) !important; box-shadow: 0 6px 16px rgba(0,0,0,.08); color: var(--ink) !important; }
.mnu-card:hover::after { display: none !important; }
.mnu-card-img { display: block; height: 92px; background: var(--paper); overflow: hidden; }
.mnu-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.mnu-card b { font-size: 11.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; overflow: hidden; }
.mnu-card-price { color: var(--price); font-style: italic; font-weight: 700; font-size: 13px; }
.mnu-card-price small { font-style: normal; font-weight: 500; font-size: 10px; opacity: .7; }
@media (max-width: 900px) { .mnu-pan { display: none; } .mnu-caret { display: none; } }

/* buttons: solid red primary, outlined dark ghost */
.pbtn { border-radius: var(--r-sm) !important; text-transform: none !important; font-family: var(--sans) !important; letter-spacing: 0 !important; font-weight: 600; }
.pbtn-primary { background: var(--brand) !important; color: #fff !important; box-shadow: none !important; border-color: var(--brand) !important; }
.pbtn-primary:hover { background: var(--brand-700) !important; border-color: var(--brand-700) !important; }
.pbtn-ghost { border-color: var(--ink) !important; background: transparent !important; color: var(--ink) !important; }
.pbtn-ghost:hover { background: var(--ink) !important; color: #fff !important; }

/* ---------- section rhythm ---------- */
.psec { padding-block: clamp(56px, 7vw, 92px); }
.psec-alt { background: var(--paper-2) !important; border-block: 1px solid var(--line) !important; }
.ph, .psec-head { border-top: 0 !important; padding-top: 0; }
.ph h2, .psec-head h2 { font-size: var(--t-6) !important; }
.ph p, .psec-head p { color: var(--muted); font-size: var(--t-3); }
.ph-n { display: none; }
.page-head { padding: 54px 0 44px; border-bottom: 1px solid var(--line) !important; background: var(--paper-2); }

/* ---------- HERO: full-width beige, left copy + red CTA, right product ---------- */
.hv-hero { background: var(--paper) !important; color: var(--ink); overflow: hidden; }
.hv-slides { max-width: none; }
.hv-slide { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; align-items: center; }
.hv-slide.is-banner.is-on { display: grid; }
.hv-slide .hv-copy { align-self: center; padding: 62px clamp(28px, 6vw, 96px); max-width: 760px; }
.hv-slide .hv-copy h1 { color: var(--ink) !important; font-size: clamp(38px, 4.6vw, 66px) !important; margin: 16px 0 18px; }
.hv-slide .hv-copy h1 em { color: var(--brand) !important; }
.hv-slide .hv-copy p { color: var(--body); font-size: var(--t-4); max-width: 46ch; line-height: 1.6; margin: 0 0 26px; }
.hv-slide .hv-copy .pbtn-primary { background: var(--brand) !important; padding: 13px 26px; }
.hv-slide .hv-art { position: relative; min-height: 520px; overflow: hidden; background: var(--paper); }
.hv-art-frame { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hv-art-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(ellipse 78% 74% at 52% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 74% at 52% 50%, #000 60%, transparent 100%);
}
/* transparent-cutout product spools floating on the beige field */
.hv-art-frame.is-spool img {
  width: 92%; height: auto; max-height: 92%; object-fit: contain;
  mix-blend-mode: normal;
  -webkit-mask-image: none; mask-image: none;
  filter: drop-shadow(0 20px 34px rgba(17,18,20,.16));
}
.hv-art-tag {
  position: absolute; left: 24px; bottom: 22px; z-index: 2;
  font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,.82); border: 1px solid var(--line);
  padding: 7px 11px; backdrop-filter: blur(4px);
}
.hv-dots, .fc-dots { display: flex; gap: 8px; justify-content: center; padding: 16px 0 20px; background: var(--paper); }
.hv-dots button, .fc-dots button { width: 24px; height: 3px; border: 0; background: var(--line-strong); cursor: pointer; border-radius: 3px; transition: background .2s, width .2s; }
.hv-dots button.is-on, .fc-dots button.is-on { background: var(--brand); width: 46px; }

/* trust figures under hero */
.hv-trust { background: #fff !important; border-bottom: 1px solid var(--line) !important; color: var(--ink); }
.hv-trust-in { display: flex !important; justify-content: center; gap: clamp(20px, 5vw, 70px); padding: 22px 0; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.hv-trust-in b { color: var(--ink); font-size: 18px; margin-right: 5px; }

/* ---------- scenes strip ---------- */
.hv-scenes { background: #fff !important; border-bottom: 1px solid var(--line) !important; padding-block: 48px; }
.hv-scenes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 18px; }
.hv-scenes-head > span:last-child { color: var(--muted); font-size: var(--t-2); }
.hv-scenes-in { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; background: transparent !important; }
.hv-scene { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.hv-scene img { width: 100%; height: clamp(220px, 20vw, 300px); object-fit: cover; display: block; }
/* caption sits under the photo on the white card — the old absolutely-positioned
   dark gradient stayed behind the dark ink text, which made it unreadable */
.hv-scene > div { position: static; inset: auto; background: none; padding: 14px 16px 16px; color: var(--ink); }
.hv-scene b { display: block; font-size: var(--t-3); color: var(--ink); }
.hv-scene span { display: block; font-size: var(--t-2); color: var(--muted); opacity: 1; margin-top: 3px; }

/* gallery + two-up feature cards */
.hv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hv-feature { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; min-height: 280px; }
.hv-feature:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.hv-feat-copy { padding: 26px 28px 12px; }
.hv-feat-copy h3 { font-size: var(--t-5); }
.hv-feat-copy p { color: var(--muted); font-size: var(--t-2); }
.hv-link { color: var(--brand); font-size: var(--t-2); font-weight: 600; }
.hv-feat-art { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 8px 20px 24px; margin-top: auto; }
.hv-feat-art img { height: 120px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.hv-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hv-gal { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.hv-gal:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.hv-gal > img { width: 100%; height: clamp(200px, 18vw, 280px); object-fit: cover; display: block; background: var(--paper); }
.hv-gal-body { padding: 16px 18px; position: relative; }
.hv-gal-body b { display: block; font-size: var(--t-4); color: var(--ink); }
.hv-gal-body span { font-size: var(--t-2); color: var(--muted); }
.hv-gal-body i { position: absolute; right: 18px; top: 18px; color: var(--brand); font-style: normal; }

/* proof / quotes: light */
.hv-proof-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.hv-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hv-proof-stat { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; text-align: center; background: var(--paper-2); }
.hv-proof-stat b { display: block; font-size: 34px; color: var(--brand); }
.hv-proof-stat span { font-size: var(--t-2); color: var(--muted); }
.hv-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.hv-quotes > div { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; background: #fff; }
.hv-quotes p { font-size: var(--t-3); color: var(--ink); margin: 0 0 12px; }
.hv-quotes span { font-size: 11px; color: var(--muted); }

/* ---------- Featured Collections: tabs + cards (overture rhythm, no giant carousel) ---------- */
.fc-stage { display: none !important; }
.hv-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.hv-tabs a {
  border: 1px solid var(--line-strong) !important; border-radius: var(--r-pill) !important;
  padding: 8px 18px; font-size: var(--t-2); font-weight: 600; color: var(--ink); text-decoration: none;
  background: #fff !important;
}
.hv-tabs a:hover { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.hv-fams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fam-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.fam-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.fam-card h3 { font-size: var(--t-4); }
.fam-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.fam-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fam-foot .go { font-size: 11px; color: var(--brand); font-weight: 600; }

/* printing notes: light two-column */
.hv-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--paper) !important; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); }
.hv-tips h2 { font-size: clamp(28px, 3vw, 42px); color: var(--ink); }
.hv-tips p { color: var(--body); font-size: var(--t-4); }
.hv-tips-art img { width: 100%; height: clamp(280px, 30vw, 420px); object-fit: cover; border-radius: var(--r-lg); display: block; }

/* community: beige banner */
.hv-community { background: var(--paper) !important; color: var(--ink); padding-block: clamp(56px, 7vw, 92px); }
.hv-community h2 { font-size: clamp(28px, 3.2vw, 46px); color: var(--ink); }
.hv-collage { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding-block: 28px; }
.hv-collage img { width: 100%; height: clamp(130px, 13vw, 190px); object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); }
.hv-community p { font-size: var(--t-4); color: var(--body); }
.hv-community p a { color: var(--brand); }

/* why strip */
.hv-why h2 { color: var(--ink); }
.hv-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hv-why-grid > div { border-left: 3px solid var(--brand); padding: 4px 0 4px 18px; }
.hv-why-grid b { display: block; color: var(--ink); font-size: var(--t-4); }
.hv-why-grid span { font-size: var(--t-2); color: var(--muted); }
.hv-why-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; }

/* ---------- inner pages ---------- */
.stat-strip .stat { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); }
.stat b { font-family: var(--display); color: var(--brand); }
.tbl { border-color: var(--line); }
.tbl td { border-bottom-color: var(--line); }
.card { border: 1px solid var(--line) !important; border-radius: var(--r-lg) !important; box-shadow: none !important; background: #fff !important; }
.two-col { align-items: stretch !important; }
.two-col > .card { height: 100%; display: flex; flex-direction: column; }
.two-col > .card .hint:last-child { margin-top: auto !important; }
.sale-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.sale-card-n { color: var(--brand); }
.sale-card h3 { color: var(--ink); }
.notice { border-radius: var(--r-lg); }

/* parts hero: product image on light */
.parts-hero { background: var(--paper) !important; border-bottom: 1px solid var(--line) !important; color: var(--ink); }
.parts-hero .page-h1 { color: var(--ink); }
.parts-hero .page-lede { color: var(--body); }
.parts-hero-art { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.parts-hero-art img { object-fit: contain; mix-blend-mode: multiply; }
.parts-hero-tag { background: var(--brand); }
.filter-row, .brand-row { justify-content: flex-start !important; text-align: left !important; }

/* product cards */
.part-card, .fam-card { background: #fff; }
.part-card:hover { border-color: var(--brand); }

/* focus + motion */
:focus-visible { outline: 2px solid var(--brand) !important; outline-offset: 2px !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hv-fams { grid-template-columns: repeat(3, 1fr); }
  .hv-gallery { grid-template-columns: repeat(2, 1fr); }
  .hv-proof-grid, .hv-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hv-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .pnav-top { grid-template-columns: 1fr auto; gap: 10px; }
  .nav-search { grid-column: 1 / -1; grid-row: 2; }
  .pnav-links { gap: 18px; overflow-x: auto; justify-content: flex-start; }
  .hv-slide, .hv-slide.is-banner.is-on { grid-template-columns: 1fr; min-height: 0; }
  .hv-slide .hv-copy { padding: 44px 24px 24px; }
  .hv-slide .hv-art, .hv-art-frame { min-height: 300px; height: 300px; }
  .hv-scenes-in { grid-template-columns: repeat(2, 1fr); }
  .hv-two, .hv-tips { grid-template-columns: 1fr; }
  .hv-fams { grid-template-columns: repeat(2, 1fr); }
  .hv-collage { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .pstrip-meta { display: none; }
  .hv-slide .hv-copy h1 { font-size: clamp(32px, 9vw, 46px) !important; }
  .hv-gallery, .hv-fams, .hv-proof-grid, .hv-why-grid { grid-template-columns: 1fr; }
  .hv-scene img { height: 200px; }
  .hv-collage { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hv-collage img { height: 88px; }
}

/* ---------- account header + profile photo ---------- */
/* badge and sign-out share the same footprint */
.acc-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-name-edit { align-self: center; }
.name-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.name-form .input { min-width: 240px; max-width: 100%; }
.acc-head-r .badge.neutral, .acc-head-r .acc-signout {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 112px !important; height: 38px !important; min-height: 38px !important; min-width: 0 !important; max-width: 112px !important;
  padding: 0 12px !important; box-sizing: border-box !important;
  border-radius: var(--r-pill) !important; font-size: var(--t-2) !important; font-weight: 600 !important;
  line-height: 1 !important; white-space: nowrap !important;
}
.av-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 4px 0; }
.av-preview {
  width: 76px; height: 76px; flex: none; border-radius: 50%; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--muted);
}
.av-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-actions b { display: block; font-size: var(--t-3); color: var(--ink); }
.av-actions p { margin: 4px 0 0; font-size: var(--t-1); color: var(--muted); max-width: none; line-height: 1.6; }
/* the avatar itself is the upload control: a soft + badge hints that it can be changed */
.av-preview.av-edit { position: relative; cursor: pointer; overflow: visible; transition: border-color .18s ease; }
.av-preview.av-edit img { border-radius: 50%; }
.av-preview.av-edit:hover, .av-preview.av-edit:focus-within { border-color: var(--brand); }
.av-plus {
  position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line-strong);
  color: var(--muted); font: 400 18px/1 var(--sans); padding-bottom: 1px;
  box-shadow: 0 1px 4px rgba(17,18,20,.14); transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.av-preview.av-edit:hover .av-plus, .av-preview.av-edit:focus-within .av-plus {
  color: var(--ink); background: #fff; box-shadow: 0 2px 6px rgba(17,18,20,.16);
}
.av-remove { border: 0; background: none; padding: 0; margin-top: 10px; font: inherit; font-size: var(--t-1); color: var(--muted); text-decoration: underline; cursor: pointer; }
.av-remove:hover { color: var(--ink); }
.av-label { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; cursor: pointer; }
.av-actions .av-label { min-width: 148px; }
.picon-user.has-avatar { padding: 0 !important; overflow: hidden; }
.picon-user.has-avatar .av-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* ---------- account: add delivery address ---------- */
.addr-empty { padding: 26px 0 10px; }
.addr-empty h3 { margin: 0 0 6px; font-size: var(--t-4); color: var(--ink); }
.addr-empty .hint { margin: 0 0 18px; }
.addr-actions { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.addr > div:first-child { min-width: 0; flex: 1; }
.addr > div:first-child span { overflow-wrap: anywhere; }
.addr-row-actions { display: flex; gap: 6px; flex: none; }
.addr-row-actions .pbtn-sm { height: 30px; padding: 0 10px; font-size: var(--t-1); }
.addr-add-row { padding-top: 16px; }
@media (max-width: 640px) { .addr { flex-wrap: wrap; } .addr-row-actions { margin-top: 10px; } }
@media (max-width: 640px) { .acc-name-edit, .name-form .pbtn { width: auto !important; flex: none; } .name-form .input { min-width: 0; flex: 1 1 200px; } }

/* ---------- volume discount pop-up (Filaments / Parts) ---------- */
.vol-pop {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 292px; max-width: calc(100vw - 32px);
  box-sizing: border-box; padding: 18px 18px 14px; background: #fff;
  border: 1px solid var(--line-strong); border-top: 4px solid var(--brand);
  border-radius: var(--r-md); box-shadow: 0 18px 48px rgba(19,17,16,.18);
  animation: volIn .35s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes volIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.vol-pop[hidden] { display: none !important; }
.vol-close {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; padding: 0;
  border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 26px;
  cursor: pointer; transition: color .15s, transform .15s;
}
.vol-close:hover { color: var(--brand); transform: rotate(90deg); }
.vol-kicker { font-family: var(--mono); font-size: var(--t-1); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.vol-pop h3 { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; margin: 4px 0 0; color: var(--ink); }
.vol-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 13px; }
.vol-tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 4px; text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s; }
.vol-tier.is-mid { border: 2px solid var(--brand); padding: 7px 3px; }
.vol-tier.is-on { border-color: var(--brand); box-shadow: 0 6px 18px rgba(216,35,42,.14); transform: translateY(-2px); }
.vol-n { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1; color: var(--ink); }
.vol-tier b { display: block; margin-top: 4px; font-size: var(--t-2); font-weight: 700; color: var(--brand); font-style: italic; }
.vol-status { margin-top: 12px; padding: 9px 11px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.vol-status b { display: block; font-size: var(--t-2); line-height: 1.35; }
.vol-status span { display: block; margin-top: 2px; font-family: var(--mono); font-size: var(--t-1); color: #E9EAEC; }
.vol-foot { margin: 8px 0 0; font-size: var(--t-1); color: var(--muted); line-height: 1.4; }
@media (max-width: 640px) { .vol-pop { right: 12px; bottom: 12px; width: 260px; padding: 14px 14px 11px; } .vol-pop h3 { font-size: 17px; } }

/* ==========================================================================
   iOS-style capsule controls — restrained light gray, full pill radius
   Applies site-wide; keeps the red price / discount accents untouched.
   ========================================================================== */
:root {
  --ios-fill: #F2F2F7;
  --ios-fill-2: #E7E7EC;
  --ios-sep: rgba(60, 60, 67, .10);
  --ios-label: #1C1C1E;
  --ios-secondary: #6E6E73;
  --ios-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .035);
}

.pbtn, .lgx-btn, .hv-tabs a, .fchip, .pick, .tag, .badge,
.hv-badge, .sale-kicker, .st-ribbon, .pnav-links a.nav-sale,
.acc-name-edit, .acc-head-r .badge.neutral, .acc-head-r .acc-signout,
.hv-ctl button, .am-x {
  border-radius: var(--r-pill) !important;
  border: 1px solid var(--ios-sep) !important;
  background: var(--ios-fill) !important;
  color: var(--ios-label) !important;
  box-shadow: var(--ios-shadow) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.pbtn:hover, .lgx-btn:hover, .hv-tabs a:hover, .fchip:hover, .pick:hover,
.tag:hover, .acc-name-edit:hover, .acc-head-r .acc-signout:hover,
.hv-ctl button:hover, .am-x:hover {
  background: var(--ios-fill-2) !important;
  border-color: rgba(60, 60, 67, .16) !important;
  color: var(--ios-label) !important;
}
.pbtn:active, .lgx-btn:active, .hv-ctl button:active { transform: scale(.97) !important; }

/* primary action stays a solid pill, now in iOS graphite */
.pbtn-primary, .pbtn-dark, .lgx-btn {
  background: var(--ios-label) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.pbtn-primary:hover, .pbtn-dark:hover, .lgx-btn:hover {
  background: #000 !important;
  border-color: transparent !important;
  color: #fff !important;
}
/* higher-specificity legacy red rules (hero CTA, nav slot) */
.hv-slide .hv-copy .pbtn-primary, .pnav-actions .pbtn-primary {
  background: var(--ios-label) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.hv-slide .hv-copy .pbtn-primary:hover { background: #000 !important; }

/* selected chips / sale pill keep a red accent on the neutral capsule */
.fchip.on, .pick.on { background: var(--ios-label) !important; color: #fff !important; border-color: transparent !important; }
.tag-accent, .pnav-links a.nav-sale { color: var(--brand) !important; }

/* iOS segmented controls */
.lgx-tabs, .am-tabs {
  background: var(--ios-fill) !important;
  border: 1px solid var(--ios-sep) !important;
  border-radius: var(--r-pill) !important;
  box-shadow: none !important;
  padding: 3px !important;
}
.lgx-tabs .rg-tab, .am-tabs button {
  border: 0 !important;
  background: transparent !important;
  border-radius: var(--r-pill) !important;
  box-shadow: none !important;
  color: var(--ios-secondary) !important;
}
.lgx-tabs .rg-tab.on, .am-tabs button[aria-selected="true"] {
  background: #fff !important;
  color: var(--ios-label) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .10), 0 0 0 .5px var(--ios-sep) !important;
}

/* capsules inside the dark navigation use a translucent light gray */
.pnav .nav-search {
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: none !important;
  color: #fff !important;
}
.pnav .nav-search span { color: rgba(255, 255, 255, .72) !important; }
.pnav-actions .picon {
  border-radius: var(--r-pill) !important;
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* ---------- grouped pill sizing tokens ----------
   Pills sitting side by side in one region SHARE ONE footprint.
   Three size steps, each declared once, so a group can never drift apart. */
:root {
  --pill-xs-w: 64px;  --pill-xs-h: 36px;  /* inline row actions: Edit / Delete */
  --pill-sm-w: 76px;  --pill-sm-h: 42px;  /* name editor: Save / Cancel */
  --pill-md-w: 148px; --pill-md-h: 42px;  /* form footers + avatar: Save / Cancel, Change / Remove photo */
}

/* xs — address row: Edit + Delete */
.addr-row-actions .pbtn {
  width: var(--pill-xs-w) !important; height: var(--pill-xs-h) !important;
  min-height: var(--pill-xs-h) !important; padding: 0 !important;
  box-sizing: border-box !important; flex: none;
}
/* sm — name editor: Save + Cancel */
.name-form .pbtn {
  width: var(--pill-sm-w) !important; height: var(--pill-sm-h) !important;
  min-height: var(--pill-sm-h) !important; padding: 0 !important;
  box-sizing: border-box !important; flex: none;
}
/* md — address form footer: Save changes/Save address + Cancel */
.addr-actions .pbtn {
  width: var(--pill-md-w) !important; height: var(--pill-md-h) !important;
  min-height: var(--pill-md-h) !important; padding: 0 !important;
  box-sizing: border-box !important; flex: none;
}
@media (max-width: 640px) { .addr-actions .pbtn { width: calc(50% - 5px) !important; } }

/* ---------- product quantity: centre the number, widen the unit gap ---------- */
.pd-qty { gap: 16px !important; }
.pd-qty input { text-align: center !important; padding: 0 6px !important; }
/* hide native number spinners so the value sits truly centred */
.pd-qty input::-webkit-inner-spin-button, .pd-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty input { -moz-appearance: textfield; appearance: textfield; }

/* ---------- account: shop-by-category thumbnails + row breathing room ---------- */
.cat-index .ci { padding-left: 14px !important; padding-right: 14px !important; }
.cat-index .ci-ic { background: #fff; overflow: hidden; }
.ci-ic img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) { .cat-index .ci { padding-left: 10px !important; padding-right: 10px !important; } }

/* ---------- signup: method switch + visible demo code ---------- */
.rg-tabs { grid-template-columns: 1fr 1fr !important; }
.rg-code-hint {
  display: block; margin-top: 7px; font-size: var(--t-1); line-height: 1.45;
  color: var(--brand-700, #b91c1c); overflow-wrap: anywhere;
}

/* ---------- settings: all account edits live here ---------- */
.settings-name-form {
  display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2);
}
.settings-name-form .field { flex: 1 1 260px; margin: 0; }
.settings-name-form .input { width: 100%; min-height: 42px; }
.settings-name-form .pbtn { height: 42px; min-height: 42px; flex: none; }
@media (max-width: 640px) { .settings-name-form .field { flex-basis: 100%; } .settings-name-form .pbtn { width: 100%; } }

/* ---------- register: social sign-in, password rules, confirm field (v20) ---------- */
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 2px; }
.auth-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); text-decoration: none;
  font-family: var(--sans); font-size: var(--t-3); font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease;
}
.auth-social-btn:hover { border-color: var(--ink); background: var(--paper-2); }
.auth-social-btn svg { flex: 0 0 auto; display: block; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 18px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.auth-or span { font-size: var(--t-1); color: var(--muted); letter-spacing: .04em; text-transform: lowercase; }

.pw-rules { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 5px; }
.pw-rules li { position: relative; padding-left: 21px; font-size: var(--t-1); line-height: 1.45; color: var(--muted); }
.pw-rules li::before { content: "○"; position: absolute; left: 0; top: 0; font-size: 11px; color: var(--line-strong); }
.pw-rules li.ok { color: var(--ok, #1a7f37); }
.pw-rules li.ok::before { content: "✓"; color: var(--ok, #1a7f37); font-weight: 700; font-size: 12px; }
.input.input-bad, input.input-bad { border-color: var(--danger) !important; }

.auth-terms { margin: 12px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--muted); text-align: center; }
@media (max-width: 520px) { .auth-social { grid-template-columns: 1fr; } }

/* ---------- nav: "New Arrivals" pill must stay readable on hover (v21) ---------- */
/* 原来是浅灰底 + 白色字，悬停时文字直接消失；统一改成绿色底 + 白字。 */
.pnav-links a.nav-sale:hover,
.pnav-links a.nav-sale:focus-visible {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}
.pnav-links a.nav-sale:hover::after,
.pnav-links a.nav-sale:focus-visible::after { display: none !important; }

/* ---------- nav: "New Arrivals" pill — full three-state palette (v22) ---------- */
/* 点击后会落到浅灰底 + 白字，几乎看不见。改成绿色系四态：
   默认 浅绿底/深绿字 → 悬停 实心绿/白字 → 按下 深绿/白字 → 当前页 墨绿/白字。 */
.pnav-links a.nav-sale {
  background: #ecfdf5 !important;
  border: 1px solid #bbf7d0 !important;
  color: #15803d !important;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}
.pnav-links a.nav-sale::after { display: none !important; }
.pnav-links a.nav-sale:hover,
.pnav-links a.nav-sale:focus-visible {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .34);
  transform: translateY(-1px);
}
.pnav-links a.nav-sale:active {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .22);
  transform: translateY(0) scale(.985);
}
.pnav-links a.nav-sale.on {
  background: #14532d !important;
  border-color: #14532d !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 10px rgba(20, 83, 45, .3);
}

/* ---------- account settings: one card · three columns · one save (v22) ---------- */
.av-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-div { border: 0; border-top: 1px solid var(--line-2); margin: 18px 0 20px; }
.acc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.acc-fields .field { margin: 0; min-width: 0; }
.acc-fields .input { width: 100%; min-height: 44px; }
.acc-fields .input-ro { background: #f3f4f6 !important; color: #6b7280 !important; cursor: default; }
.acc-sec { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.acc-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.acc-sec-head h4 { margin: 0; font-size: var(--t-3); color: var(--ink); }
.acc-sec-head .hint { margin: 0; }
.acc-sec .addr { padding: 12px 0; }
.acc-sec .addr b { font-size: var(--t-2); color: var(--ink); }
.acc-sec .addr span { display: block; margin-top: 3px; font-size: var(--t-1); color: var(--muted); }
.addr-none { margin: 0 0 14px; }
.acc-sec .addr-fields { margin-top: 14px; }
.pbtn-link { border: 0; background: none; padding: 0; margin-top: 10px; font: inherit; font-size: var(--t-1); color: var(--muted); text-decoration: underline; cursor: pointer; }
.pbtn-link:hover { color: var(--ink); }
.acc-save { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.acc-save .pbtn { min-width: 176px; }
@media (max-width: 820px) { .acc-fields { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .acc-save { justify-content: stretch; }
  .acc-save .pbtn { width: 100%; }
  .acc-sec-head { flex-wrap: wrap; }
}

/* ---------- stock state: remaining quantity + sold-out tag (v24) ---------- */
.pd-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.st-flag {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  background: var(--brand-050); border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.st-flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-qty { font-family: var(--mono); font-size: var(--t-1); color: var(--muted); }
/* a sold-out line must not keep the green in-stock colour, and must not
   compete with the red price either */
.stock.out { color: var(--ink-2); }
@media (max-width: 640px) {
  .pd-state { margin-top: 12px; }
}


/* ---------- sold out: the buy action becomes a disabled label (v24) ---------- */
.pd-buy .pbtn-primary[disabled],
.pd-buy .pbtn-primary:disabled {
  background: var(--line-2) !important;
  border-color: var(--line) !important;
  color: #9A9EA5 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}
.pd-buy .pbtn-primary[disabled]:hover,
.pd-buy .pbtn-primary:disabled:hover {
  background: var(--line-2) !important;
  border-color: var(--line) !important;
  color: #9A9EA5 !important;
}
.pd-buy .pbtn-primary[disabled]:active,
.pd-buy .pbtn-primary:disabled:active { transform: none !important; }
.pd-buy .pd-qty input[disabled] { background: var(--paper-2); color: var(--muted); cursor: not-allowed; }

/* ---------- sold-out sticker on product cards (v25) ---------- */
.part-card .part-art { position: relative; }
.sold-tag {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 56px; height: 56px; pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(17, 18, 20, .18));
}
.sold-tag img { width: 100%; height: 100%; display: block; object-fit: contain; }
/* the family card is a 2x2 mosaic — a smaller sticker keeps the spools readable */
.fam-media .sold-tag { width: 48px; height: 48px; }
@media (max-width: 640px) {
  .sold-tag,
  .fam-media .sold-tag { width: 44px; height: 44px; top: 6px; right: 6px; }
  .fam-media .sold-tag { width: 38px; height: 38px; }
}

/* ---------- detail pages: display type was set ~50% too large (v25) ----------
   h1 60px -> 30px; section h2 36px -> 18px so the hierarchy (title > section)
   stays the right way round after the cut. */
.pd-main h1 { font-size: clamp(17px, 2.2vw, 30px) !important; letter-spacing: -.01em !important; line-height: 1.14 !important; }
/* every section heading inside either detail page, including the
   "Same category" block that sits outside the three-column grid */
.pd-main .pd-sec h2,
#prodBox .pd-sec h2,
#partBox .pd-sec h2 { font-size: clamp(15px, 1.5vw, 18px) !important; letter-spacing: 0 !important; line-height: 1.3 !important; }
