/* Product page: commerce first, storybook touches second. */
.pdp-main { padding-top: calc(var(--hdr-h) + 8px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0; font-size: 0.9rem; font-weight: 700; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.crumbs [aria-current] { color: var(--ink); }
h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); margin-bottom: 18px; }

/* buy area */
.buy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.gallery { position: sticky; top: calc(var(--hdr-h) + 16px); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-sunk); box-shadow: var(--sc-e2); }
.gallery__main img, .gallery__main video { width: 100%; height: 100%; object-fit: cover; }
.gallery__age { position: absolute; top: 14px; left: 14px; }
.gallery__thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-sunk); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: var(--sticker); }
.thumb__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-plum); font-size: 1.2rem; background: rgba(53,42,70,0.35); }

.buybox { display: grid; gap: 14px; }
.buybox__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.buybox h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 700; }
.buybox__lede { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.buybox__count { margin: 0; font-weight: 800; color: var(--ink-muted); }
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 6px 0; }
.price--lg { font-size: 2.2rem; }
.buybox__actions { display: flex; gap: 10px; }
.btn--grow { flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper-raised); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; font-weight: 800; cursor: pointer; border-radius: 50%; }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.assure { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.assure li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 0.97rem; line-height: 1.45; }
.assure svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--meadow-soft); fill: none; stroke: var(--meadow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bundle { margin: 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--paper-sunk); font-size: 0.95rem; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; font-weight: 800; color: var(--ink); }

/* sections */
.glance { padding: clamp(40px, 6vw, 80px) 0; }
.glance__grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.glance__grid div { padding: 16px 18px; border-radius: var(--r-md); background: var(--paper-raised); border: 1px solid var(--line); }
.glance__grid dt { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.glance__grid dd { margin: 4px 0 0; font-weight: 800; font-size: 1.05rem; }
.tbc { color: var(--tangerine); font-weight: 800; }
.band { padding: clamp(56px, 8vw, 110px) 0; }
.band--sunk { background: var(--paper-sunk); }
.band--paper { background: var(--paper-raised); }
.inside { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.inside__list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.inside__list li { position: relative; padding-left: 32px; font-size: 1.1rem; font-weight: 700; }
.inside__list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--star) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23352A46' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.inside__pose { width: min(260px, 70%); height: auto; justify-self: center; }
.howto { padding: clamp(56px, 8vw, 110px) 0; }
.howto__steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.howto__steps li { counter-increment: s; padding: 22px; border-radius: var(--r-lg); background: var(--paper-raised); border: 1px solid var(--line); }
.howto__steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--star); color: var(--on-star); font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; box-shadow: var(--sticker); }
.howto__steps h3, .stages h3 { font-size: 1.3rem; margin-bottom: 6px; }
.howto__steps p, .stages p { margin: 0; line-height: 1.5; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stages li { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.safety { padding: clamp(56px, 8vw, 110px) 0; }
.safety__panel { max-width: 820px; border: 2px solid var(--ink); border-radius: var(--r-md); overflow: hidden; background: var(--paper-raised); }
.safety__warn { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: var(--tangerine-soft); border-bottom: 2px solid var(--ink); }
.safety__warn svg { width: 30px; height: 30px; flex: none; }
.safety__warn p { margin: 0; font-weight: 700; }
.safety__warn strong { color: var(--tangerine); text-transform: uppercase; letter-spacing: 0.05em; }
.safety__grid { margin: 0; padding: 16px 18px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 0.95rem; }
.safety__grid dt { font-weight: 800; color: var(--ink-muted); }
.safety__grid dd { margin: 0; font-weight: 700; }
.reviews { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.reviews img { width: 150px; height: auto; }
.reviews p { font-size: 1.05rem; }
.faq { padding: clamp(56px, 8vw, 110px) 0 20px; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; line-height: 1.6; max-width: 62ch; }
.pairs { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.pairs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; }

/* sticky phone bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper-raised); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(53,42,70,0.10); transform: translateY(110%); transition: transform 220ms var(--sc-ease-out); }
.buybar div { display: grid; line-height: 1.2; }
.buybar span { font-weight: 800; color: var(--ink-muted); }
.buybar.is-on { transform: none; }

@media (max-width: 900px) {
  .buy { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inside { grid-template-columns: 1fr; }
  .inside__pose { width: 160px; }
  .howto__steps, .stages { grid-template-columns: 1fr; }
  .pairs__grid { grid-template-columns: 1fr; }
  .buybar { display: flex; }
  .reviews { grid-template-columns: 1fr; }
  .reviews img { width: 110px; }
  .safety__grid { grid-template-columns: 1fr; gap: 2px; }
  .safety__grid dd { margin-bottom: 10px; }
  .foot { padding-bottom: 96px; }
}
