/* CD pre-order form, shared by the album pages (Iron Grimm, Lyra Elowen,
   Luna Maris) and the Shop (GREEDINGS). Moved out of artists.css on
   2026-11-08 so the Shop can use it without loading the artist page styles.
   Coloured by the --artist-* tokens: each artist page sets them; the Shop
   sets them on .shop-preorder. */

/* ── CD pre-order (#preorder) ──────────────────
   Shared kit, coloured by the page's --artist-* tokens. First used on Iron
   Grïmm (Iron and Salt, 2026-10-24); the form posts to the email relay, see
   js/preorder.js. The disc image is a transparent cut-out, so it carries a
   drop-shadow that follows its shape rather than a box shadow. */
.album-preorder {
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.preorder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}
.preorder-cd { margin: 0; }
.preorder-cd img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.65));
}
.preorder-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--artist-text);
  margin: 0;
  text-wrap: balance;
}
.preorder-format {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--artist-primary);
  border: 1px solid var(--artist-secondary);
  padding: 0.2rem 0.5rem;
  vertical-align: middle;
}
.preorder-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--artist-primary);
  margin: 0.6rem 0 0.4rem;
  font-variant-numeric: tabular-nums;
}
.preorder-postage {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--artist-text);
  opacity: 0.7;
}
.preorder-text {
  font-family: var(--font-body);
  color: var(--artist-text);
  opacity: 0.85;
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}
.preorder-form { display: grid; gap: 0.9rem; max-width: 34rem; }
.preorder-submit {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  color: var(--artist-bg);
  background: var(--artist-gradient);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}
.preorder-submit:hover:not(:disabled) { filter: brightness(1.12); }
.preorder-submit:focus-visible { outline: 2px solid var(--artist-primary); outline-offset: 3px; }
.preorder-submit:disabled { cursor: default; opacity: 0.7; }
@media (max-width: 760px) {
  .album-preorder { padding: 3.5rem 16px; }
  .preorder-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .preorder-submit { justify-self: stretch; }
}
