/* ══════════════════════════════════════════════════════════════════════════
   The product page, in the island's hand (body.pdp-alive).

   bazaar2.css draws the page as black-outlined paper cut-outs on a green
   field. Here the same page sits on cream like the shelves: the product on a
   stage in its aisle's colour, the buy box as plain type with soft panels,
   and the doodle cast's park strips kept between sections.

   Scoped to body.pdp-alive and loaded after bazaar2.css, park.css and
   shelf.css (which provides the tokens and the shared card).
   ══════════════════════════════════════════════════════════════════════════ */

body.pdp-alive {
  --ink: #17382f;
  --red: #b8321f;
  --accent: #b8321f;
  --text-primary: #17382f;
  --text-secondary: #53665a;
  --cream: #ebeedf;
  --ink-shadow: none;
  --ink-shadow-sm: none;
  --ink-shadow-lg: none;
  overflow-x: clip;
  background: var(--sh-paper);
  background-image: none;
  color: var(--sh-ink);
}
body.pdp-alive h1, body.pdp-alive h2, body.pdp-alive h3 { font-family: Fredoka, Nunito, system-ui, sans-serif; color: var(--sh-ink); }
body.pdp-alive .bunting-strip { display: none; }
body.pdp-alive .crumb { padding-top: 22px; color: var(--sh-muted); font-weight: 700; text-shadow: none; }
body.pdp-alive .crumb a { border: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9c7b6; }
body.pdp-alive .crumb a:hover { text-decoration-color: currentColor; }
body.pdp-alive .ptop { gap: clamp(28px, 4vw, 64px); padding-top: 18px; }

/* ── The stage: the product in its aisle's light ──────────────────────── */
body.pdp-alive .gallery { top: 120px; }
body.pdp-alive .stage {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 36px;
  background: var(--t-bg);
  box-shadow: none;
  transform: none;
  isolation: isolate;
  cursor: zoom-in;
  touch-action: pan-y pinch-zoom;
  outline-offset: 4px;
}
body.pdp-alive .stage::before {
  content: "";
  position: absolute;
  inset: 10% 8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 248, .82), rgba(255, 255, 248, 0));
  z-index: 0;
  pointer-events: none;
}
body.pdp-alive .stage img {
  position: relative;
  padding: 7%;
  box-sizing: border-box;
  mix-blend-mode: multiply;
  transform-origin: var(--zx, 50%) var(--zy, 50%);
  transition: transform .5s var(--sh-out), opacity .25s ease;
}
body.pdp-alive .stage video { position: relative; z-index: 1; border-radius: 36px; }
body.pdp-alive .stage.is-zooming img { transform: scale(2); transition: transform .25s var(--sh-out); }
body.pdp-alive .stage.is-turning img { opacity: .2; }
body.pdp-alive .pp-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 250, .85);
  color: var(--t-ink);
  font: 800 12.5px/1 Nunito, system-ui, sans-serif;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
body.pdp-alive .pp-hint:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.pdp-alive .stage:hover .pp-hint { opacity: 1; }
  body.pdp-alive .stage.is-zooming .pp-hint { opacity: 0; }
}
body.pdp-alive .pp-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: none;
  gap: 6px;
  transform: translateX(-50%);
}
body.pdp-alive .pp-dots i { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--t-ink) 28%, transparent); transition: width .35s var(--sh-out), background .3s ease; }
body.pdp-alive .pp-dots i.on { width: 20px; background: var(--t-ink); }
@media (hover: none), (pointer: coarse) {
  body.pdp-alive .pp-dots { display: flex; }
  body.pdp-alive .stage { cursor: default; }
}

body.pdp-alive .thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}
body.pdp-alive .thumbs::-webkit-scrollbar { display: none; }
body.pdp-alive .thumb {
  flex: 0 0 76px;
  height: 76px;
  border: 0;
  border-radius: 18px;
  background: var(--t-bg);
  outline: 0;
  transition: transform .35s var(--sh-out), box-shadow .25s ease;
}
body.pdp-alive .thumb img { object-fit: contain; padding: 8%; box-sizing: border-box; mix-blend-mode: multiply; }
body.pdp-alive .thumb:hover { transform: translateY(-2px); box-shadow: none; }
body.pdp-alive .thumb.sel { outline: 0; box-shadow: 0 0 0 2.5px var(--sh-paper), 0 0 0 4.5px var(--t-ink); }

/* ── The buy box: type first, no boxes ────────────────────────────────── */
body.pdp-alive .buy {
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.pdp-alive .buy h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 10px; }
body.pdp-alive .ptag { margin: 4px 0 12px; max-width: 46ch; color: var(--sh-ink-2); font-size: 18px; line-height: 1.5; font-weight: 600; }
.pdp-for { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 14px; font-size: 14px; }
.pdp-for span { color: var(--sh-muted); font-weight: 800; margin-right: 2px; }
.pdp-for em { font-style: normal; font-weight: 800; padding: 7px 12px; border-radius: 99px; background: var(--t-bg); color: var(--t-ink); }
body.pdp-alive .rate { color: var(--sh-muted); }
body.pdp-alive .rate a { border: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9c7b6; }
body.pdp-alive .pricebox { margin: 18px 0 10px; }
body.pdp-alive .pricebox .now { font-family: Fredoka, Nunito, system-ui, sans-serif; font-size: 44px; letter-spacing: -.02em; color: var(--sh-ink); }
body.pdp-alive .deliv {
  margin: 10px 0 14px;
  padding: 12px 16px;
  border: 0;
  border-radius: 18px;
  background: var(--sh-paper-2);
  color: var(--sh-ink-2);
  font-weight: 700;
}
body.pdp-alive .resale-note {
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--sh-card);
  box-shadow: inset 0 0 0 1.5px var(--sh-line);
  color: var(--sh-ink-2);
}
body.pdp-alive .resale-note b { color: var(--sh-ink); }
body.pdp-alive .phl { list-style: none; padding: 0; margin: 16px 0 6px; display: grid; gap: 9px; }
body.pdp-alive .phl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--sh-ink); }
body.pdp-alive .phl svg { flex: none; margin-top: 2px; fill: none; stroke: var(--t-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pdp-translated {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 4px;
  color: var(--sh-muted);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
}
.pdp-translated svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp-translated a { color: var(--sh-ink); text-underline-offset: 3px; }

body.pdp-alive .qty { border: 0; border-radius: 99px; background: var(--sh-paper-2); margin: 8px 0 16px; }
body.pdp-alive .qty button { width: 46px; height: 46px; border-radius: 99px; font-weight: 800; }
body.pdp-alive .qty button:hover { background: #fff; }
body.pdp-alive .qty input { border: 0; height: 46px; font-family: Fredoka, Nunito, sans-serif; font-size: 18px; }
body.pdp-alive .acts { gap: 10px; }
body.pdp-alive .btn-primary {
  min-height: 58px;
  border: 0;
  border-radius: 99px;
  background: var(--sh-cta);
  color: var(--sh-paper);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 14px 30px -18px rgba(16, 45, 37, .9);
  transition: background .2s ease, transform .4s var(--sh-out), box-shadow .3s ease;
}
body.pdp-alive .btn-primary:hover { background: var(--sh-cta-2); transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(16, 45, 37, .9); }
body.pdp-alive .btn-primary:active { transform: scale(.985); }
body.pdp-alive .btn-buy {
  min-height: 54px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--sh-ink);
  box-shadow: inset 0 0 0 1.5px #b9c7b6;
  font-weight: 800;
}
body.pdp-alive .btn-buy:hover { background: #fff; transform: none; box-shadow: inset 0 0 0 1.5px var(--sh-ink); }
body.pdp-alive .secure { color: var(--sh-muted); justify-content: center; }
body.pdp-alive .trust { gap: 8px; margin-top: 18px; }
body.pdp-alive .trust-badge {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--sh-paper-2);
}
body.pdp-alive .trust-badge svg { width: 18px; height: 18px; stroke: var(--sh-ink-2); flex: none; }
body.pdp-alive .trust-badge span { color: var(--sh-ink-2); font-weight: 700; }
body.pdp-alive .trust-badge:hover { transform: none; }

/* Sizes and options (Margin pieces). */
body.pdp-alive .sw { border: 1.5px solid #b9c7b6; }
body.pdp-alive .sw.swtxt { border-radius: 99px; }
body.pdp-alive .sw.sel { border-color: var(--sh-ink); box-shadow: 0 0 0 2px var(--sh-paper), 0 0 0 4px var(--sh-ink); }
body.pdp-alive .variant-select { border: 1.5px solid #b9c7b6; border-radius: 14px; }

/* ── Below the fold ───────────────────────────────────────────────────── */
body.pdp-alive .sec { border-top: 0; padding: clamp(36px, 5vw, 56px) 0; }
body.pdp-alive .sec h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
body.pdp-alive .about li { color: var(--sh-ink-2); font-size: 16px; }
body.pdp-alive .about li svg { color: var(--t-ink); }
body.pdp-alive .specs-wrap { border: 0; border-radius: 24px; background: var(--sh-card); box-shadow: inset 0 0 0 1.5px var(--sh-line); overflow: hidden; }
body.pdp-alive .specs-header { border: 0; background: transparent; font-family: Fredoka, Nunito, sans-serif; font-size: 20px; color: var(--sh-ink); }
body.pdp-alive .specs-table td { border-color: var(--sh-line); }
body.pdp-alive .specs-table .sk { color: var(--sh-muted); font-weight: 800; }
body.pdp-alive .revs-sort .rsbtn { border: 0; border-radius: 99px; background: var(--sh-paper-2); box-shadow: none; }
body.pdp-alive .revs-sort .rsbtn.sel { background: var(--sh-ink); color: var(--sh-paper); }
body.pdp-alive .review-form-wrap { border: 0; border-radius: 26px; background: var(--sh-card); box-shadow: inset 0 0 0 1.5px var(--sh-line); }
body.pdp-alive .review-form-wrap input:not([type=radio]),
body.pdp-alive .review-form-wrap textarea { border: 1.5px solid #c9d4c5; border-radius: 14px; background: #fff; }
body.pdp-alive .faq-item { border: 0; border-radius: 20px; background: var(--sh-card); box-shadow: inset 0 0 0 1.5px var(--sh-line); }
body.pdp-alive .faq-item summary:hover { background: transparent; }
body.pdp-alive .pdp-recs .shelf-head { margin-bottom: 18px; }
body.pdp-alive .mcta {
  border: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(244, 245, 233, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 30px -20px rgba(16, 45, 37, .5);
}
body.pdp-alive .mcta b { font-family: Fredoka, Nunito, sans-serif; color: var(--sh-ink); }
body.pdp-alive .mcta .btn-primary { min-height: 50px; }
body.pdp-alive footer { border-top: 1px solid var(--sh-line); background: transparent; }

@media (max-width: 900px) {
  body.pdp-alive .stage { border-radius: 28px; }
  body.pdp-alive .buy h1 { font-size: clamp(30px, 8.5vw, 40px); }
  body.pdp-alive .ptag { font-size: 16.5px; }
  body.pdp-alive .thumbs { margin-top: 10px; }
  body.pdp-alive .thumb { flex-basis: 64px; height: 64px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body.pdp-alive .stage img, body.pdp-alive .thumb, body.pdp-alive .btn-primary { transition: none !important; }
  body.pdp-alive .stage.is-zooming img { transform: scale(2); }
}
@media (forced-colors: active) {
  body.pdp-alive .stage img, body.pdp-alive .thumb img { mix-blend-mode: normal; }
}
