/* Layout: a quiet poetry book in five colours from the Ode aan moodboard (ivory, blossom, sage, taupe, gold).
   Spaced serif capitals for titles, one handwritten word for feeling, real photographs at sunset light.
   Single light theme by choice: the brand is a warm paper world in every viewer. */
:root {
  --ivoor: #f9f6f1;
  --ivoor-2: #f2ece4;
  --bloesem: #e6c9c2;
  --bloesem-2: #f3e3de;
  --salie: #a7b3a0;
  --salie-2: #e3e7df;
  --taupe: #8c7a6b;
  --goud: #d4af6b;
  --ink: #45362f;
  --ink-soft: #66544a;
  --on-ink: #f9f6f1;
  --font-caps: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-text: "Spectral", "Iowan Old Style", Georgia, serif;
  --font-hand: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --s-small: 0.9375rem;
  --s-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --s-head: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --s-hand: clamp(2.8rem, 1.9rem + 3.6vw, 5.2rem);
  --track: 0.2em;
  --margin: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--ivoor); color: var(--ink); font-family: var(--font-text); font-weight: 300; font-size: var(--s-body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--bloesem); color: var(--ink); }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px), var(--margin)); padding-right: max(16px, env(safe-area-inset-right, 0px), var(--margin)); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.caps { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: var(--track); font-weight: 400; line-height: 1.15; }
.hand { font-family: var(--font-hand); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.005em; line-height: 1; }
.kicker { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .24em; font-size: var(--s-small); font-weight: 500; }
.gold-line { display: block; width: 48px; height: 2px; background: var(--goud); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 400 var(--s-small)/1 var(--font-caps); text-transform: uppercase; letter-spacing: .18em; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: #2f241f; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.soft { background: var(--bloesem); color: var(--ink); }
.btn.soft:hover { background: #dbb8af; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.textlink { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .18em; font-size: var(--s-small); font-weight: 500; text-decoration: underline; text-decoration-color: var(--goud); text-decoration-thickness: 2px; text-underline-offset: 8px; transition: text-underline-offset .25s var(--ease); }
.textlink:hover { text-underline-offset: 4px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; padding-top: calc(22px + env(safe-area-inset-top, 0px) * 0); }
.mark { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .3em; font-size: 1.25rem; font-weight: 500; text-decoration: none; }
.nav { display: flex; gap: clamp(16px, 2.6vw, 40px); align-items: center; }
.nav a:not(.btn), .nav button { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .18em; font-size: var(--s-small); font-weight: 500; text-decoration: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px 0; }
.nav a:not(.btn):hover, .nav button:hover { color: var(--taupe); }
.nav .btn { color: var(--on-ink); padding: 0 22px; min-height: 44px; }
.nav .btn:hover { color: var(--on-ink); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 120px); }
.hero-text { min-width: 0; padding-block: 24px; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.3vw, 3rem); line-height: 1.05; }
.hero h1 .caps { display: block; letter-spacing: .16em; }
.hero h1 .hand { display: block; font-size: var(--s-hand); color: var(--ink); margin-top: .05em; margin-left: .5em; }
.hero .kicker { margin-top: 22px; color: var(--ink-soft); }
.hero .gold-line { margin-top: 18px; }
.hero .lead { margin-top: 30px; font-size: var(--s-lead); line-height: 1.55; max-width: 32ch; }
.hero .acts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.hero-pic { position: relative; min-width: 0; }
.hero-pic img { width: 100%; height: auto; aspect-ratio: 525 / 694; object-fit: cover; border-radius: 220px 220px 4px 4px; }

/* themes strip */
.themes { background: var(--bloesem-2); text-align: center; padding-block: clamp(56px, 7vw, 96px); }
.themes .words { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .22em; font-size: clamp(1.2rem, .9rem + 1.3vw, 2rem); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.themes .words span:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--goud); }
.themes .hand { font-size: clamp(2rem, 1.6rem + 1.8vw, 3.2rem); margin-top: 18px; }
.themes p { max-width: 44ch; margin: 20px auto 0; }

/* bundel */
.bundle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(96px, 11vw, 168px); }
.bundle-pic { background: var(--salie-2); padding: clamp(20px, 4vw, 56px); }
.bundle-pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.bundle-text { min-width: 0; max-width: 520px; }
.bundle-text h2 { font-size: var(--s-head); }
.bundle-text h2 .hand { display: block; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.8rem); margin-top: 4px; }
.bundle-text .lead { margin-top: 26px; font-size: var(--s-lead); line-height: 1.5; }
.specs { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.specs li { background: var(--ivoor-2); padding: 14px 16px; }
.specs b { display: block; font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .16em; font-size: var(--s-small); }
.specs span { font-size: var(--s-small); color: var(--ink-soft); }
.price-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.price-row .price { font-family: var(--font-caps); font-size: 2.4rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price-row small { display: block; font-size: var(--s-small); color: var(--ink-soft); }

/* live card */
.live { background: var(--ivoor-2); padding-block: clamp(96px, 10vw, 150px); }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.live-copy { min-width: 0; }
.live-copy h2 { font-size: var(--s-head); }
.live-copy h2 .hand { display: block; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.8rem); margin-top: 2px; }
.live-copy p { margin-top: 22px; max-width: 40ch; }
.live-form { margin-top: 30px; display: grid; gap: 14px; }
.live-form label { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .18em; font-size: var(--s-small); font-weight: 500; }
.live-input { width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ivoor); color: var(--ink); font: 300 var(--s-lead)/1 var(--font-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; border-radius: 999px; background: var(--ivoor); color: var(--ink); font: 300 1rem/1 var(--font-text); padding: 12px 18px; cursor: pointer; transition: background-color .15s, transform .15s; }
.chip:hover { background: var(--bloesem-2); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--bloesem); }
.a5stage { display: grid; place-items: center; background: var(--bloesem); padding: clamp(28px, 5vw, 64px); min-width: 0; }
.a5 { width: min(100%, 360px); aspect-ratio: 148 / 210; background: var(--ivoor); padding: 11% 11% 9%; display: flex; flex-direction: column; text-align: center; transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.a5stage:hover .a5 { transform: rotate(-.5deg) translateY(-4px); }
.a5 .k-top { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .28em; font-size: var(--s-small); font-weight: 500; }
.a5 .gold-line { margin: 12px auto 0; width: 36px; }
.a5 .k-name { font-family: var(--font-hand); font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.8rem); line-height: 1; margin-top: 22px; min-height: 2em; overflow-wrap: break-word; transition: opacity .25s var(--ease); }
.a5 .k-lines { margin: auto auto 0; width: 76%; display: grid; gap: 12px; justify-items: center; }
.a5 .k-lines span { display: block; height: 5px; background: var(--ivoor-2); border-radius: 3px; }
.a5 .k-foot { margin-top: 22px; font-size: .8125rem; color: var(--ink-soft); letter-spacing: .08em; }

/* shop */
.shop { padding-block: clamp(96px, 11vw, 168px); }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.shop-head h2 { font-size: var(--s-head); }
.shop-head h2 .hand { display: block; font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.6rem); margin-top: 4px; }
.shop-head p { max-width: 38ch; }
.filters { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 0; border-radius: 999px; background: var(--ivoor-2); color: var(--ink); font: 500 var(--s-small)/1 var(--font-caps); letter-spacing: .16em; text-transform: uppercase; padding: 13px 20px; cursor: pointer; transition: background-color .15s; }
.filters button:hover { background: var(--bloesem-2); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 32px); }
.item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; font: inherit; }
.item .pic { aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.item .pic svg { width: 66%; transition: transform .6s var(--ease); }
.item:hover .pic img, .item:hover .pic svg, .item:focus-visible .pic svg { transform: scale(1.04); }
.item .t { display: flex; justify-content: space-between; gap: 14px; margin-top: 16px; align-items: baseline; }
.item .nm { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .14em; font-size: 1.125rem; font-weight: 500; line-height: 1.25; }
.item .pr { font-variant-numeric: lining-nums; white-space: nowrap; }
.item .sub { font-size: var(--s-small); color: var(--ink-soft); margin-top: 4px; }
.item.sold .pr { text-decoration: line-through; color: var(--ink-soft); }
.bg-0 { background: var(--bloesem-2); } .bg-1 { background: var(--salie-2); } .bg-2 { background: var(--ivoor-2); }
.empty-shop { margin-top: 28px; background: var(--ivoor-2); padding: 32px; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 4vw, 64px) clamp(96px, 11vw, 168px); }
.about { align-items: stretch; }
.about-pic { display: flex; }
.about-pic img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 42% 50%; }
.letter { max-width: 560px; min-width: 0; }
.letter h2 { font-size: var(--s-head); }
.letter-body { margin-top: 28px; display: grid; gap: 1.05em; }
.sign { margin-top: 30px; display: flex; align-items: center; gap: 20px; }
.sign .hand { font-size: 2.6rem; }
.sign span { font-size: var(--s-small); color: var(--ink-soft); }
.contact-strip { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--ivoor-2); padding: 16px 20px; }
.contact-strip .addr { font-weight: 500; overflow-wrap: anywhere; }
.copy-btn { background: var(--ivoor); border: 0; border-radius: 999px; color: var(--ink); font: 500 var(--s-small)/1 var(--font-caps); text-transform: uppercase; letter-spacing: .14em; padding: 12px 18px; cursor: pointer; transition: background-color .15s; }
.copy-btn:hover { background: var(--bloesem-2); }

/* staat je gedicht er niet bij */
.missing { background: var(--salie-2); padding-block: clamp(96px, 11vw, 160px); margin-bottom: clamp(64px, 8vw, 120px); }

/* op maat */
.custom { background: var(--bloesem); padding-block: clamp(96px, 11vw, 160px); }
.custom-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.custom-copy { min-width: 0; }
.custom-copy h2 { font-size: var(--s-head); }
.custom-copy h2 .hand { display: block; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.8rem); margin-top: 4px; }
.custom-copy p { margin-top: 24px; max-width: 38ch; }
.custom-copy .price { margin-top: 28px; font-family: var(--font-caps); font-size: 2.4rem; line-height: 1; }
.custom-copy .price small { display: block; font-family: var(--font-text); font-size: var(--s-small); color: var(--ink); margin-top: 6px; }
.custom-copy img { margin-top: 36px; width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; }
.form-card { background: var(--ivoor); padding: clamp(24px, 4vw, 52px); min-width: 0; }
.form-card h3 { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .2em; font-size: var(--s-lead); }
.req { display: grid; gap: 14px; margin-top: 22px; }
.req .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .16em; font-size: var(--s-small); font-weight: 500; }
.in { width: 100%; min-height: 52px; border: 0; border-radius: 0; padding: 0 16px; background: var(--ivoor-2); color: var(--ink); font: 300 var(--s-body)/1.4 var(--font-text); text-transform: none; letter-spacing: 0; }
textarea.in { min-height: 140px; padding: 14px 16px; resize: vertical; }
.in::placeholder { color: #8a776b; opacity: 1; }
.in:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.hint { font-size: var(--s-small); color: var(--ink-soft); }
.err { background: #f5dcd5; color: #6d2a1a; padding: 10px 14px; font-size: var(--s-small); }

/* compose */
.compose { display: grid; gap: 16px; }
.compose h3 { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .2em; font-size: var(--s-lead); }
.compose pre { margin: 0; white-space: pre-wrap; font-family: var(--font-text); font-size: 1rem; line-height: 1.55; padding: 18px; max-height: 300px; overflow: auto; background: var(--ivoor-2); color: var(--ink); }
.compose .to { font-weight: 500; overflow-wrap: anywhere; }
.compose .acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* footer */
.foot { background: var(--salie-2); display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) 160px; gap: 32px; padding-block: 64px calc(48px + env(safe-area-inset-bottom, 0px)); align-items: start; }
.foot .brand .mark { display: block; }
.foot .brand .hand { font-size: 2.1rem; margin-top: 10px; }
.foot h3 { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .2em; font-size: var(--s-small); font-weight: 500; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--goud); text-underline-offset: 5px; }
.foot .addr { overflow-wrap: anywhere; }
.foot img { width: 100%; height: auto; aspect-ratio: 159 / 484; object-fit: cover; max-height: 300px; }
.foot .legal { grid-column: 1 / -1; font-size: var(--s-small); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* dialogs */
dialog { border: 0; padding: 0; background: var(--ivoor); color: var(--ink); max-width: min(980px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: auto; }
dialog::backdrop { background: rgba(69, 54, 47, .45); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; background: var(--ivoor-2); position: sticky; top: 0; z-index: 2; }
.dlg-head b { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .24em; font-size: var(--s-small); }
.x { background: var(--ivoor); border: 0; border-radius: 999px; width: 44px; height: 44px; font: 300 1.6rem/1 var(--font-text); color: var(--ink); cursor: pointer; }
.x:hover { background: var(--bloesem-2); }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd-pic { display: grid; place-items: center; min-height: 380px; }
.pd-pic img { width: 100%; height: 100%; object-fit: cover; }
.pd-pic svg { width: 66%; }
.pd-body { padding: clamp(22px, 4vw, 48px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.pd-body h2 { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; }
.pd-price { font-family: var(--font-caps); font-size: 2rem; line-height: 1; }
.pd-ship { color: var(--ink-soft); font-size: var(--s-small); margin-top: 6px; }
.pd-frag { margin: 0; font-style: italic; background: var(--bloesem-2); padding: 18px 20px; white-space: pre-line; }
.order-form { display: grid; gap: 12px; }
.qty { display: flex; align-items: center; }
.qty button { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--ivoor-2); color: var(--ink); font: 400 1.4rem/1 var(--font-text); cursor: pointer; }
.qty button:hover { background: var(--bloesem-2); }
.qty output { min-width: 56px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; }

/* beheer */
.adm { padding: clamp(18px, 3vw, 32px); display: grid; gap: 36px; }
.adm h3 { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .2em; font-size: var(--s-lead); }
.adm-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--ivoor-2); padding: 14px 18px; }
.adm-status.dirty { background: var(--bloesem); }
.adm-list { display: grid; gap: 6px; margin-top: 14px; }
.adm-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--ivoor-2); padding: 8px 10px; }
.adm-row .thumb { width: 56px; height: 56px; overflow: hidden; display: grid; place-items: center; background: var(--bloesem-2); }
.adm-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-row .thumb svg { width: 80%; }
.adm-row .info { min-width: 0; }
.adm-row .info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row .info span { color: var(--ink-soft); font-size: var(--s-small); }
.adm-row .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.mini { border: 0; border-radius: 999px; background: var(--ivoor); color: var(--ink); font: 400 .9375rem/1 var(--font-text); padding: 10px 14px; cursor: pointer; }
.mini:hover { background: var(--bloesem-2); }
.mini.danger { background: #8a3a28; color: var(--ivoor); }
.adm-form { display: grid; gap: 14px; margin-top: 14px; }
.adm-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adm-form select.in { appearance: auto; }
.check { display: flex; gap: 10px; align-items: center; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.upl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; text-transform: none; letter-spacing: 0; font-family: var(--font-text); font-weight: 300; }
.upl .prev { width: 96px; height: 96px; overflow: hidden; display: grid; place-items: center; background: var(--bloesem-2); }
.upl .prev img { width: 100%; height: 100%; object-fit: cover; }
.upl .prev svg { width: 80%; }
.sample-tag { display: inline-block; background: var(--bloesem); font-size: .8125rem; font-weight: 400; padding: 1px 8px; margin-left: 6px; border-radius: 999px; vertical-align: 2px; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--on-ink); padding: 14px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 50; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* lettergrootte en breedte per tekst (beheer) */
.tpanel { position: fixed; left: 16px; z-index: 61; width: min(330px, calc(100vw - 32px)); background: var(--ivoor); color: var(--ink); padding: 16px 18px; display: grid; gap: 12px; font-size: var(--s-small); box-shadow: 0 10px 30px rgba(69, 54, 47, .28); }
.tpanel b { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .16em; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpanel label { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.tpanel input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.tpanel output { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.tpanel .mini { justify-self: start; }
body.tedit [data-t].t-actief { outline-style: solid; outline-width: 2px; }
body.tedit [data-p] { outline: 2px dashed var(--goud); outline-offset: 4px; cursor: pointer; }
body.tedit [data-p].t-actief { outline-style: solid; outline-width: 3px; }
.tpgroup { display: grid; gap: 12px; }
.tpanel .upl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* text editing mode (beheer) */
body.tedit [data-t] { outline: 1.5px dashed var(--goud); outline-offset: 4px; cursor: text; }
body.tedit [data-t]:hover, body.tedit [data-t]:focus { background: rgba(212, 175, 107, .16); outline-style: solid; }
body.tedit .rise { animation: none !important; }
body.tedit [data-t]:empty { display: inline-block; min-width: 12em; min-height: 1.2em; }
body.tedit [data-t]:empty::before { content: "verborgen, typ om terug te zetten"; font: italic 300 1rem/1.4 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.tbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--on-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.tbar p { font-size: var(--s-small); max-width: 60ch; }
.tbar .btn { background: var(--ivoor); color: var(--ink); }
.tbar .btn.ghost { background: transparent; color: var(--on-ink); border-color: var(--on-ink); }

/* motion: content is visible at rest; travel only where scroll-driven animation exists */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    .rise.d1 { animation-range: entry 8% entry 58%; }
    .rise.d2 { animation-range: entry 16% entry 66%; }
    @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
    .hero-pic img { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes drift { to { transform: translateY(40px); } }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: fadeup .9s var(--ease) both; }
  .hero-text > *:nth-child(2) { animation-delay: .1s; } .hero-text > *:nth-child(3) { animation-delay: .2s; } .hero-text > *:nth-child(4) { animation-delay: .3s; } .hero-text > *:nth-child(5) { animation-delay: .4s; }
    @keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }

/* tablet and phone */
@media (max-width: 900px) {
  .nav .hide-s { display: none; }
  .hero, .bundle, .live-grid, .about, .custom-grid, .pd { grid-template-columns: 1fr; }
  .missing .custom-grid { grid-template-columns: 1fr; }
  .hero-pic { width: min(100%, 460px); margin: 24px auto 32px; }
    .hero-text { padding-top: 8px; }
  .bundle-pic { order: -1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-pic { width: min(100%, 420px); }
  .about-pic img { height: auto; min-height: 0; aspect-ratio: 302 / 380; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot .brand { grid-column: 1 / -1; }
  .foot .fimg { display: none; }
  .pd-pic { min-height: 280px; }
}
@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .mark { font-size: 1.05rem; letter-spacing: .24em; }
  .hero h1 .caps { font-size: 7.4vw; letter-spacing: .12em; }
  .hero h1 .hand { margin-left: .3em; }
  .specs, .req .two, .adm-form .grid2 { grid-template-columns: 1fr; }
  .grid { gap: 28px 14px; }
  .item .nm { font-size: 1rem; letter-spacing: .1em; }
  .item .t { flex-direction: column; gap: 2px; }
  .adm-row { grid-template-columns: 48px minmax(0, 1fr); }
  .adm-row .acts { grid-column: 1 / -1; }
  .hero .acts .btn { width: 100%; }
}

/* ---- toevoegingen voor de losse website ---- */
html.laden #ode-root { opacity: 0; }
#ode-root { transition: opacity .25s ease; }
.foot .legal a { text-decoration: underline; text-decoration-color: var(--goud); text-underline-offset: 4px; }
.legal-links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.navlink .cnt { font-variant-numeric: tabular-nums; }

/* mandje */
.cart-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 400 var(--s-small)/1 var(--font-caps); text-transform: uppercase; letter-spacing: .16em; cursor: pointer; box-shadow: 0 10px 28px rgba(69, 54, 47, .3); transition: transform .2s var(--ease); }
.cart-float:hover { transform: translateY(-2px); }
.cart-float b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: var(--goud); color: var(--ink); font: 500 .875rem/1 var(--font-text); letter-spacing: 0; }
body.tedit .cart-float { display: none; }
#cartDlg { max-width: min(680px, calc(100vw - 24px)); }
.mand { padding: clamp(18px, 3vw, 32px); display: grid; gap: 24px; }
.lead-s { font-size: var(--s-lead); }
.m-lijst { display: grid; gap: 8px; }
.m-rij { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--ivoor-2); padding: 10px; }
.m-rij .thumb { width: 64px; height: 80px; overflow: hidden; display: grid; place-items: center; background: var(--bloesem-2); }
.m-rij .thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-rij .thumb svg { width: 86%; }
.m-info { min-width: 0; display: grid; gap: 2px; }
.m-info b { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.m-info span { font-size: var(--s-small); color: var(--ink-soft); overflow-wrap: anywhere; }
.m-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.m-acts .qty button { width: 40px; height: 40px; background: var(--ivoor); }
.m-acts .qty output { min-width: 34px; }
.mand fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.mand legend { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .2em; font-size: var(--s-lead); padding: 0; margin-bottom: 12px; }
.mand .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mand select.in { appearance: auto; }
.keuze { display: flex; gap: 14px; align-items: flex-start; background: var(--ivoor-2); padding: 14px 16px; cursor: pointer; }
.keuze input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.keuze span { display: grid; gap: 2px; }
.keuze b { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
.keuze small { font-size: var(--s-small); color: var(--ink-soft); }
.keuze:has(input:checked) { background: var(--bloesem-2); }
.code-rij { display: flex; gap: 8px; text-transform: none; letter-spacing: 0; }
.code-rij .in { flex: 1; min-width: 0; text-transform: uppercase; }
.m-code { display: grid; gap: 8px; }
.m-totaal { display: grid; gap: 6px; border-top: 1.5px solid var(--ink); padding-top: 14px; font-variant-numeric: lining-nums tabular-nums; }
.m-totaal div { display: flex; justify-content: space-between; gap: 16px; }
.m-totaal .eind { font-family: var(--font-caps); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.btn.breed { width: 100%; }
.mand .hint a { text-decoration-color: var(--goud); }
.vangnet { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.koop { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.toegevoegd { width: 100%; font-style: italic; }
.adm-row.code { grid-template-columns: minmax(0, 1fr) auto; }
.login { max-width: 420px; }
@media (max-width: 560px) {
  .mand .two { grid-template-columns: 1fr; }
  .m-rij { grid-template-columns: 56px minmax(0, 1fr); }
  .m-rij .thumb { width: 56px; height: 70px; }
  .m-acts { grid-column: 1 / -1; justify-content: space-between; }
  .cart-float { left: max(16px, env(safe-area-inset-left, 0px)); justify-content: center; }
}
.foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
[hidden]:not([hidden=until-found i]) { display: none !important; }
body { margin: 0; }
@media (max-width: 560px) { .nav #cartOpen { display: none !important; } .nav { gap: 14px; } }
/* in de bewerkmodus ruimte onderaan, zodat de balk de voettekst niet bedekt */
body.tedit { padding-bottom: 320px; }
.pre-noot { background: var(--salie-2); padding: 14px 16px; }
