@font-face { font-family: 'Nunito'; src: url('/assets/Nunito-latin.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Titan One'; src: url('/assets/TitanOne-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Sniglet'; src: url('/assets/Sniglet-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
/* Fraunces (Undercase Type), SIL Open Font License 1.1. Home headings only. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/fraunces-normal-300-700.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/fraunces-italic-300-700.woff2') format('woff2'); }

:root {
  --font-body: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-display: 'Nunito', var(--font-body);
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-case: none;
  --page-width: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 112px;
  --c-bg: #FFF9F2; --c-surface: #FFFFFF; --c-surface-2: #FFF1E3;
  --c-ink: #2B2440; --c-muted: #6D6680; --c-line: #EADFD3;
  --c-primary: #CC4129; --c-primary-ink: #FFFFFF; --c-accent: #2EC4B6;
  --c-primary-hover: #C0351D; --c-primary-pressed: #B3270E;
  --radius-s: 12px; --radius: 22px; --radius-l: 34px; --radius-btn: 999px;
  --shadow: 0 10px 30px -12px rgba(60, 40, 90, .22);
  --pattern: none; --pattern-size: 200px;
  --btn-shadow: none;
  --c-pla-roze: #F2C5CF; --c-pla-blauw: #A8CDE9; --c-pla-abrikoos: #F6B68B; --c-pla-wit: #F5F4EF; --c-pla-zwart: #1F1F23;
  --c-ink-soft: #4A4360;
  --font-serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--c-ink); background: var(--c-bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking); text-transform: var(--display-case);
  line-height: 1.08; margin: 0 0 var(--space-4); text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--space-4); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--c-muted); max-width: 42ch; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-primary); margin-bottom: var(--space-3);
  font-family: var(--font-body);
}
.page-width { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(28px, 5vw, 56px) 0; }
.section--surface { background: var(--c-surface-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-7); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--c-ink); color: var(--c-bg); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hint, .muted { color: var(--c-muted); font-size: .9rem; }
.msg { min-height: 1.4em; font-weight: 700; }

header.site {
  display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--c-line);
  background: #FFF9F2; color: #2B2440; position: sticky; top: 0; z-index: 20;
}
.logo { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; font-family: Nunito, sans-serif; text-transform: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 999px; background: var(--c-primary); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
nav.primary { display: flex; gap: var(--space-4); margin-left: var(--space-3); font-weight: 700; align-items: center; flex-wrap: wrap; }
nav.primary a, nav.primary summary { padding: 6px 0; cursor: pointer; }
nav.primary a:hover, nav.primary a[aria-current="page"], nav.primary summary[aria-current="page"] { color: var(--c-primary); }
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; }
.nav-drop summary::-webkit-details-marker { display: none; }
.drop {
  display: none; position: absolute; top: 100%; left: -12px; min-width: 180px;
  background: #fff; border: 1px solid #EADFD3; border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; z-index: 30;
}
.nav-drop[open] .drop, .nav-drop:hover .drop, .nav-drop:focus-within .drop { display: block; }
.drop a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 700; color: #2B2440; }
nav.primary .drop a:hover { background: var(--c-surface-2); color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.cart-btn {
  margin-left: auto; width: 44px; height: 44px; border: 1px solid #EADFD3; border-radius: 999px;
  background: #fff; color: #2B2440; display: grid; place-items: center; position: relative;
}
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--c-primary); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius-btn);
  background: var(--c-primary); color: var(--c-primary-ink);
  font: 800 1.05rem/1 var(--font-body); cursor: pointer; text-transform: none; letter-spacing: 0;
  box-shadow: none; transition: transform .15s ease;
}
.btn:not([disabled]):hover { transform: translateY(-1px); }
/* Fills only for the primary button; variants (.btn--secondary, .btn--danger-outline, ...) keep their own background. */
.btn:not([class*="btn--"]):not([disabled]):hover { background: var(--c-primary-hover); }
.btn:not([class*="btn--"]):not([disabled]):active { transform: none; background: var(--c-primary-pressed); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--secondary { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); }
.btn--danger-outline { background: transparent; color: var(--c-error); border: 2px solid var(--c-error); }
main[data-world] .btn { box-shadow: var(--btn-shadow); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-7); align-items: center; padding: clamp(32px, 6vw, 80px) 0; }
.hero-photo {
  margin: 0; aspect-ratio: 4/5; border-radius: var(--radius-l); overflow: hidden; position: relative;
  background: var(--c-surface-2); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption, .ph-cap {
  position: absolute; left: 16px; bottom: 16px; background: rgba(43,36,64,.72); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px;
}
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.tile {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--c-line); display: block;
}
.tile:hover { transform: translateY(-2px); }
.tile-img { aspect-ratio: 4/3; }
.tile-img.puzzles { background: linear-gradient(160deg, #ffe8d2, #ffb089); }
.tile-body { padding: var(--space-5); }
.tile h2, .card-body h2 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.02em; text-transform: none; font-size: 1.25rem; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.step .n {
  width: 36px; height: 36px; border-radius: 999px; background: var(--c-primary); color: var(--c-primary-ink);
  display: grid; place-items: center; font-weight: 800; margin-bottom: var(--space-3);
}
.step h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.02em; text-transform: none; }
.step p { margin: 0; color: var(--c-muted); }
.facts { padding-bottom: var(--space-8); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 999px;
  padding: 8px 14px; font-size: .9rem; font-weight: 700;
}
.pill:first-child { box-shadow: inset 0 0 0 1px var(--c-accent); }

footer.site { border-top: 1px solid #EADFD3; padding: var(--space-7) 0 var(--space-6); margin-top: var(--space-8); background: #FFF9F2; color: #2B2440; }
footer.site .row { display: flex; flex-wrap: wrap; gap: var(--space-5); justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: var(--space-5); font-weight: 700; }
footer.site p { margin: 0; color: #6D6680; font-size: .9rem; }
.langs a { font-weight: 800; margin-right: 8px; }
.langs a[aria-current="true"] { color: var(--c-primary); }

.cat-head { padding: var(--space-8) 0 var(--space-6); }
.grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(4, 1fr); padding-bottom: var(--space-8); }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; }
.card:hover { transform: translateY(-2px); }
.card[data-palette="baby"]:hover { background: #FDEEF1; }
.card[data-palette="peuter"]:hover { background: #FFEFC2; }
.card[data-palette="kleuter"]:hover { background: #E6EFFF; }
.card[data-palette="stoer"]:hover { background: #E7EBF3; }
.card-img { aspect-ratio: 4/3; position: relative; background: var(--c-surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-img .ph-cap { left: 10px; bottom: 10px; font-size: 9px; padding: 2px 6px; }
.card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.card-body .from { font-weight: 700; margin: 0; }
.badge {
  position: absolute; left: 12px; top: 12px; background: var(--c-surface); color: var(--c-ink);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--c-line);
}
.empty { border: 1px dashed var(--c-line); border-radius: var(--radius); padding: var(--space-8); text-align: center; color: var(--c-muted); background: var(--c-surface); margin-bottom: var(--space-8); }
.empty-title { margin: 0 0 8px; font-weight: 800; color: var(--c-ink); }

main[data-world] {
  background-color: var(--c-bg);
  background-image: var(--pattern);
  background-size: var(--pattern-size) var(--pattern-size);
  color: var(--c-ink);
}
.puzzle-kicker, .fixture-kicker { margin-top: var(--space-6); }
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-7); padding: var(--space-5) 0 var(--space-7); align-items: start; }
.preview, .gallery { position: sticky; top: 88px; }
.preview-stage {
  aspect-ratio: 1; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-l); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.preview-stage canvas, .flat { width: 100%; height: 100%; }
.flat { display: grid; place-items: center; padding: var(--space-5); }
.flat[hidden], .flat-note[hidden], [hidden] { display: none; }
.flat svg { width: 88%; height: auto; }
.stage-status { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; font-size: .9rem; font-weight: 700; }
.flat-note { margin: var(--space-3) 0 0; color: var(--c-muted); font-size: .9rem; }
.preview-stage .stats {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; margin: 0;
  padding: 4px 8px; max-width: calc(100% - 24px);
  font-size: .78rem; font-weight: 700; line-height: 1.3; pointer-events: none;
  background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line);
  border-radius: 8px; box-shadow: var(--shadow);
}
.preview-stage .stats:empty { display: none; }
.buy { container: buy / inline-size; }
.buy h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.price { font-size: 1.4rem; font-weight: 800; margin: 0 0 var(--space-4); }
/* body-small. The sentence may wrap; the date stays on one piece. */
.ship-line { font-size: 13px; line-height: 1.2; margin: 0 0 var(--space-4); }
.ship-date { white-space: nowrap; }
.ship-short { display: none; }
/* Short date at a buy-column width of 412px and below, including the two-column PDP.
   412px is the widest width where the longest long sentence (413px at 13px Nunito) would not fit. */
@container buy (max-width: 412px) {
  .ship-long { display: none; }
  .ship-short { display: inline; }
}
.price small { display: block; font-size: .85rem; font-weight: 700; color: var(--c-muted); }
.surcharge { color: var(--c-muted); font-weight: 700; margin-left: 4px; }
.field { margin: 0 0 var(--space-4); border: 0; padding: 0; }
.field legend, .field > label, .swatch-label { display: block; font-weight: 800; font-size: .85rem; margin-bottom: 6px; }
.field input[type="text"] {
  width: 100%; min-height: 48px; border: 1.5px solid var(--c-line); border-radius: 12px;
  padding: 0 14px; font: 600 1rem/1 var(--font-body); background: var(--c-surface);
}
.choices, .swatches, .animals { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span, .choice { font-weight: 700; }
.choice { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); }
.choice:has(input:checked) { outline: 2px solid var(--c-ink); }
.choice:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.animal-icon { width: 28px; height: 22px; background: var(--c-ink); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch span {
  display: block; width: 36px; height: 36px; border-radius: 999px; background: var(--sw, var(--c-surface-2));
  border: 2px solid var(--c-surface); outline: 1px solid var(--c-line);
}
.swatch:has(input:checked) span { outline: 2px solid var(--c-ink); }
.toggle { display: flex; gap: 8px; align-items: center; font-weight: 700; margin: 0 0 8px; }
.bullets { margin: 0 0 var(--space-5); padding-left: 1.1em; }
.warn {
  margin: var(--space-5) 0 0; padding: var(--space-4); border-radius: var(--radius-s);
  background: #fff6e8; border: 1px solid #ead7b0; font-size: .9rem; font-weight: 700; color: #3A2E1F;
}
.note {
  margin: var(--space-4) 0; padding: var(--space-4); border-radius: var(--radius-s);
  background: var(--c-surface-2); border: 1px dashed var(--c-line); font-size: .9rem; color: var(--c-muted);
}
.details { padding-bottom: var(--space-9); }
.details details { border-top: 1px solid var(--c-line); padding: 12px 0; }
.details summary { font-weight: 800; cursor: pointer; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 var(--space-5); }
.spec th, .spec td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--c-line); font-weight: 600; vertical-align: top; }
.spec th { color: var(--c-muted); font-weight: 700; width: 42%; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius-l); overflow: hidden; background: var(--c-surface-2); border: 1px solid var(--c-line); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--c-surface-2); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--c-primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding-top: var(--space-7); padding-bottom: var(--space-8); }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.cart-page { padding: var(--space-7) 0 var(--space-9); max-width: 760px; }
.form { display: grid; gap: 12px; max-width: 520px; }
.form[hidden], .warn[hidden], .print-panel[hidden] { display: none; }
.form > *, .form label { min-width: 0; }
.form label { display: grid; gap: 4px; font-weight: 700; }
.form input, .form select, .form textarea { min-height: 48px; border: 1px solid var(--c-line); border-radius: 12px; padding: 8px 12px; background: #fff; font: inherit; color: inherit; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.form input[type="checkbox"], .form input[type="radio"] { min-height: 0; width: 20px; height: 20px; padding: 0; flex: none; margin-top: 3px; }
.form label.toggle { display: grid; grid-template-columns: 20px 1fr; gap: 6px 10px; align-items: start; font-weight: 600; }
.form label.toggle > .pill { grid-column: 2; justify-self: start; }
.toggle-copy { display: grid; gap: 6px; justify-items: start; }
.toggle-copy[hidden] { display: none; }
.badge--inline { position: static; vertical-align: middle; margin-left: 8px; }
/* Status colours (print service). Kept apart from the brand tokens above. */
:root { --c-error: #A8153F; --c-success: #116d5b; --c-warning: #d97706; }
.pill--warn { background: #fff6e8; border-color: var(--c-warning); color: #7c2d12; }
.print-panel { border-radius: var(--radius); padding: var(--space-5); border: 2px solid; margin: var(--space-5) 0; }
.print-panel--accept { background: #eaf7f2; border-color: var(--c-success); }
.print-panel--review { background: #fff6e8; border-color: var(--c-warning); }
.print-refusal { background: #fde2df; border: 2px solid var(--c-error); color: var(--c-error); border-radius: var(--radius); padding: var(--space-4); margin-top: 8px; font-weight: 600; }
.print-refusal::before { content: "!" / ""; display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; margin-right: 8px; border-radius: 50%; background: var(--c-error); color: #fff; font-weight: 800; }
.print-refusal[hidden] { display: none; }
.is-invalid { border-color: var(--c-error) !important; }
.form select.is-invalid, .form input.is-invalid { border: 2px solid var(--c-error) !important; box-shadow: 0 0 0 3px #fde2df; outline: none; }
.form select.is-invalid:focus-visible, .form input.is-invalid:focus-visible { border: 2px solid var(--c-error) !important; box-shadow: 0 0 0 3px #fde2df; outline: 3px solid var(--c-ink); outline-offset: 3px; }
[data-toy-error] { color: var(--c-error); margin: 8px 0 0; }
[data-toy-error]:empty { display: none; }
[data-toy-error]:not(:empty)::before { content: "!" / ""; display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; margin-right: 8px; border-radius: 50%; background: var(--c-error); color: #fff; font-weight: 800; }
[data-print-result][data-outcome="reject"], [data-print-result][data-outcome="error"] { color: var(--c-error); }
[data-print-result][data-outcome="accept"], [data-print-result][data-outcome="review"] { color: var(--c-success); }
.review-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-5); }
.review-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: var(--space-4); }
.review-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.review-group select, .review-group input, .review-group textarea { min-height: 40px; border: 1px solid var(--c-line); border-radius: 10px; padding: 6px 10px; background: #fff; font: inherit; color: inherit; }
.drawer-bg { display: none; position: fixed; inset: 0; background: rgba(43,36,64,.35); z-index: 40; }
.drawer-bg.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; width: min(420px, 100%); height: 100%;
  background: #fff; color: #2B2440; box-shadow: var(--shadow); z-index: 50; padding: var(--space-5);
  transform: translateX(110%); transition: transform .2s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer h2 { font-family: Nunito, sans-serif; text-transform: none; letter-spacing: -0.02em; font-size: 1.4rem; font-weight: 800; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head button { border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #EADFD3; }
.thumb { width: 64px; height: 64px; border-radius: 10px; background: #FFF1E3; }
.line p { margin: 0; color: #6D6680; font-size: .85rem; }
.line-price { font-weight: 800; }
.qty { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.qty button, .line button[data-remove] { border: 1px solid #EADFD3; background: #fff; border-radius: 999px; min-width: 32px; min-height: 32px; cursor: pointer; }
.sub { margin-top: auto; padding-top: var(--space-4); display: flex; justify-content: space-between; font-weight: 800; }
.drawer .btn, .cart-page .btn { width: 100%; margin-top: var(--space-4); }

@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .hero, .tiles, .steps, .pdp { grid-template-columns: 1fr; }
  .preview, .gallery { position: static; }
}
@media (max-width: 720px) {
  header.site { position: static; padding: 12px var(--gutter); flex-wrap: nowrap; }
  nav.primary { flex-wrap: nowrap; }
  .preview-stage { aspect-ratio: auto; height: 45vh; }
  .pdp { gap: var(--space-4); padding: var(--space-3) 0 var(--space-7); }
  .buy { display: flex; flex-direction: column; }
  .buy > .btn { align-self: flex-start; }
  .buy > .lead { order: 10; }
  .puzzle-kicker { margin-top: var(--space-3); }
  .buy h1 { margin-bottom: var(--space-2); }
  .price { margin-bottom: var(--space-2); }
  .ship-line { margin: 0; }
}
@media (max-width: 560px) { .grid, .thumbs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .logo { position: relative; }
  .logo-word {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  /* After the 560px two-column rule so this wins on the /puzzles age-card grid only. */
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* World tokens copied from theme/assets/base.css, except the AA exceptions listed in DESIGN.md (Puzzle worlds). Shop chrome stays on :root. */
[data-world] { --c-primary-hover: var(--c-primary); --c-primary-pressed: var(--c-primary); }
[data-world="baby"] {
  --c-bg: #FFF8F4; --c-surface: #FFFFFF; --c-surface-2: #FDEEF1; --c-ink: #4A4260; --c-muted: #6E6684; --c-line: #F1E4EA;
  --c-primary: #E89AB0; --c-primary-ink: #2B2440; --c-accent: #9CCDE8; --c-accent-2: #F7E08B; --c-accent-3: #BFE3CF; --c-pla-accent: #A8CDE9;
  --font-display: 'Titan One', var(--font-body); --display-weight: 400;
  --radius-s: 18px; --radius: 30px; --radius-l: 48px;
  --shadow: 0 16px 40px -18px rgba(170, 120, 150, .35); --shadow-pop: none;
  --btn-shadow: 0 8px 20px -8px color-mix(in srgb, var(--c-primary) 80%, transparent);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='%23F6D9E2' opacity='.55'%3E%3Cpath d='M40 60a14 14 0 0 1 27-5 11 11 0 0 1 14 11h-45a10 10 0 0 1 4-6z'/%3E%3Cpath d='M160 170a16 16 0 0 1 31-6 12 12 0 0 1 16 12h-52a11 11 0 0 1 5-6z'/%3E%3C/g%3E%3Cg fill='%23F7E08B' opacity='.7'%3E%3Cpath d='M190 40l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z'/%3E%3Cpath d='M60 180l2 5 5 1-4 3 1 5-4-2-4 2 1-5-4-3 5-1z'/%3E%3C/g%3E%3Ccircle cx='115' cy='110' r='3' fill='%239CCDE8' opacity='.6'/%3E%3C/svg%3E");
  --pattern-size: 240px;
}

[data-world="peuter"] {
  --c-bg: #FFF7E0; --c-surface: #FFFFFF; --c-surface-2: #FFEFC2; --c-ink: #3A2E1F; --c-muted: #7A6A55; --c-line: #F2E2B8;
  --c-primary: #FF8A3D; --c-primary-ink: #3A2E1F; --c-accent: #2EC4B6; --c-accent-2: #FFD23F; --c-accent-3: #FF7EB6; --c-pla-accent: #A8CDE9;
  --font-display: 'Titan One', var(--font-body);
  --radius-s: 16px; --radius: 26px; --radius-l: 40px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Ccircle cx='14' cy='14' r='5.5' fill='%23FFD23F' opacity='.3'/%3E%3Ccircle cx='42' cy='42' r='5.5' fill='%23FF8A3D' opacity='.16'/%3E%3C/svg%3E");
  --pattern-size: 56px;
}

[data-world="kleuter"] {
  --c-bg: #F4F8FF; --c-surface: #FFFFFF; --c-surface-2: #E6EFFF; --c-ink: #1B2340; --c-muted: #5B6585; --c-line: #D9E3F7;
  --c-primary: #1F6FD8; --c-primary-ink: #FFFFFF; --c-accent: #E63946; --c-accent-2: #FFD23F; --c-accent-3: #3BB273; --c-pla-accent: #F6B68B;
  --font-display: 'Titan One', var(--font-body);
  --radius-s: 14px; --radius: 22px; --radius-l: 32px;
  --card-tilt: -1.2deg;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Crect x='20' y='30' width='12' height='5' rx='2.5' fill='%23E63946' opacity='.35' transform='rotate(30 26 32)'/%3E%3Crect x='140' y='60' width='12' height='5' rx='2.5' fill='%23FFD23F' opacity='.6' transform='rotate(-20 146 62)'/%3E%3Crect x='90' y='150' width='12' height='5' rx='2.5' fill='%233BB273' opacity='.35' transform='rotate(60 96 152)'/%3E%3Ccircle cx='170' cy='170' r='4' fill='%232F80ED' opacity='.35'/%3E%3Ccircle cx='60' cy='100' r='3' fill='%238E6CEF' opacity='.4'/%3E%3C/svg%3E");
}

[data-world="stoer"] {
  --c-bg: #11151D; --c-surface: #1A202B; --c-surface-2: #222A38; --c-ink: #F2F5FA; --c-muted: #9AA6B8; --c-line: #2C3546;
  --c-primary: #B6FF3B; --c-primary-ink: #11151D; --c-accent: #FF5A1F; --c-accent-2: #00E0FF; --c-accent-3: #FF3B8B; --c-pla-accent: #F6B68B;
  --font-display: 'Titan One', var(--font-body); --display-tracking: 0.03em; --display-case: uppercase;
  --radius-s: 8px; --radius: 12px; --radius-l: 16px; --radius-btn: 10px;
  --shadow: 0 0 0 1px var(--c-line), 0 20px 40px -20px rgba(0,0,0,.6);
  --btn-shadow: 0 0 24px -4px color-mix(in srgb, var(--c-primary) 70%, transparent);
  --pattern: linear-gradient(rgba(0,224,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,224,255,.05) 1px, transparent 1px);
  --pattern-size: 32px;
  color-scheme: dark;
}
