/* Product pages (/templates/<slug>/). Additive to layout.css and components.css. */

/* ---------- Live product page ---------- */
.pdp-shot { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.pdp-sub { margin-top: clamp(2.75rem, 5vw, 3.75rem); }
.pdp-sub .section-head { margin-bottom: 1.25rem; }
.pdp-sub-title { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.demo-more { margin: .35rem 0 0; }

/* Walkthrough not yet recorded: an honest placeholder, no play button */
/* aspect-ratio off: with a min-height it would widen the frame past its column on phones */
.video-frame--pending { aspect-ratio: auto; min-height: clamp(15rem, 32vw, 24rem); padding: 2rem var(--gutter); }
.video-pending { position: relative; z-index: 1; display: grid; justify-items: center; gap: .4rem; max-width: 32rem; text-align: center; }
.video-pending .play-glyph { width: 64px; margin-bottom: .6rem; box-shadow: 0 0 0 8px rgba(245, 201, 68, .18); }
.video-pending .play-glyph .icon { width: 46%; height: 46%; margin-left: 0; }
.video-pending p { margin: 0; font-size: .95rem; color: var(--on-dark-soft); }
.video-pending .video-pending-title { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 600; line-height: 1.2; color: var(--white); }
.video-figure { margin: 0; }
.video-el { display: block; width: 100%; background: var(--deep); border: 1px solid var(--ink); }

/* Tested on: test card beside the coverage list, then the matrix, then the latest release */
.pdp-tests { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem); }
.pdp-coverage .h-sans { margin: 0 0 .5rem; }
.pdp-coverage .ticks li { font-size: .95rem; }
.pdp-coverage p { margin: 1rem 0 0; }
.pdp-release { margin-top: clamp(2.25rem, 4vw, 3rem); }
.pdp-release .release-head h3 { font-size: 1.25rem; }
.pdp-release .release p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .pdp-tests { grid-template-columns: minmax(0, 1fr); } }

.pdp-spec-extra { margin-top: 0; }
.pdp-faq-more { margin: 1.25rem 0 0; font-size: .95rem; color: var(--ink-soft); }

/* Phones: price, Buy and guarantee on the first screen at 390 x 844.
   Order below 1024px is hero text, buy box, then the screenshot (see page.html). */
@media (max-width: 600px) {
  .pdp-hero { padding-top: .75rem; }
  .pdp-hero .breadcrumb ol { margin-bottom: .1rem; }
  .pdp-hero .breadcrumb li:last-child { display: none; }
  .pdp-hero .eyebrow { margin-bottom: .6rem; font-size: .86rem; }
  .pdp-hero h1 { max-width: none; font-size: 2.1rem; margin-bottom: .35em; }
  .pdp-hero .who-for { font-size: 1rem; line-height: 1.5; margin-bottom: .35rem; }
  .pdp-hero .subtitle { font-size: 1rem; padding-top: .4rem; margin-top: .2rem; }
  .pdp .buybox { margin-top: .9rem; }
  .pdp .buybox-body { padding: .9rem 1rem; }
  .pdp .buybox .price { font-size: 2.1rem; }
  .pdp .buybox .price-line { margin-bottom: .6rem; }
  .pdp .buybox .guarantee { margin: .6rem 0 .9rem; }
}

/* ---------- Coming product page ---------- */
.coming-status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 1.25rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.coming-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.coming-question { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.4; }
.coming-grid .spec { margin-top: 1.25rem; }
.coming-links { margin: 1.5rem 0 0; }
.coming-siblings-title { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem; }
@media (max-width: 900px) { .coming-grid { grid-template-columns: minmax(0, 1fr); } }
