/* ==========================================================================
   Brand collection page — manufacturers_rc.php
   --------------------------------------------------------------------------
   Values are the brand spec (csr-includes/css/wr-theme.css --wrt-* tokens,
   docs/STYLE_REFERENCE.md) as laid out in BRAND_PAGE_BUILD_HANDOFF.md §3–§7.
   Red (#CF1C3C) appears ONLY on Add to Cart / Pre-order, the Sale badge, the
   sale price and the Save amount. Discontinued is the dark refusal pill.
   Component prefixes: .mfg-* page, .bpc card, .bpp pair card, .bpm matrix card.
   @version 1.0.0-rc.5 (2026-10-12)
     rc.5 - no opacity dimming on card images at all: primary at 100%, hover
            alternate at 100% (per Jason - anything less shows both layers).
     rc.4 - sold-out cards: hover alternate re-hidden under the .bpc--b2 dim
            rule (was painted over the primary at .72 on every sold-out card).
     rc.1 - 2026-10-09 initial.
   ========================================================================== */

.mfg { background: var(--wrt-page-bg, #E9EBED); color: var(--wrt-ink, #191A1C); font-family: var(--wrt-font-body, 'Inter', system-ui, sans-serif); margin: 0; -webkit-font-smoothing: antialiased; }
.mfg *, .mfg *::before, .mfg *::after { box-sizing: border-box; }
/* [hidden] must beat the component display rules (.mfg-matrix{display:flex} etc.). */
.mfg [hidden] { display: none !important; }
/* Links: blue only where a link reads as a link (content copy, "more" links).
   Card titles, buttons and pills set their own colour below — no blanket
   `.mfg a` rule, which would out-rank every single-class component. */
.mfg-hero__intro a, .mfg-about__body a, .mfg-about__aside a, .mfg-faq__a a, .mfg-notice a, .mfg-story__body a,
.mfg-section__more, .mfg-toolbar__disc, .mfg-hero__storylink, .mfg-about__links a, .bpp__old-link, .bpm__cta, .mfg-review__meta a { color: var(--wrt-blue, #3968BA); }
.mfg .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Container: 1360 by default (3-up grid); on wide displays the page grows to
   1600 (Best Buy's listing width) and the grid goes 4-up — see the
   min-width:1700px block at the bottom. Per Jason 2026-10-12: 4-up at 1360
   felt cramped. */
.mfg-container { max-width: 1360px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px) 48px; display: flex; flex-direction: column; gap: 28px; }
.mfg-panel { background: #fff; border-radius: 16px; padding: 28px 32px; }
.mfg-section { display: flex; flex-direction: column; gap: 14px; }
.mfg-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mfg-section__more { font-size: 13.5px; font-weight: 700; text-decoration: none; }
.mfg-h2 { font-family: var(--wrt-font-display); font-weight: 800; font-size: 24px; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.mfg-sub { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; color: var(--wrt-text-secondary, #55585E); }
.mfg-lead { margin: 6px 0 0; font-size: 14px; color: var(--wrt-text-secondary); }
.mfg-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wrt-text-secondary); }

/* buttons */
.mfg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 800 13.5px/1 var(--wrt-font-body); padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.mfg-btn--blue { background: var(--wrt-blue); color: #fff; }
.mfg-btn--blue:hover { background: var(--wrt-blue-hover, #2F5AA0); }
.mfg-btn--ghost { background: #fff; color: var(--wrt-ink); border-color: var(--wrt-border, #E1E3E7); }
.mfg-btn--ghost:hover { border-color: var(--wrt-blue); color: var(--wrt-blue); }
.mfg-btn--block { width: 100%; }

/* preview pill (employees mode) */
.mfg-preview-pill { position: fixed; left: 14px; bottom: 14px; z-index: 950; display: flex; align-items: center; gap: 8px; background: #16181B; color: #fff; font: 600 12px/1.3 var(--wrt-font-body); padding: 8px 10px 8px 12px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.mfg-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wrt-gold, #FCB002); }
.mfg-pill-id { font-family: Consolas, Menlo, monospace; opacity: .7; }
.mfg-pill-link { color: #fff; text-decoration: underline; }
.mfg-pill-close { background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; padding: 0 2px; line-height: 1; }

/* crumbs */
.mfg-crumbs { font-size: 13px; font-weight: 600; color: var(--wrt-text-secondary); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: -12px; }
.mfg-crumbs a { color: var(--wrt-text-secondary); text-decoration: none; }
.mfg-crumbs a:hover { color: var(--wrt-blue); }
.mfg-crumbs__cur { color: var(--wrt-ink); }
.mfg-crumbs__sep { color: #C9CCD2; }

/* ---- hero ---------------------------------------------------------------- */
.mfg-hero { display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.mfg-hero--compact { grid-template-columns: 1fr auto; }
.mfg-hero[style*="--mfg-hero-bg"]::before { content: ""; position: absolute; inset: 0; background: var(--mfg-hero-bg) center/cover no-repeat; opacity: .12; pointer-events: none; }
.mfg-hero > * { position: relative; }
.mfg-hero__logo { width: 200px; height: 120px; border-radius: 12px; background: #fff; border: 1px solid var(--wrt-border-soft, #E7E9ED); padding: 16px; display: flex; align-items: center; justify-content: center; }
.mfg-hero__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.mfg-hero__h1 { font-family: var(--wrt-font-display); font-weight: 800; font-size: 38px; line-height: 1.05; margin: 0 0 8px; letter-spacing: -.01em; }
.mfg-hero__intro { font-size: 15.5px; line-height: 1.6; color: var(--wrt-text-secondary); max-width: 720px; }
.mfg-hero__intro p { margin: 0 0 8px; }
.mfg-hero__intro p:last-child { margin-bottom: 0; }
.mfg-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--wrt-text-secondary); }
.mfg-stat b { color: var(--wrt-ink); font-weight: 800; }
.mfg-stat__star { color: var(--wrt-gold); }
.mfg-stat__sep { color: #C9CCD2; }
.mfg-hero__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mfg-hero__storylink { font-size: 13.5px; font-weight: 700; text-decoration: none; }

/* ---- notice (state B) ---------------------------------------------------- */
.mfg-notice { padding: 18px 24px; border-left: 4px solid var(--wrt-dark-panel, #16181B); }
.mfg-notice p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--wrt-text-secondary); }
.mfg-notice strong { color: var(--wrt-ink); }

/* ---- shop by type chips -------------------------------------------------- */
.mfg-types { display: flex; flex-direction: column; gap: 8px; }
.mfg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mfg-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--wrt-border); border-radius: 999px; padding: 8px 14px; font: 700 13.5px/1 var(--wrt-font-body); color: var(--wrt-ink); cursor: pointer; }
.mfg-chip:hover { border-color: var(--wrt-blue); color: var(--wrt-blue); }
.mfg-chip.is-on { background: var(--wrt-blue); border-color: var(--wrt-blue); color: #fff; }
.mfg-chip__n { font-weight: 600; color: var(--wrt-text-muted, #8A8E94); }
.mfg-chip.is-on .mfg-chip__n { color: rgba(255,255,255,.8); }
.mfg-chips--active { margin-top: -16px; min-height: 0; }
.mfg-chips--active:empty { display: none; }

/* ---- promo bar ----------------------------------------------------------- */
.mfg-promo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--wrt-blue); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; }
.mfg-promo__text { flex: 1 1 auto; min-width: 200px; }
.mfg-promo__ends { opacity: .8; font-weight: 500; }
.mfg-promo__code { background: #fff; color: var(--wrt-blue); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; }
.mfg-promo__link { color: #fff; font-weight: 700; }

/* ---- toolbar ------------------------------------------------------------- */
.mfg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; scroll-margin-top: 90px; }
.mfg-toolbar__left { font-size: 14px; font-weight: 600; color: var(--wrt-text-secondary); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mfg-count { color: var(--wrt-ink); font-weight: 800; }
.mfg-toolbar__sep { color: #C9CCD2; }
.mfg-toolbar__disc { font-weight: 700; text-decoration: none; }
.mfg-toolbar__right { display: flex; align-items: center; gap: 10px; }
.mfg-sort select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%2355585E' stroke-width='1.6'/></svg>") no-repeat right 12px center; border: 1px solid var(--wrt-border); border-radius: 10px; padding: 9px 32px 9px 12px; font: 700 13.5px/1 var(--wrt-font-body); color: var(--wrt-ink); cursor: pointer; }
.mfg-seg { display: inline-flex; background: #fff; border: 1px solid var(--wrt-border); border-radius: 10px; padding: 3px; gap: 2px; }
.mfg-seg button { background: none; border: 0; border-radius: 8px; padding: 7px 12px; font: 700 13px/1 var(--wrt-font-body); color: var(--wrt-text-secondary); cursor: pointer; }
.mfg-seg button[aria-pressed="true"], .mfg-seg button[aria-selected="true"] { background: var(--wrt-blue); color: #fff; }
.mfg-seg--view button { font-size: 15px; padding: 6px 10px; }
.mfg-filterbtn { display: none; align-items: center; gap: 8px; background: var(--wrt-ink); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font: 800 13.5px/1 var(--wrt-font-body); cursor: pointer; }
.mfg-filterbtn__n { background: var(--wrt-blue); color: #fff; border-radius: 999px; padding: 2px 7px; font-size: 11.5px; }

/* ---- listing: rail + grid ------------------------------------------------- */
.mfg-listing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.mfg-listing--rail { grid-template-columns: 260px minmax(0, 1fr); }
/* Not sticky on desktop (per Jason 2026-10-12): the facet list can run below
   the fold, and a sticky, internally-scrolling rail hides the lower groups. It
   scrolls with the page; the mobile sheet (<=900px) is the only scroll box. */
.mfg-rail { display: flex; flex-direction: column; background: #fff; border-radius: 14px; align-self: start; }
.mfg-rail__scroll { padding: 4px 0 8px; }
.mfg-rail__sheethead, .mfg-rail__sheetfoot { display: none; }
.mfg-rail__clear { background: none; border: 0; color: var(--wrt-blue); font: 700 13px/1 var(--wrt-font-body); cursor: pointer; }
.mfg-rail__close { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--wrt-text-secondary); }
.mfg .wrf-rail { --wrf-accent: var(--wrt-blue); --wrf-text: var(--wrt-text); --wrf-text-dk: var(--wrt-ink); --wrf-muted: var(--wrt-text-muted); --wrf-line: var(--wrt-border); --wrf-line-2: #D8DBE0; --wrf-grey: var(--wrt-surface); --wrf-radius: 14px; --wrf-bg: #fff; }
.mfg .wrf-rail .wrf-zero { opacity: .4; }
.mfg .wrf-rail .wrf-dim { opacity: .55; }
.mfg-disctoggle { display: flex; align-items: center; gap: 8px; padding: 12px 14px; margin: 6px 10px 2px; border-top: 1px solid var(--wrt-border); font-size: 13.5px; font-weight: 700; color: var(--wrt-ink); cursor: pointer; }
.mfg-disctoggle input { accent-color: var(--wrt-blue); width: 16px; height: 16px; }
.mfg-disctoggle__n { color: var(--wrt-text-muted); font-weight: 600; }
.mfg-sheet-overlay { display: none; }

.mfg-results { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mfg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mfg-grid--rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mfg-grid--list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mfg-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wrt-text-muted); margin: 8px 0 -2px; }
.mfg-divider::before, .mfg-divider::after { content: ""; flex: 1; height: 1px; background: var(--wrt-border); }
.mfg-divider b { color: var(--wrt-text-secondary); }
.mfg-divider[hidden] { display: none; }
.mfg-loadmore { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0 0; }
.mfg-loadmore__count { font-size: 12.5px; font-weight: 600; color: var(--wrt-text-secondary); }
.mfg-empty { background: #fff; border-radius: 16px; padding: 40px 28px; text-align: center; }
.mfg-empty h3 { font-family: var(--wrt-font-display); font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.mfg-empty p { margin: 0 0 16px; color: var(--wrt-text-secondary); font-size: 14.5px; }
.mfg-empty__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   BrandProductCard (.bpc) — one component, states by bucket, densities by grid
   ========================================================================== */
.bpc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; min-width: 0; }
.bpc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(8,8,8,.34); }
.bpc__media { position: relative; display: block; aspect-ratio: 1 / 1; background: repeating-linear-gradient(135deg, #F4F5F7 0 8px, #EEF0F3 8px 16px); overflow: hidden; }
.bpc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; display: block; transition: opacity .2s ease; }
.bpc__img--alt { opacity: 0; }
.bpc:hover .bpc__img--alt { opacity: 1; }
/* Unavailable cards are NOT dimmed with opacity (rc.5, per Jason). Two stacked
   images can only swap cleanly if the one on top is fully opaque: any opacity
   below 1 on either layer shows both at once (rc.1-rc.4 painted the alternate
   over the primary, then the primary over the alternate). The sold-out /
   discontinued state is carried by the badge, the price row and the CTA;
   discontinued additionally desaturates, which does not reveal the layer
   beneath. */
.bpc--b3 .bpc__img { filter: grayscale(1); }
.bpc__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.bpc__fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--wrt-ink); font-size: 15px; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.bpc__fav.wrfav-saved { color: var(--wrt-red); }
.bpc__pop { position: absolute; right: 10px; bottom: 10px; z-index: 2; }
.bpc__body { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 0; min-width: 0; }
.bpc__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wrt-text-secondary); }
.bpc__name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--wrt-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.bpc__name:hover { color: var(--wrt-blue); }
.bpc__rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--wrt-text-secondary); }
.bp-stars { display: inline-flex; font-size: 13px; line-height: 1; color: #D9DBE0; letter-spacing: .5px; }
.bp-star--on { color: var(--wrt-gold); }
.bp-star--half { background: linear-gradient(90deg, var(--wrt-gold) 50%, #D9DBE0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bpc__pips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.bpc__pips li { font-size: 11.5px; font-weight: 600; color: var(--wrt-text-secondary); background: var(--wrt-surface, #F0F1F3); border-radius: 6px; padding: 3px 7px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bpc__replaces { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.bpc__replaces-k { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wrt-green, #1F8A5B); margin-right: 2px; }
.bpc__rpill { font-size: 11px; font-weight: 700; color: #fff; background: var(--wrt-ink); border-radius: 999px; padding: 3px 8px; text-decoration: none; }
.bpc__rpill:hover { background: var(--wrt-dark-hover, #2F3135); }
.bpc__benefit { font-size: 13px; color: var(--wrt-text-secondary); line-height: 1.4; }
.bpc__side { display: flex; flex-direction: column; gap: 7px; padding: 10px 16px 16px; flex: 1; }
.bpc__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.bpc__now { font-size: 26px; }
.bpc__was { font-size: 17px; }
.bpc__save { font-size: 12px; font-weight: 800; color: var(--wrt-red); }
.bpc__stock { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--wrt-green); }
.bpc__stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.bpc__stock--off { color: var(--wrt-text-secondary); }
.bpc__stock--off i { background: var(--wrt-text-faint, #9CA0A6); }
.bpc__pill { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--wrt-text-secondary); background: var(--wrt-surface); border: 1px solid var(--wrt-border); border-radius: 999px; padding: 3px 8px; }
.bpc__spacer { flex: 1; }
.bpc__cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid transparent; font: 800 14px/1 var(--wrt-font-body); padding: 13px 16px; cursor: pointer; text-decoration: none; }
.bpc__cta--add { background: var(--wrt-red); color: #fff; }
.bpc__cta--add:hover { background: var(--wrt-red-hover, #B01730); }
.bpc__cta--add.is-busy { opacity: .6; pointer-events: none; }
.bpc__cta--notify { background: var(--wrt-blue); color: #fff; }
.bpc__cta--notify:hover { background: var(--wrt-blue-hover); }
.bpc__cta--view { background: var(--wrt-surface); color: var(--wrt-ink); border-color: var(--wrt-border); }
.bpc__cta--view:hover { border-color: var(--wrt-blue); color: var(--wrt-blue); }

/* list row density (desktop toggle / state C) */
.mfg-grid--list .bpc { display: grid; grid-template-columns: 150px minmax(0, 1fr) 230px; gap: 20px; padding: 16px; align-items: start; }
.mfg-grid--list .bpc__media { border-radius: 10px; }
.mfg-grid--list .bpc__fav { top: 22px; left: 130px; right: auto; }
.mfg-grid--list .bpc__body { padding: 0; }
.mfg-grid--list .bpc__name { font-size: 16px; -webkit-line-clamp: 3; min-height: 0; }
.mfg-grid--list .bpc__pips { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.mfg-grid--list .bpc__pips li { background: none; padding: 0; font-size: 13.5px; white-space: normal; }
.mfg-grid--list .bpc__pips li::before { content: "• "; color: var(--wrt-text-muted); }
.mfg-grid--list .bpc__side { padding: 0; border-left: 1px solid var(--wrt-border-soft); padding-left: 20px; }
.mfg-grid--list .bpc__now { font-size: 28px; }

/* compact row density (mobile default; discontinued section at all widths) */
.bpc--compact { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding: 12px; align-items: start; }
.bpc--compact .bpc__media { border-radius: 10px; grid-row: 1; }
.bpc--compact .bpc__badges { top: 6px; left: 6px; }
.bpc--compact .bpc__badges .wr-badge { font-size: 9.5px; padding: 4px 7px; }
.bpc--compact .bpc__fav { display: none; }
.bpc--compact .bpc__pop { right: auto; left: 6px; bottom: 6px; font-size: 9.5px; }
.bpc--compact .bpc__body { padding: 0; grid-column: 2; grid-row: 1; }
.bpc--compact .bpc__eyebrow { white-space: normal; }
.bpc--compact .bpc__name { font-size: 14.5px; min-height: 0; }
.bpc--compact .bpc__side { grid-column: 1 / -1; padding: 0; }
.bpc--compact .bpc__now { font-size: 24px; }
.bpc--compact .bpc__spacer { display: none; }

/* .wr-badge--*, .wr-pill--most-popular and .wr-rep are defined in wr-theme.css
   (v1.3.0). Only the page-local density tweak lives here. */
.wr-rep--compact .wr-rep__img { flex-basis: 44px; width: 44px; height: 44px; }

/* ==========================================================================
   Pair card (.bpp) — state B lead row
   ========================================================================== */
.mfg-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bpp { display: grid; grid-template-columns: minmax(0, .8fr) 40px minmax(0, 1fr); background: #fff; border-radius: 14px; overflow: hidden; }
.bpp__old { background: var(--wrt-surface-hover, #F7F8F9); padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bpp__old-img { display: block; width: 100%; aspect-ratio: 1 / 1; background: #fff; border-radius: 10px; overflow: hidden; }
.bpp__old-img img { width: 100%; height: 100%; object-fit: contain; opacity: .55; filter: grayscale(1); padding: 8px; }
.bpp__old-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wrt-text-secondary); }
.bpp__old-name { font-size: 14.5px; font-weight: 700; color: var(--wrt-ink); text-decoration: none; line-height: 1.3; }
.bpp__also { font-size: 12.5px; color: var(--wrt-text-secondary); }
.bpp__old-link { font-size: 12.5px; font-weight: 700; text-decoration: none; margin-top: auto; }
.bpp__arrow { display: flex; align-items: center; justify-content: center; }
.bpp__arrow span { width: 28px; height: 28px; border-radius: 50%; background: var(--wrt-green-bg); border: 1px solid var(--wrt-green-border); color: var(--wrt-green); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.bpp__new { padding: 12px 12px 0 0; display: flex; flex-direction: column; }
.bpp__kicker { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wrt-green); padding: 4px 0 6px 16px; }
.bpp .bpc--in-pair { box-shadow: none; }
.bpp .bpc--in-pair:hover { transform: none; }

/* ==========================================================================
   Spec-comparison card (.bpm) — the alternative treatment
   ========================================================================== */
.mfg-matrix { display: flex; flex-direction: column; gap: 22px; }
.mfg-matrix__glabel { padding-bottom: 8px; border-bottom: 1px solid var(--wrt-border); margin-bottom: 12px; }
.mfg-matrix__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bpm { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.bpm__head { display: grid; grid-template-columns: 1fr 1fr; }
.bpm__col { display: flex; gap: 10px; align-items: center; padding: 14px; min-width: 0; }
.bpm__col--old { background: var(--wrt-surface-hover); }
.bpm__col--new { background: var(--wrt-green-bg); border-left: 3px solid var(--wrt-green); }
.bpm__thumb { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; flex: 0 0 56px; }
.bpm__col--old .bpm__thumb { opacity: .55; filter: grayscale(1); }
.bpm__col > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.bpm__kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wrt-green); }
.bpm__model { font-size: 12px; font-weight: 700; color: var(--wrt-text-secondary); font-family: var(--wrt-font-display); letter-spacing: .02em; }
.bpm__name { font-size: 13.5px; font-weight: 700; color: var(--wrt-ink); text-decoration: none; line-height: 1.25; }
.bpm__col--new .bpm__name { font-weight: 800; }
.bpm__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bpm__table th, .bpm__table td { padding: 9px 14px; border-top: 1px solid var(--wrt-border-soft); text-align: left; vertical-align: middle; }
.bpm__table th { font-weight: 600; color: var(--wrt-text-secondary); width: 34%; }
.bpm__table td.bpm__old { color: var(--wrt-text-muted); width: 33%; }
.bpm__table td.bpm__new { color: var(--wrt-ink); font-weight: 600; }
.bpm__dash { color: var(--wrt-text-faint); }
.bpm__newtag { display: inline-block; background: var(--wrt-green); color: #fff; font: 800 9.5px/1 var(--wrt-font-body); letter-spacing: .06em; text-transform: uppercase; padding: 3px 5px; border-radius: 4px; vertical-align: 1px; }
.bpm__empty { padding: 14px; font-size: 13px; color: var(--wrt-text-secondary); }
.bpm__foot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--wrt-border); margin-top: auto; }
.bpm__price { font-size: 20px; }
.bpm__stock { font-size: 12px; font-weight: 600; color: var(--wrt-green); flex: 1; }
.bpm__stock--off { color: var(--wrt-text-secondary); }
.bpm__cta { font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---- compare table (flag) ----------------------------------------------- */
.mfg-compare__scroll { overflow-x: auto; margin-top: 14px; }
.mfg-compare__table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.mfg-compare__table th, .mfg-compare__table td { padding: 10px 12px; border-top: 1px solid var(--wrt-border-soft); text-align: left; vertical-align: middle; }
.mfg-compare__table thead th { border-top: 0; vertical-align: bottom; }
.mfg-compare__table thead a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--wrt-ink); }
.mfg-compare__table thead img { width: 64px; height: 64px; object-fit: contain; background: var(--wrt-surface); border-radius: 8px; }
.mfg-compare__model { font-size: 14px; font-weight: 800; color: var(--wrt-blue); }
.mfg-compare__name { font-size: 12px; color: var(--wrt-text-muted); font-weight: 500; }
.mfg-compare__table tbody th { font-weight: 600; color: var(--wrt-text-secondary); width: 180px; }
.mfg-compare__yes { color: var(--wrt-green); font-weight: 700; }
.mfg-compare__p { font-size: 18px; }
.mfg-compare__cta .bpc__cta { min-height: 38px; padding: 9px 12px; font-size: 13px; }

/* ---- about ---------------------------------------------------------------- */
.mfg-about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.mfg-about__body { font-size: 15.5px; line-height: 1.65; color: var(--wrt-text-secondary); }
.mfg-about__body .mfg-h2 { color: var(--wrt-ink); margin-bottom: 10px; }
.mfg-about__body p { margin: 0 0 12px; }
.mfg-about__links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13.5px; font-weight: 700; margin-top: 6px; }
.mfg-about__links a { text-decoration: none; }
.mfg-about__warranty { color: var(--wrt-text-secondary); font-weight: 600; }
.mfg-about__aside { background: var(--wrt-surface); border-left: 3px solid var(--wrt-blue); border-radius: 0 12px 12px 0; padding: 18px 20px; font-size: 15px; line-height: 1.6; color: var(--wrt-ink); }
.mfg-about__aside p { margin: 0 0 10px; }
.mfg-about__aside p:last-child { margin: 0; }

/* ---- carousel ------------------------------------------------------------- */
.mfg-carousel__nav { display: flex; gap: 8px; }
.mfg-carousel__nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--wrt-border); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--wrt-ink); }
.mfg-carousel__nav button:hover { border-color: var(--wrt-blue); color: var(--wrt-blue); }
.mfg-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.mfg-carousel::-webkit-scrollbar { display: none; }
.mfg-carousel .bpc { scroll-snap-align: start; }

/* ---- guides --------------------------------------------------------------- */
.mfg-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mfg-guide { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--wrt-ink); transition: transform .18s ease, box-shadow .18s ease; }
.mfg-guide:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(8,8,8,.34); }
.mfg-guide__img { aspect-ratio: 16 / 8; background: var(--wrt-surface); }
.mfg-guide__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mfg-guide__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.mfg-guide__chip { align-self: flex-start; background: #EEF3FB; color: var(--wrt-blue); font: 800 10.5px/1.25 var(--wrt-font-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.mfg-guide h3 { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }
.mfg-guide p { font-size: 13.5px; color: var(--wrt-text-secondary); margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mfg-guide__meta { font-size: 12px; font-weight: 600; color: var(--wrt-text-muted); }

/* ---- FAQ + why ------------------------------------------------------------ */
.mfg-faqwhy { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.mfg-faqwhy--solo { grid-template-columns: minmax(0, 1fr); }
.mfg-faqwhy--solo .mfg-why { max-width: 640px; }
.mfg-faq .mfg-h2 { margin-bottom: 10px; }
.mfg-faq__item { border-top: 1px solid var(--wrt-border-soft); }
.mfg-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-size: 16px; font-weight: 700; cursor: pointer; }
.mfg-faq__item summary::-webkit-details-marker { display: none; }
.mfg-faq__plus { color: var(--wrt-blue); font-size: 22px; font-weight: 600; line-height: 1; transition: transform .18s ease; }
.mfg-faq__item[open] .mfg-faq__plus { transform: rotate(45deg); }
.mfg-faq__a { background: var(--wrt-surface); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--wrt-text-secondary); }
.mfg-faq__a p { margin: 0 0 8px; }
.mfg-faq__a p:last-child { margin: 0; }
.mfg-why { background: var(--wrt-dark-panel, #16181B); color: #fff; border-radius: 16px; padding: 28px 32px; }
.mfg-why .mfg-h2 { color: #fff; margin-bottom: 14px; font-size: 22px; }
.mfg-why ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mfg-why li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: start; }
.mfg-why li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wrt-gold); margin-top: 5px; }
.mfg-why li b { display: block; font-size: 15px; font-weight: 700; }
.mfg-why li span { grid-column: 2; display: block; font-size: 13.5px; color: var(--wrt-text-on-dark-dim, #9B9DA8); margin-top: 2px; line-height: 1.5; }

/* ---- reviews -------------------------------------------------------------- */
.mfg-reviews__wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; margin-top: 14px; }
.mfg-reviews__avg { font-family: var(--wrt-font-display); font-size: 56px; font-weight: 800; line-height: 1; }
.mfg-reviews__agg .bp-stars { font-size: 18px; margin: 6px 0; }
.mfg-reviews__n { font-size: 13px; font-weight: 600; color: var(--wrt-text-secondary); margin-bottom: 12px; }
.mfg-hist__row { display: grid; grid-template-columns: 24px 1fr 28px; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; color: var(--wrt-text-secondary); margin-bottom: 5px; }
.mfg-hist__bar { height: 8px; background: var(--wrt-surface); border-radius: 999px; overflow: hidden; }
.mfg-hist__bar i { display: block; height: 100%; background: var(--wrt-gold); border-radius: 999px; }
.mfg-reviews__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mfg-review { background: var(--wrt-surface); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mfg-review__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mfg-review__verified { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--wrt-green-text, #1F6B3B); background: var(--wrt-green-bg); border: 1px solid var(--wrt-green-border); border-radius: 999px; padding: 3px 8px; }
.mfg-review h3 { font-size: 15px; font-weight: 700; margin: 0; }
.mfg-review p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--wrt-text-secondary); }
.mfg-review__meta { font-size: 12.5px; font-weight: 600; color: var(--wrt-text-muted); margin-top: auto; }
.mfg-review__meta a { text-decoration: none; font-weight: 700; }
.mfg-reviews__google { font-size: 14px; font-weight: 600; color: var(--wrt-text-secondary); }
.mfg-masonry { columns: 2; column-gap: 14px; margin-top: 14px; }
.mfg-quote { break-inside: avoid; background: var(--wrt-surface); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.mfg-quote__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.mfg-quote__avatar { width: 32px; height: 32px; border-radius: 50%; background: #EEF3FB; color: var(--wrt-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.mfg-quote__name { font-size: 14px; font-weight: 700; flex: 1; }
.mfg-quote p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--wrt-text-secondary); }
.mfg-quote__src { margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--wrt-text-muted); }

/* ---- story bottom (clamp with fade) -------------------------------------- */
.mfg-story .mfg-h2 { font-size: 20px; margin-bottom: 8px; }
.mfg-story__body { position: relative; max-height: 96px; overflow: hidden; font-size: 15px; line-height: 1.65; color: var(--wrt-text-secondary); }
.mfg-story__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.mfg-story.is-open .mfg-story__body { max-height: none; }
.mfg-story.is-open .mfg-story__body::after { display: none; }
.mfg-story__more { background: none; border: 0; color: var(--wrt-blue); font: 700 13.5px/1 var(--wrt-font-body); padding: 10px 0 0; cursor: pointer; }
.mfg-story.is-open .mfg-story__more { display: none; }

/* ---- discontinued section ------------------------------------------------- */
.mfg-disc[hidden] { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Wide displays: grow to 1600 and go 4-up (the rail stays 260, so cards are
   still ~320px wide — roomier than 4-up at 1360 was). */
@media (min-width: 1700px) {
  .mfg-container { max-width: 1600px; }
  .mfg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mfg-grid--rows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mfg-grid--list { grid-template-columns: minmax(0, 1fr); }
  .mfg-carousel { grid-auto-columns: calc((100% - 4 * 14px) / 5); }
  .mfg-pairs, .mfg-matrix__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .mfg-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .mfg-grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mfg-carousel { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .mfg-pairs, .mfg-matrix__grid { grid-template-columns: minmax(0, 1fr); }
  .mfg-reviews__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mfg-hero { grid-template-columns: 1fr; gap: 16px; }
  .mfg-hero__logo { width: 84px; height: 56px; padding: 6px; border-radius: 8px; }
  .mfg-hero__actions { flex-direction: row; align-items: center; justify-content: flex-start; }
  .mfg-about, .mfg-faqwhy, .mfg-reviews__wrap { grid-template-columns: minmax(0, 1fr); }
  .mfg-guides { grid-template-columns: minmax(0, 1fr); }
  .mfg-carousel { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .mfg-listing--rail { grid-template-columns: minmax(0, 1fr); }
  /* rail -> bottom sheet */
  .mfg-filterbtn { display: inline-flex; }
  .mfg-rail { position: fixed; inset: auto 0 0 0; max-height: 86vh; z-index: 1200; border-radius: 18px 18px 0 0; transform: translateY(100%); transition: transform .22s ease; box-shadow: 0 -10px 30px rgba(0,0,0,.2); }
  .mfg-rail.is-open { transform: none; }
  .mfg-rail__scroll { overflow: auto; flex: 1 1 auto; min-height: 0; }
  .mfg-rail__sheethead { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--wrt-border); font-size: 15px; }
  .mfg-rail__sheethead strong { flex: 1; }
  .mfg-rail__sheetfoot { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--wrt-border); background: #fff; }
  .mfg-sheet-overlay { display: block; position: fixed; inset: 0; background: rgba(8,8,8,.5); z-index: 1199; }
  .mfg-sheet-overlay[hidden] { display: none; }
  .mfg-chips, .mfg-chips--active { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .mfg-chips::-webkit-scrollbar { display: none; }
  .mfg-chip { white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 720px) {
  .mfg-container { gap: 20px; padding-top: 12px; }
  .mfg-panel { padding: 20px 18px; border-radius: 14px; }
  .mfg-hero__h1 { font-size: 30px; }
  .mfg-why { padding: 22px 20px; }
  .mfg-carousel { grid-auto-columns: calc((100% - 14px) / 2); }
  .mfg-reviews__cards { grid-template-columns: minmax(0, 1fr); }
  .mfg-masonry { columns: 1; }
  .mfg-grid--rows { grid-template-columns: minmax(0, 1fr); }
  .mfg-seg--view button[data-layout="list"] { display: none; }
  /* D6: cards are 1-up compact rows by default; the toggle's "grid" = 2-up lean */
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding: 12px; align-items: start; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__media { border-radius: 10px; grid-row: 1; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__body { padding: 0; grid-column: 2; grid-row: 1; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__side { grid-column: 1 / -1; padding: 0; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__fav { display: none; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__spacer { display: none; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__now { font-size: 24px; }
  .mfg-grid:not(.mfg-grid--2up):not(.mfg-grid--disc) .bpc:not(.bpc--car) .bpc__name { min-height: 0; font-size: 14.5px; }
  .mfg-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mfg-grid--2up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mfg-grid--2up .bpc__pips { display: none; }
  .mfg-grid--2up .bpc__body { padding: 12px 12px 0; }
  .mfg-grid--2up .bpc__side { padding: 8px 12px 12px; }
  .mfg-grid--2up .bpc__now { font-size: 22px; }
  .bpp { grid-template-columns: minmax(0, 1fr); }
  .bpp__arrow { padding: 6px 0; }
  .bpp__arrow span { transform: rotate(90deg); }
  .bpp__new { padding: 0 12px 12px; }
  .bpm__head { grid-template-columns: minmax(0, 1fr); }
  .bpm__col--new { border-left: 0; border-top: 3px solid var(--wrt-green); }
}
