/* Stap 4: kopen, gratis voorbeeld, downloaden en aankoop herstellen (zie js/shop.js). */

.buy[hidden],
.download[hidden],
.downloads[hidden],
.restore[hidden] { display: none; }

/* Twee kolommen: links de galerij met het gratis voorbeeld, rechts wat je krijgt met de koopknop onderaan. */
.get-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.get-figure { align-self: start; }
.get-body { display: flex; flex-direction: column; }
.get-art { background: var(--wall); border-radius: 10px; padding: 20px; aspect-ratio: 4 / 3; }
.get-art svg { display: block; width: 100%; height: 100%; }
.get-title { margin: 0; font-size: 22px; }
.get-meta { margin: 4px 0 14px; font-size: 15px; }
.get-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.get-list li { position: relative; padding-left: 26px; }
.get-list li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg);
}
/* margin-top: auto duwt de koopknop naar de onderkant, gelijk met de onderkant van de afbeelding */
.get-actions { margin-top: auto; padding-top: 24px; }
.get-actions .buy .download,
.download-block .download { margin-top: 0; }
.get-actions .owned { margin-top: 0; }

.downloads { margin-top: 18px; }
.download-block + .download-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.download-title { margin: 0 0 8px; font-size: 15px; }
.download-block .select { margin-bottom: 2px; }
.linklike {
  display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.linklike:disabled { opacity: 0.6; cursor: progress; }
.get-sample { display: grid; justify-items: start; gap: 2px; margin-top: 10px; }
.get-sample[hidden] { display: none; }
.get-sample .linklike { margin-top: 0; font-weight: 600; }
.get-sample-note { font-size: 13px; color: var(--muted); line-height: 1.4; }

@media (max-width: 860px) {
  .get-card { grid-template-columns: 1fr; gap: 20px; }
  .get-figure { max-width: 420px; }
}
@media (max-width: 520px) {
  .get-card { padding: 18px; }
}

.buy-fine { font-size: 13px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.buy-fine a { color: inherit; text-underline-offset: 2px; }

.owned {
  margin: 20px 0 0; padding: 10px 12px; border-radius: 10px;
  background: var(--accent-soft); font-size: 14px; font-weight: 600;
}
.owned[hidden] { display: none; }

.shop-status {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); font-size: 14px; line-height: 1.45;
}
.shop-status:empty { display: none; }

.card-owned {
  justify-self: start; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent);
}

.restore { margin: 14px 0 0; font-size: 14px; }
.restore summary {
  cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
  width: fit-content;
}
.restore summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.restore-form { display: grid; gap: 10px; margin-top: 10px; }
.restore-field { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.restore-field .muted { font-weight: 400; }
.input {
  width: 100%; font: inherit; font-size: 15px; font-weight: 400; padding: 9px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.restore-form .download-secondary { margin-top: 2px; }
.restore-msg { margin: 0; font-size: 13px; color: var(--muted); }
.restore-msg:empty { display: none; }
