/* Holiday shop (MSW-530). Page-only styles; shared blocks live in site.css. */

.page-shop .page-hero h1 { text-wrap: balance; }

/* One kit: its pictures on one side, the copy and the buy button on the other. */
.page-shop .shop-kits { display: grid; gap: clamp(48px, 7vw, 96px); }
.page-shop .shop-kit {
  scroll-margin-top: 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.page-shop .shop-kit.flip .shop-kit-media { order: 2; }

/* A scene first (an AI-made illustration of the kit in use), then the real pages. */
.page-shop .shop-kit-media {
  display: grid; gap: 14px;
  background: var(--paper-deep); border-radius: var(--radius-lg); padding: clamp(16px, 2.6vw, 28px);
}
.page-shop .shop-photo {
  position: relative; margin: 0; min-width: 0; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--card); box-shadow: var(--shadow);
}
.page-shop .shop-photo img { display: block; width: 100%; height: auto; }
/* The label every scene carries: these are mockups, not photographs. */
.page-shop .shop-photo figcaption {
  position: absolute; inset-block-end: 8px; inset-inline-start: 8px;
  padding: 2px 10px; border-radius: 999px; background: rgba(38, 36, 80, 0.86); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6;
}
/* Two scenes side by side at one height: each takes width in proportion to its shape (3:2 and 2:3). */
.page-shop .shop-photo-row { display: flex; gap: 14px; align-items: flex-start; }
.page-shop .shop-photo-row .shop-photo { flex: 1.5 1 0; }
.page-shop .shop-photo-row .shop-photo.portrait { flex: 0.6667 1 0; }
.page-shop .shop-sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.page-shop .shop-sheet {
  width: 100%; height: auto; border-radius: 8px; background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}

.page-shop .shop-kit-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.page-shop .shop-kit-copy .price-chip { margin: 0 0 18px; }
.page-shop .shop-kit-copy .lede { margin-bottom: 14px; }
.page-shop .shop-kit-copy p { margin: 0 0 12px; }
.page-shop .shop-kit-copy .btn-row { margin-top: 22px; align-items: center; }
.page-shop .shop-list { margin: 0 0 14px; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.page-shop .shop-status { margin: 12px 0 0; min-height: 1.4em; font-weight: 700; color: var(--ink); }
.page-shop .shop-status:empty { display: none; }
.page-shop .btn[aria-busy='true'] { opacity: 0.7; cursor: progress; }

/* The four plain facts under the kits. */
.page-shop .shop-facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.page-shop .shop-facts li {
  background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-soft); font-size: 0.95rem;
}

/* Your downloads, after payment. */
.page-shop .shop-downloads[hidden], .page-shop .shop-downloads [hidden] { display: none; }
.page-shop .shop-downloads { scroll-margin-top: 112px; }
.page-shop .shop-downloads-card {
  max-width: 760px; margin-inline: auto;
  background: var(--card); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow), inset 0 0 0 3px var(--gold);
}
.page-shop .shop-downloads-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-shop .shop-downloads-card h2:focus { outline: none; }
.page-shop .shop-downloads-note { margin: 0 0 8px; font-weight: 700; }
.page-shop .shop-downloads-note:empty { display: none; }
.page-shop .shop-orders { display: grid; gap: 22px; margin-top: 18px; }
.page-shop .shop-order { padding-top: 18px; box-shadow: inset 0 1px 0 var(--line); }
.page-shop .shop-order h3 { margin: 0 0 12px; }
.page-shop .shop-order .btn-row { align-items: center; }
.page-shop .shop-order-link { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.page-shop .shop-order-link label { font-weight: 900; font-size: 0.92rem; width: 100%; }
.page-shop .shop-order-link input {
  flex: 1 1 240px; min-width: 0; font: inherit; font-size: 0.9rem; color: var(--ink-soft);
  padding: 10px 12px; border: 0; border-radius: var(--radius-sm); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Free sampler. */
.page-shop .shop-sampler h2 { text-wrap: balance; }
.page-shop .shop-sampler .field label { font-size: 1.05rem; }
.page-shop .shop-sampler .form-done { text-align: start; padding: 0; }
.page-shop .shop-sampler-files { margin: 16px 0 4px; }

@media (max-width: 900px) {
  .page-shop .shop-kit { grid-template-columns: 1fr; }
  .page-shop .shop-kit.flip .shop-kit-media { order: 0; }
  .page-shop .shop-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .page-shop .shop-facts { grid-template-columns: 1fr; }
}
