/* THE STORE PRODUCT PAGE. Loaded only by the engine product pages rendered by
   tools/catalog.mjs pages (the Room, the Booth, the Studio). Everything shared
   with the rest of the site comes from site.css; this file is the store layer:
   the gallery, the buy panel, the buyer cards, the add-on picker, the four
   steps, the limits and the post-purchase intake. Tokens are site.css tokens.
   UIUX 2026-09-18, after Adam: "Not sure why outbound pages don't lay out like
   a store's product page. It just feels more like a true standalone purchase." */

.pp { --pp-ink: #0b0b0e; --pp-gold: #e6c15c; --pp-paper: #f3efe6; }
.pp .wrap { max-width: var(--wrap); }

/* ---------- the first screen ---------- */
.pscreen { padding-block: clamp(1.4rem, 3vw, 2.4rem) clamp(2.4rem, 5vw, 4rem); }
.pscreen__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: clamp(1.6rem, 3.5vw, 3rem); align-items: start; }
.pscreen__side { display: grid; gap: 1.1rem; min-width: 0; }
.pscreen__head h1 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); font-weight: 900; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.05; margin: 0.4rem 0 0.7rem; text-wrap: balance; }
.pscreen__head .pkick { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; color: var(--lav-deep); text-transform: uppercase; margin: 0; }
.pscreen__lede { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; margin: 0; }

/* the gallery */
.pgal { display: grid; gap: 0.7rem; min-width: 0; }
.pgal__main { margin: 0; position: relative; background: var(--pp-ink); border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
.pgal__main img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--pp-ink); }
.pgal__cap { margin: 0; padding: 0.55rem 0.2rem 0; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; min-height: 2.6em; }
.pgal__cap b { color: var(--ink); font-weight: 600; }
.pgal__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pgal__thumbs button { display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--pp-ink); cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.15s var(--ease), opacity 0.15s var(--ease); opacity: 0.72; }
.pgal__thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgal__thumbs button[aria-current="true"] { outline-color: var(--lav); opacity: 1; }
.pgal__thumbs button:hover, .pgal__thumbs button:focus-visible { opacity: 1; outline-color: var(--lav-line); }
.pgal__thumbs button:focus-visible { outline-color: var(--lav); }

/* the buy panel */
.pbuy { position: sticky; top: calc(var(--navh, 64px) + 0.9rem); background: #fff; border: 1px solid var(--hair, var(--lav-line)); border-radius: 16px; padding: clamp(1.2rem, 2.4vw, 1.7rem); box-shadow: var(--depth-2, 0 16px 36px -18px oklch(0.3 0.09 300 / 0.32)); display: grid; gap: 0.9rem; }
.pbuy__state { margin: 0; }
.pbuy__state .t-status { font-size: 0.58rem; }
.pbuy__proof { margin: -0.4rem 0 0; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }
.ptoggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--lav-tint); border: 1px solid var(--lav-line); border-radius: 10px; padding: 3px; gap: 3px; }
.ptoggle button { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; padding: 0.62rem 0.4rem; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); cursor: pointer; }
.ptoggle button[aria-pressed="true"] { background: #fff; color: var(--lav-deep); box-shadow: 0 1px 2px oklch(0.3 0.09 300 / 0.12), 0 4px 10px -6px oklch(0.3 0.09 300 / 0.3); }
.pbuy__price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin: 0; }
.pbuy__price b { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.pbuy__price b.is-card { font-size: 1.35rem; font-weight: 700; }
.pbuy__price span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }
.pbuy__what { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.pbuy .btn { width: 100%; text-align: center; padding: 0.95rem 1rem; font-size: 0.92rem; }
.pbuy .btn[aria-disabled="true"] { background: var(--lav-line); color: var(--ink-soft); box-shadow: none; pointer-events: none; transform: none; }
.pbuy__three { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }
.pnotify { display: grid; gap: 0.5rem; padding: 0.9rem; border-radius: 10px; background: var(--lav-tint); border: 1px solid var(--lav-line); }
.pnotify label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.pnotify__row { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem; }
.pnotify input { min-width: 0; height: 46px; border: 1.5px solid var(--lav-line); border-radius: 9px; padding: 0 0.8rem; font: inherit; font-size: 0.95rem; background: #fff; }
.pnotify input:focus-visible { outline: 2px solid var(--lav); outline-offset: 1px; }
.pnotify .btn { width: auto; padding: 0 1rem; font-size: 0.78rem; }
.pnotify__fine { margin: 0; font-size: 0.78rem; color: var(--ink-soft); }
.pnotify__done { margin: 0; font-weight: 600; color: var(--lav-deep); }
.pbuy__facts { list-style: none; margin: 0; padding: 0.2rem 0 0; display: grid; gap: 0.35rem; font-size: 0.84rem; color: var(--ink-soft); border-top: 1px solid var(--lav-line); padding-top: 0.9rem; }
.pbuy__facts li { display: grid; grid-template-columns: 14px 1fr; gap: 0.55rem; align-items: start; }
.pbuy__facts li::before { content: ""; width: 14px; height: 14px; margin-top: 0.2em; border-radius: 50%; background: var(--lav-tint); border: 1.5px solid var(--lav); }
.pbuy.is-ratified .pnotify { display: none; }

/* the mobile buy bar: appears when the panel is off screen */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--lav-line); padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); display: none; grid-template-columns: 1fr auto; align-items: center; gap: 0.8rem; box-shadow: 0 -10px 30px -18px oklch(0.3 0.09 300 / 0.5); }
.pbar b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.pbar small { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.pbar .btn { padding: 0.75rem 1rem; font-size: 0.8rem; }
.pbar .btn[aria-disabled="true"] { background: var(--lav-line); color: var(--ink-soft); box-shadow: none; pointer-events: none; }

/* ---------- direction B: the demo first ---------- */
.pstage { background: var(--pp-ink); color: var(--pp-paper); position: relative; overflow: hidden; }
.pstage__img { display: block; width: 100%; max-height: 78vh; object-fit: cover; object-position: center; opacity: 0.92; }
.pstage__cover { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,14,0.86) 0%, rgba(11,11,14,0.15) 42%, rgba(11,11,14,0.25) 100%); pointer-events: none; }
.pstage__head { position: absolute; top: clamp(1.4rem, 4vw, 3rem); left: 0; right: 0; }
.pstage__head .pkick { color: var(--pp-gold); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.5rem; }
.pstage__head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 900; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.02; margin: 0; max-width: 20ch; text-wrap: balance; }
.pstage__head p { color: var(--pp-paper); opacity: 0.86; max-width: 58ch; margin: 0.8rem 0 0; font-size: 1.05rem; }
.pstage .pbuy { position: absolute; right: var(--gutter); bottom: clamp(1.2rem, 3vw, 2.4rem); width: min(400px, 40%); top: auto; }
.pp--b .pgal__thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 1rem; }
.pp--b .pgal__cap { display: none; }

/* ---------- below the fold ---------- */
.psec { padding-block: clamp(2.6rem, 5.5vw, 4.5rem); }
.psec--tint { background: var(--lav-tint); }
.psec h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); font-weight: 900; font-stretch: 106%; letter-spacing: -0.02em; margin: 0 0 0.5rem; max-width: 26ch; text-wrap: balance; }
.psec__lede { color: var(--ink-soft); max-width: 62ch; margin: 0 0 1.6rem; }

.pcases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.pcase { border: 1px solid var(--hair, var(--lav-line)); border-radius: 14px; padding: 1.3rem 1.35rem 1.4rem; background: #fff; display: grid; gap: 0.6rem; align-content: start; }
.pcase h3 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.pcase p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.pcase__pain { color: var(--ink-soft); }
.pcase__gets { color: var(--ink); padding-top: 0.6rem; border-top: 1px solid var(--lav-line); }
.pcase__gets::before { content: "You get"; display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 0.25rem; }

.pp .compare { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: 0; }
.pp .compare__col li span:last-child { font-size: 0.93rem; }

.padd__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }
.padd__row { display: grid; grid-template-columns: 24px 1fr auto; gap: 0.8rem 0.9rem; align-items: start; padding: 0.9rem 1rem; border: 1px solid var(--hair, var(--lav-line)); border-radius: 12px; background: #fff; cursor: pointer; }
.padd__row:has(input:checked) { border-color: var(--lav); background: linear-gradient(170deg, #fff, var(--lav-tint)); }
.padd__row input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--lav); cursor: pointer; }
.padd__row b { font-weight: 800; font-size: 1rem; display: inline; }
.padd__row .t-status { margin-left: 0.5rem; vertical-align: 0.15em; font-size: 0.56rem; }
.padd__row .padd__line { display: block; margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; }
.padd__price { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; padding-top: 0.15rem; }
.padd__price.is-num { color: var(--ink); font-weight: 700; }
.padd__total { margin-top: 1rem; background: var(--ink); color: #fff; border-radius: 12px; padding: 0.9rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.padd__total p { margin: 0; font-size: 0.92rem; }
.padd__total b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.padd__total .btn { padding: 0.65rem 1rem; font-size: 0.78rem; }
.padd__total .btn[aria-disabled="true"] { background: oklch(0.4 0.03 300); color: oklch(0.8 0.02 300); pointer-events: none; box-shadow: none; }

.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.psteps li { counter-increment: step; border-top: 3px solid var(--lav); padding-top: 0.9rem; }
.psteps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--lav-deep); display: block; margin-bottom: 0.4rem; }
.psteps h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 800; }
.psteps p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; }
.psteps li:last-child { border-top-color: var(--gold); }

.plimits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; max-width: 70ch; }
.plimits li { padding-left: 1.4rem; position: relative; color: var(--ink); line-height: 1.5; }
.plimits li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 2px; background: var(--lav); }

.pintake form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; max-width: 860px; }
.pintake .pf { display: grid; gap: 0.35rem; }
.pintake .pf--wide { grid-column: 1 / -1; }
.pintake label, .pintake legend { font-weight: 600; font-size: 0.92rem; color: var(--ink); padding: 0; }
.pintake .pf__hint { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.pintake input:not([type="checkbox"]), .pintake select, .pintake textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--lav-line); border-radius: 9px; padding: 0.6rem 0.8rem; font: inherit; font-size: 0.95rem; background: #fff; color: var(--ink); }
.pintake textarea { min-height: 120px; resize: vertical; }
.pintake input:focus-visible, .pintake select:focus-visible, .pintake textarea:focus-visible { outline: 2px solid var(--lav); outline-offset: 1px; }
.pintake fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.pintake .pf__checks { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pintake .pf__checks label { font-weight: 500; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.7rem; border: 1px solid var(--lav-line); border-radius: 999px; cursor: pointer; }
.pintake .pf__checks label:has(input:checked) { border-color: var(--lav); background: var(--lav-tint); }
.pintake .pf__checks input, .pintake .pf--check input { width: 18px; height: 18px; accent-color: var(--lav); margin: 0; }
.pintake .pf--check label { display: inline-flex; gap: 0.6rem; align-items: center; font-weight: 500; }
.pintake .pf--submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pintake__done { margin: 0; font-weight: 600; color: var(--lav-deep); }
.pintake__picked { margin: 0 0 1.2rem; font-size: 0.9rem; color: var(--ink-soft); }
.pintake__picked b { color: var(--ink); }
.pintake__note { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 62ch; }

.pgoes { padding-block: 1.6rem 2.6rem; font-size: 0.95rem; color: var(--ink-soft); }
.pgoes a { font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .pscreen__grid { grid-template-columns: 1fr; }
  .pscreen__head h1 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
  .padd__list { grid-template-columns: 1fr; }
  .pbuy { position: static; }
  .pcases { grid-template-columns: 1fr; }
  .psteps { grid-template-columns: 1fr 1fr; }
  .pstage .pbuy { position: static; width: auto; margin: 0 var(--gutter) 1.6rem; }
  .pstage__img { max-height: 56vh; }
  .pstage__head { position: static; padding: clamp(1.4rem, 4vw, 3rem) 0 1.2rem; }
  .pstage__cover { display: none; }
  .pstage__img { opacity: 1; }
}
@media (max-width: 640px) {
  .pgal__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp .compare { grid-template-columns: 1fr; }
  .psteps { grid-template-columns: 1fr; }
  .pintake form { grid-template-columns: 1fr; }
  .padd__row { grid-template-columns: 24px 1fr; }
  .padd__price { grid-column: 2; padding-top: 0; }
  .pnotify__row { grid-template-columns: 1fr; }
  .pnotify .btn { width: 100%; padding: 0.8rem; }
  .pbar.is-on { display: grid; }
  body:has(.pbar.is-on) { padding-bottom: 76px; }
  /* the SAMM bubble and the exit panel sit bottom-right at z 59 to 61; lift them over the bar */
  body:has(.pbar.is-on) .smc-open, body:has(.pbar.is-on) .smc-panel, body:has(.pbar.is-on) .hail { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pgal__thumbs button, .ptoggle button { transition: none; }
}

/* ---------- the package builder and the Continue (Adam, 22:5x: "the ability to customize any package,
   which can still turn into a booking or a seat") ---------- */
.pbuild { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.pbuild__step { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: start; }
.pbuild__cap { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav-deep); padding-top: 1rem; }
.pbuild__base { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; padding: 0.9rem 1rem; border: 1px solid var(--lav); border-radius: 12px; background: linear-gradient(170deg, #fff, var(--lav-tint)); }
.pbuild__base b { font-size: 1rem; font-weight: 800; }
.pbuild__base span { color: var(--ink-soft); font-size: 0.92rem; }
.pbuild__swap { margin-left: auto; background: transparent; border: 1px solid var(--lav-line); border-radius: 999px; padding: 0.35rem 0.75rem; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--lav-deep); cursor: pointer; }
.pbuild__swap:hover, .pbuild__swap:focus-visible { border-color: var(--lav); background: #fff; }
.pcontinue { margin-top: 0.8rem; padding: 1.1rem 1.2rem; border: 1px solid var(--hair, var(--lav-line)); border-radius: 12px; background: #fff; display: grid; gap: 0.8rem; }
.pcontinue__what { margin: 0; color: var(--ink); font-size: 0.95rem; line-height: 1.5; max-width: 70ch; }
.pcontinue__form { display: grid; gap: 0.4rem; }
.pcontinue__form label { font-weight: 600; font-size: 0.9rem; }
.pcontinue__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem; }
.pcontinue__row input { min-width: 0; height: 46px; border: 1.5px solid var(--lav-line); border-radius: 9px; padding: 0 0.8rem; font: inherit; font-size: 0.95rem; background: #fff; }
.pcontinue__row input:focus-visible { outline: 2px solid var(--lav); outline-offset: 1px; }
.pcontinue__row .btn { padding: 0 1rem; font-size: 0.78rem; white-space: nowrap; }
.pcontinue[data-state="open"] .btn, .pcontinue[data-state="paid"] .btn { justify-self: start; padding: 0.85rem 1.4rem; }

/* ---------- ratings and reviews ---------- */
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 16px; height: 16px; display: inline-block; background: var(--lav-line); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--gold); }
.pbuy__rating { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink-soft); font-size: 0.82rem; margin-top: -0.3rem; }
.pbuy__rating:hover small { text-decoration: underline; }
.previews__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.previews__sum { border: 1px solid var(--hair, var(--lav-line)); border-radius: 14px; padding: 1.2rem 1.3rem; display: grid; gap: 0.4rem; justify-items: start; background: #fff; }
.previews__avg { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.previews__sum .stars i { width: 20px; height: 20px; }
.previews__sum small { color: var(--ink-soft); font-size: 0.85rem; }
.previews__dist { list-style: none; margin: 0.6rem 0 0; padding: 0; width: 100%; display: grid; gap: 0.3rem; }
.previews__dist li { display: grid; grid-template-columns: 14px 1fr 24px; gap: 0.5rem; align-items: center; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); }
.previews__dist .bar { height: 8px; background: var(--lav-tint); border-radius: 4px; overflow: hidden; }
.previews__dist .bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.4s var(--ease); }
.previews__dist em { font-style: normal; text-align: right; }
.previews__list { display: grid; gap: 0.8rem; align-content: start; }
.previews__empty { margin: 0; padding: 1.2rem 1.3rem; border: 1px dashed var(--lav-line); border-radius: 14px; color: var(--ink-soft); }
.preview { border: 1px solid var(--hair, var(--lav-line)); border-radius: 14px; padding: 1rem 1.2rem; background: #fff; }
.preview__head { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.preview__head b { font-size: 0.92rem; }
.preview__head small { color: var(--ink-soft); font-family: var(--font-mono); font-size: 0.72rem; }
.preview p { margin: 0; color: var(--ink); font-size: 0.95rem; line-height: 1.5; }
.previews__write { margin-top: 1.4rem; border-top: 1px solid var(--lav-line); padding-top: 1rem; }
.previews__write summary { cursor: pointer; font-weight: 700; color: var(--lav-deep); }
.previews__write form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; max-width: 760px; margin-top: 1rem; }
.previews__write .pf { display: grid; gap: 0.3rem; }
.previews__write .pf--wide, .previews__write .pf--submit, .previews__pick { grid-column: 1 / -1; }
.previews__write label, .previews__write legend { font-weight: 600; font-size: 0.9rem; padding: 0; }
.previews__write input:not([type="radio"]), .previews__write textarea { width: 100%; min-height: 46px; border: 1.5px solid var(--lav-line); border-radius: 9px; padding: 0.55rem 0.8rem; font: inherit; font-size: 0.95rem; background: #fff; }
.previews__write input:focus-visible, .previews__write textarea:focus-visible { outline: 2px solid var(--lav); outline-offset: 1px; }
.previews__write .pf__hint { margin: 0; font-size: 0.78rem; color: var(--ink-soft); }
.previews__pick { border: 0; margin: 0; padding: 0; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.previews__pick legend { margin-bottom: 0.4rem; }
.previews__pick label { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--lav-line); border-radius: 10px; cursor: pointer; font-weight: 700; position: relative; }
.previews__pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.previews__pick label:has(input:checked) { border-color: var(--lav); background: var(--lav-tint); color: var(--lav-deep); }
.previews__pick label:has(input:focus-visible) { outline: 2px solid var(--lav); outline-offset: 2px; }
.previews__write .pf--submit { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.ptest__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.ptest__q { margin: 0; border-left: 3px solid var(--gold); padding: 0.2rem 0 0.2rem 1.1rem; }
.ptest__q p { margin: 0 0 0.5rem; font-size: 1.05rem; line-height: 1.5; }
.ptest__q footer { color: var(--ink-soft); font-size: 0.88rem; }
@media (max-width: 980px) {
  .previews__grid { grid-template-columns: 1fr; }
  .pbuild__step { grid-template-columns: 1fr; gap: 0.4rem; }
  .pbuild__cap { padding-top: 0; }
}
@media (max-width: 640px) {
  .pcontinue__row { grid-template-columns: 1fr; }
  .pcontinue__row .btn { padding: 0.8rem; }
  .previews__write form { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   CRO PASS, 2026-09-19. Adam, on his phone: "the store is laid out in mobile difficult."
   ════════════════════════════════════════════════════════════════════════ */
/* the gallery strip: one image at a time on desktop (thumbs switch it), a swipe with dots on a phone */
.pgal__strip { display: grid; width: 100%; height: 100%; }
.pgal__strip img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--pp-ink); grid-area: 1 / 1; }
.pgal__strip img:not([aria-current="true"]) { visibility: hidden; }
.pgal__dots { display: none; }
@media (max-width: 640px) {
  .pgal__main { aspect-ratio: 3 / 2; border-radius: 12px; }
  .pgal__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .pgal__strip::-webkit-scrollbar { display: none; }
  .pgal__strip img { flex: none; width: 100%; scroll-snap-align: center; visibility: visible !important; }
  .pgal__thumbs { display: none; }
  .pgal__dots { display: flex; justify-content: center; gap: 0.15rem; margin: 0; }
  .pgal__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .pgal__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lav-line); transition: transform .15s var(--ease), background .15s; }
  .pgal__dots button[aria-current="true"]::before { background: var(--lav-deep); transform: scale(1.35); }
  .pgal__cap { min-height: 0; text-align: center; }

  /* the first screen on a phone: the headline, then the picture, then the buy panel */
  .pscreen__side { display: contents; }
  .pscreen__head { order: -1; }
  .pgal { order: 0; }
  .pbuy { order: 1; }
  .pscreen__grid { gap: 1rem; }

  /* the builder: a clean list with big tick targets and the total pinned above the bar */
  .padd__row { grid-template-columns: 30px 1fr; gap: 0.5rem 0.8rem; padding: 0.95rem 0.9rem; min-height: 56px; align-items: center; }
  .padd__row input { width: 26px; height: 26px; margin: 0; }
  .padd__price { grid-column: 2; }
  .padd__total { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom) + 0.5rem); z-index: 29; box-shadow: 0 12px 30px -14px oklch(0.2 0.06 300 / 0.7); }

  /* every control a thumb can hit */
  .ptoggle button { min-height: 44px; }
  .pbar { grid-template-columns: minmax(0, 1fr) auto; }
  .pbar .btn { min-height: 48px; padding-inline: 1.3rem; }
  .pbar__to { color: inherit; text-decoration: none; min-width: 0; display: block; }
  .previews__write summary, .faq summary { min-height: 44px; }
}
/* the reviews fold under their own heading (closed on a phone by the page script) */
.pfold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.8rem; }
.pfold > summary::-webkit-details-marker { display: none; }
.pfold > summary h2 { margin: 0; }
.pfold > summary::after { content: ""; width: 11px; height: 11px; border-right: 2.5px solid var(--lav); border-bottom: 2.5px solid var(--lav); transform: rotate(45deg); flex: none; margin-left: auto; transition: transform .2s var(--ease); }
.pfold[open] > summary::after { transform: rotate(-135deg); }
.pfold > summary + .psec__lede { margin-top: 0.8rem; }
