/**
 * Blade Boss: Shop (pass 32, D-296 step 5). Pairs with templates/shop.php and assets/js/shop.js.
 * On the P4 token contract: every color is a token, light and dark follow <html data-theme>. Same grammar as the home
 * page, the Scan, pricing, How it works, About and Contact (the shell owns the nav, footer, floating buttons, ambient,
 * grain and cursor ring). Every rule is scoped under .sh.
 */

body.bb-page-shop .bb-main { padding-top: 0; }
body.bb-page-shop { background: var(--bg); }
.sh { --sh-navh: calc(var(--nav-height, 72px) + 10px); }
@media (max-width: 768px) { .sh { --sh-navh: calc(var(--nav-height-mobile, 60px) + env(safe-area-inset-top, 0px) + 8px); } }
.sh h1, .sh h2, .sh h3 { font-size: inherit; line-height: inherit; letter-spacing: inherit; font-weight: inherit; color: inherit; margin: 0; text-wrap: wrap; }
.sh *, .sh *::before, .sh *::after { box-sizing: border-box; }
.sh p, .sh ul, .sh ol { margin: 0; }
.sh ul, .sh ol { padding: 0; list-style: none; }
.sh button, .sh input { font: inherit; color: inherit; }
.sh img { max-width: 100%; display: block; }
.sh a { color: inherit; }
.sh svg { display: inline-block; }
.sh [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sh { position: relative; isolation: isolate; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--site-font-body); -webkit-font-smoothing: antialiased; overflow-anchor: none; }
.sh .wrap { position: relative; max-width: var(--site-max); margin: 0 auto; padding-left: var(--site-gut-l); padding-right: var(--site-gut-r); }
/* pass 44 (the speed budget): the hero's entrance is CSS, from the first paint. It used to wait for the page script,
   and on a slow phone the headline (the LCP) appeared 3 to 4 s in. Staggered by order; the script only adds .rv-in. */
/* the Shop parses 150 cards on a slow phone, so the frames after the first come late: the hero slides in but never
   starts invisible, and the headline counts as painted on the first frame */
@keyframes sh-hero-in { from { transform: translateY(30px); } to { transform: none; } }
html.sh-js:not(.no-motion) .sh [data-hero] { animation: sh-hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.sh-js:not(.no-motion) .sh [data-hero] ~ [data-hero] { animation-delay: 0.08s; }
html.sh-js:not(.no-motion) .sh [data-hero] ~ [data-hero] ~ [data-hero] { animation-delay: 0.16s; }
html.sh-js:not(.no-motion) .sh [data-hero] ~ [data-hero] ~ [data-hero] ~ [data-hero] { animation-delay: 0.24s; }
html.sh-js:not(.no-motion) .sh [data-rv] { opacity: 0; transform: translateY(26px); }
html.sh-js:not(.no-motion) .sh [data-rv].rv-in, html.sh-js:not(.no-motion) .sh [data-hero].rv-in { opacity: 1; transform: none; }
html.sh-js.no-motion .sh [data-rv], html.sh-js.no-motion .sh [data-hero] { opacity: 1; transform: none; transition: none; }

.sh .ghost { position: absolute; z-index: -1; top: -0.12em; left: calc(var(--site-gut-l) - 0.04em); font: var(--site-w-disp) clamp(4.2rem, 16vw, 11.5rem)/1 var(--site-font-disp); letter-spacing: -0.04em; color: var(--site-ghost); -webkit-text-stroke: 1px var(--site-ghost-stroke); pointer-events: none; user-select: none; white-space: nowrap; text-transform: uppercase; }
.sh section { position: relative; overflow: hidden; }
.sh .sh-k { display: inline-flex; align-items: center; gap: 9px; font: 700 0.68rem/1 var(--site-font-disp); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.sh .sh-k::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-ink), transparent); }
.sh .sh-k--photo { color: #5BD493; }
.sh .sh-k--photo::before { background: linear-gradient(90deg, #5BD493, transparent); }

/* ═══ the one question ═══ */
.sh .sh-hero { padding: calc(var(--sh-navh) + 36px) 0 28px; }
.sh .sh-hero .ghost { top: -0.55em; }
.sh .sh-title { font: var(--site-w-disp) clamp(2.35rem, 6.8vw, 4.4rem)/1.02 var(--site-font-disp); letter-spacing: var(--site-track-disp); text-wrap: balance; margin: 0 0 22px; max-width: 14ch; }
.sh .sh-title em { font-style: normal; color: var(--brand-ink); }
.sh .sh-sub { font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); max-width: 56ch; margin: 0 0 18px; }
.sh .sh-neutral { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font: 600 0.9rem/1.45 var(--site-font-body); color: var(--ink); max-width: 56ch; margin: 0 0 14px; }
.sh .sh-neutral::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-soft); }
.sh .sh-disclosure { font: 500 0.82rem/1.55 var(--site-font-body); color: var(--ink-2); max-width: 64ch; }
.sh .sh-empty { padding: 40px 0 56px; color: var(--ink-2); }
.sh .sh-empty a { color: var(--brand-ink); }

/* ═══ the table of contents: a sticky rail on desktop, a bottom sheet on phones ═══ */
.sh .sh-catalog { position: relative; padding: 8px 0 clamp(56px, 10vh, 110px); }
.sh .sh-catalog-wrap { display: block; }
.sh .sh-rail-in { display: flex; flex-direction: column; gap: 14px; }
.sh .sh-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sh .sh-rail-head .sh-k { margin: 0; }
.sh .sh-rail-close { display: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 600 0.84rem/1 var(--site-font-body); cursor: pointer; }
.sh .sh-search { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px 0 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.sh .sh-search:focus-within { border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-soft); }
.sh .sh-search > svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.sh .sh-search input { flex: 1; min-width: 0; height: 46px; background: none; border: 0; outline: none; color: var(--ink); font: 600 16px/46px var(--site-font-body); padding: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.sh .sh-search input::placeholder { color: var(--ink-3); }
.sh .sh-search input::-webkit-search-cancel-button { display: none; }
.sh .sh-search-x { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink-2); cursor: pointer; }
.sh .sh-search-x svg { width: 14px; height: 14px; }
.sh .sh-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sh .sh-tools-n { flex: 1 1 auto; font: 600 0.78rem/1.4 var(--site-font-body); color: var(--ink-2); }
.sh .sh-rail .sh-tools-n { flex-basis: 100%; }
.sh .sh-tool { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 600 0.78rem/1 var(--site-font-body); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.sh .sh-tool:hover { border-color: var(--brand-ink); color: var(--ink); }
.sh .sh-tools--top { margin: 0 0 14px; }
.sh .sh-toc { display: flex; flex-direction: column; gap: 2px; counter-reset: none; }
.sh .sh-toc-a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; min-height: 42px; padding: 4px 10px 4px 8px; border-radius: 12px; color: var(--ink-2); font: 600 0.88rem/1.25 var(--site-font-body); text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.sh .sh-toc-i { font: 700 0.66rem/1 var(--font-num); letter-spacing: 0.06em; color: var(--ink-2); }
.sh .sh-toc-c { font: 700 0.68rem/1 var(--font-num); letter-spacing: 0.04em; color: var(--ink-2); padding: 5px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.sh .sh-toc-a:hover { background: var(--surface); color: var(--ink); }
.sh .sh-toc-a.is-on { background: var(--brand-soft); color: var(--brand-ink); }
.sh .sh-toc-a.is-on .sh-toc-i, .sh .sh-toc-a.is-on .sh-toc-c { color: var(--brand-ink); }
.sh .sh-toc-a.is-open .sh-toc-i::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 4px; border-radius: 50%; background: var(--brand-ink); vertical-align: 1px; }
.sh .sh-toc-a.is-dim { opacity: 0.4; }
.sh .sh-toc-a:focus-visible, .sh .sh-tool:focus-visible, .sh .sh-sec-btn:focus-visible, .sh .sh-tocbtn:focus-visible, .sh .sh-buy-btn:focus-visible, .sh .sh-go:focus-visible, .sh .sh-rail-close:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.sh .sh-results { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--brand-ink); color: var(--ink); font: 600 0.88rem/1.4 var(--site-font-body); }
.sh .sh-results button { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--brand-ink); background: transparent; color: var(--brand-ink); font: 600 0.78rem/1 var(--site-font-body); cursor: pointer; }

/* the floating Jobs pill and the sheet (phones and tablets) */
.sh .sh-tocbtn { position: fixed; right: var(--site-gut-r); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--site-glass-2, var(--surface)); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); color: var(--ink); font: 800 0.8rem/1 var(--site-font-disp); letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); cursor: pointer; transform: translateY(90px); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease-out), opacity 0.3s ease; }
.sh .sh-tocbtn svg { width: 18px; height: 18px; }
.sh .sh-tocbtn.on { transform: none; opacity: 1; pointer-events: auto; }
.sh .sh-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(5, 9, 13, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
html.sh-sheet-open .sh .sh-scrim { opacity: 1; pointer-events: auto; }
/* phones and tablets: two floating pills at most (D-314). The Jobs pill takes back to top's corner; the rail and the sheet get you anywhere */
@media (max-width: 1099px) { body.bb-page-shop .bb-fab { display: none !important; } }
/* the sheet lives inside the page's stacking context; the shell's floating buttons sit above it, so they step out while it is open */
html.sh-sheet-open .bb-fab, html.sh-sheet-open .bb-fabcta, html.sh-sheet-open #bbBench, html.sh-sheet-open #bbNewPass { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.2s ease; }

/* ═══ a job: its container ═══ */
.sh .sh-sec { position: relative; margin: 0 0 10px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: visible; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.sh .sh-sec.is-open { border-color: var(--line-2); box-shadow: var(--sh-1); }
.sh .sh-sec-head { margin: 0; }
.sh .sh-sec-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text chev" "thumbs thumbs"; align-items: center; gap: 10px 14px; width: 100%; padding: 18px 16px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; border-radius: var(--r-card); }
.sh .sh-sec-text { grid-area: text; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sh .sh-sec-text .sh-k { margin: 0; }
.sh .sh-h2 { font: var(--site-w-disp) clamp(1.7rem, 4.4vw, 2.7rem)/1.08 var(--site-font-disp); letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
.sh .sh-sec-thumbs { grid-area: thumbs; display: flex; }
.sh .sh-sec-thumbs img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; padding: 4px; background: #F3F5F4; border: 2px solid var(--surface); margin-left: -10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.sh .sh-sec-thumbs img:first-child { margin-left: 0; }
.sh .sh-sec-chev { grid-area: chev; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink-2); transition: transform 0.4s var(--ease-out), background 0.2s ease, color 0.2s ease; }
.sh .sh-sec-chev svg { width: 20px; height: 20px; }
.sh .sh-sec-btn:hover .sh-sec-chev { border-color: var(--brand-ink); color: var(--brand-ink); }
.sh .sh-sec.is-open .sh-sec-chev { transform: rotate(180deg); background: var(--brand-soft); border-color: var(--brand-ink); color: var(--brand-ink); }
.sh .sh-sec.is-open .sh-sec-thumbs { display: none; }
.sh .sh-sec-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s var(--ease-out); }
.sh .sh-sec-inner { min-height: 0; overflow: hidden; padding: 0 16px 18px; }
html.sh-js .sh .sh-sec:not(.is-open) .sh-sec-body { grid-template-rows: 0fr; }
html.sh-js .sh .sh-sec:not(.is-open) .sh-sec-inner { visibility: hidden; padding-bottom: 0; opacity: 0; transition: visibility 0s 0.45s, opacity 0.18s ease, padding-bottom 0.45s var(--ease-out); }
html.sh-js .sh .sh-sec.is-open .sh-sec-inner { transition: opacity 0.25s ease; }
/* pass 45 (Chris, iPhone): a closed section kept its 18 px bottom padding, so a strip of the first photo stayed on screen
   until the delayed visibility kicked in (Safari doesn't animate the row, so the body snapped shut around it). Closing
   now drops the padding and fades the content at once. */
html.sh-js .sh .sh-sec.is-open .sh-sec-inner { visibility: visible; }
.sh .sh-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sh .sh-sec.is-folded .sh-card:nth-child(n+9) { display: none; }
.sh.is-searching .sh-sec.is-folded .sh-card:nth-child(n+9) { display: flex; }
.sh.is-searching .sh-card.is-out { display: none; }
.sh.is-searching .sh-showall-wrap { display: none; }
.sh.is-searching .sh-sec.is-nomatch { opacity: 0.45; }
.sh .sh-showall { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 18px auto 0; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 600 0.88rem/1 var(--site-font-body); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.sh .sh-showall:hover { border-color: var(--brand-ink); background: var(--brand-soft); }
.sh .sh-showall svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.sh .sh-sec:not(.is-folded) .sh-showall svg { transform: rotate(180deg); }
.sh .sh-showall-wrap { display: flex; justify-content: center; }
html.sh-js:not(.no-motion) .sh .sh-sec.is-open .sh-card { animation: sh-card-in 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes sh-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* the card */
.sh .sh-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease; }
.sh .sh-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.sh .sh-pic { position: relative; aspect-ratio: 4 / 3; background: #F3F5F4; display: grid; place-items: center; overflow: hidden; }
.sh .sh-pic img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 0.5s var(--ease-out); }
.sh .sh-card:hover .sh-pic img { transform: scale(1.04); }
.sh .sh-pic::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -1px 0 var(--line); }
.sh .sh-card--noimg .sh-pic, .sh .sh-card.is-imgfail .sh-pic { background: var(--bg); }
.sh .sh-pic-none { display: grid; place-items: center; gap: 8px; color: var(--ink-2); font: 600 0.72rem/1 var(--site-font-disp); letter-spacing: 0.12em; text-transform: uppercase; }
.sh .sh-pic-none svg { width: 34px; height: 34px; opacity: 0.6; }
.sh .sh-card.is-imgfail .sh-pic img { display: none; }
.sh .sh-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.sh .sh-name { font: 800 1.05rem/1.25 var(--site-font-disp); letter-spacing: -0.01em; color: var(--ink); }
.sh .sh-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.sh .sh-fact { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 600 0.72rem/1 var(--site-font-body); color: var(--ink-2); }
.sh .sh-fact--npk { border-color: var(--brand-soft); color: var(--brand-ink); }
.sh .sh-fact--npk b { font: 700 0.76rem/1 var(--font-num); letter-spacing: 0.04em; color: var(--brand-ink); }
.sh .sh-active { font: 500 0.84rem/1.45 var(--site-font-body); color: var(--ink-2); }
.sh .sh-legal { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border-radius: 12px; font: 600 0.8rem/1.45 var(--site-font-body); color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); }
.sh .sh-legal svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--ink-3); }
.sh .sh-legal--amber { color: var(--ink); background: var(--warm-soft, rgba(245, 120, 66, 0.1)); border-color: color-mix(in srgb, var(--warm) 45%, transparent); }
.sh .sh-legal--amber svg { color: var(--warm); }
.sh .sh-legal--partial svg { color: var(--brand-ink); }
.sh .sh-source { font: 500 0.76rem/1.5 var(--site-font-body); color: var(--ink-2); }
.sh .sh-buy { margin-top: auto; padding-top: 6px; display: grid; gap: 8px; }
/* the buy pill: the seller's name in the seller's colors, no marks (Amazon's Associates rules: the word, not the logo) */
.sh .sh-buy-btn { --pill-bg: var(--surface); --pill-bg2: var(--bg); --pill-fg: var(--ink); --pill-line: var(--line-2); --pill-glow: rgba(0, 0, 0, 0.25); --pill-ring: rgba(255, 255, 255, 0.06); position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 5px 5px 5px 18px; border-radius: 999px; border: 1px solid var(--pill-line); background: linear-gradient(135deg, var(--pill-bg) 0%, var(--pill-bg2) 100%); color: var(--pill-fg); font: 900 0.86rem/1 var(--site-font-disp); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; box-shadow: 0 1px 0 var(--pill-ring) inset, 0 6px 18px var(--pill-glow); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease, filter 0.25s ease; }
.sh .sh-buy-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.08) 100%); pointer-events: none; }
.sh .sh-buy-btn::after { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent); transform: skewX(-18deg); transition: left 0.56s ease; pointer-events: none; }
.sh .sh-buy-btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--pill-ring) inset, 0 14px 30px var(--pill-glow); filter: saturate(1.08); }
.sh .sh-buy-btn:hover::after { left: 160%; }
.sh .sh-buy-btn:active { transform: translateY(0) scale(0.985); }
.sh .sh-buy-btn > span, .sh .sh-buy-btn > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sh .sh-buy-btn > b { font-weight: 900; }
.sh .sh-buy-btn.is-tight { font-size: 0.72rem; letter-spacing: 0.03em; }
.sh .sh-buy-btn.is-tighter { font-size: 0.64rem; letter-spacing: 0.01em; }
.sh .sh-buy-btn.is-tightest { font-size: 0.58rem; letter-spacing: 0; }
.sh .sh-buy-btn .sh-buy-at { font: 600 0.7rem/1 var(--site-font-body); letter-spacing: 0.02em; text-transform: none; opacity: 0.72; margin-right: -2px; }
.sh .sh-buy-btn > svg { width: 16px; height: 16px; flex: none; margin-left: auto; box-sizing: content-box; padding: 11px; border-radius: 50%; background: rgba(0, 0, 0, 0.14); color: inherit; transition: transform 0.3s var(--ease-out), background 0.25s ease; }
.sh .sh-buy-btn:hover > svg { transform: translate(2px, -2px) rotate(-8deg); background: rgba(0, 0, 0, 0.22); }
.sh .sh-buy-btn--amazon { --pill-bg: #FFB340; --pill-bg2: #F08804; --pill-fg: #0F1111; --pill-line: #F49A1C; --pill-glow: rgba(255, 153, 0, 0.32); --pill-ring: rgba(255, 255, 255, 0.45); }
.sh .sh-buy-btn--homedepot { --pill-bg: #FF8A2A; --pill-bg2: #E85A00; --pill-fg: #FFFFFF; --pill-line: #F96302; --pill-glow: rgba(249, 99, 2, 0.32); --pill-ring: rgba(255, 255, 255, 0.35); }
.sh .sh-buy-btn--lowes { --pill-bg: #1A6FC4; --pill-bg2: #003C78; --pill-fg: #FFFFFF; --pill-line: #0F5AA6; --pill-glow: rgba(0, 73, 144, 0.38); --pill-ring: rgba(255, 255, 255, 0.3); }
.sh .sh-buy-btn--homedepot > svg, .sh .sh-buy-btn--lowes > svg { background: rgba(255, 255, 255, 0.18); }
.sh .sh-buy-btn--homedepot:hover > svg, .sh .sh-buy-btn--lowes:hover > svg { background: rgba(255, 255, 255, 0.28); }
.sh .sh-buy-btn--domyown, .sh .sh-buy-btn--solutions, .sh .sh-buy-btn--map { --pill-bg: var(--surface); --pill-bg2: var(--bg); }
.sh .sh-buy-btn:not([class*="sh-buy-btn--"]):hover, .sh .sh-buy-btn--domyown:hover, .sh .sh-buy-btn--solutions:hover, .sh .sh-buy-btn--map:hover { --pill-line: var(--brand-ink); --pill-fg: var(--brand-ink); --pill-glow: rgba(91, 212, 147, 0.18); }
.sh .sh-buy-btn--map { padding-left: 14px; gap: 10px; }
.sh .sh-buy-btn--map > svg:first-child { margin-left: 0; padding: 0; background: none; width: 18px; height: 18px; color: var(--brand-ink); }
.sh .sh-buy-btn--map > svg:first-child:hover { transform: none; }
html[data-theme="light"] .sh .sh-buy-btn > svg { background: rgba(0, 0, 0, 0.08); }
html[data-theme="light"] .sh .sh-buy-btn--amazon > svg { background: rgba(0, 0, 0, 0.14); }
.sh .sh-buy-note { font: 500 0.72rem/1.5 var(--site-font-body); color: var(--ink-2); }
.sh .sh-buy-note--none { padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--ink-2); }

/* phones: the compact row card (the photo at the left, the facts at the right) */
@media (max-width: 599px) {
  .sh .sh-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .sh .sh-pic { aspect-ratio: auto; min-height: 104px; align-self: stretch; border-right: 1px solid var(--line); }
  .sh .sh-pic img { position: absolute; inset: 0; }
  .sh .sh-pic img { padding: 8px; }
  .sh .sh-pic::after { box-shadow: none; }
  .sh .sh-pic-none svg { width: 26px; height: 26px; }
  .sh .sh-pic-none span { display: none; }
  .sh .sh-body { padding: 12px 12px 14px; gap: 8px; }
  .sh .sh-name { font-size: 0.98rem; }
  .sh .sh-legal { padding: 8px 10px; font-size: 0.76rem; }
  .sh .sh-buy { padding-top: 2px; }
  .sh .sh-buy-btn { min-height: 46px; padding: 4px 4px 4px 14px; font-size: 0.78rem; letter-spacing: 0.05em; gap: 8px; }
  .sh .sh-buy-btn > svg { width: 15px; height: 15px; padding: 9px; }
  .sh .sh-buy-btn .sh-buy-at { font-size: 0.66rem; }
  .sh.is-searching .sh-sec.is-folded .sh-card:nth-child(n+9) { display: grid; }
}

/* ═══ the close: the field ═══ */
.sh .sh-close { position: relative; padding: clamp(64px, 12vh, 130px) 0; color: #FFFFFF; background: #0A0F15; border-top: 1px solid var(--line); }
.sh .sh-close-photo { position: absolute; inset: 0; }
.sh .sh-close-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.sh .sh-close-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(8, 12, 18, 0.92) 0%, rgba(8, 12, 18, 0.78) 48%, rgba(8, 12, 18, 0.5) 100%), linear-gradient(to top, var(--bg) 0%, rgba(10, 15, 21, 0) 22%, rgba(10, 15, 21, 0) 86%, rgba(10, 15, 21, 0.7) 100%); }
.sh .sh-close .ghost { top: -0.1em; right: var(--site-gut-r); left: auto; color: rgba(255, 255, 255, 0.05); -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); }
.sh .sh-close-title { font: var(--site-w-disp) clamp(2.1rem, 6.4vw, 4rem)/1.02 var(--site-font-disp); letter-spacing: var(--site-track-disp); text-wrap: balance; margin: 0 0 16px; max-width: 18ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.sh .sh-close-title em { font-style: normal; color: #5BD493; }
.sh .sh-close-sub { font-size: 1.02rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin: 0 0 24px; }
.sh .sh-close-field { padding: 10px; border-radius: 20px; background: var(--site-glass-2); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05); max-width: 560px; color: var(--ink); }
.sh .sh-close-field .sh-form-meta { padding: 0 8px 4px; }
.sh .sh-scan { display: flex; flex-direction: column; gap: 10px; }
.sh .sh-addr { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--sh-1); transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.sh .sh-addr:focus-within { border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-soft), var(--sh-2); }
.sh .sh-addr-pin { color: var(--brand-ink); flex-shrink: 0; }
.sh .sh-addr input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: 600 16px/52px var(--site-font-body); height: 52px; padding: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.sh .sh-addr input::placeholder { color: var(--ink-3); }
.sh .sh-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; display: none; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-2); text-align: left; }
.sh .sh-sugg.open { display: block; }
.sh .sh-sugg [role="option"] { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: 0.92rem; color: var(--ink); }
.sh .sh-sugg [role="option"]:hover { background: var(--brand-soft); }
.sh .sh-sugg [role="option"] svg { width: 16px; height: 16px; flex: none; color: var(--brand-ink); }
.sh .sh-go { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 24px; border: 0; border-radius: 14px; font: 800 0.92rem/1 var(--site-font-disp); letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-fg); background: linear-gradient(135deg, var(--warm) 0%, var(--site-warm-press) 100%); cursor: pointer; overflow: hidden; white-space: nowrap; box-shadow: 0 10px 30px rgba(245, 120, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.sh .sh-go::after { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-18deg); transition: left 0.56s ease; }
.sh .sh-go:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(245, 120, 66, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.sh .sh-go:hover::after { left: 160%; }
.sh .sh-go:active { transform: translateY(0) scale(0.98); }
.sh .sh-go svg { width: 18px; height: 18px; }
.sh .sh-form-meta { font: 700 0.68rem/1.5 var(--site-font-disp); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* ═══ tablet and desktop ═══ */
/* up to the rail: the table of contents is the sheet */
@media (max-width: 1099px) {
  .sh .sh-rail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; max-height: min(78vh, 640px); padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; background: var(--surface); border-top: 1px solid var(--line-2); box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.45); overflow: auto; overscroll-behavior: contain; transform: translateY(110%); transition: transform 0.45s var(--ease-out); }
  .sh .sh-rail::before { content: ''; display: block; width: 44px; height: 5px; margin: 0 auto 12px; border-radius: 999px; background: var(--line-2); }
  html.sh-sheet-open .sh .sh-rail { transform: none; }
  .sh .sh-rail-close { display: inline-flex; align-items: center; }
  .sh .sh-toc { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .sh .sh-toc li { flex: 1 1 100%; min-width: 0; }
  .sh .sh-toc-a { min-height: 44px; background: var(--bg); border: 1px solid var(--line); }
  .sh .sh-toc-a.is-on { border-color: var(--brand-ink); }
}
@media (min-width: 600px) {
  .sh .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sh .sh-sec-btn { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "text thumbs chev"; padding: 20px 20px; }
  .sh .sh-sec-inner { padding: 0 20px 20px; }
  .sh .sh-toc li { flex-basis: calc(50% - 6px); }
}
@media (min-width: 900px) {
  .sh .sh-hero { padding-top: calc(var(--sh-navh) + 56px); padding-bottom: 40px; }
  .sh .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .sh .sh-scan { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .sh .sh-scan .sh-addr { flex: 1 1 320px; }
  .sh .sh-scan .sh-form-meta { flex-basis: 100%; }
  .sh .sh-go { width: auto; }
}
/* the rail: desktop */
@media (min-width: 1100px) {
  .sh .sh-catalog-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .sh .sh-rail { position: sticky; top: var(--sh-navb, 92px); max-height: calc(100vh - var(--sh-navb, 92px) - 24px); overflow: auto; scrollbar-width: thin; padding: 2px; }
  .sh .sh-tools--top { display: none; }
  .sh .sh-tocbtn, .sh .sh-scrim { display: none; }
  .sh .sh-sec-btn { padding: 22px 24px; }
  .sh .sh-sec-inner { padding: 0 24px 24px; }
}
@media (min-width: 1400px) {
  .sh .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .sh .sh-card, .sh .sh-pic img, .sh .sh-buy-btn, .sh .sh-toc-a, .sh .sh-go, .sh .sh-sec-body, .sh .sh-sec-chev, .sh .sh-rail, .sh .sh-tocbtn { transition: none; }
  .sh .sh-card:hover { transform: none; }
  html.sh-js .sh .sh-sec.is-open .sh-card { animation: none; }
}

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }

/* pass 44: right-sized photos arrive in a <picture>; it takes no box, so every rule written for the img still applies */
.sh picture { display: contents; }
