/* ============================================================
   /shop/, /book/ and /videos/ (page-shop.php, page-book.php, page-videos.php).
   Loaded after styles.css on those templates; uses its tokens.
   ============================================================ */

/* ---------- shared ---------- */
.pages-block { max-width: 860px; margin: 0 auto clamp(48px, 7vw, 80px); }
.pages-h2 {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .02em; line-height: 1;
  text-align: center; margin-bottom: 24px;
}
.pages-note { color: var(--ash); text-align: center; margin-top: 16px; }
.pages-note a, .press-list a { text-decoration: underline; text-underline-offset: 3px; }
.pages-foot { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

/* ---------- shop grid ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
.shop-item { display: block; text-align: center; }
.shop-item__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--ink-3); }
.shop-item__name {
  display: block; margin-top: 14px;
  font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; font-weight: 500;
}
.shop-item__price { display: block; margin-top: 4px; color: var(--ash); }
.shop-item:hover .shop-item__name, .shop-item:focus-visible .shop-item__name { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- lite YouTube (thumbnail, then the player on tap) ---------- */
.lite-yt {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--ink-3); border: 0;
}
.lite-yt__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
/* Safari 14 and older: no aspect-ratio, so hold the 16:9 box open with padding. */
@supports not (aspect-ratio: 1) {
  .lite-yt { height: 0; padding-top: 56.25%; }
  .lite-yt .video__play { position: absolute; top: 50%; left: 50%; margin: -35px 0 0 -35px; }
  .shop-item__img--blank { height: 0; padding-top: 100%; }
}
.lite-yt:hover .video__play { transform: scale(1.08); background: var(--ink); }
.lite-yt__label { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--ash); margin-top: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 28px); }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- book ---------- */
.book-form { display: block; width: 100%; height: 1500px; border: 0; background: var(--paper); }
.press-list { display: grid; gap: 12px; font-size: 1.1rem; }
.press-list li { color: var(--ash); }
.press-list a { color: var(--paper); }
