/* Sjablonen-winkel /sjablonen/ (idee X2026111900g). Bouwt verder op site.css: drukproef op de snijmat. */

::selection { background: var(--pen-light); color: var(--ink); }

.sj-head__prijs { font-weight: 700; color: #fff !important; }

.sj-dicht { background: var(--mist); border-bottom: 1px solid var(--line); }
.sj-dicht p { padding-block: 1rem; margin: 0; color: var(--ink-soft); }
.sj-dicht strong { color: var(--ink); }

/* ---------- een sjabloon: groot voorbeeld + tekst ---------- */
.sj { display: grid; gap: 2rem; align-items: center; }
.sj + .sj { margin-top: clamp(4rem, 3rem + 5vw, 7rem); }
@media (min-width: 56rem) {
  .sj { grid-template-columns: 1.08fr 0.92fr; gap: 4.5rem; }
  .sj--om .sj__beeld { order: 2; }
}

.sj__beeld {
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.75rem, 1rem + 4vw, 4rem);
  background: var(--mist);
  border-radius: var(--radius);
}
.sj__beeld img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24, 35, 31, 0.1), 0 22px 44px -20px rgba(24, 35, 31, 0.38);
}
.sj__beeld--a4 img { max-width: 25rem; aspect-ratio: 760 / 1075; }
.sj__beeld--post img { max-width: 21rem; aspect-ratio: 4 / 5; }
.sj__beeld--duo { grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 2vw, 1.5rem); align-items: start; }
.sj__beeld--duo img:last-child { margin-top: 18%; }

.sj__tekst { max-width: 34rem; }
.sj__tekst h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1.05; margin-bottom: 1rem; hyphens: manual; text-wrap: balance; }
.sj__tekst > p { color: var(--ink-soft); margin-bottom: 1rem; }
.sj__let {
  color: var(--ink) !important;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}
.sj__krijg { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.45rem; }
.sj__krijg li { display: grid; grid-template-columns: 0.9rem 1fr; gap: 0.6rem; align-items: baseline; }
.sj__krijg li::before { content: ""; width: 0.45rem; height: 0.45rem; background: var(--pen); transform: translateY(-0.1em); }

.sj__koop { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.sj__prijs { margin: 0; font-family: var(--serif); font-weight: var(--serif-heavy); font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sj__binnenkort {
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: 1.5px dashed var(--field);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.98rem;
}

/* ---------- bundel op de mat ---------- */
.sj-bundel { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.sj-bundel__in { display: grid; gap: 1.75rem; align-items: end; }
@media (min-width: 52rem) { .sj-bundel__in { grid-template-columns: 1.5fr 1fr; gap: 4rem; } }
.sj-bundel h2 { font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.4rem); line-height: 1.05; color: #fff; margin-bottom: 0.9rem; }
.sj-bundel p { color: rgba(255, 255, 255, 0.88); max-width: 36rem; margin: 0; }
.sj__koop--mat { border-top-color: rgba(255, 255, 255, 0.5); }
.sj__koop--mat .sj__binnenkort { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* ---------- koopvenster ---------- */
.sj-dialoog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 70px -20px rgba(10, 30, 22, 0.55);
}
.sj-dialoog::backdrop { background: rgba(22, 55, 41, 0.62); }
.sj-form { padding: 1.5rem 1.5rem 1.75rem; }
@media (min-width: 30rem) { .sj-form { padding: 2rem 2rem 2.25rem; } }
.sj-dialoog__kop { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.sj-dialoog__kop h2 { font-size: 1.6rem; line-height: 1.15; hyphens: manual; text-wrap: balance; }
.sj-dialoog__sluit {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.4rem -0.6rem 0 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.sj-dialoog__sluit:hover { background: var(--mist); }
.sj-dialoog__prijs { margin: 0.35rem 0 1.5rem; color: var(--ink-soft); }
.sj-dialoog__prijs span { font-weight: 700; color: var(--ink); }
.sj-form .field { margin-bottom: 1.25rem; }
.sj-ts:empty { display: none; }
.sj-ts { margin-bottom: 1rem; min-height: 65px; }
.sj-form .btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

/* ---------- bedankpagina ---------- */
.sj-klaar { padding-block: 3rem var(--sec); max-width: 40rem; }
.sj-klaar h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.sj-klaar__links { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.75rem; }
.sj-klaar p { color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .sj-dialoog[open] { animation: sj-in 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
  .sj-dialoog[open]::backdrop { animation: sj-bd 0.32s ease-out; }
}
@keyframes sj-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
@keyframes sj-bd { from { opacity: 0; } }

/* Gratis allergenenlijst (idee L2026112003h) */
.sj-gratis__in { display: grid; gap: 1.25rem 3rem; align-items: center; padding-block: 2rem; border-block: 1px solid var(--line); }
@media (min-width: 48rem) { .sj-gratis__in { grid-template-columns: 1fr auto; } }
.sj-gratis h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin: 0 0 0.5rem; }
.sj-gratis p { color: var(--ink-soft); max-width: 40em; margin: 0; }
