/* Made By Brad — "Gallery" design system
   Layout: boxed content (84% / max 1240px), never edge-to-edge imagery.
   Light: white, light gray, blue accent. Dark: black, white text, gray, light blue-gray. */
:root {
  --bg: #ffffff;
  --surface: #f3f4f6;
  --surface-2: #e9ecf0;
  --line: #e1e4e9;
  --fg: #0e1116;
  --muted: #5b6270;
  --accent: #000093;
  --accent-hover: #1a1aa8;
  --logo: #000093;
  --accent-ink: #ffffff;
  --accent-soft: #ebebf7;
  --sale: #000093;
  --ok: #1f7a4d;
  --err: #b42318;
  --shadow: 0 18px 50px rgba(14, 17, 22, .12);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --wrap: min(84%, 1240px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #0c0d0f; --surface-2: #15171a; --line: #25282d; --fg: #ffffff; --muted: #9ea3ab;
    --accent: #aebdcd; --accent-hover: #c8d4e0; --logo: #ffffff; --accent-ink: #000000; --accent-soft: #141a21; --sale: #aebdcd; --ok: #6fcf97; --err: #ff8a80;
    --shadow: 0 18px 50px rgba(0, 0, 0, .6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #0c0d0f; --surface-2: #15171a; --line: #25282d; --fg: #ffffff; --muted: #9ea3ab;
  --accent: #aebdcd; --accent-hover: #c8d4e0; --logo: #ffffff; --accent-ink: #000000; --accent-soft: #141a21; --sale: #aebdcd; --ok: #6fcf97; --err: #ff8a80;
  --shadow: 0 18px 50px rgba(0, 0, 0, .6); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 300; }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--muted); }
.eyebrow { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lede { color: var(--muted); font-size: 16.5px; max-width: 64ch; }
.link { background: none; border: 0; padding: 0; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.select-all { user-select: all; font-weight: 500; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Mode-dependent visibility (etsy | stripe | shopify) */
[data-show-mode] { display: none !important; }
body[data-mode="etsy"] [data-show-mode~="etsy"],
body[data-mode="stripe"] [data-show-mode~="stripe"],
body[data-mode="shopify"] [data-show-mode~="shopify"] { display: revert !important; }
body[data-mode="etsy"] a.btn[data-show-mode~="etsy"] { display: inline-flex !important; }
body[data-mode="stripe"] .btn[data-show-mode~="stripe"], body[data-mode="shopify"] .btn[data-show-mode~="shopify"] { display: inline-flex !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); padding: 12px 24px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 16px 28px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line); padding: 10px 18px; border-radius: 2px; cursor: pointer; font-size: 14px; }
.btn-ghost:hover { border-color: var(--fg); }
.btn[disabled] { opacity: .5; cursor: wait; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--surface); }

/* Announcement + header */
.announce { background: var(--fg); color: var(--bg); text-align: center; font-size: 12.5px; letter-spacing: .02em; padding: 9px max(16px, env(safe-area-inset-left)); }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 40; }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 0 10px; }
.header-left { display: flex; align-items: center; gap: 8px; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
/* Brand lockup: Brad's seal (CSS mask, so it takes the theme's logo color) + wordmark */
.brand-mark { display: block; flex: none; width: 58px; height: 58px; background: var(--logo); -webkit-mask: url(/assets/logo-mark.svg) center / contain no-repeat; mask: url(/assets/logo-mark.svg) center / contain no-repeat; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; justify-self: center; }
.brand-text { font: 400 30px/1 var(--serif); letter-spacing: -.015em; }
.logo small { display: block; font: 600 9.5px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.logo:hover .brand-mark { background: var(--accent); }
.logo-drawer .brand-mark { width: 40px; height: 40px; }
.logo-drawer .brand-text { font-size: 21px; }
.footer-seal { display: inline-block; margin-bottom: 14px; }
.footer-seal .brand-mark { width: 96px; height: 96px; }
.logo-sm { font: 400 22px var(--serif); }
.menu-btn { display: none; }
.search { position: relative; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; width: min(260px, 100%); background: var(--bg); }
.search svg { width: 17px; height: 17px; color: var(--muted); }
.search input { border: 0; background: transparent; padding: 9px 0; width: 100%; font-size: 13.5px; outline: none; }
.search:focus-within { border-color: var(--fg); }
.search-results { position: absolute; left: 0; top: calc(100% + 8px); width: min(420px, 86vw); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60; max-height: 70vh; overflow: auto; }
.search-results a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.search-results a:hover, .search-results a.on { background: var(--surface); }
.search-results img { width: 48px; height: 48px; object-fit: cover; }
.search-results .all { display: block; text-align: center; font-weight: 600; }
.rating-pill { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; text-decoration: none; color: var(--muted); margin-right: 6px; }
.stars { color: var(--accent); letter-spacing: 1.5px; font-size: 13px; }
[data-theme-toggle] .i-sun { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .i-sun { display: block; }
:root[data-theme="dark"] [data-theme-toggle] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-theme-toggle] .i-sun { display: block; }
  :root:not([data-theme="light"]) [data-theme-toggle] .i-moon { display: none; }
}
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 10.5px/18px var(--sans); }

.main-nav { display: flex; justify-content: center; gap: 4px; }
.nav-item > a { display: block; padding: 10px 16px 14px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; font-weight: 500; }
.nav-item > a:hover { color: var(--accent); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; padding: 30px 0 34px; }
.mega-col { display: flex; flex-direction: column; gap: 7px; }
.mega-col a { text-decoration: none; font-size: 14px; color: var(--muted); }
.mega-col a:hover { color: var(--fg); }
.mega-h { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.mega-feature { position: relative; display: block; text-decoration: none; background: var(--surface); }
.mega-feature img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.mega-feature span { display: block; padding: 12px 14px; font: 400 16px var(--serif); }

/* Drawers */
.drawer, .cart { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .45); }
.drawer-panel, .cart-panel { position: absolute; top: 0; bottom: 0; background: var(--bg); width: min(400px, 90vw); display: flex; flex-direction: column; padding: max(18px, env(safe-area-inset-top)) 22px 22px; overflow: auto; }
.drawer-panel { left: 0; }
.cart-panel { right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-panel a { display: block; padding: 8px 0; text-decoration: none; color: var(--muted); }
.drawer-panel .drawer-strong { color: var(--fg); font-weight: 600; border-bottom: 1px solid var(--line); padding: 14px 0; }
.drawer-panel details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.drawer-panel summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.cart-items { flex: 1; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; }
.cart-line .opts { color: var(--muted); font-size: 12.5px; }
.cart-line .qty { margin-top: 6px; }
.cart-line .rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 12px; padding: 0; }
.cart-empty { color: var(--muted); padding: 30px 0; text-align: center; }
.cart-foot { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; }
.ship-meter { font-size: 13px; color: var(--muted); }
.ship-meter .bar { height: 4px; background: var(--surface-2); margin-top: 6px; }
.ship-meter .bar i { display: block; height: 100%; background: var(--accent); }

/* Hero (home) */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; background: var(--surface); margin-top: 30px; overflow: hidden; }
.hero-txt { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-txt > p { color: var(--muted); max-width: 44ch; font-size: 16px; }
.hero-proof { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); text-decoration: none; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s ease; }
.hero-media:hover img { transform: scale(1.025); }
.proof { display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.proof b { color: var(--fg); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.proof svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* Sections */
.section { margin-top: clamp(52px, 7vw, 88px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.circles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 18px; }
.tile-circle { text-align: center; text-decoration: none; font-size: 14px; display: grid; gap: 10px; }
.tile-circle img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, opacity .25s; }
.tile-circle:hover img { border-color: var(--fg); opacity: .9; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.tile { position: relative; display: block; overflow: hidden; text-decoration: none; background: var(--surface); }
.tile img { aspect-ratio: 4/5; width: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; font: 400 21px var(--serif); }
.tile-label em { display: block; font: 500 12px var(--sans); font-style: normal; letter-spacing: .08em; opacity: .85; margin-top: 2px; }
.why-band { background: var(--surface); padding: clamp(36px, 5vw, 60px) clamp(22px, 4vw, 56px); }
.why-band > h2 { margin-bottom: 30px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 36px; }
.why-item h3 { font-size: 20px; margin: 10px 0 6px; }
.why-item p { color: var(--muted); }
.why-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); }
.why-icon svg { width: 16px; height: 16px; }
.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); }
.split-txt { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.split-txt p:not(.eyebrow) { color: var(--muted); max-width: 46ch; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process li { padding: 24px 24px 8px 0; }
.process .step { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.process h3 { margin: 8px 0; }
.process p { color: var(--muted); font-size: 14.5px; }
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gift-card { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.gift-card:hover { border-color: var(--fg); }
.gift-name { font: 400 22px var(--serif); }
.gift-occ { color: var(--muted); font-size: 13.5px; }
.gift-count { font-size: 13px; margin-top: 8px; color: var(--accent); font-weight: 600; }
.gift-card-img { padding: 0 0 18px; }
.gift-card-img img { aspect-ratio: 4/3; width: 100%; object-fit: cover; margin-bottom: 12px; }
.gift-card-img > span { padding: 0 18px; }
.gift-grid-lg { margin-bottom: 40px; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 22px; }
.coll .grid { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; overflow: hidden; background: var(--surface); }
.card-media img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.card-media .alt { position: absolute; inset: 0; height: 100%; opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.03); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { display: inline-block; background: var(--bg); color: var(--fg); font: 600 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.badge-sale { background: var(--accent); color: var(--accent-ink); }
.badge-soft { background: var(--surface-2); }
.card-body { padding-top: 14px; display: grid; gap: 4px; }
.card-title { font: 500 14.5px/1.4 var(--sans); letter-spacing: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-rating { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.card-rating-empty { font-size: 12px; }
.price { font-variant-numeric: tabular-nums; font-size: 14.5px; }
.price s, .pdp-price s { color: var(--muted); margin-left: 6px; font-size: .9em; }
.price .from { color: var(--muted); font-size: 12.5px; }
.card-glasses { font-size: 12px; color: var(--muted); }

/* Breadcrumbs, page heads */
.crumbs ol { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.coll-head, .page-head { padding: 26px 0 30px; display: grid; gap: 12px; }
.page-head.center { justify-items: center; padding: 80px 0; }

/* Collection layout + filters (Crystal Imagery-style) */
.coll { display: grid; grid-template-columns: 250px 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.coll-side { position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; padding-right: 6px; }
.filter-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-close, .filter-foot { display: none; }
.facet { border-bottom: 1px solid var(--line); }
.facet summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary svg, .accordions summary svg, .faq summary svg { width: 16px; height: 16px; transition: transform .2s; }
.facet[open] summary svg, .accordions details[open] summary svg, .faq details[open] summary svg { transform: rotate(180deg); }
.facet-body { display: grid; gap: 2px; padding-bottom: 14px; max-height: 280px; overflow: auto; }
.facet label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; cursor: pointer; color: var(--muted); }
.facet label:hover, .facet input:checked + span { color: var(--fg); }
.facet em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.facet input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--muted); border-radius: 2px; display: grid; place-items: center; margin: 0; }
.facet input:checked { background: var(--fg); border-color: var(--fg); }
.facet input:checked::after { content: ""; width: 8px; height: 4px; border: solid var(--bg); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-btn { display: none; }
.result-count { color: var(--muted); font-size: 13.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 8px 5px 12px; font-size: 12.5px; cursor: pointer; }
.chip svg { width: 14px; height: 14px; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select, .select select { appearance: none; border: 1px solid var(--line); background: var(--bg); padding: 9px 34px 9px 12px; border-radius: 2px; cursor: pointer; }
.sort { position: relative; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 36px; }
.related-links { margin: 70px 0 10px; }
.related-links h2 { font-size: 22px; margin-bottom: 14px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; text-decoration: none; }
.pill-links a:hover { border-color: var(--fg); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 60px); padding-top: 22px; align-items: start; }
.gallery { position: sticky; top: 140px; display: grid; gap: 12px; }
.gallery-main { background: var(--surface); overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-main.zoomed img { transform: scale(1.8); cursor: zoom-out; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--surface); cursor: pointer; }
.thumb img { aspect-ratio: 1; object-fit: cover; width: 100%; opacity: .75; }
.thumb.on { border-color: var(--fg); }
.thumb.on img, .thumb:hover img { opacity: 1; }
.buybox { display: grid; gap: 14px; }
.buybox h1 { font-size: clamp(26px, 2.8vw, 36px); }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-decoration: none; }
.pdp-price { font-size: 24px; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.buy { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.field label .muted { font-weight: 400; }
.select { position: relative; }
.select select { width: 100%; padding: 12px 40px 12px 14px; font-size: 14.5px; }
.select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); padding: 12px 14px; border-radius: 2px; }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--fg); }
.qty { display: inline-flex; border: 1px solid var(--line); width: max-content; }
.qty button { width: 40px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.qty input { width: 52px; border: 0 !important; text-align: center; padding: 10px 0 !important; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-line .qty button { width: 30px; }
.cart-line .qty input { width: 36px; padding: 4px 0 !important; }
.note, .etsy-note { font-size: 13px; color: var(--muted); }
.etsy-note { text-align: center; }
.form-msg { font-size: 13.5px; min-height: 1em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.assurances { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 10px; font-size: 14px; }
.assurances li { display: flex; gap: 10px; align-items: flex-start; }
.assurances svg { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.accordions details, .faq details { border-bottom: 1px solid var(--line); }
.accordions summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; font-size: 14.5px; }
.accordions summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.rte { color: var(--muted); font-size: 14.5px; display: grid; gap: 12px; padding-bottom: 18px; overflow-wrap: anywhere; }
.rte strong { color: var(--fg); }
.rte ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.rte h2 { color: var(--fg); font-size: 22px; margin-top: 14px; }
.rte.narrow { max-width: 70ch; font-size: 15.5px; }
.sticky-buy { display: none; }

/* Custom, FAQ, about */
.custom-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.custom-grid h2 { font-size: 24px; margin: 26px 0 12px; }
.custom-grid > div > h2:first-child { margin-top: 0; }
.steps-list { padding-left: 20px; display: grid; gap: 10px; color: var(--muted); margin: 0; }
.steps-list b { color: var(--fg); }
.tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.tick li::before { content: "✓"; color: var(--accent); margin-right: 10px; }
.card-form { background: var(--surface); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; position: sticky; top: 140px; }
.card-form h2 { margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.table-wrap { overflow-x: auto; }
.tiers { border-collapse: collapse; width: 100%; max-width: 460px; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.tiers th, .tiers td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tiers th { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.faq { max-width: 820px; }
.faq p { color: var(--muted); padding-bottom: 18px; max-width: 70ch; }
.about-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.about-split .rte { font-size: 16px; }

/* Newsletter + footer */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 90px; padding: 40px 0; border-top: 1px solid var(--line); }
.newsletter p { color: var(--muted); margin-top: 6px; }
.subscribe { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.subscribe input { border: 1px solid var(--line); background: var(--bg); padding: 12px 14px; border-radius: 2px; }
.subscribe .form-msg { grid-column: 1 / -1; }
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid a { display: block; text-decoration: none; color: var(--muted); padding: 3px 0; }
.footer-grid a:hover { color: var(--fg); }
.footer-brand p { color: var(--muted); margin-bottom: 10px; max-width: 34ch; }
.footer-brand .logo-sm { color: var(--fg); }
.foot-h { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.footer-base a { text-decoration: none; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .coll .grid { grid-template-columns: repeat(2, 1fr); }
  .circles { grid-template-columns: repeat(4, 1fr); }
  .rating-pill span { display: none; }
}
@media (max-width: 900px) {
  :root { --wrap: min(92%, 1240px); }
  .header-top { grid-template-columns: auto 1fr auto; padding: 12px 0; }
  .brand-text { font-size: 21px; }
  .brand-mark { width: 40px; height: 40px; }
  .logo { gap: 10px; }
  .logo small { display: none; }
  .menu-btn { display: inline-grid; }
  .search { display: none; }
  .search.open { display: flex; position: absolute; left: 4%; right: 4%; top: 100%; width: auto; margin-top: 6px; }
  .main-nav { display: none; }
  .rating-pill { display: none; }
  .hero, .split-band, .pdp, .custom-grid, .about-split, .newsletter { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .gallery, .card-form { position: static; }
  .why-grid, .gift-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .grid, .coll .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .coll { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
  .coll-side { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); max-height: none; z-index: 90; background: var(--bg); padding: 18px 20px; transform: translateX(-102%); transition: transform .25s; box-shadow: var(--shadow); display: flex; flex-direction: column; }
  .coll-side.open { transform: none; }
  .coll-side .facets { flex: 1; overflow: auto; }
  .filter-close, .filter-foot { display: block; }
  .filter-foot { padding-top: 12px; }
  .filter-btn { display: inline-flex; }
  .sort span { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--line); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
  .sticky-buy.show { transform: none; }
  .sticky-buy .wrap { display: flex; align-items: center; gap: 12px; }
  .sticky-buy .sb-name { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { padding: 10px 16px; }
}
@media (max-width: 560px) {
  .circles { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
  .tile-circle { font-size: 12.5px; }
  .why-grid, .gift-grid, .process, .row2 { grid-template-columns: 1fr; }
  .proof { justify-content: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .subscribe { grid-template-columns: 1fr; }
  .card-title { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 900px) { .facet-body { max-height: none; } }
.coll-faq h2 { margin-bottom: 10px; } .coll-faq .fine { margin-top: 14px; }
.footer-brand .social a { display: inline; padding: 0; }
