/* Shop page only: hero, marquee, collection filters, product grid, product page, how-it-works.
   Shared tokens, buttons, header and footer are in /style.css. */

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 10px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: var(--brand-primary); border: 2px solid var(--brand-ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 3px solid var(--brand-ink); }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob.one { top: -140px; left: -120px; width: 360px; height: 360px; background: var(--brand-success); opacity: .35; }
.hero-blob.two { bottom: -160px; right: -120px; width: 320px; height: 320px; background: var(--brand-highlight); opacity: .6; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center;
  padding: clamp(40px, 8vw, 88px) var(--edge) clamp(48px, 8vw, 96px);
}
.sticker {
  display: inline-block; margin: 0; transform: rotate(-3deg);
  background: var(--brand-highlight); border: var(--outline); border-radius: 999px; box-shadow: var(--pop);
  padding: 7px 16px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: .98; max-width: 11ch; margin-top: 22px; min-height: 1.96em; }
.hero .lede { font-size: clamp(16px, 1.9vw, 19px); line-height: 1.6; max-width: 40ch; margin: 20px 0 0; color: color-mix(in srgb, var(--brand-ink) 88%, var(--brand-bg)); min-height: 3.2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { padding-inline: 24px; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.perks li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.perks svg { width: 18px; height: 18px; flex: none; padding: 2px; border-radius: 99px; background: var(--brand-success); border: 1.5px solid var(--brand-ink); }

/* Hero art matches clickcase.co: the product photo in an organic blob on a peach blob. The photos
   already show a phone in a case, so there's no drawn phone frame around them. */
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 440 / 520; animation: floaty 6s ease-in-out infinite; }
.hero-shape { position: absolute; inset: 0; background: var(--brand-primary); border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; }
.case {
  position: absolute; inset: 26px; overflow: hidden;
  background: var(--brand-secondary); border: 3px solid var(--brand-ink);
  border-radius: 56% 44% 52% 48% / 50% 54% 46% 50%;
}
.case-back { position: absolute; inset: 0; overflow: hidden; }
.case-back img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-back.placeholder { display: grid; place-items: center; }
.case-back.placeholder img { width: 36%; height: auto; object-fit: contain; }
.case-back.clicking-in { animation: hero-fade-in .7s ease both; z-index: 2; }
.case-back.clicking-out { animation: hero-fade-out .6s ease both; z-index: 1; }
.case-cam { display: none; }
@keyframes hero-fade-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-fade-out { from { opacity: 1; } to { opacity: 0; } }
.hero-sticker {
  position: absolute; bottom: 6%; left: -2%; margin: 0;
  background: var(--card-bg); border: var(--outline); border-radius: 14px; box-shadow: var(--pop);
  padding: 9px 14px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  animation: wiggle 3.5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } }
@keyframes click-in { 0% { transform: translateY(115%); } 70% { transform: translateY(-3%); } 85% { transform: translateY(1%) scale(.99); } 100% { transform: none; } }
@keyframes click-out { to { transform: translateY(-10%) scale(.96); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--brand-secondary); border-bottom: 3px solid var(--brand-ink); padding: 12px 0; }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 30s linear infinite; font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 26px); line-height: 1.2; }
.marquee-track span { padding: 0 22px; text-transform: uppercase; }
.marquee-track b { font: 400 18px/1 system-ui, sans-serif; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- shop ---------- */
.wrap { max-width: none; margin: 0; padding: clamp(44px, 7vw, 72px) var(--edge) clamp(56px, 8vw, 88px); }
.shop:focus { outline: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5.5vw, 54px); }
.section-head > p { margin: 0 0 6px; font-weight: 600; }

.toolbar { display: grid; gap: 14px; margin: 0 0 26px; }
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 4px 4px 6px 2px;
}
.filters button {
  border: var(--outline); background: var(--card-bg); color: var(--brand-ink);
  font-weight: 800; font-size: 14px; line-height: 1.2; padding: 9px 16px; min-height: 40px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--pop-sm); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.filters button:hover { transform: translate(-1px, -1px); box-shadow: var(--pop); }
.filters button[aria-pressed="true"] { background: var(--brand-ink); color: var(--brand-bg); box-shadow: 2px 2px 0 var(--brand-primary); }
.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.model-pick {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-bg); border: var(--outline); border-radius: 999px; padding: 0 14px; min-height: 44px; box-shadow: var(--pop-sm);
}
.model-pick:focus-within { outline: 3px solid var(--brand-secondary-strong, var(--brand-secondary)); outline-offset: 3px; }
.model-pick svg { width: 18px; height: 18px; flex: none; }
.model-pick select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--brand-ink);
  font: 800 14px/1.2 var(--font-body); padding: 12px 22px 12px 0; cursor: pointer; max-width: 62vw;
}
.model-pick select:focus { outline: none; }
.model-pick::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border: solid var(--brand-ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.result-count { margin: 0; font-size: 14px; font-weight: 600; color: var(--brand-ink-soft); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 22px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--brand-highlight); border: var(--outline); border-radius: 20px; padding: 12px;
  box-shadow: var(--pop-lg); transition: transform .2s ease, box-shadow .2s ease;
}
.card.tone-1 { background: var(--brand-success); }
.card.tone-2 { background: var(--brand-secondary); }
.card.tone-3 { background: var(--brand-primary); }
.card:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 7px 7px 0 var(--brand-ink); }
.card .media { aspect-ratio: 4 / 5; border: var(--outline); border-radius: 12px; overflow: hidden; background: var(--card-bg); }
.media img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .media img.photo { transform: scale(1.04); }
.media img.photo.alt { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.card:hover .media img.photo.alt { opacity: 1; }
.card.is-out .media img { filter: grayscale(.5); opacity: .75; }
.media .tag {
  position: absolute; top: 10px; left: 10px; transform: rotate(-3deg); pointer-events: none;
  background: var(--card-bg); color: var(--brand-ink); border: var(--outline); border-radius: 999px; box-shadow: var(--pop-sm);
  font-size: 12px; font-weight: 800; padding: 3px 10px; letter-spacing: .02em;
}
.card .body { display: grid; gap: 4px; flex: 1; align-content: start; padding: 0 4px; }
.card h3 { font: 800 16px/1.2 var(--font-body); margin: 0; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--brand-ink); outline-offset: 4px; }
.artist { margin: 0; font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
.artist b { font-weight: 800; color: var(--brand-ink); }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; font-weight: 700; margin-right: 3px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; background: var(--card-bg); border: 1.5px solid var(--brand-ink); border-radius: 999px; padding: 3px 10px 3px 8px; white-space: nowrap; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #2E9B6A; }
.stock.low::before { background: #E07A12; }
.stock.out { background: var(--brand-ink); color: var(--brand-bg); }
.stock.out::before { background: var(--brand-bg); }
.card .btn { position: relative; z-index: 1; margin-top: 10px; width: 100%; }
.heart { z-index: 2; border: var(--outline); box-shadow: var(--pop-sm); width: 40px; height: 40px; top: 10px; right: 10px; }

.notice { justify-content: space-between; flex-wrap: wrap; }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 16px; background: var(--card-bg); border: 2px dashed var(--brand-ink); border-radius: 24px; }
.empty .display { font-size: clamp(28px, 5vw, 36px); }
.empty p { margin: 0; }
.empty .btn { margin-top: 8px; }
.empty img { width: 64px; height: auto; }

.skeleton { display: grid; gap: 10px; padding: 12px; border-radius: 20px; border: 2px solid color-mix(in srgb, var(--brand-ink) 12%, transparent); background: var(--card-bg); }
.skeleton span, .skeleton i { display: block; border-radius: 12px; background: linear-gradient(90deg, var(--brand-surface), color-mix(in srgb, var(--brand-surface) 30%, var(--card-bg)), var(--brand-surface)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.skeleton span { aspect-ratio: 4 / 5; }
.skeleton i { height: 14px; width: 70%; }
.skeleton i + i { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- product page (/design/<slug>) ----------
   The photo sits in an outlined organic blob on a colour field (like the clickcase.co hero), with
   stickers stuck on at an angle. The photos already show a phone in a case: no drawn phone frame. */
.pd { display: block; padding: 18px var(--edge) clamp(64px, 9vw, 96px); }
.pd:focus, .pd-title:focus, .how:focus { outline: none; }
.pd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 clamp(16px, 3vw, 28px); padding: 0; font-size: 14px; font-weight: 700; }
.pd-crumbs li { min-width: 0; }
.pd-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--brand-ink-soft); }
.pd-crumbs a { text-decoration: none; }
.pd-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-crumbs li:first-child a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; background: var(--card-bg); border: var(--outline); border-radius: 999px; box-shadow: var(--pop-sm); }
.pd-crumbs li:first-child a:hover { text-decoration: none; background: var(--brand-highlight); }
.pd-crumbs [aria-current] { color: var(--brand-ink-soft); overflow-wrap: anywhere; }

.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4.5vw, 64px); align-items: start; }
.pd-gallery { position: sticky; top: 92px; display: grid; gap: 16px; justify-items: center; }
.pd-stage { --tone: var(--brand-primary); position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.06; display: grid; place-items: center; }
.pd-stage.tone-blue { --tone: var(--brand-secondary); }
.pd-stage.tone-yellow { --tone: var(--brand-highlight); }
.pd-stage.tone-mint { --tone: var(--brand-success); }
.pd-field { position: absolute; inset: 0; background: var(--tone); border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; }
.pd-blob {
  /* Same shape as a back (1000 x 1300), so the whole design shows, corners and all */
  position: relative; width: 70%; aspect-ratio: 10 / 13; overflow: hidden;
  background: var(--card-bg); border: 3px solid var(--brand-ink);
  border-radius: 34px; box-shadow: 6px 6px 0 var(--brand-ink);
  transform: rotate(-2.5deg);
}
.pd-photo { width: 100%; height: 100%; object-fit: cover; }
.pd-blob.is-empty { display: grid; place-items: center; background: var(--brand-bg); }
.pd-mark { width: 34%; height: auto; }
.pd-sticker {
  position: absolute; z-index: 2; margin: 0; pointer-events: none;
  background: var(--brand-highlight); color: var(--brand-ink); border: var(--outline); border-radius: 999px; box-shadow: var(--pop);
  padding: 7px 15px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.pd-sticker.is-badge { top: 7%; left: 0; transform: rotate(-8deg); }
.pd-sticker.is-stock { bottom: 9%; right: 0; transform: rotate(6deg); background: var(--brand-primary); }
.pd-sticker.is-stock.is-out { background: var(--brand-ink); color: var(--brand-bg); }
.pd-stage .heart { top: 5%; right: 7%; width: 46px; height: 46px; border: var(--outline); box-shadow: var(--pop-sm); }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pd-thumbs button { width: 64px; aspect-ratio: 10 / 13; padding: 0; border: 2px solid color-mix(in srgb, var(--brand-ink) 25%, transparent); border-radius: 14px; overflow: hidden; background: var(--card-bg); }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--brand-ink); box-shadow: var(--pop-sm); transform: rotate(-3deg); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-info { display: grid; gap: 18px; align-content: start; min-width: 0; }
.pd-info .eyebrow { margin: 0; }
.pd-title { font-size: clamp(42px, 6vw, 68px); overflow-wrap: anywhere; }
.pd-by { font-size: 16px; margin-top: -10px; }
.pd-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-price .price { font-size: 28px; }

/* Phone chips: real radio buttons dressed as chunky pills; the picked one is peach. */
.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { font-weight: 800; font-size: 14px; padding: 0; margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 7px 18px;
  background: var(--card-bg); border: var(--outline); border-radius: 999px; box-shadow: var(--pop);
  font-size: 14px; font-weight: 800; line-height: 1.15; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.chip-name { display: inline-flex; align-items: center; gap: 7px; }
.chip:hover > span { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--brand-ink); }
.chip input:checked + span { background: var(--brand-primary); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--brand-ink); }
.chip input:checked + span .chip-name::before { content: ""; width: 9px; height: 9px; border-radius: 99px; background: var(--brand-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--brand-secondary-strong, var(--brand-secondary)); outline-offset: 3px; }
.chip small { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.chip.is-out > span { background: var(--brand-surface); color: var(--brand-ink-soft); border-style: dashed; box-shadow: none; }
.chip.is-out .chip-name { text-decoration: line-through; text-decoration-thickness: 2px; }
.chip.is-out input:checked + span { background: color-mix(in srgb, var(--brand-primary) 35%, var(--brand-surface)); }
.chips.nudge .chip-row { animation: nudge .45s ease; }
@keyframes nudge { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pd-pick-msg { margin: 12px 0 0; display: inline-block; padding: 8px 14px; font-size: 14px; font-weight: 700; color: #8A2E17; background: #FFE4DC; border: var(--outline); border-radius: 14px; }

.pd-actions { display: grid; gap: 10px; }
.pd-add { font-size: 17px; min-height: 54px; }
.pd-added { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--brand-success); border: var(--outline); border-radius: 14px; padding: 10px 12px 10px 16px; font-weight: 700; font-size: 14px; }

/* Starter kit: The Frame + this back, as its own playful card. */
.kit { position: relative; display: grid; gap: 12px; margin-top: 10px; padding: 24px 20px 20px; background: var(--brand-highlight); border: var(--outline); border-radius: 26px; box-shadow: var(--pop-lg); }
.kit-sticker { position: absolute; top: -15px; right: 20px; margin: 0; transform: rotate(5deg); background: var(--brand-success); border: var(--outline); border-radius: 999px; box-shadow: var(--pop-sm); padding: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.kit-title { font-size: clamp(28px, 4vw, 34px); }
.kit-tiles { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0 2px; }
.kit-tile { display: grid; justify-items: center; gap: 8px; width: 112px; }
.kit-art { width: 84px; aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; background: var(--card-bg); border: var(--outline); border-radius: 18px; box-shadow: var(--pop); }
.kit-frame .kit-art { background: var(--brand-secondary); transform: rotate(-5deg); }
.kit-back .kit-art { transform: rotate(5deg); }
.kit-art img { width: 100%; height: 100%; object-fit: cover; }
.kit-art img.pd-mark { width: 50%; height: auto; object-fit: contain; }
.kit-art svg { width: 48%; fill: none; stroke: var(--brand-ink); stroke-width: 3.5; }
.kit-name { font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.kit-plus { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--brand-primary); border: var(--outline); border-radius: 999px; box-shadow: var(--pop-sm); font-size: 26px; font-weight: 800; line-height: 1; }
.kit-line { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.kit-price { margin: 0; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kit-btn { min-height: 52px; font-size: 16px; }
.kit-why { margin: 0; font-size: 13px; font-weight: 600; color: var(--brand-ink-soft); }
.kit.is-off .kit-why { color: #8A2E17; font-weight: 700; }
.kit.is-off .kit-tiles { filter: grayscale(.6); opacity: .7; }
/* The "click": the back slides over to the frame and snaps in. Off for prefers-reduced-motion. */
.kit.is-snapping .kit-back .kit-art { animation: kit-snap .65s cubic-bezier(.3, 1.4, .5, 1); }
.kit.is-snapping .kit-plus { animation: kit-pop .65s ease; }
.kit.is-snapping .kit-frame .kit-art { animation: kit-thunk .65s ease; }
@keyframes kit-snap { 0% { transform: rotate(5deg); } 45% { transform: translateX(-58px) rotate(0) scale(.94); } 60% { transform: translateX(-54px) scale(1.05); } 100% { transform: rotate(5deg); } }
@keyframes kit-pop { 45% { transform: scale(1.35) rotate(90deg); background: var(--brand-success); } }
@keyframes kit-thunk { 45%, 55% { transform: rotate(-5deg) scale(1.06); } }

.pd-desc { margin: 0; font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--brand-ink) 88%, var(--brand-bg)); white-space: pre-line; }
.pd-voice { margin: 0; font-family: var(--font-display); font-synthesis: none; font-size: clamp(22px, 3vw, 26px); line-height: 1.15; transform: rotate(-1.5deg); transform-origin: left; }
.pd-perks { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px; background: var(--card-bg); border: var(--outline); border-radius: 18px; }
.pd-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.pd-perks svg { width: 20px; height: 20px; flex: none; }
.pd-how { padding: 18px; background: var(--card-bg); border: var(--outline); border-radius: 20px; }
.pd-h { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pd-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-how li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.pd-how .num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--brand-primary); border: var(--outline); border-radius: 99px; font-weight: 800; font-size: 14px; }
.pd-how li:nth-child(2) .num { background: var(--brand-secondary); }
.pd-how li:nth-child(3) .num { background: var(--brand-success); }

/* Meet the artist + more designs: a gallery feel, not a SKU page. */
.pd-artist { position: relative; overflow: hidden; display: grid; gap: 8px; justify-items: start; max-width: 760px; margin-top: clamp(48px, 7vw, 80px); padding: clamp(22px, 4vw, 32px); padding-right: clamp(22px, 14vw, 160px); background: var(--card-bg); border: var(--outline); border-radius: 28px; box-shadow: var(--pop-lg); }
.pd-artist::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; background: var(--brand-success); border: var(--outline); border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; }
.pd-artist .eyebrow { margin: 0; }
.pd-artist h2 { font-size: clamp(36px, 5.5vw, 54px); position: relative; z-index: 1; }
.pd-artist-line { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; max-width: 46ch; position: relative; z-index: 1; }
.pd-artist .muted { margin: 0; }
.pd-more { margin-top: clamp(36px, 5vw, 56px); }
.pd-more h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.pd-more-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* Mobile: a slim add bar once the main button scrolls out of view. */
.pd-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--brand-bg); border-top: var(--outline); box-shadow: 0 -4px 0 color-mix(in srgb, var(--brand-ink) 8%, transparent);
  transform: translateY(110%); transition: transform .25s ease;
}
.pd-sticky.show { transform: none; }
.pd-sticky-info { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.pd-sticky-info b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-sticky-price { font-size: 13px; font-weight: 600; color: var(--brand-ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-sticky .btn { flex: none; }
.pd-sticky-on .toast { bottom: 92px; }

.pd-missing { display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(32px, 7vw, 72px) 16px; }
.pd-missing .display { font-size: clamp(34px, 6vw, 52px); }
.pd-missing p { margin: 0; max-width: 42ch; }
.pd-missing-blob { width: 150px; height: 150px; display: grid; place-items: center; background: var(--brand-highlight); border: 3px solid var(--brand-ink); border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; box-shadow: 5px 5px 0 var(--brand-ink); transform: rotate(-6deg); }
.pd-missing-blob img { width: 46%; height: auto; }

.pd-skel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4.5vw, 64px); padding-top: 56px; }
.pd-skel span, .pd-skel i { display: block; background: linear-gradient(90deg, var(--brand-surface), color-mix(in srgb, var(--brand-surface) 30%, var(--card-bg)), var(--brand-surface)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.pd-skel span { aspect-ratio: 1 / 1.06; border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; }
.pd-skel div { display: grid; gap: 16px; align-content: start; }
.pd-skel i { height: 18px; border-radius: 99px; width: 60%; }
.pd-skel i:first-child { height: 56px; width: 85%; border-radius: 18px; }
.pd-skel i:last-child { height: 54px; width: 100%; }

/* ---------- how it works ---------- */
.how { background: var(--brand-ink); color: var(--brand-bg); }
.how-inner { padding: clamp(56px, 9vw, 88px) var(--edge); display: grid; justify-items: center; text-align: center; }
.how .eyebrow { color: var(--brand-primary); }
.how .eyebrow::before { border-color: var(--brand-bg); }
.how h2 { font-size: clamp(34px, 6.5vw, 56px); }
.how-lede { max-width: 46ch; margin: 16px 0 0; font-size: 17px; opacity: .85; }
.steps { list-style: none; padding: 0; margin: 44px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 100%; text-align: left; }
.steps li { background: color-mix(in srgb, var(--brand-bg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--brand-bg) 18%, transparent); border-radius: 20px; padding: 28px 24px; }
.steps .num { width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--brand-ink); background: var(--brand-primary); margin-bottom: 18px; }
.steps li:nth-child(2) .num { background: var(--brand-secondary); }
.steps li:nth-child(3) .num { background: var(--brand-success); }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .82; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-art { order: -1; width: min(300px, 78vw); }
  .hero h1 { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .pd-top, .pd-skel { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-stage { max-width: 440px; }
}
@media (max-width: 600px) {
  .hero-inner { padding-top: 28px; }
  .hero-art { width: min(240px, 66vw); }
  .hero-cta .btn { flex: 1 1 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .toolbar-row .model-pick { flex: 1 1 auto; }
  .model-pick select { width: 100%; max-width: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .card { padding: 8px; gap: 8px; border-radius: 16px; box-shadow: var(--pop); }
  .card:hover { transform: none; box-shadow: var(--pop); }
  .card h3 { font-size: 14px; }
  .card .body { padding: 0 2px; }
  .artist { font-size: 12px; }
  .price { font-size: 16px; }
  .stock { font-size: 11px; padding: 2px 8px 2px 6px; }
  .card .btn { min-height: 40px; padding: 8px 10px; font-size: 13px; }
  .heart { width: 36px; height: 36px; top: 6px; right: 6px; }
  .heart svg { width: 18px; height: 18px; }
  .media .tag { top: 6px; left: 6px; font-size: 11px; padding: 2px 8px; }
  .pd { padding-top: 12px; }
  .pd-crumbs ol { font-size: 13px; }
  .pd-sticker { font-size: 11.5px; padding: 5px 12px; }
  .kit { padding: 22px 16px 16px; }
  .chip > span { padding: 7px 14px; }
}
@media (min-width: 861px) {
  .pd-sticky { display: none; }
}
@media (max-width: 400px) {
  .kit-tiles { gap: 10px; }
  .kit-tile { width: 96px; }
  .kit-art { width: 76px; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art, .case-back, .hero-sticker, .marquee-track, .kit *, .chips .chip-row { animation: none !important; }
  .pd-sticky, .chip > span { transition: none; }
}
