/* Instrument Sans, self-hosted (SIL Open Font License 1.1, see /assets/fonts/OFL.txt). Variable: weight 400-700,
   width 85-100%. Same axes the approved option A loaded from Google Fonts; served from this site for the CSP. */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-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;
}

/* Option A, "Daylight retail" layout with the owner-approved "P1 Pine & snow" colour scheme (2026-12-01).
   White cards on a snow-grey page, deep pine brand and buttons, sunlit amber for savings and small highlights.
   Type: Instrument Sans for everything (85-100 width axis; headings at 650 with tight tracking).
   Tokens from build/design/brand/palettes.json (scheme P1); contrast checked by build/design/brand/contrast.mjs. */

:root {
  --page: #eef2f0;
  --white: #ffffff;
  --tint: #e1ebe5;
  --tint-2: #f4f7f5;
  --ink: #10251d;
  --ink-2: #33473f;
  --muted: #586a62;
  --primary: #1f4b3a;
  --primary-2: #163a2c;
  --primary-rgb: 31, 75, 58;
  --on-primary: #dbe9e1;
  --on-primary-2: #cfe0d6;
  --highlight: #f2b544;
  --focus: #2b6cb3;
  --save: #8a4c0c;
  --save-bg: #fbedd6;
  --toast-ok: #8fdcb4;
  --line: #dce4e0;
  --shadow-rgb: 16, 37, 29;
  --r: 22px;
  --r-sm: 14px;
  --gap: clamp(14px, 1.6vw, 22px);
  --pad: clamp(16px, 3vw, 40px);
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sh: 0 1px 2px rgba(var(--shadow-rgb), 0.05), 0 8px 24px -12px rgba(var(--shadow-rgb), 0.14);
  --sh-2: 0 2px 4px rgba(var(--shadow-rgb), 0.05), 0 22px 48px -20px rgba(var(--shadow-rgb), 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--page); color: var(--ink-2); font-family: var(--sans); font-size: 1rem; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, figure, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
fieldset { padding: 0; border: 0; min-width: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; padding: 10px 16px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ------------------------------------------------ type */
.display { color: var(--ink); font-size: clamp(2.35rem, 1.25rem + 3.6vw, 4.25rem); font-weight: 650; font-stretch: 92%; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.h1 { color: var(--ink); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 650; font-stretch: 92%; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.h2 { color: var(--ink); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.35rem); font-weight: 650; font-stretch: 94%; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.h3 { color: var(--ink); font-size: 1.15rem; font-weight: 620; letter-spacing: -0.012em; line-height: 1.25; }
.lede { margin-top: 18px; max-width: 34em; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px; font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease); }
.btn .ico { transition: transform 200ms var(--ease); }
.btn:hover .ico { transform: translateX(2px); }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.03rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.93rem; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -12px rgba(var(--primary-rgb), 0.8); }
.btn--primary:hover { background: var(--primary-2); }
.btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--tint); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 620; text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ------------------------------------------------ preview notice and header */
.notice { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--primary); color: var(--on-primary); font-size: 0.86rem; font-weight: 500; text-align: center; }
.notice .ico { color: var(--highlight); }
.top { position: sticky; top: 0; z-index: 50; padding: 12px var(--pad) 0; }
.pill { position: relative; display: flex; align-items: center; gap: 8px; max-width: 1320px; margin-inline: auto; padding: 7px 7px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.06), 0 12px 30px -16px rgba(var(--shadow-rgb), 0.35); }
@supports (backdrop-filter: blur(1px)) { .pill { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.6) blur(16px); } }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; border-radius: 999px; }
.brand__logo { display: block; width: auto; height: 40px; }
.brand__logo--stack { display: none; }
.nav__links a { display: block; padding: 9px 12px; border-radius: 999px; color: var(--ink-2); font-size: 0.93rem; font-weight: 550; text-decoration: none; white-space: nowrap; transition: background-color 150ms var(--ease); }
.nav__links a:hover { background: var(--tint); color: var(--ink); }
.nav__links a[aria-current="page"] { background: var(--tint); color: var(--primary); }
.cart { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--primary); }
.cart .ico { width: 21px; height: 21px; }
.cart__n { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--save); color: #fff; font-size: 0.72rem; font-weight: 700; }
.cart__n[hidden] { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px 8px 13px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.menu-btn .ico--x { display: none; }
.menu-btn[aria-expanded="true"] .ico--x { display: block; }
.menu-btn[aria-expanded="true"] .ico--menu { display: none; }
@media (max-width: 1199px) {
  .nav__links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 8px; border-radius: 22px; background: #fff; box-shadow: var(--sh-2); }
  .nav__links[data-open="true"] { display: grid; grid-template-columns: 1fr 1fr; }
  .nav__links a { padding: 13px 16px; font-size: 1.02rem; border-radius: 14px; }
}
@media (max-width: 479px) {
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { width: 46px; padding: 0; justify-content: center; }
  .brand__logo--line { display: none; }
  .brand__logo--stack { display: block; }
  .nav__links[data-open="true"] { grid-template-columns: 1fr; }
}
@media (min-width: 1200px) {
  .menu-btn { display: none; }
  .nav__links { display: flex; gap: 0; margin-right: 6px; }
}

/* ------------------------------------------------ sections */
.section { margin-top: clamp(64px, 8vw, 112px); }
.sechead { max-width: 760px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.sechead p { margin-top: 10px; font-size: 1.06rem; }
.sechead--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; max-width: none; }
.sechead--row > div { max-width: 700px; }

/* hero: text card left, photo right with a real product callout */
.hero { display: grid; gap: var(--gap); margin-top: 18px; }
.hero__text { padding: clamp(28px, 4.4vw, 64px); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.hero__uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__uses a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-size: 0.93rem; font-weight: 560; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.hero__uses a:hover { background: var(--tint); }
.hero__uses .ico { color: var(--primary); }
.hero__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--tint); }
.hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.callout { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 8px 12px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, 0.95); color: var(--ink); text-decoration: none; box-shadow: var(--sh-2); animation: rise 700ms 250ms var(--ease) both; }
.callout img { width: 60px; height: 60px; border-radius: 12px; background: #fff; object-fit: contain; flex: none; }
.callout__text { display: grid; gap: 2px; min-width: 0; }
.callout__name { font-weight: 620; font-size: 0.95rem; line-height: 1.25; }
.callout__price { color: var(--muted); font-size: 0.9rem; }
.callout__price b { color: var(--ink); }
.callout__go { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* shop by use: rows on phones, photo tiles from 640 */
.uses { display: grid; gap: 12px; }
.use a { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px 14px 10px 10px; border-radius: var(--r-sm); background: var(--white); text-decoration: none; box-shadow: var(--sh); transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.use__photo { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: var(--tint); }
.use__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.use__text { display: grid; gap: 4px; }
.use__name { color: var(--ink); font-size: 1.1rem; font-weight: 650; letter-spacing: -0.015em; }
.use__blurb { color: var(--ink-2); font-size: 0.92rem; line-height: 1.45; }
.use__go { display: none; }
@media (min-width: 640px) {
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
  .use a { display: flex; flex-direction: column; align-items: stretch; height: 100%; padding: 0; border-radius: var(--r); overflow: hidden; }
  .use__photo { aspect-ratio: 16 / 10; border-radius: 0; }
  .use__text { flex: 1; align-content: start; gap: 8px; padding: 20px 22px 22px; }
  .use__name { font-size: 1.25rem; }
  .use__blurb { font-size: 0.97rem; }
  .use__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--primary); font-weight: 620; }
}
@media (min-width: 1100px) { .uses { grid-template-columns: repeat(4, minmax(0, 1fr)); } .use__photo { aspect-ratio: 4 / 3.4; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .use a:hover, .card:hover, .cat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
}

/* product cards */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid--list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); overflow: hidden; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.card[hidden] { display: none; }
.card__media { position: relative; display: block; aspect-ratio: 1; margin: 8px 8px 0; border-radius: calc(var(--r) - 8px); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.card__tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--primary); font-size: 0.76rem; font-weight: 620; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 14px 16px 16px; }
.card__use { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.card__title { color: var(--ink); font-size: 1.02rem; font-weight: 620; letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__parts { display: grid; gap: 5px; font-size: 0.9rem; }
.card__parts li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
/* The card's tick (before each kit part) and "+" (in the add button) are drawn here, not by an inline <svg><use> in each
   card (build/lib/html.mjs card()). Each is a mask cut from the i-check / i-plus path of the SPRITE in html.mjs, with the
   stroke width the .ico rule gave it (1.9, and 2.3 on the button), filled with the colour the svg had, in the same box.
   Decorative: empty generated content, as the svg was aria-hidden. In forced-colours mode Chromium gives an svg
   forced-color-adjust: preserve-parent-color, so the same value here keeps what the svg did: the tick keeps its own
   colour, the "+" takes the button's forced text colour, and neither fill is reset to the page colour. A browser without
   that value reads "none" and gets ButtonText for the "+" from the @supports rule below. All widths. */
.card__parts li::before, .add::before { content: ""; flex: none; background: currentColor; -webkit-mask: var(--ico) 0 0 / 100% 100% no-repeat; mask: var(--ico) 0 0 / 100% 100% no-repeat; forced-color-adjust: none; forced-color-adjust: preserve-parent-color; }
.card__parts li::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); width: 1.15em; height: 1.15em; margin-top: 2px; color: var(--save); }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { padding: 3px 9px; border-radius: 8px; background: var(--tint-2); color: var(--ink-2); font-size: 0.8rem; font-weight: 560; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.card__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); line-height: 1.2; }
.price b { font-size: 1.2rem; font-weight: 680; letter-spacing: -0.02em; }
.price s { color: var(--muted); font-size: 0.88rem; }
.price__from { color: var(--muted); font-size: 0.85rem; }
.add { position: relative; z-index: 2; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer; transition: background-color 150ms var(--ease); }
.add:hover { background: var(--primary-2); }
.add::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E"); width: 20px; height: 20px; }
@supports not (forced-color-adjust: preserve-parent-color) { @media (forced-colors: active) { .add::before { background: ButtonText; } } }
@media (max-width: 639px) {
  .card__media { margin: 6px 6px 0; }
  .card__body { padding: 12px 12px 12px; gap: 8px; }
  .card__title { font-size: 0.95rem; }
  .card__parts { font-size: 0.84rem; }
  .card__parts li:nth-child(3) { display: none; }
  .card__tag { font-size: 0.7rem; padding: 3px 8px; left: 8px; top: 8px; }
  .specs li { font-size: 0.75rem; padding: 2px 7px; }
  .price b { font-size: 1.08rem; }
  .add { width: 38px; height: 38px; }
}

/* categories */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat { display: grid; gap: 4px; height: 100%; padding: 10px 10px 16px; border-radius: var(--r); background: var(--white); text-decoration: none; box-shadow: var(--sh); transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.cat__img { display: block; aspect-ratio: 1; margin-bottom: 8px; border-radius: calc(var(--r) - 8px); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.cat__name { padding-inline: 6px; color: var(--ink); font-size: 1.05rem; font-weight: 640; letter-spacing: -0.012em; }
.cat__count { padding-inline: 6px; color: var(--muted); font-size: 0.88rem; }

/* why buy here */
.why { margin-top: clamp(64px, 8vw, 112px); padding-block: clamp(48px, 6vw, 80px); background: var(--primary); color: var(--on-primary-2); }
.why .h2 { color: #fff; }
.why__inner { display: grid; gap: 28px; }
.why__list { display: grid; gap: 22px; }
.why__list li { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.why__list .h3 { color: #fff; }
.why__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--highlight); color: var(--primary); }
.why__icon .ico { width: 22px; height: 22px; }
.why .btn { justify-self: start; }
@media (min-width: 900px) { .why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .why__inner { grid-template-columns: 1fr auto; align-items: end; } .why__list { grid-column: 1 / -1; grid-row: 2; } .why .btn { grid-column: 2; grid-row: 1; } }

/* footer */
.footer { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 24px; background: var(--white); border-top: 1px solid var(--line); }
.why + .footer { border-top: 0; }
.footer__inner { display: grid; gap: 36px; padding-bottom: 32px; }
.footer__name img { display: block; width: auto; height: 46px; }
.footer__brand p:not(.footer__name) { margin-block: 8px 18px; max-width: 30em; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.footer__head { margin-bottom: 10px; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.footer__cols a { display: inline-block; padding-block: 5px; color: var(--ink); text-decoration: none; font-weight: 500; }
.footer__cols a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.footer__small { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__inner { grid-template-columns: 1fr 1.5fr; gap: 64px; } }

/* toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 10px; width: min(100% - 32px, 460px); padding: 14px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 0.95rem; box-shadow: var(--sh-2); transform: translate(-50%, 140%); transition: transform 300ms var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }
.toast[hidden] { display: none; }
.toast .ico { color: var(--toast-ok); }
.p-product .toast { bottom: 96px; }

/* ------------------------------------------------ category page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 560; }
.pagehead__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-top: 18px; }
.pagehead__row .lede { margin-top: 12px; max-width: 40em; }
.pagehead__count { color: var(--muted); }
.pagehead__count b { color: var(--ink); font-size: 1.1rem; }
.listing { margin-top: 28px; }
.toolbar { position: sticky; top: 76px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: var(--gap); padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.95); box-shadow: var(--sh); }
.chips { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 8px 15px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-size: 0.92rem; font-weight: 560; white-space: nowrap; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.chip[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: none; }
.toolbar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.toolbar__shown { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.sort { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.sort select { appearance: none; min-height: 40px; padding: 8px 36px 8px 14px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-weight: 560; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.sort .ico { position: absolute; right: 12px; pointer-events: none; color: var(--ink); }
@media (max-width: 767px) {
  .toolbar { flex-direction: column; align-items: stretch; top: 70px; }
  .chips { width: 100%; }
  .toolbar__right { margin-left: 0; justify-content: space-between; }
}
.more { display: flex; justify-content: center; margin-top: 32px; }
.more [hidden] { display: none; }
.help { margin-top: clamp(56px, 7vw, 96px); }
.help__inner { display: grid; gap: 20px; align-items: center; padding: clamp(26px, 4vw, 52px); border-radius: var(--r); background: var(--tint); }
.help__inner p { margin-top: 10px; max-width: 36em; font-size: 1.05rem; }
.help .btn { justify-self: start; }
@media (min-width: 900px) { .help__inner { grid-template-columns: 1fr auto; } }
.p-category .footer, .p-product .footer { margin-top: clamp(64px, 8vw, 112px); }

/* ------------------------------------------------ product page */
.pdp { display: grid; gap: clamp(20px, 3vw, 40px); margin-top: 20px; }
.gallery { min-width: 0; }
.gallery__main { aspect-ratio: 1; border-radius: var(--r); background: #fff; box-shadow: var(--sh); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { display: block; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; overflow: hidden; }
.gallery__thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--primary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.buy { align-self: start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.buy__brand { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--primary); font-weight: 620; font-size: 0.95rem; }
.buy__brand span { color: var(--muted); font-weight: 500; }
.buy__title { margin-top: 10px; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); }
.buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 16px; }
.buy__price b { color: var(--ink); font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.buy__price s { color: var(--muted); font-size: 1.1rem; }
.save { padding: 4px 10px; border-radius: 999px; background: var(--save-bg); color: var(--save); font-weight: 650; font-size: 0.88rem; }
.save[hidden], [data-price-was][hidden] { display: none; }
.runs { display: flex; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--tint); color: var(--ink); font-weight: 520; line-height: 1.45; }
.runs .ico { margin-top: 2px; color: var(--primary); }
.keychips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.keychips li { display: grid; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.keychips b { color: var(--ink); font-size: 1.05rem; font-weight: 680; letter-spacing: -0.01em; }
.keychips span { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 560px) and (max-width: 1023px), (min-width: 1280px) { .keychips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.options { display: grid; gap: 8px; margin-top: 22px; }
.options legend { margin-bottom: 10px; color: var(--ink); font-weight: 620; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--primary); background: var(--tint-2); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); }
.opt__text { display: grid; }
.opt__name { color: var(--ink); font-weight: 600; }
.opt__detail { color: var(--muted); font-size: 0.86rem; }
.opt__price { color: var(--ink); font-weight: 650; }
.buy__row { display: flex; gap: 10px; margin-top: 20px; }
.btn--grow { flex: 1; }
.qty { display: flex; align-items: center; flex: none; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { display: grid; place-items: center; width: 42px; height: 52px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.qty input { width: 34px; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy__note { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .gallery { position: sticky; top: 96px; align-self: start; }
}
.pdp-more { display: grid; gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); }
.specs-block { padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.spec { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 0.98rem; }
.spec th, .spec td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 40%; padding-right: 16px; color: var(--muted); font-weight: 520; }
.spec td { color: var(--ink); font-weight: 540; }
.spec td .muted { font-weight: 450; }
.dl-block { display: grid; gap: var(--gap); align-content: start; }
.downloads { padding: 22px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.downloads ul { display: grid; gap: 8px; margin-top: 14px; }
.downloads a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--tint-2); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.downloads a:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.downloads a > .ico:first-child { color: var(--primary); width: 22px; height: 22px; }
.downloads span { display: grid; }
.downloads b { color: var(--ink); font-weight: 600; }
.downloads small { color: var(--muted); font-size: 0.82rem; }
.ico--dl { color: var(--primary); }
.ask { padding: 22px; border-radius: var(--r); background: var(--tint); }
.ask p:not(.h3) { margin-block: 6px 10px; }
@media (min-width: 1024px) { .pdp-more { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

/* sticky buy bar */
.buybar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); box-shadow: 0 -10px 30px -18px rgba(var(--shadow-rgb), 0.4); transform: translateY(110%); transition: transform 280ms var(--ease); }
@supports (backdrop-filter: blur(1px)) { .buybar { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); } }
.buybar.is-shown { transform: none; }
.buybar__inner { display: flex; align-items: center; gap: 14px; }
.buybar img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.buybar__name { display: grid; flex: 1; min-width: 0; color: var(--ink); font-weight: 620; line-height: 1.25; }
.buybar__name span, .buybar__name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar__name small { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.buybar__price { color: var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 639px) { .buybar img, .buybar__name small { display: none; } .buybar__name { font-size: 0.9rem; } .buybar .btn { padding-inline: 16px; } .buybar__price { font-size: 1.1rem; } }
@media (max-width: 419px) { .buybar__name { display: none; } .buybar__inner { justify-content: space-between; } }
.p-product { padding-bottom: 76px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .hero__text { display: flex; flex-direction: column; justify-content: center; }
  .hero__photo { aspect-ratio: auto; min-height: 560px; }
  .callout { left: 24px; bottom: 24px; }
}

/* Store additions on top of option A (10-option-a.css is the approved stylesheet, unchanged).
   Everything here reuses option A's tokens: white panels with --r and --sh, navy actions, tint bands, Instrument Sans. */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.small { font-size: 0.88rem; }
.footer--gap { margin-top: clamp(64px, 8vw, 112px); }

/* ------------------------------------------------ owner-approved photos: keep the house, van or array in frame */
.hero__photo > img.ph-hero { object-position: 30% 50%; }
.use__photo img.ph-farm, .hero__photo > img.ph-farm { object-position: 35% 60%; }
.use__photo img.ph-ranch, .hero__photo > img.ph-ranch { object-position: 45% 60%; }
.use__photo img.ph-van, .hero__photo > img.ph-van { object-position: 50% 62%; }
.use__photo img.ph-backup, .hero__photo > img.ph-backup { object-position: 58% 50%; }
.callout img { padding: 4px; }

/* ------------------------------------------------ panels and running text */
.panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.prose p { max-width: 46em; text-wrap: pretty; }
.prose .h2 + p, .prose .h2 + .prose__lead { margin-top: 16px; }
.prose p + p, .prose p + .actions { margin-top: 14px; }
.prose__lead { color: var(--ink); font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); font-weight: 520; }
.pagebody { margin-top: 28px; }
.pagehead__also { margin-top: 12px; color: var(--ink-2); }
.pagehead__also .link { margin-left: 4px; }
.eyebrow { color: var(--primary); font-size: 0.95rem; font-weight: 640; letter-spacing: 0.01em; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--primary); font-weight: 620; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.ticks { display: grid; gap: 10px; margin-top: 14px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--ink); }
.ticks .ico { margin-top: 3px; color: var(--save); }
.ticks--box li { color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 900px) { .ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; } }

/* ------------------------------------------------ FAQ rows (details / summary) */
.faq { margin-top: 14px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--ink); font-size: 1.04rem; font-weight: 620; line-height: 1.35; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { margin-top: 2px; color: var(--primary); transition: transform 200ms var(--ease); }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__item summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
/* the question is an <h3> (a heading for search and screen readers) that looks exactly like the old <span> */
.faq__q { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
.faq__item summary:hover .faq__q { text-decoration: underline; text-underline-offset: 4px; }

/* internal links written into the copy ([text](/path/) in the content files) */
.prose p a, .lede a, .hero__more a, .faq__a a, .qa__item p a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.faq__a { padding-bottom: 18px; }
.faq__a p { max-width: 48em; text-wrap: pretty; }

.guide { display: grid; gap: var(--gap); align-items: start; }
.guide .sechead--row { margin-bottom: 4px; align-items: center; }
@media (min-width: 1024px) { .guide:has(.guide__text):has(.guide__faq) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } .guide__text { position: sticky; top: 96px; } }
.guide__text p { margin-top: 14px; }

/* ------------------------------------------------ category page additions */
.toolbar__note { padding-left: 8px; color: var(--muted); font-size: 0.9rem; }
.empty-note { margin-top: 8px; color: var(--ink-2); }
.empty-note[hidden] { display: none; }

/* ------------------------------------------------ use-case page: option A's hero with the breadcrumb inside */
.hero--use .crumbs { margin-top: 0; margin-bottom: 18px; }
.hero--use .lede { margin-top: 14px; }
.hero__more { margin-top: 12px; max-width: 34em; text-wrap: pretty; }
@media (min-width: 1024px) { .hero--use .hero__photo { min-height: 440px; } }
.lookfor { margin-top: var(--gap); }
.use__count { color: var(--muted); font-size: 0.88rem; }

/* ------------------------------------------------ product page additions */
.keychips--3 li:last-child { grid-column: 1 / -1; }
.keychips--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) and (max-width: 1023px), (min-width: 1280px) {
  .keychips--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .keychips--3 li:last-child { grid-column: auto; }
}
.options + .options { margin-top: 18px; }
.options--grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.options--grid legend { float: left; width: 100%; }
.options--grid .opt { grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 10px 12px; }
.opt--off { cursor: not-allowed; opacity: 0.6; }
.opt--off .opt__price { color: var(--muted); font-weight: 520; font-size: 0.88rem; }
.buy__unavail { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--tint-2); color: var(--ink); font-weight: 560; box-shadow: inset 0 0 0 1px var(--line); }
.buy__unavail[hidden] { display: none; }
[data-add-main][disabled] { opacity: 0.5; cursor: not-allowed; }

.pdp-info { display: grid; gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.pdp-info + .pdp-more { margin-top: var(--gap); }
.side { display: grid; gap: var(--gap); align-content: start; }
@media (min-width: 1024px) { .pdp-info { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.goodfor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.goodfor span { margin-right: 2px; }
.goodfor a { padding: 6px 12px; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-weight: 560; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.goodfor a:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
/* the "Good for" row at the foot of the product Overview panel: full panel width, its own top spacing */
.prose .goodfor { max-width: none; margin-top: 18px; }
/* rows of pill links in their own panel (category "Related categories / Shop by use", brand pages) */
.related { margin-top: clamp(48px, 6vw, 80px); }
.related .goodfor:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.related .goodfor + .goodfor { margin-top: 14px; padding-top: 14px; }
/* brands index: few tiles, so four to a row on wide screens instead of the category grid's six (narrower: unchanged) */
@media (min-width: 1100px) { .cats--brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* footer: the fourth link column (Brands) sits in the same row on desktop; below 1000px it wraps as before */
@media (min-width: 1000px) { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* the product page's brand line links to the brand page */
.buy__brand a { color: inherit; text-decoration: none; }
.buy__brand a:hover { text-decoration: underline; text-underline-offset: 4px; }
.parts { display: grid; gap: 0; margin-top: 12px; }
.parts li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.parts li:first-child { border-top: 0; }
.parts__qty { color: var(--primary); font-weight: 680; white-space: nowrap; }
.parts a { color: var(--ink); font-weight: 560; text-underline-offset: 3px; }
.parts span:not(.parts__qty) { color: var(--ink); }
.downloads + .downloads { margin-top: 0; }
.spec__list { display: grid; gap: 6px; }
.qa { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qa__item p { margin-top: 10px; text-wrap: pretty; }

/* ------------------------------------------------ cart */
.p-cart .pagehead .lede { max-width: 44em; }
.cartwrap { margin-top: 28px; }
.cart-empty { display: grid; justify-items: start; gap: 12px; }
.cart-empty[hidden], .cart-full[hidden] { display: none; }
.cart-empty .why__icon { margin-bottom: 4px; }
.cart-empty .actions { margin-top: 10px; }
.cart-full { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1024px) { .cart-full { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } .summary { position: sticky; top: 96px; } }
.cartrows { margin-top: 10px; }
.cartrow { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "img text remove" "img qty price"; align-items: center; gap: 10px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.cartrow:first-child { border-top: 0; }
.cartrow__img { grid-area: img; display: block; align-self: start; width: 84px; height: 84px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cartrow__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cartrow__text { grid-area: text; display: grid; gap: 2px; min-width: 0; }
.cartrow__name { color: var(--ink); font-weight: 620; line-height: 1.3; text-decoration: none; }
.cartrow__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cartrow__variant, .cartrow__unit { color: var(--muted); font-size: 0.88rem; }
.cartrow .qty { grid-area: qty; justify-self: start; }
.cartrow .qty button { height: 44px; }
.cartrow__price { grid-area: price; justify-self: end; color: var(--ink); font-size: 1.1rem; font-weight: 680; letter-spacing: -0.02em; }
.cartrow__remove { grid-area: remove; justify-self: end; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint-2); color: var(--ink-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.cartrow__remove:hover { color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
@media (max-width: 479px) { .cartrow { grid-template-columns: 64px minmax(0, 1fr) auto; } .cartrow__img { width: 64px; height: 64px; } }
.summary__rows { display: grid; gap: 10px; margin: 16px 0 0; }
.summary__rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; color: var(--ink); font-weight: 680; }
.summary__rows div:first-child dd { font-size: 1.35rem; letter-spacing: -0.02em; }
.summary__save dd { color: var(--save); }
.summary__save[hidden] { display: none; }
.summary__go { width: 100%; margin-top: 20px; }
.summary__note { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
.summary .linkbtn { margin-top: 14px; font-size: 0.92rem; }

.dialog { width: min(100% - 32px, 480px); padding: clamp(24px, 4vw, 36px); border: 0; border-radius: var(--r); background: var(--white); color: var(--ink-2); box-shadow: var(--sh-2); }
.dialog::backdrop { background: rgba(var(--shadow-rgb), 0.5); }
.dialog p { margin-top: 10px; }
.dialog .actions { margin-top: 22px; }
.dialog__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--highlight); color: var(--primary); }

/* sizing help */
.notice-panel { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); box-shadow: none; }
.notice-panel .ico { width: 24px; height: 24px; margin-top: 2px; color: var(--primary); }
.notice-panel b { color: var(--ink); }
.nw { white-space: nowrap; }

/* many chips: the chip row scrolls sideways (option A's fade) so the count and sort stay on the same line */
@media (min-width: 768px) { .toolbar .chips { flex: 1 1 0; } }
.pdp-more { align-items: start; }
.sizing { display: grid; gap: var(--gap); margin-top: var(--gap); }
.sizing .guide { display: block; }
@media (min-width: 1024px) { .sizing { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* Homepage review section (plan Task 5): build/templates/partials/reviews.mjs, script assets-src/js/reviews.js.
   The card parts (.review__card, .review__stars, .review__text, .review__meta) also dress the product page review
   cards (28-product-reviews.css), so a review looks the same in both places.
   Option A tokens only: white cards with --r and --sh, ink text, pine links, the section head of the kits row.
   The row is a CSS scroll-snap track: 1 card per view below 640px, 2 from 640px, 3 from 1024px. Every card in the row
   takes the height of the tallest one, so nothing jumps while it scrolls. Stars are an amber (#c27a12, 3.45:1 on white)
   that meets the 3:1 contrast for graphics; each star row also carries the rating as text for screen readers. */

.reviews { --star: #c27a12; --per: 1; --bleed: 12px; }
@media (min-width: 640px) { .reviews { --per: 2; } }
@media (min-width: 1024px) { .reviews { --per: 3; } }

.reviews__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.reviews .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the track: the cards' shadows need room, so it reaches 12px past the content edge on each side (inside the page
   padding, which is 16px or more) and pads that back, so the cards still line up with the heading */
.reviews__track {
  position: relative; /* holds the visually hidden rating text, so cards off to the side never widen the page */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  margin: -8px calc(-1 * var(--bleed)) -20px; /* the bottom padding is shadow room, so the gap to the next section stays the usual one */
  padding: 8px var(--bleed) 26px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--bleed);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  border-radius: calc(var(--r) + 4px);
}
.reviews__track:focus-visible { outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) { .reviews__track { scroll-behavior: smooth; } }

/* the card */
.review { display: flex; min-width: 0; scroll-snap-align: start; }
.review__card { display: flex; flex: 1; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.review__stars { position: relative; display: flex; gap: 3px; }
.review__star { width: 19px; height: 19px; flex: none; fill: var(--star); stroke: var(--star); stroke-width: 1.6; stroke-linejoin: round; }
.review__star--off { fill: none; }
.review__text { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.6; overflow-wrap: break-word; }
.review__text p { text-wrap: pretty; }
.review__text p + p { margin-top: 0.6em; }
.review__meta { display: grid; gap: 3px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.35; }
.review__name { color: var(--ink); font-weight: 620; }
.review__product { justify-self: start; color: var(--primary); font-weight: 600; font-size: 0.95rem; text-decoration: none; text-wrap: balance; }
.review__product:hover { text-decoration: underline; text-underline-offset: 3px; }
.review__date { color: var(--muted); font-size: 0.86rem; } /* month and year only (owner, 2026-12-02: no website named) */
/* one buyer photo beside the name, product and date: a small square in a second column, so the card is no taller */
.review__meta--photo { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
.review__meta--photo > :not(.review__photo) { grid-column: 1; }
.review__photo { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: block; width: 60px; height: 60px; overflow: hidden; border-radius: 12px; background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.review__photo img { width: 100%; height: 100%; object-fit: cover; }

/* previous / next: hidden until script runs (CSS "scripting" where the browser knows it, so the space is there from the
   first paint and nothing shifts; data-ready from reviews.js elsewhere); the script hides them again when every card
   already fits */
.reviews__nav { display: none; flex: none; gap: 10px; }
@media (scripting: enabled) { .reviews__nav { display: flex; } }
.reviews[data-ready] .reviews__nav { display: flex; }
.reviews .reviews__nav[hidden] { display: none; }
.reviews__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--primary); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line), var(--sh); transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease), opacity 150ms var(--ease); }
.reviews__btn .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.reviews__btn--prev .ico { transform: scaleX(-1); }
.reviews__btn:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--primary), var(--sh); }
.reviews__btn:disabled { cursor: default; opacity: 0.45; box-shadow: inset 0 0 0 1.5px var(--line); }
/* with the buttons on screen the scrollbar is not needed (touch, trackpad and the arrow keys still scroll the row) */
@media (scripting: enabled) {
  .reviews__track { scrollbar-width: none; }
  .reviews__track::-webkit-scrollbar { display: none; }
}

/* Homepage cards (owner 2026-12-02): the buyer's name, product and date sit above the stars. */
.review__meta--top { margin-top: 0; padding-top: 0; padding-bottom: 14px; border-top: 0; border-bottom: 1px solid var(--line); }

/* Home page (plan Task 8): the "Shop by brand" text panels, built from option A's .panel, .h3, .link and .goodfor
   pills. One column on phones, two side by side from 768 px; the category pills line up at the foot of both panels.
   Nothing else on the page changes. */
.brandrow { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .brandrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brandrow__item { display: flex; flex-direction: column; align-items: flex-start; }
.brandrow__item > p:not(.goodfor) { margin-top: 8px; max-width: 40em; text-wrap: pretty; }
.brandrow__item > .link { margin-top: 14px; margin-bottom: 18px; }
.brandrow__item > .goodfor { align-self: stretch; margin-top: auto; }

/* "Shop by category" picture tiles (owner 2026-12-02): the group picture sits at the foot of the tile and the words
   sit above it in the store's own type and colours. Two across on phones, three across from 768 px. */
.series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 768px) { .series { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.serie { position: relative; display: block; height: 100%; border-radius: var(--r); background: #f5f5f5; box-shadow: var(--sh); overflow: hidden; text-decoration: none; transition: box-shadow 200ms, transform 200ms; }
.serie:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.serie__img { display: block; width: 100%; height: auto; }
.serie__text { position: absolute; inset: 0 0 auto 0; z-index: 1; display: grid; justify-items: center; gap: 4px; padding: clamp(16px, 3vw, 34px) 12px 0; text-align: center; }
.serie__eyebrow { color: var(--primary); font-size: clamp(0.72rem, 1.1vw, 0.86rem); font-weight: 680; letter-spacing: 0.08em; text-transform: uppercase; }
.serie__name { color: var(--ink); font-size: clamp(1.05rem, 2.3vw, 1.7rem); font-weight: 680; letter-spacing: -0.02em; line-height: 1.12; }
.serie__go { display: inline-flex; align-items: center; gap: 6px; margin-top: clamp(4px, 1vw, 10px); padding: 8px 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: clamp(0.8rem, 1.1vw, 0.92rem); font-weight: 620; }
.serie__go .ico { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .serie { transition: none; } .serie:hover { transform: none; } }
/* Phones and tablets: the words sit above the picture, not over it, and the empty top of the picture is cropped away. */
@media (max-width: 1023px) {
  .serie { display: flex; flex-direction: column; }
  .serie__text { position: static; padding: 16px 8px 0; }
  .serie__img { margin-top: auto; aspect-ratio: 550 / 330; object-fit: cover; object-position: center bottom; }
}

/* Phones only (owner 2026-12-02, picked option A's header from previews/review/home-mobile): the homepage header
   is a tall full-width photo with the title on it and the product chip at its top, then the description and the two
   buttons side by side. The quick-link pills are not shown on phones (the shop-by-use section follows). 640px and
   wider keep the two-panel layout; the shop-by-use page headers (.hero--use) are not changed. */
@media (max-width: 639px) {
  .p-home .hero:not(.hero--use) { width: 100%; margin-top: 0; grid-template-columns: 100%; gap: 0; }
  .p-home .hero:not(.hero--use) .hero__text { display: contents; }
  .p-home .hero:not(.hero--use) .hero__photo { order: 0; grid-area: 1 / 1; margin: 0; width: 100%; height: min(125vw, 560px); aspect-ratio: auto; border-radius: 0; }
  .p-home .hero:not(.hero--use) .hero__photo::after { content: ""; position: absolute; inset: 35% 0 0 0; background: linear-gradient(to bottom, rgba(10, 30, 22, 0), rgba(10, 30, 22, 0.86)); pointer-events: none; }
  .p-home .hero:not(.hero--use) .display { order: 0; grid-area: 1 / 1; align-self: end; z-index: 2; padding: 0 20px 22px; color: #fff; font-size: 2.15rem; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }
  .p-home .hero:not(.hero--use) .callout { top: 14px; bottom: auto; left: 14px; }
  .p-home .hero:not(.hero--use) .lede { order: 3; margin: 0; padding: 18px 20px 0; }
  .p-home .hero:not(.hero--use) .actions { order: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 16px 20px 0; }
  .p-home .hero:not(.hero--use) .actions .btn { justify-content: center; padding-inline: 10px; font-size: 0.95rem; }
  .p-home .hero:not(.hero--use) .hero__uses { display: none; }
  .p-home .hero .hero__wide { display: none; } /* phones: the second button is Guides (owner 2026-12-02) */
}
@media (min-width: 640px) { .hero .hero__phone { display: none; } }

/* Home header picture on desktop (owner, 2026-12-03): the box is narrower than the 4:3 photo, so the sides are trimmed.
   Keeping the left side (30%) cut the ground solar panel at the bottom right. From 1280px up the kept part moves right so
   the whole ground panel shows. Below 1280px nothing changes: the box there cannot hold both the cabin and the panel. */
@media (min-width: 1280px) { .p-home .hero:not(.hero--use) .hero__photo > img.ph-hero { object-position: 71% 50%; } }
@media (min-width: 1440px) { .p-home .hero:not(.hero--use) .hero__photo > img.ph-hero { object-position: 58% 50%; } }

/* Category pages: the filter sidebar (owner 2026-12-02: "filters ... like SunGold and Rich Solar"), markup in
   build/templates/category.mjs, script in assets-src/js/filter.js. Everything here is scoped to .listing--facets, the
   listings that hold the sidebar (/shop-by-use/, /brands/ and /guides/ use a plain .listing and are not touched).
   >= 1024px: a sticky white column of 260px on the left (it scrolls inside itself when taller than the window), the
   sort bar and the cards on the right (3 columns, 4 from 1360px).
   < 1024px: a "Filters" button next to Sort opens the same sidebar as a panel from the left (.js-facets, set by the
   script); without JavaScript the sidebar sits above the grid inside a closed <details>. */
.listing--facets [hidden] { display: none !important; }

/* ------------------------------------------------ the sidebar box */
.facets { position: relative; }
.facets__sum { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: var(--gap); padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; list-style: none; cursor: pointer; box-shadow: var(--sh); }
.facets__sum::-webkit-details-marker { display: none; }
.facets[open] > .facets__sum { margin-bottom: 10px; }
.facets__panel { padding: 4px 18px 18px; border-radius: 20px; background: var(--white); box-shadow: var(--sh); }
.js-facets .facets__sum { display: none; }
.facets__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 10px; }
.facets__title { color: var(--ink); font-size: 1.15rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.facets__x { display: none; place-items: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: var(--tint-2); color: var(--ink); cursor: pointer; }
.facets__x .ico { width: 20px; height: 20px; }
.facets__x:hover { background: var(--tint); }
.facets__foot { display: none; }

/* applied filters: removable chips and "Clear all" */
.facets__applied { display: grid; gap: 10px; padding: 4px 0 16px; }
.facets__label { color: var(--muted); font-size: 0.8rem; font-weight: 640; letter-spacing: 0.04em; text-transform: uppercase; }
.facets__applied ul { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px 6px 12px; border: 0; border-radius: 999px; background: var(--tint); color: var(--primary); font-size: 0.86rem; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer; }
.fchip .ico { width: 15px; height: 15px; flex: none; stroke-width: 2.4; }
.fchip:hover { background: var(--primary); color: #fff; }
.facets__applied .linkbtn { justify-self: start; min-height: 32px; font-size: 0.92rem; }

/* one group: a disclosure row with its checkboxes */
.fgroup { border-top: 1px solid var(--line); }
.fgroup > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 8px 0; color: var(--ink); font-weight: 620; list-style: none; cursor: pointer; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary .ico { color: var(--primary); transition: transform 200ms var(--ease); }
.fgroup[open] > summary .ico { transform: rotate(180deg); }
.fgroup > summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.fgroup fieldset { padding: 0 0 14px; }
.fgroup ul { display: grid; gap: 2px; }
.fgroup ul.is-short > li:nth-child(n + 9) { display: none; }
.fgroup label { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0 -8px; padding: 4px 8px; border-radius: 10px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.3; cursor: pointer; }
.fgroup label:hover { background: var(--tint-2); }
.fgroup input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.fgroup label:has(input:checked) { color: var(--ink); font-weight: 600; }
.fgroup .fn { margin-left: auto; padding-left: 6px; color: var(--muted); font-size: 0.85rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.fgroup label.is-off { color: var(--muted); cursor: default; opacity: 0.55; }
.fgroup label.is-off:hover { background: none; }
.fgroup label.is-off input { cursor: default; }
.fgroup__more { min-height: 40px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--primary); font-weight: 620; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* price From / To */
.fprice { display: flex; align-items: flex-end; gap: 8px; }
.fgroup .fprice label { display: grid; flex: 1; gap: 4px; min-width: 0; min-height: 0; margin: 0; padding: 0; color: var(--muted); font-size: 0.82rem; font-weight: 560; cursor: default; }
.fgroup .fprice label:hover { background: none; }
.fprice__in { display: flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--white); color: var(--muted); font-size: 0.95rem; box-shadow: inset 0 0 0 1.5px var(--line); }
.fprice__in:focus-within { box-shadow: inset 0 0 0 2px var(--primary); }
.fprice input { width: 100%; min-width: 0; padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: 0.98rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.fprice input:focus { outline: none; }
.fprice input::-webkit-outer-spin-button, .fprice input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fprice__to { padding-bottom: 12px; color: var(--muted); }

/* the "Filters" button in the sort bar (below 1024px) */
.facets__open { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px 8px 13px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 0.95rem; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(var(--primary-rgb), 0.8); }
.facets__open:hover { background: var(--primary-2); }
.facets__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--primary); font-size: 0.8rem; font-weight: 700; }
.listing--facets .empty-note { display: grid; justify-items: start; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }

/* ------------------------------------------------ below 1024px: sort bar with the Filters button; the panel */
@media (max-width: 1023px) {
  .listing--facets .toolbar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .listing--facets .toolbar__right { flex: 1 1 auto; justify-content: flex-end; margin-left: auto; }
  .js-facets .facets__panel { position: fixed; z-index: 85; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: min(420px, 100%); padding: 0 20px; border-radius: 0 22px 22px 0; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--sh-2); transform: translateX(-102%); visibility: hidden; transition: transform 260ms var(--ease), visibility 0s linear 260ms; }
  .js-facets .facets.is-open .facets__panel { transform: none; visibility: visible; transition: transform 260ms var(--ease); }
  .js-facets .facets__head { position: sticky; z-index: 1; top: 0; margin: 0 -20px; padding: 14px 20px 12px; background: var(--white); border-bottom: 1px solid var(--line); }
  .js-facets .facets__applied { padding-top: 14px; }
  .js-facets .facets__x { display: grid; }
  .js-facets .facets__foot { position: sticky; bottom: 0; display: block; margin: auto -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .js-facets .facets__done { width: 100%; gap: 0.3em; }
  .js-facets .facets__panel { scroll-padding-bottom: 88px; }
  .js-facets .facets__head + .fgroup, .js-facets .facets__applied[hidden] + .fgroup { border-top: 0; }
  .facets__scrim { position: fixed; z-index: 84; inset: 0; background: rgba(var(--shadow-rgb), 0.45); }
  html.facets-lock, html.facets-lock body { overflow: hidden; }
}
@media (max-width: 439px) {
  .js-facets .facets__panel { border-radius: 0; }
}
@media (max-width: 639px) {
  .listing--facets .toolbar__right { display: contents; }
  .listing--facets .toolbar .sort { margin-left: auto; }
  .listing--facets .toolbar .sort > span { display: none; }
  .listing--facets .toolbar__shown { order: 3; flex-basis: 100%; padding-left: 4px; font-size: 0.86rem; }
}

/* ------------------------------------------------ 1024px and up: the left column */
@media (min-width: 1024px) {
  .listing--facets { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: var(--gap); align-items: start; }
  .listing--facets > .facets { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: 92px; }
  .listing--facets .facets__panel { max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .listing--facets > .toolbar, .listing--facets > .grid, .listing--facets > .empty-note, .listing--facets > .more { grid-column: 2; }
  .listing--facets > .toolbar { position: static; } /* as before on desktop: the sort bar scrolls away; the sidebar stays */
  .listing--facets > .toolbar > .toolbar__right { justify-content: space-between; width: 100%; padding-left: 6px; }
  .listing--facets > .grid.grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing--facets .facets__open, .listing--facets .facets__scrim { display: none !important; }
}
@media (min-width: 1360px) {
  .listing--facets > .grid.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Product page buyer reviews (owner, 2026-12-02): build/templates/partials/product-reviews.mjs, script
   assets-src/js/product-reviews.js. Option A tokens only, and the home carousel's own card parts (25-reviews.css:
   .review__card, .review__stars, .review__text, .review__meta), restyled here inside .prv only, so the home carousel
   does not change.
   - .prating: the star line under the product title (products with 3+ reviews averaging 4.0 or more), a link to #reviews
   - .prv: the section at the foot of the page, design "Summary + photo strip + list" (owner pick, 2026-12-02):
     the H2 with the rating count as a chip; from 1024px a sticky left rail (one white card: the summary, then the
     filter pills) beside one white panel that holds the "Buyer photos" strip, then the reviews as rows split by
     hairlines (stars, name and month on one line, then the text; the buyer photos beside the text from 768px), then
     the count note and "Show more reviews". Below 1024px the rail is a block on top and the pills one row that
     scrolls sideways inside the card (the page itself never scrolls sideways). Long reviews show 6 lines and a
     "Read more" button (product-reviews.js; nothing is clamped without script).
   Stars are the carousel's amber (#c27a12, 3.45:1 on white, above the 3:1 needed for graphics). */

.prating, .prv { --star: #c27a12; }
.prv { --rv-pad: clamp(18px, 2.4vw, 30px); }
.prv .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------ the star line in the buy box */
.prating { margin-top: 12px; }
.prating__link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.prating__stars { display: inline-flex; gap: 2px; }
.prating__stars .review__star { width: 18px; height: 18px; }
.prating__avg { font-weight: 680; letter-spacing: -0.01em; }
.prating__count { color: var(--muted); font-size: 0.95rem; }
.prating__link:hover .prating__count { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------ heading: "Buyer reviews" + the rating count, the note line small */
.prv .sechead { max-width: none; margin-bottom: clamp(16px, 2vw, 24px); }
.prv .sechead p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.prv__hcount { display: inline-block; margin-left: 0.35em; padding: 0.2em 0.62em; border-radius: 999px; background: var(--tint); color: var(--primary); font-size: 0.42em; font-weight: 650; font-stretch: 100%; letter-spacing: 0; line-height: 1.2; vertical-align: 0.38em; white-space: nowrap; }

/* ------------------------------------------------ layout: rail + main */
.prv > .prv__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; }
@media (min-width: 1024px) {
  .prv > .prv__layout:has(> .prv__rail) { grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 2.6vw, 36px); }
  .prv .prv__rail { position: sticky; top: 96px; }
}

/* the rail: one white card, the summary on top and the pills under it */
.prv__rail { display: grid; min-width: 0; padding: var(--rv-pad); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }

/* summary: average, its stars, the count, and one bar per star level */
.prv .prv__summary { display: grid; gap: 6px; align-content: start; }
.prv__avg { display: flex; align-items: baseline; gap: 10px; }
.prv .prv__avg b { color: var(--ink); font-size: clamp(2.5rem, 2.1rem + 1vw, 3rem); font-weight: 680; letter-spacing: -0.03em; line-height: 1; }
.prv__avg span { color: var(--muted); font-weight: 520; }
.prv__glyphs { display: flex; gap: 3px; }
.prv__avgstars .review__star { width: 22px; height: 22px; }
.prv .prv__based { color: var(--muted); font-size: 0.92rem; }
.prv .prv__dist { display: grid; gap: 5px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.prv .prv__dist li { display: grid; grid-template-columns: 3.9em minmax(0, 1fr) 2.4em; align-items: center; gap: 10px; font-size: 0.88rem; line-height: 1.35; }
.prv__dist-label { color: var(--ink-2); white-space: nowrap; }
.prv__dist-n { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.prv__bar { display: block; width: 100%; height: 8px; overflow: visible; }
.prv__track { fill: var(--tint); }
.prv__fill { fill: var(--star); }
@media (min-width: 640px) and (max-width: 1023px) {
  /* tablets: the average beside the bars */
  .prv .prv__summary { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "avg dist" "stars dist" "based dist"; column-gap: clamp(24px, 4vw, 44px); }
  .prv__avg { grid-area: avg; }
  .prv__avgstars { grid-area: stars; }
  .prv__based { grid-area: based; align-self: start; }
  .prv .prv__dist { grid-area: dist; padding-left: clamp(24px, 4vw, 48px); border-top: 0; border-left: 1px solid var(--line); }
}
/* a product whose reviews are all withheld from the list: the summary alone, at a readable width */
.prv__layout--summary .prv__summary { max-width: 560px; }

/* filter pills (product-reviews.js filters the cards the page holds; hidden without script) */
.prv__filters { min-width: 0; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.prv__filters[hidden] { display: none; }
.prv__filters-h { margin-bottom: 10px; color: var(--ink); font-size: 0.9rem; font-weight: 620; }
.prv__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.prv__pill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-size: 0.92rem; font-weight: 580; white-space: nowrap; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.prv__pill:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.prv__pill-n { color: var(--muted); font-size: 0.84rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.prv__pill[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: none; }
.prv__pill[aria-pressed="true"] .prv__pill-n { color: var(--on-primary); }
.prv__scope { margin-top: 10px; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
@media (max-width: 1023px) {
  /* one row that scrolls sideways inside the card (the page itself never scrolls sideways) */
  .prv__pills { flex-wrap: nowrap; margin: -7px calc(-1 * var(--rv-pad)); padding: 7px var(--rv-pad); overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--rv-pad); scrollbar-width: none; }
  .prv__pills::-webkit-scrollbar { display: none; }
  .prv__pill { flex: none; }
}

/* ------------------------------------------------ the main panel: photo strip, then the list */
.prv .prv__main { min-width: 0; padding: 0 var(--rv-pad); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.prv__strip { padding: var(--rv-pad) 0 calc(var(--rv-pad) - 4px); border-bottom: 1px solid var(--line); }
.prv__strip-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; color: var(--ink); font-size: 1rem; font-weight: 640; letter-spacing: -0.01em; }
.prv__strip-h span { color: var(--muted); font-size: 0.88rem; font-weight: 540; }
.prv__strip-list { display: flex; gap: 8px; margin: -7px calc(-1 * var(--rv-pad)) -4px; padding: 7px var(--rv-pad) 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--rv-pad); scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.prv__strip-list > li { flex: none; scroll-snap-align: start; }
.prv__strip-list .prv__photo { width: 104px; height: 104px; border-radius: 12px; }
@media (max-width: 639px) { .prv__strip-list .prv__photo { width: 88px; height: 88px; } }
/* the strip's "+N more" tile (shown by product-reviews.js; it loads and adds the older photos): a photo-sized square */
.prv__strip-more { position: relative; /* holds its visually hidden words, so they never widen the page */ display: grid; place-items: center; width: 104px; height: 104px; padding: 8px; border: 0; border-radius: 12px; background: var(--tint-2); color: var(--ink); font-size: 0.95rem; font-weight: 620; line-height: 1.25; text-align: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 150ms var(--ease); }
.prv__strip-more:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
@media (max-width: 639px) { .prv__strip-more { width: 88px; height: 88px; } }
/* scrolled to the end, the tile stops clear of the strip's right-edge fade (56px) */
.prv__strip-tile { margin-right: calc(56px - var(--rv-pad)); }

/* the rows: stars, name and month on one line, then the text; photos beside the text from 768px */
.prv .prv__list { display: block; }
.prv .prv__list[hidden], .prv .prv__item[hidden] { display: none; }
.prv .prv__item { display: block; min-width: 0; }
/* a hairline above every shown row that follows a shown row (a filter hides rows, so "+" is not enough) */
.prv .prv__item:not([hidden]) ~ .prv__item:not([hidden]), .prv__rest > .prv__list > .prv__item:first-child { border-top: 1px solid var(--line); }
.prv .prv__item .review__card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "stars meta" "text text" "more more" "photos photos"; align-items: center; gap: 0 12px; padding: clamp(18px, 2vw, 22px) 0; border-radius: 0; background: none; box-shadow: none; }
.prv .prv__item .review__stars { grid-area: stars; }
.prv .prv__item .review__star { width: 16px; height: 16px; }
.prv .prv__item .review__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; padding: 0; border: 0; line-height: 1.35; }
.prv .prv__item .review__name { font-size: 0.95rem; }
.review__date { color: var(--muted); font-size: 0.86rem; }
.prv .prv__item .review__date::before { content: "\00b7"; margin-right: 8px; color: var(--muted); }
.prv .prv__item .review__text { grid-area: text; align-self: start; max-width: 34em; margin-top: 10px; font-size: 1rem; line-height: 1.6; }
@media (min-width: 1024px) { .prv .prv__item .review__text { font-size: 1.04rem; } }
.prv .prv__item .prv__photos { grid-area: photos; margin-top: 12px; }
.prv__readmore { grid-area: more; justify-self: start; }

/* buyer photos: small square thumbnails; each opens the large photo */
.prv__photos { display: flex; flex-wrap: wrap; gap: 8px; }
.prv__photo { display: block; width: 84px; height: 84px; overflow: hidden; border-radius: 12px; background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.prv__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms var(--ease); }
.prv__photo:hover img { transform: scale(1.04); }
.prv .prv__item .prv__photo { width: 72px; height: 72px; border-radius: 10px; }
@media (min-width: 768px) {
  .prv .prv__item .review__card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "stars meta photos" "text text photos" "more more photos"; grid-template-rows: auto auto 1fr; column-gap: 12px; }
  .prv .prv__item .prv__photos { align-self: start; justify-content: flex-end; max-width: 232px; margin: 0 0 0 32px; }
  /* four photos (the most any review has) sit as a 2 x 2 block rather than 3 + 1 */
  .prv .prv__item .prv__photos:has(> li:nth-child(4)) { display: grid; grid-template-columns: repeat(2, 72px); justify-self: end; }
}

/* ------------------------------------------------ "Read more": a review past 8 lines shows 6 (product-reviews.js) */
.review__text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.prv__readmore { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--primary); font-size: 0.93rem; font-weight: 620; cursor: pointer; }
.prv__readmore::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prv__readmore[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.prv__readmore:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------ footer of the panel: the count note and "Show more reviews" */
.prv .prv__note { margin-top: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; text-align: center; text-wrap: balance; }
.prv__more { display: flex; }
.prv .prv__more { min-width: 220px; margin: 12px auto 0; }
.prv__more[hidden] { display: none; }
/* the older reviews: a <details> block whose summary is the button without script (one press shows them all, then the
   summary goes away); product-reviews.js opens it, hides its list and adds 8 cards per press to the list above */
.prv__rest > summary { width: fit-content; list-style: none; }
.prv .prv__rest > summary { margin: 0 auto; }
.prv__rest > summary::-webkit-details-marker { display: none; }
.prv__rest[open] > summary { display: none; }
.prv .prv__rest:not([open]) { padding-top: 20px; border-top: 1px solid var(--line); }
.prv .prv__rest:not([open]) ~ .prv__note--closed { padding-top: 10px; border-top: 0; }
.prv__rest[open] ~ .prv__note--closed { display: none; }
.prv .prv__rest > .prv__list { margin-top: 0; }
.prv .prv__main:has(> :not(.prv__list):not(.prv__strip)) { padding-bottom: clamp(20px, 2.4vw, 26px); }
/* older reviews loading (product-reviews.js): the button keeps its size while it says "Loading…"; a failed load leaves a
   quiet note under the button (or under the photo strip) and the button stays usable */
.prv__more[aria-busy="true"], .prv__strip-more[aria-busy="true"], .prv__filters[aria-busy="true"] .prv__pill { cursor: progress; }
.prv__error { margin-top: 10px; color: var(--muted); font-size: 0.9rem; text-align: center; }
.prv__error[hidden] { display: none; }
.prv__strip + .prv__error, .prv__strip-list + .prv__error { margin: 0 0 4px; text-align: left; }

/* the large photo, opened in a dialog by product-reviews.js (without script the link opens the file itself) */
.prv-lightbox { width: fit-content; max-width: min(100% - 24px, 1180px); max-height: calc(100vh - 24px); padding: 12px; overflow: hidden; border: 0; border-radius: var(--r); background: var(--white); box-shadow: var(--sh-2); }
.prv-lightbox::backdrop { background: rgba(var(--shadow-rgb), 0.72); }
.prv-lightbox img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 48px); margin-inline: auto; border-radius: var(--r-sm); object-fit: contain; }
.prv-lightbox__close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--ink); cursor: pointer; box-shadow: var(--sh-2); }
.prv-lightbox__close:hover { background: var(--white); color: var(--primary); }
.prv-lightbox__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  .prv__photo img, .prv__pill, .prv__strip-more { transition: none; }
  .prv__photo:hover img { transform: none; }
}

/* Product gallery arrows and photo counter (owner 2026-12-02). Added by gallery-arrows.js, so pages without
   script keep the plain thumbnails. To remove: delete this file and assets-src/js/gallery-arrows.js. */
.gallery__main--arrows { position: relative; }
.gallery__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: var(--sh), inset 0 0 0 1px var(--line); cursor: pointer; }
.gallery__arrow:hover { box-shadow: var(--sh), inset 0 0 0 1.5px var(--primary); color: var(--primary); }
.gallery__arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--prev svg { transform: rotate(180deg); }
.gallery__arrow--next { right: 12px; }
.gallery__count { position: absolute; right: 14px; bottom: 12px; z-index: 2; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--muted); font-size: 0.82rem; font-weight: 560; box-shadow: inset 0 0 0 1px var(--line); }
/* Desktop: thumbnails wrap into whole squares, so no thumbnail is cut off at the edge (owner 2026-12-02).
   Below 1024px the thumbnail row still scrolls sideways. */
@media (min-width: 1024px) {
  .gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); overflow: visible; }
  .gallery__thumbs button { width: 100%; height: auto; aspect-ratio: 1; }
}

/* Guides hub (plan Task 9): /guides/ and /guides/<slug>/. Option A tokens only (white panels with --r and --sh, tint
   boxes, pine links, Instrument Sans). Reused as they are: .pagehead, .crumbs, .h1/.h2/.h3, .lede, .panel, .prose,
   .prose__lead, .ticks, .why__icon, .qa__item, .faq, .goodfor, .card, .grid, .sechead, .help. Everything below is new
   and scoped to guide markup, so no other page changes. */

/* ------------------------------------------------ article head */
.guide-head { margin-top: 18px; }
.guide-head .h1 { max-width: 22em; }
.guide-head .lede { margin-top: 14px; max-width: 42em; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.guide-meta__item { white-space: nowrap; }
.guide-meta__sep { color: var(--line); font-weight: 700; }

/* ------------------------------------------------ article + side column */
/* one column below 1024px; minmax(0, 1fr) keeps a wide table inside its own scroll frame instead of widening the page */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; margin-top: 28px; }
@media (min-width: 1024px) {
  .guide-layout { grid-template-columns: minmax(0, 820px) minmax(260px, 320px); justify-content: space-between; column-gap: 40px; }
}
.guide-article { padding: clamp(22px, 3.4vw, 44px); font-size: 1.0625rem; line-height: 1.65; }
/* about 70 characters a line: Instrument Sans averages a little over half an em per character */
.guide-article p, .guide-list, .guide-article .faq__a p { max-width: 38em; }
.takeaways a, .guide-list a, .cmp a, .sources a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }

/* key takeaways: a tint box at the top of the article */
.takeaways { padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-sm); background: var(--tint); }
.takeaways .ticks { margin-top: 12px; }
.takeaways .ticks li { max-width: 40em; font-size: 1rem; }
.takeaways .ticks .ico { color: var(--primary); }

/* sections: question H2, the answer capsule, running text */
.guide-sec { margin-top: clamp(38px, 4.6vw, 56px); }
.guide-sec .h2 { font-size: clamp(1.45rem, 1.15rem + 0.9vw, 1.95rem); }
.guide-sec .guide-answer { margin-top: 14px; max-width: 34em; }
.guide-sec > p + p, .guide-sec > .guide-list + p { margin-top: 14px; }
.guide-list { display: grid; gap: 8px; margin-top: 14px; padding-left: 1.3em; list-style: disc; }
ol.guide-list { list-style: decimal; }
.guide-list li { padding-left: 4px; }
.guide-list li::marker { color: var(--primary); font-weight: 650; }
.guide-sec .faq { margin-top: 18px; }

/* comparison table: the caption sits above the frame; the table scrolls inside the frame on narrow screens, never the page */
.cmp-fig { margin-top: 24px; }
.cmp-cap { margin-bottom: 10px; color: var(--ink); font-size: 0.98rem; font-weight: 620; line-height: 1.4; }
.cmp-wrap { overflow-x: auto; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.guide-sec > .cmp-fig + p { margin-top: 18px; }
.cmp { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.cmp th, .cmp td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--tint-2); color: var(--ink); font-size: 0.9rem; font-weight: 620; }
.cmp tbody th { color: var(--ink); font-weight: 600; }
.cmp td { color: var(--ink-2); }

/* numbered steps (the sizing page's step panels, as tint boxes inside the article) */
.guide-steps { display: grid; gap: 12px; margin-top: 20px; padding: 0; list-style: none; }
.guide-steps .qa__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.guide-steps .why__icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
/* the title lines up with the middle of the 40px badge (block text, so its words wrap normally) */
.guide-steps .h3 { padding-top: 8px; }
.guide-steps .qa__item p { grid-column: 2; margin-top: 4px; font-size: 1rem; }
@media (max-width: 559px) {
  .guide-steps .qa__item { grid-template-columns: minmax(0, 1fr); }
  .guide-steps .why__icon { grid-row: auto; margin-bottom: 10px; }
  .guide-steps .h3 { padding-top: 0; }
  .guide-steps .qa__item p { grid-column: auto; }
}

/* sources */
.sources { display: grid; gap: 8px; margin-top: 14px; padding-left: 1.4em; list-style: decimal; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.sources li::marker { color: var(--muted); }

/* side column (1024px and up): the contents list, pinned while the article scrolls; it scrolls itself on short screens */
.guide-side { display: none; }
@media (min-width: 1024px) {
  .guide-side { display: block; align-self: stretch; }
  .toc { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; }
}
.toc { padding: 18px 16px; }
.toc__head { margin: 0 0 6px 8px; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 8px; border-radius: 10px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { background: var(--tint); color: var(--ink); }
/* "Shop for this": the pill row at the foot of the article, as on the product page's Overview panel */
.guide-article > .goodfor { max-width: none; margin-top: clamp(30px, 3.6vw, 44px); }

/* guide cards (index and "More guides") */
.guide-cards { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .guide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guide-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.guide-card .why__icon { margin-bottom: 4px; }
.guide-card__title { font-size: 1.2rem; text-wrap: balance; }
.guide-card__title a { color: var(--ink); text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.guide-card__title a:focus-visible { outline: none; }
.guide-card:has(a:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.guide-card p { color: var(--ink-2); text-wrap: pretty; }
.guide-card__go { margin-top: auto; padding-top: 6px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .guide-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
}

/* "Frequently bought together" on product pages (owner 2026-12-02): build/templates/partials/fbt.mjs and
   assets-src/js/fbt.js. Option A tokens only: a white panel, pine for the button and the "This item" label, the
   card photo frame, the sort picker's pill select. Phones (below 640px): photos two to a row, the total centred, a
   full-width button, then the list (name, then picker and price). Tablets (640-1023px): one photo row, then the
   total and the button side by side. Desktops (1024px up): the total and the button beside the photo row. Each width
   range has its own block (the 640px-up block holds the list rules both larger ranges share), so a change for one
   range leaves the others alone. The note (.fbt__why) and the role lines (.fbt__role) are the same on every width.
   A set with more than 3 add-ons (.fbt__top--many) has its own blocks at the end, from 640px up only. */
.fbt { margin-top: clamp(48px, 6vw, 80px); }
.fbt__title { margin-bottom: 20px; }
/* the note under the heading (data/fbt-notes.json): why buyers pair these products. One readable measure on every width. */
.fbt__title + .fbt__why { margin-top: -8px; }
.fbt__why { max-width: 70ch; margin: 0 0 24px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
.fbt__img { display: block; flex: none; aspect-ratio: 1; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.fbt__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.fbt__plus { display: grid; place-items: center; color: var(--muted); }
.fbt__plus .ico { stroke-width: 2.2; }
.fbt__img[hidden], .fbt__plus[hidden] { display: none; }
.fbt__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink-2); font-weight: 560; }
.fbt__total b { color: var(--ink); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.fbt__total s { color: var(--muted); font-size: 1.02rem; }
.fbt__total s[hidden] { display: none; }
.fbt__add { margin-top: 14px; }
.fbt__add[hidden] { display: none; }
.fbt__add[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.fbt__add[disabled]:hover { background: var(--primary); }

.fbt__list { margin-top: 24px; border-top: 1px solid var(--line); }
.fbt__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fbt__item:last-child { border-bottom: 0; padding-bottom: 0; }
.fbt__cb { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.fbt__cb:disabled { cursor: default; }
.fbt__line { min-width: 0; transition: opacity 160ms var(--ease); }
.fbt__item.is-off .fbt__line { opacity: 0.5; }
.fbt__name { min-width: 0; color: var(--ink); font-weight: 560; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
a.fbt__name:hover { text-decoration: underline; text-underline-offset: 3px; }
/* a set item's name with its role line under it (the picker and price column are not part of this block) */
.fbt__main { min-width: 0; }
.fbt__main .fbt__name { display: block; }
.fbt__role { display: block; margin-top: 2px; color: var(--muted); font-size: 0.875rem; font-weight: 450; line-height: 1.4; overflow-wrap: anywhere; }
.fbt__name--this { font-weight: 650; cursor: pointer; }
.fbt__this { color: var(--primary); }
.fbt__pick { position: relative; display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
.fbt__pick select { appearance: none; -webkit-appearance: none; min-width: 0; max-width: 100%; min-height: 38px; padding: 6px 34px 6px 14px; border: 0; border-radius: 999px; background: var(--tint-2); color: var(--ink); font-size: 0.92rem; font-weight: 560; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-overflow: ellipsis; }
.fbt__pick select:hover:enabled { box-shadow: inset 0 0 0 1.5px var(--primary); }
.fbt__pick select:disabled { cursor: default; opacity: 1; }
.fbt__pick .ico { position: absolute; right: 12px; color: var(--ink); pointer-events: none; }
.fbt__price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); white-space: nowrap; }
.fbt__price b { font-size: 1.05rem; font-weight: 680; letter-spacing: -0.01em; }
.fbt__price s { color: var(--muted); font-size: 0.88rem; }
.fbt__price s[hidden], .fbt__na[hidden] { display: none; }
.fbt__na { color: var(--save); font-size: 0.85rem; font-weight: 600; }

/* phones */
@media (max-width: 639px) {
  .fbt__top { display: grid; gap: 20px; }
  .fbt__imgs { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px; align-items: center; row-gap: 12px; }
  .fbt__img { width: 100%; }
  .fbt__plus .ico { width: 18px; height: 18px; }
  .fbt__buy { display: grid; justify-items: center; text-align: center; }
  .fbt__total { justify-content: center; }
  .fbt__add { width: 100%; }
  .fbt__item { align-items: start; }
  .fbt__cb { margin-top: 2px; }
  .fbt__line { display: flex; flex-wrap: wrap; gap: 8px; }
  .fbt__name, .fbt__main { flex: 1 1 100%; }
  /* the picker gives way (its label ends in "…") so the price always stays beside it */
  .fbt__meta { display: flex; flex: 1 1 100%; align-items: center; gap: 12px; min-width: 0; }
  .fbt__pick { flex: 0 1 auto; }
  .fbt__pick select { width: 100%; }
  .fbt__price { flex: none; }
}

/* tablets and desktops: the list */
@media (min-width: 640px) {
  .fbt__top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
  .fbt__imgs { display: flex; flex: none; align-items: center; }
  .fbt__plus { width: 36px; }
  .fbt__plus .ico { width: 20px; height: 20px; }
  .fbt__item { align-items: center; }
  .fbt__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
  .fbt__name, .fbt__main { flex: 1 1 260px; }
  .fbt__meta { display: flex; flex: 0 1 auto; align-items: center; gap: 16px; min-width: 0; max-width: 100%; margin-left: auto; }
  .fbt__pick { flex: 0 1 auto; }
  .fbt__pick select { width: 100%; }
  .fbt__price { flex: none; justify-content: flex-end; }
}
/* tablets: the photo row on its own line, then the total and the button side by side (no jump when a line is ticked
   or unticked) */
@media (min-width: 640px) and (max-width: 1023px) {
  .fbt__img { width: clamp(96px, 15vw, 140px); }
  .fbt__buy { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .fbt__add { margin-top: 0; }
  /* a long variant label ends in "…" here, so the picker and price stay on the name's row */
  .fbt__pick { max-width: 15rem; }
}
/* desktops: the total and the button beside the photo row */
@media (min-width: 1024px) {
  .fbt__img { width: clamp(96px, 11vw, 150px); }
  .fbt__buy { flex: 1 1 220px; }
}

/* sets with more than 3 add-ons, 5 or 6 photos (owner 2026-12-04: SunGold Power has sets of 4 and 5 add-ons). The class
   fbt__top--many is set by build/templates/partials/fbt.mjs only on such a set, so every set of 3 add-ons or fewer (all
   of Rich Solar's) and every phone keep the rules above unchanged. From 640px up the photo row takes the whole width
   and wraps as a grid of "photo, +" pairs, so a row always starts with a photo and ends with a "+", as the phone grid
   does (a plain wrapping flex row could start a row with a "+"). The photo sizes are those of the blocks above. The
   total and the button sit side by side under the photos, as on tablets. A hidden (unticked) photo and its "+" leave
   the grid, and the pairs stay in step: fbt.js shows a "+" only between two shown photos. */
@media (min-width: 640px) {
  .fbt__top--many .fbt__imgs { display: grid; flex: 1 1 100%; min-width: 0; align-items: center; row-gap: 12px; }
  .fbt__top--many .fbt__buy { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .fbt__top--many .fbt__add { margin-top: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .fbt__top--many .fbt__imgs { grid-template-columns: repeat(auto-fill, clamp(96px, 15vw, 140px) 36px); }
}
@media (min-width: 1024px) {
  .fbt__top--many .fbt__imgs { grid-template-columns: repeat(auto-fill, clamp(96px, 11vw, 150px) 36px); }
}

@media (prefers-reduced-motion: reduce) {
  .fbt__line { transition: none; }
}

/* A scene photo in the empty right side of the box, beside the title and the note (owner, 2026-12-04).
   Below 1024px: not shown, so the phone and tablet boxes are what they were. */
.fbt__photo { display: none; margin: 0; }
@media (min-width: 1024px) {
  .fbt__box--photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr); column-gap: clamp(28px, 3.4vw, 52px); }
  .fbt__box--photo > * { grid-column: 1 / -1; }
  .fbt__box--photo > .fbt__title, .fbt__box--photo > .fbt__opt, .fbt__box--photo > .fbt__why { grid-column: 1; }
  .fbt__box--photo > .fbt__photo { display: block; position: relative; grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-height: 150px; margin-bottom: 24px; border-radius: 18px; overflow: hidden; }
  .fbt__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
}

/* Phone number in the top bar (owner 2026-12-02, "for now"). Set phone to null in build/site.config.mjs to remove. */
.notice { flex-wrap: wrap; row-gap: 2px; }
.notice__call { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.35); color: inherit; font-weight: 640; text-decoration: none; white-space: nowrap; }
.notice__call:hover { text-decoration: underline; }
@media (max-width: 479px) { .notice__call { margin-left: 0; padding-left: 0; border-left: 0; flex-basis: 100%; } }
/* The shipping promise in the top bar (owner pick, 2026-12-04). */
.notice__msg { display: inline-flex; align-items: center; gap: 7px; }
.notice__msg .ico { width: 17px; height: 17px; }
.notice__msg b { color: #fff; font-weight: 700; }
.notice__dot { opacity: 0.6; }
.notice__short { display: none; }
@media (max-width: 479px) { .notice__long { display: none; } .notice__short { display: inline; } }

/* Rich Solar product page extras (owner, 2026-12-02; build/templates/partials/product-extras.mjs): the store promises in
   the buy box, short notices, the Videos section, the full spec table with group headings, a kit's part specs, the
   side column (what's included, downloads with file sizes, warranty, notices), own-words sections, pure-fact tables
   and "Why choose Rich Solar". Option A's tokens only (white panels, --r, --sh, pine primary, amber highlight); the
   comparison tables reuse the guides' .cmp styles (30-guides.css). Only Rich Solar product pages carry these classes. */

/* ------------------------------------------------ store promises (buy box and "Why choose Rich Solar") */
.promise { container-type: inline-size; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.promise li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 12px 8px; color: var(--ink); font-size: 0.86rem; font-weight: 620; line-height: 1.25; text-align: center; }
.promise li + li { box-shadow: inset 1px 0 0 var(--line); }
.promise__icon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--white); color: var(--primary); box-shadow: inset 0 0 0 1px var(--line); }
.promise__icon .ico { width: 18px; height: 18px; }
@container (min-width: 500px) {
  .promise li { flex-direction: row; gap: 10px; padding: 12px 14px; text-align: left; }
}

.pdx-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--save-bg); color: var(--ink); font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.pdx-note .ico { color: var(--save); }

.pdx-why { margin-top: clamp(48px, 6vw, 80px); }
.pdx-why__box { display: grid; gap: 20px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r); background: var(--tint); }
.promise--band { container-type: normal; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 0; background: none; box-shadow: none; }
.promise--band li { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--white); font-size: 1.02rem; text-align: left; box-shadow: var(--sh); }
.promise--band li + li { box-shadow: var(--sh); }
.promise--band .promise__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--highlight); color: var(--primary); box-shadow: none; }
.promise--band .promise__icon .ico { width: 22px; height: 22px; }
@media (min-width: 640px) { .promise--band { grid-template-columns: repeat(3, minmax(0, 1fr)); } .promise--band li { flex-direction: column; align-items: flex-start; } }
@media (min-width: 1024px) { .pdx-why__box { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: center; gap: 32px; } .promise--band li { flex-direction: row; align-items: center; } }

/* ------------------------------------------------ videos */
.pdx-videos { margin-top: clamp(48px, 6vw, 80px); }
.vgrid { display: grid; gap: var(--gap); }
.vgrid--1 { max-width: 560px; }
@media (min-width: 640px) { .vgrid--2, .vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vgrid--2, .vgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vcard { display: grid; align-content: start; overflow: hidden; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease), opacity 200ms var(--ease); }
a.vcard__media:hover img { transform: scale(1.02); opacity: 0.92; }
.vcard__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(var(--shadow-rgb), 0.78); box-shadow: 0 10px 24px -10px rgba(var(--shadow-rgb), 0.8), inset 0 0 0 2px rgba(255, 255, 255, 0.85); transform: translate(-50%, -50%); transition: background-color 160ms var(--ease), transform 200ms var(--ease); }
.vcard__play::before { content: ""; margin-left: 5px; border-block: 12px solid transparent; border-left: 19px solid #fff; }
a.vcard__media:hover .vcard__play { background: var(--primary); transform: translate(-50%, -50%) scale(1.06); }
a.vcard__media:focus-visible { outline-offset: -4px; }
.vcard__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__media--file { display: grid; place-items: center; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); text-decoration: none; }
.vcard__file { position: absolute; left: 16px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: var(--on-primary); font-size: 0.8rem; font-weight: 600; }
.vcard__title { padding: 16px 20px 0; color: var(--ink); font-size: 1.02rem; font-weight: 620; line-height: 1.35; text-wrap: pretty; }
.vcard__meta { padding: 4px 20px 18px; color: var(--muted); font-size: 0.86rem; }

/* ------------------------------------------------ specifications: groups, the kit's parts, the side column */
.pdx-specs .spec td { overflow-wrap: anywhere; }
@media (max-width: 479px) { .pdx-specs .spec th { width: 48%; } }
.spec .spec__group th { width: auto; padding: 22px 0 8px; border-top: 0; color: var(--primary); font-size: 0.95rem; font-weight: 650; letter-spacing: 0.005em; }
.spec tbody:first-child .spec__group th { padding-top: 4px; }
.pdx-parts { margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line); }
.pdx-parts > .muted { margin-top: 4px; }
.pdx-part { margin-top: 12px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.pdx-part summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; color: var(--ink); font-weight: 620; line-height: 1.3; list-style: none; cursor: pointer; }
.pdx-part summary::-webkit-details-marker { display: none; }
.pdx-part summary .ico { color: var(--primary); transition: transform 200ms var(--ease); }
.pdx-part[open] summary .ico { transform: rotate(180deg); }
.pdx-part summary:hover .pdx-part__name { text-decoration: underline; text-underline-offset: 4px; }
.pdx-part__sub { display: block; margin-top: 2px; color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.pdx-part .spec { margin: 0; padding: 0 18px 10px; border-collapse: separate; border-spacing: 0; font-size: 0.93rem; }
.pdx-part .spec th, .pdx-part .spec td { padding: 10px 0; overflow-wrap: anywhere; }
.pdx-part .spec td[colspan] { color: var(--ink-2); font-weight: 500; }
.pdx-part .spec .spec__group th { padding: 16px 0 6px; }

.dl-block .panel { padding: 22px; }
.pdx-dl__group { margin-top: 16px; color: var(--muted); font-size: 0.85rem; font-weight: 620; letter-spacing: 0.01em; }
.pdx-dl__group + ul { margin-top: 8px; }
.pdx-dl b { overflow-wrap: anywhere; }
.pdx-dl a > span { min-width: 0; }
.pdx-inc .parts { margin-top: 10px; }
.pdx-inc__note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.pdx-warranty .ticks { margin-top: 12px; }
.pdx-notice { background: var(--save-bg); box-shadow: none; }
.pdx-notice ul { display: grid; gap: 8px; margin-top: 10px; padding-left: 18px; list-style: disc; color: var(--ink); font-size: 0.93rem; line-height: 1.45; }

/* ------------------------------------------------ own-words sections and pure-fact tables */
.pdx-sections { display: grid; gap: var(--gap); margin-top: var(--gap); }
.pdx-sec { display: grid; gap: clamp(18px, 2.4vw, 32px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.pdx-sec__text p { max-width: 46em; margin-top: 12px; text-wrap: pretty; }
.pdx-sec__text .ticks { margin-top: 14px; }
.pdx-sec__media { overflow: hidden; border-radius: var(--r-sm); background: var(--tint-2); }
.pdx-sec__media img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .pdx-sec--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .pdx-sec--flip .pdx-sec__media { order: 2; }
  .pdx-sec--img > .pdx-tiles, .pdx-sec--img > .cmp-fig { grid-column: 1 / -1; }
}
.pdx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .pdx-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } } /* 150px: six use tiles fit one row at desktop width, no lone tile on a second row (2026-12-04) */
.pdx-tile { display: grid; align-content: start; gap: 6px; padding: 14px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.pdx-tile__img { overflow: hidden; border-radius: 10px; }
.pdx-tile__title { color: var(--ink); font-weight: 620; line-height: 1.3; }
.pdx-tile p:not(.pdx-tile__title) { color: var(--ink-2); font-size: 0.92rem; }
.pdx-facts .panel { display: grid; gap: 8px; }
.pdx-facts__h:not(:first-child) { margin-top: 22px; }
.pdx-cmp { margin-top: 6px; }
.pdx-cmp .cmp { min-width: 0; }
.pdx-cmp--wide .cmp { min-width: 34rem; }

/* protocol code lists and numbered parts pictures (pure facts from the maker) */
.pdx-facts__note { color: var(--muted); font-size: 0.92rem; }
.pdx-codes { display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 640px) { .pdx-codes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pdx-codes__col { padding: 16px 18px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.pdx-codes__h { color: var(--ink); font-weight: 650; }
.pdx-codes ul { margin-top: 10px; color: var(--ink-2); font-size: 0.94rem; }
.pdx-codes li { padding-block: 2px; break-inside: avoid; }
@media (min-width: 1024px) { .pdx-codes ul { column-count: 2; column-gap: 20px; } }
.pdx-pfs { display: grid; gap: var(--gap); margin-top: 6px; }
@media (min-width: 640px) { .pdx-pfs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pdx-pfs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pdx-pf { display: grid; align-content: start; gap: 14px; padding: 16px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.pdx-pf__img { overflow: hidden; border-radius: 10px; background: var(--white); }
.pdx-pf__img img { width: 100%; height: auto; }
.pdx-pf__legend { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 0.93rem; line-height: 1.35; }
.pdx-pf__legend li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 10px; }
.pdx-pf__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--save); color: #fff; font-size: 0.75rem; font-weight: 700; }

/* "OffGridPowerDepot" is one long word (owner 2026-12-04): let it wrap on the narrowest phones instead of widening the page. */
.pdx-why .h2 { overflow-wrap: anywhere; }

/* "Why choose" band: the home page's seals in place of the square icons (owner, 2026-12-04); same size at every width */
.promise--band .whyseal { flex: none; width: 48px; height: 48px; margin-bottom: 0; filter: drop-shadow(0 3px 6px rgba(16, 37, 29, 0.22)); }
.promise--band .whyseal__art { width: 27px; height: 27px; }
/* a compact band (owner, 2026-12-04: "make those sections smaller"): less padding, smaller cards and heading */
.pdx-why__box { gap: 14px; padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.6vw, 28px); }
.pdx-why .h2 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); }
.promise--band { gap: 10px; }
.promise--band li { gap: 12px; padding: 10px 14px; font-size: 0.95rem; }
@media (min-width: 640px) and (max-width: 1023px) { .promise--band li { flex-direction: row; align-items: center; } }

/* Spec chips in the buy box: a long value such as "Monocrystalline" ran outside its chip in the fixed 4-column
   grid (owner 2026-12-02). Chips now size to their text and share the row; they wrap to a new row when the
   row is full, so a value never leaves its chip. */
.keychips { display: flex; flex-wrap: wrap; }
.keychips li { flex: 1 1 auto; min-width: min-content; }
.keychips b, .keychips span { white-space: nowrap; }
/* Option tiles (quantity packs such as "8 panels", "2 Batteries"): the 104px tiles were too narrow, so the
   label wrapped and ran past the tile edge on 9 products. Tiles are wider and the label stays on one line. */
.options--grid { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.options--grid .opt__name { white-space: nowrap; }
/* Feature sections: a wide table inside a section widened the whole grid on phones (DC-DC charger pages
   scrolled sideways at 390px). The grid column may now shrink, so the table scrolls inside its own frame. */
.pdx-sections, .pdx-sec { grid-template-columns: minmax(0, 1fr); }
/* The rule above also switched off the side-by-side picture sections on wide screens (found 2026-12-04: pictures
   showed full width, about twice the size of the maker's). From 900px a picture section is two columns again:
   picture beside text, alternating sides, as 33-product-extras.css intends. Below 900px nothing changes. */
@media (min-width: 900px) { .pdx-sec--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* The "Compare the models" table sits in a grid panel; a grid item will not shrink below its content unless told
   to, so the table widened the page on phones. Now the figure may shrink and the table scrolls in its frame. */
.pdx-cmp, .cmp-fig { min-width: 0; max-width: 100%; }
.pdx-cmp .cmp-wrap, .cmp-fig .cmp-wrap { overflow-x: auto; }
/* "Technical details" block under the shopper-friendly overview (owner 2026-12-02). */
.pdp-tech { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pdp-tech .h3 { margin-bottom: 8px; }
.pdp-tech p { color: var(--muted); font-size: 0.95rem; }
/* The "Quantity" label takes the full row, so the first option does not sit beside it. */
.options--grid legend { grid-column: 1 / -1; }
/* Maker's product name on cards, e.g. "MEGA 250 PRO" (owner 2026-12-02). */
.card__series { margin-bottom: 2px; color: var(--primary); font-size: 0.78rem; font-weight: 680; letter-spacing: 0.06em; text-transform: uppercase; }

/* Store policy pages (build/templates/policy.mjs): /policies/ and /policies/<id>/. They reuse the guide layout
   (30-guides.css) and the product spec table; every rule below is scoped to .p-policy, so no other page changes. */

/* the first section sits at the top of the article panel (guide sections otherwise open with a large top margin) */
.p-policy .guide-article > .guide-sec:first-child { margin-top: 0; }

/* two-column key/value tables use the spec table; the caption above it already gives the gap */
.p-policy .cmp-fig .spec { margin-top: 0; }
.p-policy .spec thead th { padding-top: 0; border-top: 0; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.p-policy .spec td .spec__list { margin: 0; padding: 0; list-style: none; }

/* "terms by brand": one framed block per brand inside the article; its parts sit under small headings */
.p-policy .policy-brand { margin-top: 24px; padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.p-policy .policy-brand__name { margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.p-policy .policy-brand > p { margin-top: 10px; }
.p-policy .policy-brand__h { margin: 28px 0 0; color: var(--ink); font-size: 1.06rem; font-weight: 640; letter-spacing: -0.01em; line-height: 1.3; }
.p-policy .policy-brand__h + p, .p-policy .policy-brand__h + .guide-list { margin-top: 10px; }
.p-policy .policy-brand > p + p, .p-policy .policy-brand > .guide-list + p { margin-top: 12px; }
.p-policy .policy-brand .guide-list { margin-top: 12px; }
/* a brand block's entry in the contents list sits indented under its section */
.p-policy .toc .toc__sub a { padding-left: 20px; }

/* links in check-mark lists, table cells and the contact box look like the links in running text */
.p-policy .ticks a, .p-policy .spec a, .p-policy .ask a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }

/* Checkout (plan offgrid-solar-store-stripe-checkout, task T5). Reuses option A's tokens, .panel, .btn, .ticks, .goodfor,
   .why__icon and the cart's .summary and .cartrow rules (20-store.css). New here: the cart rows that cannot be ordered, the
   cart notes, the disabled Checkout link, /checkout/ (.co*) and /order/confirmed/. Nothing below changes a page while
   checkout is off: every class is only written by a store that takes orders (build/templates/pages.mjs). No inline style. */

.co-sr, .co-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ------------------------------------------------ cart: lines that cannot be ordered, notes, the Checkout link */
.cartrow--off .cartrow__img { opacity: 0.55; filter: grayscale(1); }
.cartrow--off .cartrow__name { color: var(--muted); }
.cartrow__why { justify-self: start; margin-top: 4px; padding: 3px 11px; border-radius: 10px; background: var(--save-bg); color: var(--save); font-size: 0.86rem; font-weight: 640; line-height: 1.4; }
.cart-note { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--tint-2); color: var(--ink); font-size: 0.92rem; box-shadow: inset 0 0 0 1px var(--line); }
.cart-note[hidden] { display: none; }
.cart-note a, .co-help a, .co-state p a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.summary__go { text-decoration: none; }
.summary__go[aria-disabled="true"] { background: var(--tint); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.summary__go[aria-disabled="true"]:hover { background: var(--tint); }
.summary__go[aria-disabled="true"]:hover .ico { transform: none; }
.summary__why { margin-top: 12px; color: var(--ink); font-size: 0.92rem; font-weight: 560; }
.summary__why[hidden] { display: none; }

/* ------------------------------------------------ /checkout/ and /order/confirmed/ */
.p-checkout .pagehead .lede { max-width: 44em; }
.co { display: grid; gap: var(--gap); margin-top: 28px; }
.co > * { min-width: 0; }
.co-loading { color: var(--ink-2); font-weight: 560; }
.co-loading[hidden], .co-state[hidden], .co-grid[hidden], .co-status[hidden], .co-test[hidden], .co-state [data-later][hidden], .co-state [hidden] { display: none; }
.co-ref b { white-space: nowrap; }
.co-state { display: grid; justify-items: start; gap: 12px; }
.co-state > .actions { margin-top: 10px; }
.co-state h2:focus { outline: none; }
.co-state [data-later] { display: grid; gap: 12px; }
.co-off { display: grid; gap: 8px; width: 100%; }
.co-off li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 10px 14px; border-radius: 12px; background: var(--tint-2); color: var(--ink); font-weight: 560; box-shadow: inset 0 0 0 1px var(--line); }
.co-off li span { color: var(--save); font-weight: 640; }

/* the order summary and the payment form: summary, payment, then the trust facts on a phone; payment left and the
   summary with the facts right (sticky) from 1024 px */
.co-grid { display: grid; gap: var(--gap); align-items: start; grid-template-areas: "sum" "pay" "trust"; }
.co-grid > * { min-width: 0; }
.co-side { display: contents; }
.co-sum { grid-area: sum; }
.co-pay { grid-area: pay; }
.co-trust { grid-area: trust; }
@media (min-width: 1024px) {
  .co-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "pay side"; }
  .co-side { display: grid; grid-area: side; gap: var(--gap); position: sticky; top: 96px; }
  .co-sum, .co-trust { grid-area: auto; }
}
.co-lines { display: grid; gap: 14px; margin-top: 16px; }
.co-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: start; gap: 2px 12px; }
.co-line__img { display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.co-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.co-line__text { display: grid; min-width: 0; }
.co-line__name { color: var(--ink); font-weight: 620; line-height: 1.3; overflow-wrap: anywhere; }
.co-line__meta { color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.co-line__total { color: var(--ink); font-weight: 680; letter-spacing: -0.01em; }
.co-sum .summary__rows { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.co-edit { margin-top: 14px; font-size: 0.92rem; }
.co-trust .ticks { margin-top: 14px; }
.co-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.co-trust .goodfor { margin-top: 16px; }
.co-help { margin-top: 16px; color: var(--ink-2); font-size: 0.95rem; }
.co-pay .h3 { display: flex; align-items: center; gap: 8px; }
.co-pay .h3 .ico { color: var(--primary); }
.co-status { margin-top: 14px; color: var(--ink-2); font-weight: 560; }
.co-mount { margin-top: 14px; min-height: 120px; }
.co-pay.is-loading .co-mount { min-height: 300px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--tint-2) 0%, var(--tint) 50%, var(--tint-2) 100%); background-size: 200% 100%; animation: co-shimmer 1.4s linear infinite; }
@keyframes co-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .co-pay.is-loading .co-mount { animation: none; } }
.co-test { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--save-bg); color: var(--ink); font-size: 0.92rem; font-weight: 560; }

/* /order/confirmed/ */
.co-done .why__icon { margin-bottom: 0; }
.co-next { margin-top: 6px; }
.co-steps { display: grid; gap: 10px; margin: 0; padding: 0; counter-reset: co-step; list-style: none; }
.co-steps li { display: flex; align-items: flex-start; gap: 12px; counter-increment: co-step; color: var(--ink); line-height: 1.45; }
.co-steps li::before { content: counter(co-step); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--primary); font-size: 0.9rem; font-weight: 680; }

/* "Frequently bought together" in a store that takes orders: why the set cannot be added (partials/fbt.mjs, assets-src/js/fbt.js) */
.fbt__reason { margin-top: 10px; color: var(--save); font-size: 0.95rem; font-weight: 640; }
.fbt__reason[hidden] { display: none; }
/* the reason is longer than "Not available" was: let the picker and price row wrap on a narrow line instead of crushing the picker */
body[data-checkout-mode] .fbt__item.is-off .fbt__meta { flex-wrap: wrap; row-gap: 6px; }
body[data-checkout-mode] .fbt__na { white-space: normal; }

/* Collection page banner, look B (owner pick 2026-12-04): from 1024px the heading sits on a white card on the left and
   the photo on the right; below 1024px the photo follows the intro. Scoped to .cathead (category pages only).
   Each side of 640px has its own rule; neither changes the other. */
.cathead__photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(16, 37, 29, 0.10); }
.cathead__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cathead__photo img.ph-cat-panels { object-position: 45% 60%; }
.cathead__photo img.ph-cat-inverters { object-position: 14% 50%; }
.cathead__photo img.ph-cat-batteries { object-position: 40% 60%; }
.cathead__photo img.ph-cat-kits { object-position: 35% 60%; }
.cathead__photo img.ph-cat-controllers { object-position: 15% 45%; }
.cathead__photo img.ph-cat-accessories { object-position: 50% 60%; }
@media (min-width: 1024px) {
  .cathead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; margin-top: 8px; }
  .cathead .pagehead__row { background: #fff; border-radius: 24px; padding: 34px 36px; box-shadow: 0 10px 30px rgba(16, 37, 29, 0.06); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
  .cathead__photo { min-height: 300px; }
  /* Complete Kits (owner 2026-12-03): the desktop box is taller than the photo, so keep the left edge, where the four panels stand */
  .cathead__photo img.ph-cat-kits { object-position: 0% 60%; }
}
@media (min-width: 640px) and (max-width: 1023px) { .cathead__photo { aspect-ratio: 16 / 7; margin-top: 16px; } }
@media (max-width: 639px) { .cathead__photo { aspect-ratio: 16 / 9; margin-top: 16px; border-radius: 18px; } }

/* Header bar as a rounded rectangle (owner pick 2026-12-04, option 2): the bar and everything in it take the logo
   badge's corner. The badge is 48 tall with corner 13, shown 40px tall, so its corner shows at about 11px; the bar is
   11 + its 7px padding = 18px, so the two curves run parallel. Same values at every width. Before: 999px / 50%. */
.pill { border-radius: 18px; }
.brand, .nav__links a, .menu-btn, .cart { border-radius: 11px; }

/* Star line on collection page product cards (owner 2026-12-04), for products the product page also gives a star
   line. Five stars cut from one bar by a mask; the bar is amber up to the rating and grey after it. Same amber as the
   product page (#c27a12). Same at every width. */
.card__rating { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1; }
.card__rating b { color: var(--ink); font-weight: 650; }
.cstars { flex: none; width: 80px; height: 16px; background: linear-gradient(90deg, #c27a12 var(--p, 100%), #d5dcd8 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.52 2.3a.53.53 0 0 1 .95 0l2.31 4.68a2.12 2.12 0 0 0 1.6 1.16l5.16.76a.53.53 0 0 1 .3.9l-3.74 3.64a2.12 2.12 0 0 0-.61 1.88l.88 5.14a.53.53 0 0 1-.77.56l-4.62-2.43a2.12 2.12 0 0 0-1.97 0L6.4 21.01a.53.53 0 0 1-.77-.56l.88-5.14a2.12 2.12 0 0 0-.61-1.88L2.16 9.8a.53.53 0 0 1 .3-.9l5.16-.76a2.12 2.12 0 0 0 1.6-1.16z'/%3E%3C/svg%3E") 0 0 / 16px 16px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.52 2.3a.53.53 0 0 1 .95 0l2.31 4.68a2.12 2.12 0 0 0 1.6 1.16l5.16.76a.53.53 0 0 1 .3.9l-3.74 3.64a2.12 2.12 0 0 0-.61 1.88l.88 5.14a.53.53 0 0 1-.77.56l-4.62-2.43a2.12 2.12 0 0 0-1.97 0L6.4 21.01a.53.53 0 0 1-.77-.56l.88-5.14a2.12 2.12 0 0 0-.61-1.88L2.16 9.8a.53.53 0 0 1 .3-.9l5.16-.76a2.12 2.12 0 0 0 1.6-1.16z'/%3E%3C/svg%3E") 0 0 / 16px 16px repeat-x; }
.cstars--40 { --p: 80%; }
.cstars--45 { --p: 90%; }
.cstars--50 { --p: 100%; }

/* Specifications under Highlights (owner 2026-12-04). The box sits in the Overview row's side column, so it is narrower:
   smaller padding and type, and a wide parts table scrolls inside the box instead of widening the page. The downloads,
   policy and help panels below it become one row of equal columns from 900px. Phones: unchanged order, one column. */
.side { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.pdx-specs--side { padding: 22px; min-width: 0; overflow-x: auto; }
.pdx-specs--side .h3 { margin-bottom: 10px; }
.pdx-specs--side table { font-size: 0.92rem; }
@media (min-width: 900px) {
  .pdp-more--side { grid-template-columns: minmax(0, 1fr); }
  .pdp-more--side .dl-block { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}
/* Downloads inside the Specifications box (owner 2026-12-04): no second card inside the card, a rule line above. */
.pdx-specs--side .downloads { margin-top: 20px; padding: 18px 0 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }

/* Product pages: the information reads on the page itself, without a box around every block (owner pick 2026-12-04,
   the "tab 1" look). Boxed still: gallery, buy box, frequently bought together, and the bottom blocks (questions,
   Why choose, related products, reviews, the sizing guide note). Opened: Overview, Highlights, Specifications with
   Downloads, and the picture sections, with a thin line between sections. Same at every width. */
.pdp-info .panel, .pdp-info .specs-block { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.pdp-info .side > * + * { padding-top: 26px; border-top: 1px solid var(--line); }
.pdp-info .side > .ask { padding: 18px 20px; border-top: 0; }
.pdx-sections { gap: 0; }
.pdx-sec { padding: clamp(28px, 4vw, 44px) 0; border-radius: 0; border-top: 1px solid var(--line); background: none; box-shadow: none; }
.pdx-sec__media { background: #fff; }
/* The setting photo sits above the Overview heading (owner 2026-12-04), as a short wide band so it does not push the
   text far down: 5:2 from 640px, 2:1 on phones. */
.pdp-ovphoto { margin: 0 0 22px; overflow: hidden; border-radius: var(--r-sm); background: var(--tint); }
.pdp-ovphoto img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 640px) { .pdp-ovphoto img { aspect-ratio: 5 / 2; } }
.pdp-info .side > .downloads { padding: 26px 0 0; border-radius: 0; background: none; box-shadow: none; } /* "In the box" on SunGold pages */
/* Desktop (from 1024px): no photo above Overview; the Overview wording is larger instead, so the left column carries
   the space beside Highlights and Specifications (owner 2026-12-04). Phones and tablets keep the photo and today's
   text sizes; nothing below 1024px changes. */
@media (min-width: 768px) { .pdp-ovphoto { display: none; } } /* tablet follows desktop (owner 2026-12-04) */
@media (min-width: 1024px) {
  .pdp-info .prose .h2 { font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); }
  .pdp-info .prose .prose__lead { font-size: 1.42rem; line-height: 1.45; }
  .pdp-info .prose p { max-width: none; font-size: 1.14rem; line-height: 1.7; }
  .pdp-info .prose p + p { margin-top: 18px; }
  .pdp-info .pdp-tech { margin-top: 30px; padding-top: 26px; }
  .pdp-info .pdp-tech .h3 { font-size: 1.3rem; margin-bottom: 12px; }
  .pdp-info .prose .pdp-tech p { font-size: 1.14rem; line-height: 1.7; } /* same size as the Overview paragraphs (owner 2026-12-04) */
}
/* Column balance (owner 2026-12-04). Each side panel is a .pdp-blk. Panels listed for a product in
   data/pdp-balance.json are placed in the HTML after the Overview text. From 1024px they sit in the left column under
   it; the side column spans those rows, so neither column stretches the other. Below 1024px every block is put back
   in the approved phone order by `order`, wherever it sits in the HTML. */
.pdp-blk > .ask { padding: 18px 20px; }
.pdp-info .side > .pdp-blk + .pdp-blk, .pdp-info .side > * + .pdp-blk, .pdp-info > .pdp-blk { padding-top: 26px; border-top: 1px solid var(--line); }
.pdp-info .side > .pdp-blk--ask, .pdp-info > .pdp-blk--ask { padding-top: 0; border-top: 0; }
.pdp-blk .downloads { padding: 0; border-radius: 0; background: none; box-shadow: none; }
@media (max-width: 767px) {
  .pdp-info { display: flex; flex-direction: column; }
  .pdp-info > .side { display: contents; }
  .pdp-info > .panel.prose { order: 1; }
  .pdp-info .side > * { order: 2; }
  .pdp-info .side > .pdx-specs--side { order: 3; }
  .pdp-info .pdp-blk--inc { order: 4; }
  .pdp-info .pdp-blk--warranty { order: 5; }
  .pdp-info .pdp-blk--policy { order: 6; }
  .pdp-info .pdp-blk--notice { order: 7; }
  .pdp-info .pdp-blk--ask { order: 8; }
}
@media (min-width: 768px) {
  .pdp-info > .panel.prose, .pdp-info > .pdp-blk { grid-column: 1; }
  .pdp-info > .side { grid-column: 2; grid-row: 1 / span 8; }
  .pdp-info { grid-template-rows: repeat(7, auto) 1fr; }
}
.pdp-info > .panel.prose + .pdp-blk { border-top: 0; padding-top: 0; } /* the Overview block already ends with a line */

/* Tablet follows desktop (owner 2026-12-04: "phone view will be different but the desktop and tablet views should be
   similar"). From 768px the day's desktop layouts apply: product information in two columns, picture sections side by
   side, and the collection heading card beside its photo. Phones (below 768px) are unchanged. */
@media (min-width: 768px) and (max-width: 1023px) {
  .pdp-info { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .pdp-info .prose p { max-width: none; }
  .pdx-sec--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .pdx-sec--flip .pdx-sec__media { order: 2; }
  .pdx-sec--img > .pdx-tiles, .pdx-sec--img > .cmp-fig { grid-column: 1 / -1; }
  .pdx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cathead { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 20px; align-items: stretch; margin-top: 8px; }
  .cathead .pagehead__row { background: #fff; border-radius: 24px; padding: 22px 22px; box-shadow: 0 10px 30px rgba(16, 37, 29, 0.06); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; margin-top: 0; }
  .cathead__photo { aspect-ratio: auto; margin-top: 0; min-height: 260px; }
  /* a shorter heading card keeps the photo close to its own shape, so the panels in it are not cut off */
  .cathead .h1 { font-size: clamp(1.45rem, 1rem + 1.6vw, 1.85rem); line-height: 1.12; }
  .cathead .lede { font-size: 0.95rem; margin-top: 8px; }
}
/* Desktop menu words were small (owner 2026-12-04): larger from 1200px, where the full menu shows. */
@media (min-width: 1200px) {
  .nav__links a { font-size: 1.04rem; padding: 9px 11px; }
}
@media (min-width: 1360px) {
  .nav__links a { font-size: 1.08rem; padding: 10px 13px; }
}

/* Cart and checkout "character" (owner pick 2026-12-03: option B with option A's summary box). The heading card beside a photo
   reuses .cathead (37-cathead.css); this file adds the "Step n of 2" label, the trust badges, the title tiles, the ways-to-pay
   chips, the cart row's "what it is for" sentence, and the two-column tablet layout (tablet follows desktop, owner rule).
   Every rule is scoped to a class that only /cart/ and /checkout/ write, so /order/confirmed/ (also .p-checkout), the product
   buy box (.qty) and the shared .summary__rows / .cart-note are untouched. Phone rules sit below 768px and are the same on both
   sides of 640px. No inline style. */

/* ------------------------------------------------ the heading card beside a photo */
.cc-head { margin-top: 8px; }
.cc-step { margin-bottom: 10px; color: var(--primary); font-size: 0.82rem; font-weight: 680; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 1024px) {
  .cc-head .cathead__photo { min-height: 260px; max-height: 300px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .cc-head .pagehead__row { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; margin-top: 0; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(16, 37, 29, 0.06); }
  .cc-head .cathead__photo { aspect-ratio: auto; margin-top: 0; min-height: 200px; max-height: 240px; }
}
/* /checkout/ swaps its photo on phones (a <picture>): keep the frame filled */
.cc-head .cathead__photo picture { display: block; height: 100%; }

/* ------------------------------------------------ trust badges */
.tb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tb li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 0.93rem; font-weight: 660; line-height: 1.2; letter-spacing: -0.01em; }
.tb__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--highlight); color: var(--primary); }
.tb__ic .ico { width: 19px; height: 19px; }
.tb--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .tb { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 379px) { .tb li { gap: 8px; padding: 10px 8px; font-size: 0.86rem; } .tb__ic { width: 32px; height: 32px; } }

/* a box title with its amber tile */
.cc-ttl { display: flex; align-items: center; gap: 12px; }
.cc-ttl .tb__ic { width: 40px; height: 40px; border-radius: 12px; }

/* the ways to pay, as name chips */
.paymarks { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.paymarks li { padding: 4px 9px; border-radius: 7px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; }

/* ------------------------------------------------ /cart/ */
.cartrow__for { margin-top: 1px; color: var(--ink-2); font-size: 0.93rem; line-height: 1.4; }
.summary .tb { margin-top: 18px; }
.summary .tb li { background: var(--tint-2); }
/* the summary's points (owner, 2026-12-03: "stylish bullet points"): an amber disc with a check before each line */
/* the points sit under the Checkout button at every width (owner, 2026-12-03); phones also keep the badges and the one-line note below them */
@media (min-width: 768px) { .summary .summary__note { display: none; } }
.cc-points { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.cc-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 0.95rem; font-weight: 560; line-height: 1.35; }
.cc-points .ico { flex: none; width: 22px; height: 22px; margin-top: -1px; padding: 5px; border-radius: 50%; background: var(--highlight); color: var(--primary); stroke-width: 2.6; }
.cc-pol { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
/* phones: no Policies row on /cart/ or /checkout/ (owner, 2026-12-03: "get rid of the policy little section ... not to be
   confused with the footer", "mobile"). The footer keeps its policy links; from 768px the rows stay. The help line under each
   takes the row's rule and space, so the box does not lose its divider. */
@media (max-width: 767px) {
  .cc-pol, .co-trust .goodfor { display: none; }
  .summary .cc-help, .co-trust .co-help { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
}
.cc-help { margin-top: 12px; color: var(--ink-2); font-size: 0.93rem; }
.cc-help a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
/* the full-width badge row: under the empty-cart box at every width; with items in the cart it sits above the cart from 768px
   (owner, 2026-12-03: "a section above the product cart" on desktop; tablet follows desktop) and the summary box drops its own
   badges there. On phones a filled cart keeps the badges in the summary box, under the Checkout button. */
.tb--empty { margin-top: var(--gap); }
.cart-empty[hidden] + .tb--empty { margin-top: 0; margin-bottom: var(--gap); }
@media (max-width: 767px) { .cart-empty[hidden] + .tb--empty { display: none; } }
@media (min-width: 768px) { .summary .tb { display: none; } }
.p-cart .why { margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 768px) and (max-width: 1023px) { .cart-full { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* ------------------------------------------------ /checkout/: the badge row above the payment box */
/* phones: your order, the payment box, then the badges (owner, 2026-12-03) */
.co-grid { grid-template-areas: "sum" "pay" "tb" "pts" "trust"; }
.co-points { grid-area: pts; }
.co-points .cc-points { margin-top: 0; }
.co-tb { grid-area: tb; }
@media (min-width: 768px) and (max-width: 1023px) {
  .co-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "pay side"; }
  .co-side { display: grid; grid-area: side; gap: var(--gap); }
  .co-sum, .co-trust, .co-points { grid-area: auto; }
}
@media (min-width: 1024px) { .co-grid { grid-template-areas: "pay side"; } .co-points { grid-area: auto; } }
/* from 768px the trust block sits in the side column, under "Your order", with the four brand points inside the same white
   box (owner, 2026-12-03). On phones the wrapper is not a box: the block and the points keep their own places in the page. */
.co-conf { display: contents; }
@media (min-width: 768px) {
  .co-conf { display: block; padding: 14px 14px 20px; border-radius: 24px; background: var(--white); box-shadow: 0 10px 30px rgba(16, 37, 29, 0.06); }
  .co-tb { grid-area: auto; margin-top: 0; }
  .co-tb .seal { width: 62px; height: 62px; }
  .co-tb .trust__banner .seal { width: 60px; height: 60px; }
  .co-tb .trust__banner b { font-size: 1.15rem; }
  .co-tb .trust__seals b { font-size: 0.66rem; letter-spacing: 0.05em; }
  .co-conf .co-points { margin-top: 20px; padding: 18px 8px 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
}

/* ------------------------------------------------ /checkout/: the "Buy With Confidence" banner across the top */
/* Owner, 2026-12-04: from 768px the banner sits above the payment box and "Your order", across both columns; the four
   seals and the brand points stay in the side column. Below 768px nothing changes: this copy is not shown there, and the
   banner inside the block is. */
.co-grid > .co-top { display: none; }
@media (min-width: 768px) {
  .co-grid { grid-template-areas: "top top" "pay side"; }
  .co-grid > .co-top { display: flex; grid-area: top; }
  .co-tb .trust__banner { display: none; }
  .co-tb .trust__seals { margin-top: 0; }
}

/* The home photo (owner pick 2026-12-03, HERO_PHOTO cls ph-hero2). The first home photo's crops (.ph-hero, 20-store.css and
   26-home.css) are untouched for "go back".

   Under 1024px the frame is 4:3 (640-1023) or the phone's tall frame (under 640): the cabin and the truck stand right of centre,
   so the phone keeps the right side of the photo. */
.hero__photo > img.ph-hero2 { object-position: 88% 50%; }

/* From 1024px the whole photo shows (owner, 2026-12-03: "so the homepage picture isnt cutoff"; picked: keep the page width, a
   wider and shorter photo, a narrower text card). The photo is 4:3 with the ground panels from 8% of its width and the truck to
   95%, so the frame must stay at least 1.2 times wider than tall. The frame's floor is the 4:3 height of its own column
   (41.6vw up to the 1320px page width, where it is 584px); the card's padding and heading are sized so the card is no taller.
   1024-1279: the card is too narrow for the four quick links without growing past the frame, so they are left out there (the
   "Shop by use" section is the next thing on the page) and the product card is a little smaller and lower, clear of the panels.
   Home page only: the shop-by-use page headers (.hero--use) are not changed. */
@media (min-width: 1024px) {
  .p-home .hero:not(.hero--use) { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .p-home .hero:not(.hero--use) .hero__text { padding: clamp(28px, 3.2vw, 46px); }
  .p-home .hero:not(.hero--use) .display { font-size: clamp(2.5rem, 4vw, 3.6rem); }
  .p-home .hero:not(.hero--use) .lede { text-wrap: balance; }
  .p-home .hero:not(.hero--use) .actions { margin-top: 24px; }
  .p-home .hero:not(.hero--use) .hero__uses { margin-top: 22px; padding-top: 20px; }
  .p-home .hero:not(.hero--use) .hero__photo { min-height: min(41.6vw, 584px); }
  .p-home .hero:not(.hero--use) .hero__photo > img.ph-hero2 { object-position: 65% 100%; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .p-home .hero:not(.hero--use) .hero__uses { display: none; }
  .p-home .hero:not(.hero--use) .lede { font-size: 1rem; }
  .p-home .hero:not(.hero--use) .callout { left: 12px; bottom: 12px; padding: 6px 10px 6px 6px; }
  .p-home .hero:not(.hero--use) .callout img { width: 46px; height: 46px; }
}

/* Trust blocks (owner pick, 2026-12-03): an amber banner with one dark seal and a headline, then four round seals with a caps
   label under each and no box around them. Built by build/templates/partials/trust.mjs for the product buy box, the cart and
   the checkout. The seal colours are the store's amber and green. No inline style. */
.trust { margin-top: 18px; }
.trust__banner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #f9c95a, #f1a938); box-shadow: 0 14px 30px -18px rgba(180, 110, 10, 0.7); }
.trust__banner .seal { flex: none; width: 72px; height: 72px; }
.trust__banner b { display: block; color: #10251d; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.trust__banner p { margin-top: 5px; color: #3a2c08; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.trust__seals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.trust__seals li { display: grid; justify-items: center; align-content: start; gap: 10px; min-width: 0; text-align: center; }
.trust__seals b { color: var(--ink); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em; line-height: 1.25; text-transform: uppercase; }
.seal { display: block; width: 78px; height: 78px; filter: drop-shadow(0 6px 10px rgba(16, 37, 29, 0.18)); }
.seal__rim { fill: var(--highlight); }
.seal__disc { fill: var(--primary); }
.seal__ring { stroke: var(--highlight); stroke-width: 1.6; stroke-dasharray: 2.4 3; }
.seal__g { color: #fff; }
.seal--dark .seal__rim { fill: var(--primary); }
.seal--dark .seal__disc { fill: #143c2e; }
.seal--dark .seal__g { color: var(--highlight); }
@media (max-width: 639px) {
  .trust__banner { gap: 12px; padding: 14px; }
  .trust__banner .seal { width: 60px; height: 60px; }
  .trust__banner b { font-size: 1.12rem; }
  .trust__banner p { font-size: 0.9rem; }
  .trust__seals { gap: 2px; margin-top: 18px; }
  .trust__seals b { font-size: 0.62rem; letter-spacing: 0.05em; }
  .seal { width: 60px; height: 60px; }
}

/* the full-width row above the cart and the checkout, from 768px: the banner on the left, the seals beside it */
@media (min-width: 768px) {
  .trust--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(16px, 2.4vw, 36px); margin-top: 0; padding: 14px; border-radius: 24px; background: var(--white); box-shadow: 0 10px 30px rgba(16, 37, 29, 0.06); }
  .trust--wide .trust__seals { margin-top: 0; padding-right: 8px; }
  .trust--wide .seal { width: 66px; height: 66px; }
}

/* product buy box: "pay over time" beside the price */
.paylater { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 7px 12px; border-radius: 999px; background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 0.86rem; line-height: 1.2; }
.paylater strong { font-weight: 700; }
.paylater .ico { width: 17px; height: 17px; color: var(--primary); }
@media (max-width: 639px) { .paylater { margin-left: 0; } }

/* cart: the block sits above the cart from 768px and in the summary box under the Checkout button on phones */
.summary .trust { margin-top: 18px; }
@media (min-width: 768px) { .summary .trust { display: none; } }
.trust.tb--empty { margin-top: var(--gap); }
.cart-empty[hidden] + .trust.tb--empty { margin-top: 0; margin-bottom: var(--gap); }

/* "Why buy here": a seal with a detailed drawing in place of the plain icon tile (owner pick, 2026-12-03) */
.whyseal { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 8px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); }
.whyseal__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.whyseal__disc { fill: #0f2f24; }
.whyseal__art { position: relative; width: 52px; height: 52px; }
.whyseal__art .a, .whyseal__art .b, .whyseal__art .c { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.whyseal__art .a, .whyseal__art .b { stroke: #fff; }
.whyseal__art .b.k { fill: #0f2f24; }
.whyseal__art .c { stroke: var(--highlight); }
.whyseal__art .c.f { fill: var(--highlight); stroke-width: 1.6; }
.whyseal__art .a.d { stroke: #0f2f24; }
/* the three boxes are compact (owner, 2026-12-03: "make that sections icons squares smaller"): a smaller seal on the left,
   the title and text beside it, so each box is about half as tall */
.why__list li:has(.whyseal) { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 4px; padding: 16px 18px; }
.why__list li:has(.whyseal) .whyseal { grid-row: 1 / span 2; width: 72px; height: 72px; margin-bottom: 0; }
.why__list li:has(.whyseal) .whyseal__art { width: 40px; height: 40px; }
.why__list li:has(.whyseal) .h3 { align-self: end; }
.why__list li:has(.whyseal) p { align-self: start; }

/* footer logo: larger, so it holds its own above the paragraph under it (owner, 2026-12-03) */
.footer__name img { width: auto; height: 60px; }
@media (max-width: 639px) { .footer__name img { height: 52px; } }

/* header logo: a little larger from 640px, so the name matches the size of the menu words (owner, 2026-12-03) */
@media (min-width: 640px) { .brand__logo--line { height: 46px; } }

/* "Frequently bought together": the "Optional add-ons" line above the note (owner, 2026-12-04) */
.fbt__opt { margin-top: 10px; max-width: 62em; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.fbt__opt b { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--highlight); color: #10251d; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.fbt__opt + .fbt__why { margin-top: 8px; }

/* Category page building blocks (plan offgrid-solar-store-kits-page-pilot Task 2), from the optional content keys in
   build/templates/category.mjs: `start` (.cat-start, under the heading card), `jump` (.cat-jump, under the lede),
   `sections` (.cat-secs and
   .cat-sec, below the product grid, in the guide page's markup: .guide-sec, .guide-answer and the .cmp table keep their
   30-guides.css rules) and `guides` (.cat-guides). Every selector here starts with one of these new class names, so a
   page without the keys, at any width, is unchanged. Phone first; each media query names the widths it covers. */

/* ------------------------------------------------ "start here" row: in the page head, under the heading card and its
   photo, above the products. White link cards on the page background. */
/* all widths: a small label over the cards; below 768px two cards to a row */
.cat-start { margin-top: 18px; }
.cat-start__h { color: var(--ink); font-size: 0.92rem; font-weight: 620; }
.cat-start__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.cat-start__item { display: grid; align-content: start; gap: 2px; height: 100%; padding: 10px 12px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow 150ms var(--ease); }
.cat-start__item:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.cat-start__label { color: var(--ink); font-size: 0.95rem; font-weight: 620; line-height: 1.3; }
.cat-start__text { color: var(--ink-2); font-size: 0.84rem; line-height: 1.35; }
/* 768px and up (tablet follows desktop, 42-tablet-nav.css): all cards in one row, one equal column each */
@media (min-width: 768px) {
  .cat-start { margin-top: 20px; }
  .cat-start__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
  .cat-start__item { padding: 12px 16px; }
}

/* ------------------------------------------------ jump link under the lede, to the first section (all widths) */
/* An inline link, so the arrow follows the last word when the sentence wraps (.link elsewhere is one flex line). */
.cat-jump { margin-top: 14px; }
.cat-jump .link { display: inline; white-space: normal; }
.cat-jump .ico { margin-left: 6px; vertical-align: -0.2em; }

/* ------------------------------------------------ question sections, below the products (all widths) */
/* On the page background, one reading column of text; tables, pills and cards use the full width. Never inside the
   sticky two-column .guide block, so a long section scrolls like the rest of the page. */
.cat-secs { margin-top: clamp(48px, 6vw, 80px); }
.cat-sec { font-size: 1.0625rem; line-height: 1.65; }
.cat-secs > .cat-sec:first-child { margin-top: 0; }
.cat-sec + .cat-sec { padding-top: clamp(30px, 3.6vw, 44px); border-top: 1px solid var(--line); }
.cat-sec .h2 { max-width: 24em; }
.cat-sec > p { max-width: 38em; text-wrap: pretty; }
.cat-sec > p a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
/* the column heads and the row heads ("10 to 13 kW") stay on one line; on a phone the table scrolls inside its frame */
.cat-sec .cmp th { white-space: nowrap; }
/* below 768px (phones, one column): a text cell keeps a readable width and the frame scrolls sideways, instead of
   a column a few words wide */
@media (max-width: 767px) { .cat-sec .cmp td { min-width: 10em; } }
/* the pills run across the full width of the section, so they sit in one or two rows and not in a tall stack (owner, 2026-12-04) */
.cat-sec > .cat-sec__links { max-width: none; margin-top: 20px; padding-top: 0; border-top: 0; }
.cat-sec__links a { background: var(--white); }
.cat-sec__grid { margin-top: 24px; }

/* ------------------------------------------------ "Guides for this" row */
/* all widths: the guide index's cards (1 column, 2 from 640px, 3 from 1100px, as 30-guides.css sets them) */
.cat-guides { margin-top: clamp(48px, 6vw, 80px); }
.cat-guides > .h2 { margin-bottom: clamp(20px, 2.4vw, 32px); }
/* 1100px to 1279px: exactly four guides sit two by two, so no card is left alone on a second row */
@media (min-width: 1100px) and (max-width: 1279px) { .cat-guides .guide-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 1280px and up: as many equal columns as there are guides, up to four in a row */
@media (min-width: 1280px) { .cat-guides .guide-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* ------------------------------------------------ a photo beside a question section (owner, 2026-12-04) */
/* below 1024px (owner pick, 2026-12-04): the photo sits under the heading and the bold answer, above the rest of the
   text; the section is a column so `order` can place it there without changing the markup */
.cat-sec__photo { margin: 0; }
@media (max-width: 1023px) {
  .cat-sec--photo { display: flex; flex-direction: column; }
  .cat-sec--photo > * { order: 3; }
  .cat-sec--photo > .h2 { order: 0; }
  .cat-sec--photo > .guide-answer { order: 1; }
  .cat-sec--photo > .cat-sec__photo { order: 2; position: relative; width: 100%; max-width: 38em; margin: 18px 0 4px; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(16, 37, 29, 0.10); }
  .cat-sec--photo > .cat-sec__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
}
/* 1024px and up: the text keeps the left column, the photo fills the empty right half */
@media (min-width: 1024px) {
  .cat-sec--photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  .cat-sec--photo > * { grid-column: 1; }
  /* the photo is as tall as the section's text (heading to last line), so it sits level with the text block and
     grows with it (owner, 2026-12-04: "centered and proportionate to the paragraph size"); the image fills the box */
  .cat-sec--photo > .cat-sec__photo { display: block; position: relative; grid-column: 2; grid-row: 1 / span 12; align-self: stretch; min-height: 260px; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(16, 37, 29, 0.10); }
  .cat-sec__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
}
/* 1024px to 1199px: the text column is narrow and tall, so a photo as tall as the text would crop to a thin strip;
   here the photo is a square, centered on the text block */
@media (min-width: 1024px) and (max-width: 1199px) {
  .cat-sec--photo > .cat-sec__photo { align-self: center; aspect-ratio: 1 / 1; min-height: 0; }
}
/* Alternating sides (wrapper class .cat-secs--alt): every second section puts the photo on the left (owner pick, 2026-12-04) */
@media (min-width: 1024px) {
  .cat-secs--alt > .cat-sec--photo:nth-child(even) { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); }
  .cat-secs--alt > .cat-sec--photo:nth-child(even) > * { grid-column: 2; }
  .cat-secs--alt > .cat-sec--photo:nth-child(even) > .cat-sec__photo { grid-column: 1; }
}
/* A section with a table: the photo sits beside the heading and the opening text only (rows 1 to N); the table, the
   link pills and the product cards keep the full width under it */
@media (min-width: 1024px) {
  .cat-secs > .cat-sec--photo > .cmp-fig, .cat-secs > .cat-sec--photo > .cat-sec__links, .cat-secs > .cat-sec--photo > .cat-sec__grid { grid-column: 1 / -1; }
  .cat-sec--photo > .cat-sec__photo--r2 { grid-row: 1 / span 2; }
  .cat-sec--photo > .cat-sec__photo--r3 { grid-row: 1 / span 3; }
  .cat-sec--photo > .cat-sec__photo--r4 { grid-row: 1 / span 4; }
  .cat-sec--photo > .cat-sec__photo--r5 { grid-row: 1 / span 5; }
  .cat-sec--photo > .cat-sec__photo--r6 { grid-row: 1 / span 6; }
}
/* 1024px to 1199px, a section with a table: its opening text is short, so the photo stays as tall as that text
   (a square would push the text rows apart) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .cat-sec--photo > .cat-sec__photo[class*="cat-sec__photo--r"] { align-self: stretch; aspect-ratio: auto; min-height: 240px; }
}

/* Guide section photos (owner, 2026-12-04: "use multiple generated images throughout the guide to make it feel open"),
   from the optional content key sections[].photo in build/templates/guide.mjs (figure.guide-sec__photo, written right
   after the section's bold answer). At every width the photo sits under the H2 and the bold answer, above the rest of
   the section, as wide as the reading column (38em, the measure of .guide-article p in 30-guides.css) and cropped to
   16:10: the placement and the look the owner picked for phones on category pages (46-cat-sections.css, below 1024px).
   Never beside the text: the guide article is one reading column next to the sticky side column.
   Every selector starts with the new class .guide-sec__photo, so a guide without a photo is unchanged at any width. */

/* all widths: the box keeps its 16:10 space before the lazy image loads (no layout shift); the tint fills it until then.
   18px above, and 18px or the next block's own larger top margin below (block margins collapse). */
.guide-sec__photo { position: relative; width: 100%; max-width: 38em; margin: 18px 0; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--tint); box-shadow: 0 8px 24px rgba(16, 37, 29, 0.10); }
.guide-sec__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* A photo with the guide's header (owner, 2026-12-04), from the optional content key headPhoto; the header and the photo
   share the wrapper .guide-top, written only when a guide has one.
   Below 1024px: the photo sits under the title, the intro and the date line, as wide as the page column, 16:9. */
.guide-hero { margin-top: 22px; }
.guide-hero__photo { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--tint); box-shadow: 0 10px 30px rgba(16, 37, 29, 0.10); }
.guide-hero__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* 1024px and up (owner: "for desktop put the image on the right side of where the header text was"): the header text
   keeps the left, the photo takes the right, centered on the text block */
@media (min-width: 1024px) {
  .guide-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(32px, 4vw, 56px); align-items: center; }
  .guide-top .guide-hero { margin-top: 18px; }
  .guide-top .guide-hero__photo { aspect-ratio: 16 / 10; border-radius: 24px; }
}

/* The header photo on a guide card (the guides list and "More guides" under a guide; owner, 2026-12-04). It takes the
   icon's place at the top of the card, 16:9 at every width. A card without a photo keeps its icon and is unchanged. */
.guide-card__photo { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: 14px; overflow: hidden; background: var(--tint); }
.guide-card__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* "In this guide" menu: the section the reader is in (assets-src/js/toc.js adds .is-current; owner, 2026-12-04).
   The menu shows only from 1024px, so this never applies below it. */
.toc a.is-current { background: var(--tint); color: var(--ink); font-weight: 600; }

/* A photo on a numbered step (owner, 2026-12-04: "generated visualized pictures of each step"), from the optional content
   key sections[].steps[].photo in build/templates/guide.mjs. The step's <li> takes the class .guide-step--photo and
   becomes the step's box (the tint box .guide-steps .qa__item draws in 30-guides.css); the step's panel keeps its badge,
   title and text grid but not its own box; the figure .guide-step__photo follows the panel. The step number and title
   keep their look. Every selector starts with a new class, so a step without a photo is unchanged at any width.
   Below 768px: the photo sits under the step's title and text, as wide as the text, 16:10, with the section photo's
   rounded corners and shadow. Lazy, with width and height set (photoFigure); the box keeps its space before it loads. */
.guide-step--photo { padding: 18px 20px; border-radius: var(--r-sm); background: var(--tint-2); box-shadow: inset 0 0 0 1px var(--line); }
.guide-step--photo .qa__item { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.guide-step__photo { position: relative; margin: 16px 0 0; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--tint); box-shadow: 0 8px 24px rgba(16, 37, 29, 0.10); }
.guide-step__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* 560-767px: the step's text sits right of the 40px number badge and its 16px gap, so the photo starts there too */
@media (min-width: 560px) and (max-width: 767px) {
  .guide-step__photo { margin-left: 56px; }
}
/* 768px and up: two columns, the text on the left and the photo on the right (40% of the step box's inner width, 4:3),
   both starting at the top of the step, level with the badge and the title */
@media (min-width: 768px) {
  .guide-step--photo { display: grid; grid-template-columns: minmax(0, 1fr) 40%; column-gap: 24px; align-items: start; }
  .guide-step__photo { margin: 0; aspect-ratio: 4 / 3; }
}
/* 1024-1179px: the side menu leaves the article narrow, so two columns would squeeze the step text to a few words a
   line. Here the photo goes back under the text, 16:10, starting at the text's left edge (lead, 2026-12-04). */
@media (min-width: 1024px) and (max-width: 1179px) {
  .guide-step--photo { display: block; }
  .guide-step__photo { margin: 16px 0 0 56px; aspect-ratio: 16 / 10; }
}

/* "Estimated delivery: 3-7 business days" (owner, 2026-12-04): one line directly under the product page's Add to cart row,
   with a small seal in front of it in the trust block's look (gold scalloped rim, dark green disc, dashed gold ring, white
   line drawing of a delivery truck). Built by build/templates/product.mjs (deliveryLine). It sits below the row, so the
   quantity box and the button keep their size and place; the seal has a fixed size and never shrinks. No inline style. */
.deliv { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.deliv b { font-weight: 700; }
.deliv__seal { display: block; flex: none; width: 28px; height: 28px; filter: drop-shadow(0 2px 3px rgba(16, 37, 29, 0.2)); }
.deliv__rim { fill: var(--highlight); }
.deliv__disc { fill: var(--primary); }
.deliv__ring { stroke: var(--highlight); stroke-width: 2.2; stroke-dasharray: 3 3.6; }
.deliv__g { color: #fff; }
.deliv__wheel { fill: var(--primary); }
/* the narrowest phones (360px): a little smaller and tighter, so the line stays on one line */
@media (max-width: 379px) { .deliv { gap: 8px; font-size: 0.89rem; } }

/* "Built to last" (owner, 2026-12-04): a short block of the product's own durability facts on solar panel and battery
   pages, built by build/lib/durability.mjs builtToLast(). It sits in its own row after the block that holds the
   Specifications and reads like the opened information rows around it (41-open-info.css, the "tab 1" look): no box, a
   thin line above, a heading, one plain help line, then label and value pairs in the spec table's colours (label
   muted, value ink). One column on phones, two columns from 640px. Every selector starts with .btl, so nothing else on
   the page changes size or place; later rows only move down. No inline style. */
.btl { margin-top: var(--gap); }
.btl__box { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.btl .h3 { font-size: 1.3rem; }
.btl__help { max-width: 62em; margin-top: 8px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; text-wrap: pretty; }
.btl__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(24px, 3vw, 48px); margin: 16px 0 0; }
.btl__list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.98rem; line-height: 1.4; }
.btl__list dt { color: var(--muted); font-weight: 520; }
.btl__list dd { margin: 0; color: var(--ink); font-weight: 560; overflow-wrap: anywhere; }
@media (min-width: 640px) { .btl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* followed by a boxed row with its own large top margin (the questions, Videos): no extra space under the list */
.btl:has(+ .section) .btl__box { padding-bottom: 0; }

/* Compact picture sections on SunGold product pages (owner, 2026-12-04: "format them nice and tight", then "bigger for
   both image and text", then "remove those white hang of sides from some of the photos"). Wrapper class
   .pdx-sections--tight, set only on those pages, so Rich Solar pages keep their look.
   The frame is the picture's own shape. The figure carries a class pdx-ar-N, where N is the picture's width divided by
   its height, times 100, in steps of 5 (the page's CSP allows no inline style). The frame's width is the smaller of its
   column and (height limit x ratio); the picture fills that width and takes its height from its own width and height
   attributes, so its space is held before it loads, nothing jumps, and no white band shows beside a square or tall
   picture. The whole picture always shows. */
.pdx-sections--tight .pdx-sec { gap: 18px; padding: 28px 0; }
.pdx-sections--tight .pdx-sec .h2 { font-size: 1.6rem; }
.pdx-sections--tight .pdx-sec__text p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.6; }
.pdx-sections--tight .pdx-sec__text .ticks { margin-top: 12px; gap: 8px; font-size: 1.0625rem; }
.pdx-sections--tight .pdx-sec__media { --mh: 420px; --r: 1.5; justify-self: center; width: min(100%, calc(var(--mh) * var(--r))); border-radius: 16px; background: none; }
.pdx-sections--tight .pdx-sec__media img { display: block; width: 100%; height: auto; }
.pdx-sections--tight .pdx-ar-50 { --r: 0.50; }
.pdx-sections--tight .pdx-ar-55 { --r: 0.55; }
.pdx-sections--tight .pdx-ar-60 { --r: 0.60; }
.pdx-sections--tight .pdx-ar-65 { --r: 0.65; }
.pdx-sections--tight .pdx-ar-70 { --r: 0.70; }
.pdx-sections--tight .pdx-ar-75 { --r: 0.75; }
.pdx-sections--tight .pdx-ar-80 { --r: 0.80; }
.pdx-sections--tight .pdx-ar-85 { --r: 0.85; }
.pdx-sections--tight .pdx-ar-90 { --r: 0.90; }
.pdx-sections--tight .pdx-ar-95 { --r: 0.95; }
.pdx-sections--tight .pdx-ar-100 { --r: 1.00; }
.pdx-sections--tight .pdx-ar-105 { --r: 1.05; }
.pdx-sections--tight .pdx-ar-110 { --r: 1.10; }
.pdx-sections--tight .pdx-ar-115 { --r: 1.15; }
.pdx-sections--tight .pdx-ar-120 { --r: 1.20; }
.pdx-sections--tight .pdx-ar-125 { --r: 1.25; }
.pdx-sections--tight .pdx-ar-130 { --r: 1.30; }
.pdx-sections--tight .pdx-ar-135 { --r: 1.35; }
.pdx-sections--tight .pdx-ar-140 { --r: 1.40; }
.pdx-sections--tight .pdx-ar-145 { --r: 1.45; }
.pdx-sections--tight .pdx-ar-150 { --r: 1.50; }
.pdx-sections--tight .pdx-ar-155 { --r: 1.55; }
.pdx-sections--tight .pdx-ar-160 { --r: 1.60; }
.pdx-sections--tight .pdx-ar-165 { --r: 1.65; }
.pdx-sections--tight .pdx-ar-170 { --r: 1.70; }
.pdx-sections--tight .pdx-ar-175 { --r: 1.75; }
.pdx-sections--tight .pdx-ar-180 { --r: 1.80; }
.pdx-sections--tight .pdx-ar-185 { --r: 1.85; }
.pdx-sections--tight .pdx-ar-190 { --r: 1.90; }
.pdx-sections--tight .pdx-ar-195 { --r: 1.95; }
.pdx-sections--tight .pdx-ar-200 { --r: 2.00; }
.pdx-sections--tight .pdx-ar-205 { --r: 2.05; }
.pdx-sections--tight .pdx-ar-210 { --r: 2.10; }
.pdx-sections--tight .pdx-ar-215 { --r: 2.15; }
.pdx-sections--tight .pdx-ar-220 { --r: 2.20; }
.pdx-sections--tight .pdx-ar-225 { --r: 2.25; }
.pdx-sections--tight .pdx-ar-230 { --r: 2.30; }
.pdx-sections--tight .pdx-ar-235 { --r: 2.35; }
.pdx-sections--tight .pdx-ar-240 { --r: 2.40; }
.pdx-sections--tight .pdx-ar-245 { --r: 2.45; }
.pdx-sections--tight .pdx-ar-250 { --r: 2.50; }
/* 768px and up: the picture column beside the text column; sides still alternate */
@media (min-width: 768px) {
  .pdx-sections--tight .pdx-sec--img { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
  .pdx-sections--tight .pdx-sec--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .pdx-sections--tight .pdx-sec__media { --mh: 380px; }
}
/* 1100px and up: larger heading */
@media (min-width: 1100px) {
  .pdx-sections--tight .pdx-sec .h2 { font-size: 1.85rem; }
}

/* Which bars stay on screen while scrolling (owner, 2026-12-04).
   Phones (below 768px): only the menu header stays. The "Filters / Featured" bar on collection pages scrolls away with
   the page ("not the filters or feature part").
   Tablet (768 to 1023px): unchanged, the header stays pinned.
   Desktop (1024px and up): the menu header sits at the top of the page and scrolls out of view with it ("leave menu at
   top stationed so it doesnt move with scrolling"). The parts that follow the reader on desktop (product photo, guide
   menu, cart and checkout summary, filters column, review rail) were held 92 to 96px down to clear the pinned header;
   with the header gone they sit 24px from the top of the window instead. */
@media (max-width: 767px) {
  .toolbar { position: static; }
  /* the pinned header sits at the very top of the screen: its 12px top padding is pulled above the window while it is
     pinned (owner, 2026-12-04: "move it up to where it would be at the very top when scrolling ... right now it has a gap") */
  .top { top: -12px; }
}
@media (min-width: 1024px) {
  .top { position: static; }
  .gallery, .summary, .guide__text, .toc, .co-side, .prv .prv__rail, .listing--facets > .facets { top: 24px; }
  .toc { max-height: calc(100vh - 48px); }
}

/* "Why choose solar?" on the cart and the checkout, phones only (below 768px; owner, 2026-12-04). Hidden from 768px, so
   the tablet and desktop pages are unchanged. Every selector starts with .cart-solar, except the one checkout grid rule.
   One white section holds the heading, the four reasons and the links; thin lines divide the reasons (owner: "make it
   one section not individual pills"). */
.cart-solar { display: none; }
@media (max-width: 767px) {
  .cart-solar { display: block; margin-top: clamp(40px, 8vw, 56px); }
  .cart-solar__box { padding: 22px 20px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
  .cart-solar__box .h2 { font-size: 1.4rem; }
  .cart-solar__lede { margin-top: 6px; color: var(--ink-2); }
  .cart-solar__list { display: grid; margin: 14px 0 0; padding: 0; list-style: none; }
  .cart-solar__list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
  /* the store's own seal (green disc, gold scalloped rim), as under Buy With Confidence, at a smaller size */
  .cart-solar__seal { width: 54px; height: 54px; filter: drop-shadow(0 4px 7px rgba(16, 37, 29, 0.18)); }
  .cart-solar__list .h3 { font-size: 1.05rem; }
  .cart-solar__list p { margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
  .cart-solar__more { margin-top: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
  .cart-solar__more .link { display: inline; }
  .cart-solar + .why { margin-top: clamp(40px, 8vw, 56px); }
  /* checkout, phones: the section sits in the page's own column, under the badge row and above the four brand points
     (owner, 2026-12-04: "put the why choose solar above the bulletpoint section") */
  .co-grid { grid-template-areas: "sum" "pay" "tb" "solar" "pts" "trust"; }
  .cart-solar--co { grid-area: solar; margin-top: 8px; }
}

/* The About page and the Installation help page (owner, 2026-12-04). Every selector starts with .story-, .about- or .inst-,
   so no other page changes. Phone first; wider layouts from 768px and 900px. */
.story-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.story-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--highlight); }
.story-head__row { display: grid; gap: 24px; margin-top: 18px; align-items: center; }
.story-head__text .lede { margin-top: 14px; max-width: 34em; }
.story-head__photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(16, 37, 29, 0.35); }
.story-head__photo img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.about-belief { margin-top: clamp(40px, 6vw, 72px); }
.about-belief__box { padding: clamp(26px, 5vw, 48px); border-radius: 24px; background: var(--primary); color: var(--on-primary-2); }
.about-belief__h { margin: 0; color: #fff; font-size: clamp(1.7rem, 4.6vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; max-width: 16em; }
.about-belief__h::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 18px; border-radius: 2px; background: var(--highlight); }
.about-belief__box p { margin-top: 18px; max-width: 40em; font-size: 1.08rem; line-height: 1.55; }
.about-pillars { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.about-pillars li { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.about-seal { grid-row: span 2; width: 58px; height: 58px; filter: drop-shadow(0 4px 7px rgba(16, 37, 29, 0.18)); }
.about-pillars p { margin-top: 6px; color: var(--ink-2); line-height: 1.5; }
.about-pillars p a, .about-promise p a, .about-install p a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.about-start { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.about-start a { display: grid; gap: 6px; height: 100%; padding: 20px 22px; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); color: var(--ink-2); text-decoration: none; }
.about-start b { display: flex; align-items: center; gap: 8px; color: var(--primary); font-size: 1.12rem; }
.about-start b svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--highlight); color: var(--primary); margin-left: auto; }
.about-start a:hover { box-shadow: 0 10px 26px -12px rgba(16, 37, 29, 0.3); }

.about-install { display: grid; gap: 18px; align-items: center; padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: linear-gradient(135deg, #f7c460, var(--highlight)); color: var(--ink); }
.about-install__seal { width: 72px; height: 72px; }
.about-install .h2 { color: var(--ink); }
.about-install p { margin-top: 8px; max-width: 42em; line-height: 1.5; }
.about-install p a { color: var(--ink); }
.about-install .btn { justify-self: start; }

.about-promise { padding: clamp(24px, 4vw, 40px); }
.about-promise__list { display: grid; gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.about-promise__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 600; color: var(--ink); }
.about-promise__list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--highlight); color: var(--primary); }
.about-promise > p { color: var(--ink-2); }

/* Why buy here, About page only: a light band, numbered white cards, the large seal on each */
.about-why { margin-top: clamp(56px, 8vw, 104px); padding-block: clamp(48px, 7vw, 88px); background: var(--tint); }
.about-why__lede { margin-top: 8px; color: var(--ink-2); }
.about-why__list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.about-why__list li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 22px; border-radius: 24px; background: var(--white); box-shadow: var(--sh); border-top: 4px solid var(--highlight); }
.about-why__list .whyseal { grid-row: span 2; width: 84px; height: 84px; margin: 0; filter: drop-shadow(0 6px 10px rgba(16, 37, 29, 0.22)); }
.about-why__list .whyseal__art { width: 46px; height: 46px; }
.about-why__list .h3 { align-self: end; padding-right: 52px; }
.about-why__list p { align-self: start; margin-top: 4px; color: var(--ink-2); line-height: 1.5; }
.about-why__n { position: absolute; top: 14px; right: 18px; color: var(--tint); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; -webkit-text-stroke: 1.5px var(--line); }

/* Installation help */
.inst-cta { margin-top: 18px; }
.inst-cta p { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--white); box-shadow: var(--sh); font-weight: 600; color: var(--ink); }
.inst-cta a { color: var(--primary); font-weight: 700; }
.inst-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.inst-steps li { display: grid; gap: 8px; align-content: start; padding: 24px; }
.inst-steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--highlight); font-size: 1.15rem; font-weight: 800; }
.inst-steps p { color: var(--ink-2); line-height: 1.5; }
.inst-split { display: grid; gap: 14px; }
.inst-col { padding: 24px; }
.inst-col ul { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.inst-col li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); line-height: 1.45; }
.inst-col svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--tint); color: var(--primary); }
.inst-col--pro { background: var(--primary); color: var(--on-primary-2); }
.inst-col--pro .h3 { color: #fff; }
.inst-col--pro li { color: var(--on-primary-2); }
.inst-col--pro svg { background: var(--highlight); color: var(--primary); }
.about-promise__list--one { margin-bottom: 0; font-weight: 500; }

@media (min-width: 768px) {
  .about-pillars, .about-start, .about-why__list, .inst-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-pillars li { grid-template-columns: 1fr; row-gap: 10px; padding: 26px; }
  .about-seal { grid-row: auto; width: 66px; height: 66px; }
  .about-promise__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-promise__list--one { grid-template-columns: 1fr; }
  .about-install { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; }
  .about-install .btn { justify-self: end; }
  .about-why__list li { grid-template-columns: 1fr; row-gap: 8px; align-content: start; padding: 30px 26px; }
  .about-why__list .whyseal { grid-row: auto; width: 96px; height: 96px; margin-bottom: 8px; }
  .about-why__list .whyseal__art { width: 52px; height: 52px; }
  .inst-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .story-head__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* Flat sections (owner, 2026-12-04: "i dont like the pills i like having the sections on the page itself for these").
   The words sit on the page itself: no white boxes, no shadows; thin lines divide the items. */
.about-pillars { gap: 0; margin-top: 28px; }
.about-pillars li, .about-start a, .about-why__list li, .inst-steps li.panel, .inst-col.panel, .about-promise.panel { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.about-pillars li { padding: 22px 0; border-top: 1px solid var(--line); }
.about-start { gap: 0; }
.about-start a { padding: 20px 0; border-top: 1px solid var(--line); }
.about-start a:hover { box-shadow: none; }
.about-start a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.about-why__list { gap: 0; }
.about-why__list li { padding: 24px 0; border-top: 1px solid rgba(31, 75, 58, 0.18); }
.about-why__n { top: 22px; right: 0; color: transparent; -webkit-text-stroke: 1.5px rgba(31, 75, 58, 0.3); }
.inst-cta p { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.inst-steps { gap: 0; }
.inst-steps li.panel { padding: 22px 0; border-top: 1px solid var(--line); }
.inst-split { gap: 0; }
.inst-col.panel { padding: 22px 0; border-top: 1px solid var(--line); }
.inst-col--pro.panel { color: inherit; }
.inst-col--pro .h3 { color: var(--ink); }
.inst-col--pro li { color: var(--ink-2); }
@media (min-width: 768px) {
  .about-pillars li, .about-why__list li, .inst-steps li.panel { padding: 8px 28px 8px 0; border-top: 0; }
  .about-pillars li + li, .inst-steps li.panel + li { padding-left: 28px; border-left: 1px solid var(--line); }
  .about-why__list li + li { padding-left: 28px; border-left: 1px solid rgba(31, 75, 58, 0.18); }
  .about-why__n { top: 6px; right: 24px; }
  .about-start a { padding: 8px 28px 8px 0; border-top: 0; }
  .about-start li + li a { padding-left: 28px; border-left: 1px solid var(--line); }
  .inst-col.panel { padding: 8px 32px 8px 0; border-top: 0; }
  .inst-col--pro.panel { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* About page: the header, then photo-and-text sections that swap sides going down the page (owner, 2026-12-04: "picture on
   the left description on the right then next section the opposite"). Phones: photo first, words under it. */
.about-rows__h { margin-bottom: clamp(20px, 3vw, 36px); }
.about-row { display: grid; gap: 20px; align-items: center; padding-block: clamp(22px, 4vw, 44px); border-top: 1px solid var(--line); }
.about-row__photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(16, 37, 29, 0.35); }
.about-row__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.about-row__n { margin: 0 0 8px; color: var(--highlight); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.14em; }
.about-row__h { margin: 0; color: var(--ink); font-size: clamp(1.45rem, 3.2vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.about-row__h::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--highlight); }
.about-row__text p:not(.about-row__n) { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; max-width: 34em; }
.about-row__text a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.about-rows__go { padding-top: clamp(22px, 4vw, 44px); border-top: 1px solid var(--line); margin-top: 0; }
@media (min-width: 768px) {
  .about-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
  .about-row:nth-of-type(even) .about-row__photo { order: 2; }
}

/* The Contact page (owner, 2026-12-04: "give the contact page a modern contact form"). Every selector starts with .contact-, so no
   other page changes. Phone first: one column with the form first; two fields side by side from 640px; the form beside "Other ways
   to reach us" from 900px. Flat, on the page itself like the About page (no boxed cards): labels above the fields, 48px fields with
   a soft border (#7a8b84, 3.2:1 on the page) and a brand-green focus ring, thin lines between the parts.
   The form, the success block, the error lines and the status lines use the `hidden` attribute; their display rules below would
   override the browser's own [hidden] rule, so each one has its own [hidden] line. */

/* the header is the About page's own (storyHead, 53-about.css): words, and the photo beside them from 900px */
.contact-body { margin-top: clamp(32px, 5vw, 56px); }
.contact-grid { display: grid; gap: 44px; }
.contact-main { min-width: 0; }
.contact-intro { margin-top: 10px; max-width: 36em; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; }
.contact-noscript { margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--highlight); color: var(--ink); line-height: 1.55; }
.contact-noscript a, .contact-msg a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* the form */
.contact-form { display: grid; gap: 22px; margin-top: 28px; }
.contact-form[hidden] { display: none; }
.contact-row { display: grid; gap: 22px; }
.contact-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.contact-label { color: var(--ink); font-size: 0.98rem; font-weight: 620; line-height: 1.3; }
.contact-opt { color: var(--muted); font-weight: 500; }
.contact-hint { margin-top: -2px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.contact-input { display: block; width: 100%; min-height: 48px; margin: 0; padding: 11px 14px; border: 1.5px solid #7a8b84; border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.contact-input:hover { border-color: var(--muted); }
.contact-input:focus, .contact-input:focus-visible { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.12); }
.contact-input[aria-invalid="true"] { border-color: #a3261c; }
.contact-input[aria-invalid="true"]:focus { outline-color: #a3261c; box-shadow: 0 0 0 5px rgba(163, 38, 28, 0.12); }
.contact-select { padding-right: 46px; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4b3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px 20px; }
.contact-area { min-height: 172px; resize: vertical; }
.contact-err { display: flex; gap: 8px; align-items: flex-start; color: #a3261c; font-size: 0.93rem; font-weight: 600; line-height: 1.4; }
.contact-err::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.5em; border-radius: 50%; background: currentColor; }
.contact-err[hidden] { display: none; }

/* the honeypot: off the screen and out of the tab order (aria-hidden on it in the page), never display:none */
.contact-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* the button, the privacy line and the status lines */
.contact-send { display: grid; gap: 14px; margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-btn { width: 100%; }
.contact-btn[aria-disabled="true"] { opacity: 0.72; cursor: progress; }
.contact-privacy { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.contact-privacy a { color: var(--primary); font-weight: 620; text-decoration: underline; text-underline-offset: 3px; }
.contact-status:empty { display: none; }
.contact-msg { padding-left: 14px; border-left: 3px solid var(--highlight); color: var(--ink); line-height: 1.55; }
.contact-msg[hidden] { display: none; }

/* the success block that replaces the form */
.contact-done { display: grid; gap: 10px; justify-items: start; margin-top: 28px; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-done[hidden] { display: none; }
.contact-done__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--highlight); }
.contact-done__ic .ico { width: 24px; height: 24px; }
.contact-done__h { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); }
.contact-done__h:focus { outline: none; }
.contact-done p { max-width: 34em; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; }

/* "Other ways to reach us" */
.contact-side { display: grid; gap: 18px; align-content: start; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-side__h { font-size: 1.3rem; }
.contact-ways { display: grid; gap: 10px; }
.contact-way { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.contact-way__link { white-space: normal; overflow-wrap: anywhere; font-size: 1.1rem; }
.contact-tip { color: var(--ink-2); line-height: 1.55; }
.contact-links { display: grid; margin: 0; padding: 0; list-style: none; }
.contact-link { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.contact-link b { display: flex; align-items: center; gap: 8px; color: var(--primary); font-size: 1.06rem; }
.contact-link b .ico { transition: transform 200ms var(--ease); }
.contact-link:hover b { text-decoration: underline; text-underline-offset: 4px; }
.contact-link:hover b .ico { transform: translateX(2px); }
.contact-link span { line-height: 1.45; }

@media (min-width: 640px) {
  .contact-row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-btn { width: auto; min-width: 220px; justify-self: start; }
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); }
  .contact-side { padding-top: 6px; padding-left: clamp(32px, 3.4vw, 48px); border-top: 0; border-left: 1px solid var(--line); }
}

/* The cinematic look of the About, Contact and Installation help pages (owner pick, 2026-12-04, option B of three shown on
   the real About page): the header photo fills the top of the page with the title over it; calm, light sections below,
   soft shadows under the photos. Every rule starts with .p-cine, a body class only these three pages carry. */
.p-cine main { overflow-x: clip; }
/* a thin strip of page between the menu header and the header photo, so the two do not touch (owner, 2026-12-04) */
.p-cine .story-head { margin-top: 10px; }
.p-cine .story-head { position: relative; width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); padding: clamp(150px, 22vw, 300px) max(20px, calc(50vw - 600px)) clamp(36px, 6vw, 76px); overflow: hidden; color: #fff; }
.p-cine .story-head__row { display: block; margin: 0; }
.p-cine .story-head__photo { position: absolute; inset: 0; z-index: 0; margin: 0; border-radius: 0; box-shadow: none; }
.p-cine .story-head__photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.p-cine .story-head::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 30, 22, 0.12) 0%, rgba(10, 30, 22, 0.38) 42%, rgba(10, 30, 22, 0.9) 100%); }
.p-cine .story-head .crumbs, .p-cine .story-head__text { position: relative; z-index: 2; }
.p-cine .story-head .crumbs { position: absolute; top: 18px; left: max(20px, calc(50vw - 600px)); }
.p-cine .story-head .crumbs, .p-cine .story-head .crumbs a, .p-cine .story-head .crumbs span { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.p-cine .story-head .story-eyebrow { color: var(--highlight); }
.p-cine .story-head .h1 { color: #fff; font-size: clamp(2.4rem, 6.6vw, 5rem); line-height: 1; letter-spacing: -0.04em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.p-cine .story-head .lede { max-width: 36em; margin-top: 20px; color: #f1f6f3; font-size: clamp(1.06rem, 1.5vw, 1.3rem); line-height: 1.55; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }

/* About: the five photo sections */
.p-cine .about-rows__h { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.03em; }
.p-cine .about-row { border-top: 0; padding-block: clamp(34px, 6vw, 72px); }
.p-cine .about-row__photo { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(16, 37, 29, 0.45); }
.p-cine .about-row__n, .p-cine .inst-steps__n { display: inline-grid; place-items: center; width: 46px; height: 46px; margin: 0; border-radius: 50%; background: var(--primary); color: var(--highlight); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; }
.p-cine .about-row__h { margin-top: 16px; font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.06; letter-spacing: -0.03em; }
.p-cine .about-row__h::after { width: 64px; height: 4px; margin-top: 18px; }
.p-cine .about-row__text p:not(.about-row__n) { font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.65; }
.p-cine .about-rows__go { border-top: 0; }

/* Section headings on the Contact and Installation help pages, in the same voice */
.p-cine .sechead .h2, .p-cine .contact-h, .p-cine .about-promise .h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.08; }
.p-cine .sechead .h2::after, .p-cine .contact-h::after, .p-cine .about-promise .h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 16px; border-radius: 2px; background: var(--highlight); }
.p-cine .inst-cta { margin-top: clamp(24px, 4vw, 40px); }
.p-cine .inst-cta p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; }
.p-cine .inst-steps .h3 { margin-top: 6px; font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.02em; }
.p-cine .inst-steps p, .p-cine .inst-col li { font-size: 1.05rem; line-height: 1.6; }
.p-cine .inst-col .h3 { font-size: 1.3rem; }
.p-cine .about-install { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(16, 37, 29, 0.4); }
.p-cine .contact-body { margin-top: clamp(40px, 6vw, 72px); }
.p-cine .contact-side__h { font-size: 1.45rem; letter-spacing: -0.02em; }
.p-cine .contact-way__link { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -0.01em; }

/* Phones: the photo keeps to the top of the header at close to its own shape, and fades into deep green under the words.
   A tall phone header would otherwise show only a narrow, enlarged slice of a wide photo. */
@media (max-width: 767px) {
  .p-cine .story-head { padding-top: clamp(170px, 50vw, 260px); background: var(--primary-2); }
  .p-cine .story-head__photo { inset: 0 0 auto 0; height: clamp(230px, 66vw, 340px); }
  .p-cine .story-head::after { background: linear-gradient(180deg, rgba(22, 58, 44, 0) 0, rgba(22, 58, 44, 0.15) clamp(90px, 26vw, 140px), var(--primary-2) clamp(228px, 65.500vw, 338px), var(--primary-2) 100%); }
}

/* The trust strip under the header photo: a white band, four items, each with a line icon in a rounded green tile */
.story-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.story-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; max-width: 1240px; margin: 0 auto; padding: 22px 20px; list-style: none; }
.story-strip__list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; }
.story-strip__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, var(--primary), var(--primary-2)); box-shadow: 0 8px 16px -8px rgba(16, 37, 29, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.story-strip__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--highlight); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story-strip b { display: block; color: var(--ink); font-size: 0.98rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.story-strip div > span { display: block; margin-top: 3px; color: var(--ink-2); font-size: 0.86rem; line-height: 1.35; }
@media (min-width: 900px) {
  .story-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 26px 20px; }
  .story-strip__list li { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  .story-strip__ic { width: 54px; height: 54px; border-radius: 16px; }
  .story-strip__ic svg { width: 27px; height: 27px; }
  .story-strip b { font-size: 1.06rem; }
  .story-strip div > span { font-size: 0.92rem; }
}

/* The short check list under each About section (owner, 2026-12-04: "more descriptive info for each numbered section") */
.about-row__points { display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.about-row__points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink); font-weight: 650; line-height: 1.4; }
.about-row__points svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--highlight); color: var(--primary); }
