/* ==========================================================================
   Loaded Cookies by Madi & Liz – stylesheet
   ========================================================================== */

:root {
    --cream: #fcf1df;
    --cream-soft: #fdf5e8;
    --white: #fffaf3;
    --sand: #f6e2c4;
    --band: #f1d6ae;
    --line: #e9cfaa;
    --caramel: #b8743f;
    --brown: #4a1a08;
    --brown-hover: #672a12;
    --ink: #3a1406;
    --text: #4a2a1b;
    --muted: #87634f;
    --danger: #a8261b;
    --danger-bg: #fbe1d9;
    --success: #2d6a39;
    --success-bg: #e4f1dc;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow: 0 14px 34px rgba(74, 26, 8, .11);

    --font-display: "Caveat Brush", "Segoe Print", "Bradley Hand", cursive;
    --font-hand: "Patrick Hand", "Segoe Print", "Bradley Hand", cursive;
    --font-body: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--brown-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; }
.skip-link:focus { left: 12px; background: var(--brown); color: var(--cream); padding: .5rem 1rem; border-radius: 999px; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* ---------- Typografie ---------- */

.display {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.02;
    margin: 0;
}
.eyebrow {
    margin: 0 0 .7rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--ink);
}
.lead { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; color: var(--ink); }
.page-title { font-size: clamp(2.6rem, 6vw, 4.2rem); text-align: center; }
.page-title--left { text-align: left; }
.section-title { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.doodle-heart { display: inline-block; width: .62em; height: .55em; margin-left: .1em; vertical-align: .08em; color: var(--ink); }

/* ---------- Knoppen & links ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.5rem;
    border: 2px solid transparent; border-radius: 999px;
    font-family: var(--font-hand); font-size: 1.2rem; line-height: 1;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.btn--dark { background: var(--brown); color: var(--cream); }
.btn--dark:hover { background: var(--brown-hover); color: var(--cream); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(74, 26, 8, .22); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.35rem; }
.btn--sm { padding: .5rem 1.25rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn:disabled, .btn.is-loading { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row--center { justify-content: center; }

.link-arrow, .link-underline {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-hand); font-size: 1.25rem; color: var(--ink);
    text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; }

.icon-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 999px; background: transparent; color: var(--ink);
    text-decoration: none; cursor: pointer;
}
.icon-btn .icon { width: 28px; height: 28px; }
.icon-btn:hover { background: var(--sand); color: var(--ink); }

/* ---------- Topbar & header ---------- */

.topbar {
    padding: .3rem 1rem;
    background: var(--brown); color: var(--cream);
    font-family: var(--font-hand); font-size: 1.1rem; text-align: center;
}
.site-header { position: relative; z-index: 30; background: var(--cream); }
.header-inner {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
    min-height: 76px;
}
.brand { display: block; width: 150px; margin: 8px 0 -40px; position: relative; z-index: 2; }
.brand picture { display: block; }
.brand img { width: 100%; height: auto; filter: drop-shadow(0 4px 10px rgba(74, 26, 8, .12)); }
.site-nav { display: flex; justify-content: center; gap: clamp(1.5rem, 4.5vw, 3.75rem); }
.site-nav a {
    position: relative; padding: .25rem 0;
    font-family: var(--font-hand); font-size: 1.3rem; color: var(--ink); text-decoration: none;
}
.site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    border-radius: 3px; background: var(--ink);
    transform: scaleX(0); transition: transform .2s;
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: .35rem; justify-self: end; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.cart-badge {
    position: absolute; top: 0; right: -2px;
    display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px;
    border-radius: 999px; background: var(--brown); color: var(--cream);
    font-size: .75rem; font-weight: 800; line-height: 1;
}
.cart-badge.is-bumped { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.search-panel { border-top: 1px solid var(--line); background: var(--sand); padding-block: .9rem; }
.search-form { display: flex; align-items: center; gap: .75rem; }
.search-form > .icon { color: var(--ink); }
.search-form input {
    flex: 1; min-width: 0; padding: .65rem 1.1rem;
    border: 2px solid var(--line); border-radius: 999px; background: var(--white);
}

/* ---------- Meldingen ---------- */

.flashes { display: grid; gap: .5rem; padding-top: 1rem; }
.alert {
    display: flex; align-items: flex-start; gap: .65rem;
    margin: 0 0 1rem; padding: .85rem 1rem;
    border-radius: var(--radius-sm); background: var(--sand); color: var(--ink);
}
.alert .icon { margin-top: 2px; }
.alert--success { background: var(--success-bg); color: var(--success); }
.alert--error { background: var(--danger-bg); color: var(--danger); }
.flashes .alert { margin: 0; }
.notice-closed { margin-top: 1.5rem; }

.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 100;
    display: flex; align-items: center; gap: 1rem;
    max-width: calc(100% - 32px); padding: .8rem 1.3rem;
    border-radius: 999px; background: var(--brown); color: var(--cream); box-shadow: var(--shadow);
    opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--cream); font-weight: 800; white-space: nowrap; }
.toast--error { background: var(--danger); }

/* ---------- Hero ---------- */

.hero {
    display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    max-width: 1440px; margin-inline: auto;
}
.hero__copy { padding: clamp(4rem, 7vw, 6rem) 2rem 3.5rem clamp(16px, 5vw, 72px); }
.hero__title { display: flex; flex-direction: column; margin-bottom: 1.25rem; font-size: clamp(2.8rem, 5.1vw, 5.3rem); }
.hero__heart { width: .5em; height: .45em; vertical-align: .45em; transform: rotate(-10deg); }
.hero__lead { max-width: 27ch; margin-bottom: 2rem; }
.hero__heart-small { width: 34px; height: 30px; margin: 1.5rem 0 0 3.5rem; }
.hero__media { position: relative; min-height: 440px; }
.hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 45%;
    border-radius: 56px 56px 0 0;
}

/* ---------- USP-band met geschulpte randen ---------- */

.usp-band { position: relative; z-index: 1; background: var(--band); padding-block: .8rem; }
.usp-band::before, .usp-band::after {
    content: ""; position: absolute; left: 0; right: 0; height: 12px;
    background-size: 26px 12px; background-repeat: repeat-x;
}
.usp-band::before { top: -11px; background-image: radial-gradient(circle at 13px 12px, var(--band) 11.5px, transparent 12.5px); }
.usp-band::after { bottom: -11px; background-image: radial-gradient(circle at 13px 0, var(--band) 11.5px, transparent 12.5px); }
.usp-list {
    display: flex; flex-wrap: wrap; justify-content: space-around; gap: .5rem 1.5rem;
    margin: 0 auto; padding-block: .1rem; list-style: none;
}
.usp-list li { display: flex; align-items: center; gap: .6rem; font-family: var(--font-hand); font-size: 1.3rem; color: var(--ink); }
.usp-list .icon { width: 34px; height: 34px; stroke-width: 1.6; }

/* ---------- Secties & productkaarten ---------- */

.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-spacer { height: clamp(2.75rem, 6vw, 4.5rem); }
.section-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem;
    margin-bottom: 1.4rem;
}

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.product-card {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding: .55rem .55rem 1.2rem;
    border-radius: var(--radius); background: var(--sand); text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media {
    position: relative; display: block; width: 100%; aspect-ratio: 1 / .84;
    overflow: hidden; border-radius: calc(var(--radius) - 6px); background: var(--sand);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__media img { transform: scale(1.05) rotate(-1.5deg); }
.product-card__name {
    margin: .3rem 0 .1rem;
    font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.1; color: var(--ink);
}
.product-card__name a { color: inherit; text-decoration: none; }
.product-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.product-card__price { margin: 0 0 .65rem; font-family: var(--font-hand); font-size: 1.35rem; color: var(--ink); }
.product-card .btn { position: relative; z-index: 1; margin-top: .45rem; }
.product-card__price + .btn { margin-top: 0; }
.product-card.is-soldout img { filter: grayscale(.45); opacity: .8; }

.badge {
    position: absolute; top: 12px; left: 12px;
    padding: .2rem .75rem; border-radius: 999px;
    background: var(--brown); color: var(--cream); font-family: var(--font-hand); font-size: 1rem;
}
.badge--lg { top: 18px; left: 18px; font-size: 1.2rem; }
.photo-placeholder {
    display: grid; place-content: center; justify-items: center; gap: .3rem;
    width: 100%; height: 100%; color: var(--caramel);
    background: repeating-linear-gradient(45deg, var(--sand) 0 12px, #f2d9b4 12px 24px);
}
.photo-placeholder .icon { width: 60px; height: 60px; stroke-width: 1.3; }
.photo-placeholder small { font-family: var(--font-hand); font-size: 1.1rem; }
.photo-placeholder--lg .icon { width: 110px; height: 110px; }

.empty-state { display: grid; justify-items: center; gap: 1rem; padding: 3rem 1rem; text-align: center; color: var(--ink); }
.empty-state > .icon { width: 64px; height: 64px; color: var(--caramel); stroke-width: 1.4; }
.empty-state p { margin: 0; font-size: 1.15rem; }

/* ---------- Verhaal-teaser ---------- */

.story-teaser {
    display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); align-items: center;
    background: linear-gradient(90deg, var(--band), var(--sand));
}
.story-teaser__media { align-self: stretch; }
.story-teaser__media img { width: 100%; height: 100%; min-height: 280px; max-height: 420px; object-fit: cover; border-radius: 0 64px 0 0; }
.story-teaser__copy { padding: 2.5rem clamp(1.5rem, 5vw, 4.5rem); }
.story-teaser__copy h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.story-teaser__copy p { max-width: 36ch; margin: 0 0 1.6rem; font-size: 1.15rem; color: var(--ink); }
.story-teaser--reverse { background: linear-gradient(90deg, var(--sand), var(--band)); }

/* ---------- Footer ---------- */

.site-footer { background: var(--brown); color: var(--cream); }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.2rem; }
.footer-brand { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 2.1rem; color: var(--cream); text-decoration: none; }
.footer-brand:hover { color: var(--cream); }
.footer-brand .doodle-heart { color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-left: auto; }
.footer-nav a { color: var(--cream); text-decoration: none; }
.footer-nav a:hover { color: var(--cream); text-decoration: underline; }
.footer-divider { width: 1px; height: 32px; background: rgba(252, 241, 223, .35); }
.footer-social { display: flex; align-items: center; gap: .35rem; }
.footer-social .icon-btn { color: var(--cream); }
.footer-social .icon-btn:hover { background: rgba(252, 241, 223, .12); }
.footer-site { margin-left: .5rem; }
.footer-legal {
    display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.5rem;
    padding-block: .8rem 1.1rem; border-top: 1px solid rgba(252, 241, 223, .18);
    font-size: .85rem; color: rgba(252, 241, 223, .82);
}
.footer-legal a { color: inherit; }
.footer-legal .icon { width: 1em; height: 1em; vertical-align: -2px; }

/* ---------- Paginakop, shop-toolbar ---------- */

.page-head { margin-bottom: 1.5rem; padding-top: clamp(3rem, 6vw, 3.75rem); text-align: center; }
.page-head .lead { margin-top: .5rem; }
.shop-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.filter-pills { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1rem; }
.sort-form { grid-column: 3; justify-self: end; }
.pill {
    padding: .35rem 1.5rem; border: 2px solid var(--ink); border-radius: 999px;
    font-family: var(--font-hand); font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.pill:hover { background: var(--sand); color: var(--ink); }
.pill.is-active { border-color: var(--brown); background: var(--brown); color: var(--cream); }
.search-summary { margin: -.5rem 0 1.5rem; text-align: center; }

.select { position: relative; display: inline-block; }
.select select {
    padding: .35rem 2.4rem .35rem 1.1rem;
    border: 2px solid var(--ink); border-radius: 999px; background: transparent;
    font-family: var(--font-hand); font-size: 1.05rem; color: var(--ink);
    cursor: pointer; appearance: none; -webkit-appearance: none;
}
.select > .icon { position: absolute; top: 50%; right: .85rem; width: 1rem; height: 1rem; transform: translateY(-50%); pointer-events: none; color: var(--ink); }
.select--block { display: block; }
.select--block select {
    width: 100%; padding: .8rem 2.6rem .8rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
    font-family: var(--font-body); font-size: 1rem;
}

/* ---------- Productpagina ---------- */

.product-page { padding-top: clamp(3rem, 6vw, 3.5rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; font-size: .95rem; color: var(--ink); }
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { font-weight: 700; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 4vw, 3.5rem); }
.gallery__main { position: relative; overflow: hidden; aspect-ratio: 1 / .76; border-radius: var(--radius-lg); background: var(--sand); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: .9rem; }
.gallery__thumb { aspect-ratio: 1.3; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--sand); cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--caramel); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-title { display: flex; align-items: flex-start; gap: .12em; margin-bottom: .6rem; font-size: clamp(3rem, 6vw, 4.6rem); }
.product-title__text { position: relative; display: inline-block; padding-bottom: .1em; }
.swoosh { position: absolute; left: 6%; bottom: -.1em; width: 86%; height: .2em; color: var(--caramel); }
.product-title .doodle-heart { width: .5em; height: .45em; margin-top: .05em; }
.product-price { margin: .6rem 0 .2rem; font-family: var(--font-hand); font-size: 2.1rem; color: var(--ink); line-height: 1.2; }
.product-tagline { margin: 0 0 1.3rem; font-size: 1.1rem; color: var(--ink); }
.field-label { display: block; margin-bottom: .4rem; font-weight: 700; color: var(--ink); }
.add-form__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.add-form__submit { flex: 1 1 220px; }

.stepper { display: inline-flex; align-items: center; height: 54px; border: 2px solid var(--line); border-radius: 999px; background: var(--white); }
.stepper__btn { display: grid; place-items: center; width: 48px; height: 100%; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.stepper__btn:hover { background: var(--sand); }
.stepper__btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.stepper__input { width: 2.8rem; border: 0; background: transparent; text-align: center; font-size: 1.15rem; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.accordion { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
    display: flex; align-items: center; gap: .75rem; padding: 1rem .25rem;
    font-family: var(--font-hand); font-size: 1.3rem; color: var(--ink);
    list-style: none; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion__plus { position: relative; width: 16px; height: 16px; margin-left: auto; }
.accordion__plus::before, .accordion__plus::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
    border-radius: 2px; background: var(--ink); transform: translateY(-50%); transition: transform .2s;
}
.accordion__plus::after { transform: translateY(-50%) rotate(90deg); }
.accordion details[open] .accordion__plus::after { transform: translateY(-50%) rotate(0); }
.accordion__body { padding: 0 .25rem 1.1rem 2.3rem; }
.accordion__body p { margin: 0 0 .7rem; }
.ticks { margin: 0; padding-left: 1.1rem; }
.ticks li { margin-bottom: .35rem; }
.made-with-love { margin: 1.2rem 0 0; text-align: right; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }

/* ---------- Winkelmand ---------- */

.cart-page { padding-top: clamp(3rem, 6vw, 3.5rem); }
.cart-page .page-title { margin-bottom: 1.6rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 2rem; }
.cart-items { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cart-item {
    display: grid; grid-template-columns: 110px minmax(0, 1fr) auto;
    grid-template-areas: "img body remove" "img body total";
    align-items: center; gap: .25rem 1.25rem; padding: .9rem;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.cart-item.is-updating { opacity: .6; }
.cart-item__img { grid-area: img; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--sand); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { grid-area: body; min-width: 0; }
.cart-item__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.cart-item__name a { color: var(--ink); text-decoration: none; }
.cart-item__price { margin: .1rem 0 .5rem; font-family: var(--font-hand); font-size: 1.25rem; color: var(--ink); }
.cart-item__qty { display: flex; align-items: center; gap: .5rem; }
.cart-item .stepper { height: 46px; }
.cart-item .stepper__btn { width: 42px; }
.cart-item__remove { grid-area: remove; align-self: start; justify-self: end; }
.cart-item__total { grid-area: total; align-self: end; justify-self: end; margin: 0; font-family: var(--font-hand); font-size: 1.5rem; color: var(--ink); white-space: nowrap; }

.cart-summary, .checkout-summary {
    position: sticky; top: 1rem; display: grid; gap: .85rem; padding: 1.4rem;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.cart-summary { text-align: center; }
.cart-summary .muted { margin: 0; text-align: left; }
.cart-summary__heart { width: 40px; height: 36px; margin: .1rem auto; }
.summary-rows { display: grid; gap: .35rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; }
.summary-row--total { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; color: var(--ink); }
.summary-rows .muted { margin: 0; }

/* ---------- Afrekenen & formulieren ---------- */

.checkout-page { padding-top: clamp(2.5rem, 5vw, 3rem); }
.back-link { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .4rem; font-family: var(--font-hand); font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1rem 0 1.75rem; padding: 0; list-style: none; }
.steps__item { display: flex; align-items: center; gap: .5rem; font-family: var(--font-hand); font-size: 1.2rem; color: var(--muted); }
.steps__item + .steps__item::before { content: ""; width: clamp(1.25rem, 5vw, 3.5rem); height: 2px; margin-right: .2rem; background: var(--line); }
.steps__dot { width: 22px; height: 22px; border-radius: 999px; background: var(--band); transition: background-color .2s; }
.steps__item.is-active, .steps__item.is-done { color: var(--ink); }
.steps__item.is-active .steps__dot { background: var(--brown); }
.steps__item.is-done .steps__dot { background: var(--caramel); }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 2.25rem; }
.form-section { min-width: 0; margin: 0 0 1.75rem; padding: 0; border: 0; }
.form-section__title { margin-bottom: .8rem; padding: 0; font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; color: var(--ink); }
.field { margin-bottom: 1rem; }
.field > label { display: block; margin-bottom: .35rem; font-weight: 700; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
    width: 100%; padding: .8rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
    font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .select--block select:focus, .search-form input:focus {
    outline: none; border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(184, 116, 63, .22);
}
.field textarea { resize: vertical; }
[aria-invalid="true"], .field [aria-invalid="true"] { border-color: var(--danger); }
.choice-cards[aria-invalid="true"] .choice-card { border-color: var(--danger); }
.field-error { margin: .35rem 0 0; font-size: .9rem; font-weight: 600; color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-row--street { grid-template-columns: minmax(0, 1fr) 130px; }
.hint { margin: -.2rem 0 1rem; font-size: .9rem; color: var(--muted); }

.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.choice-card {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem;
    padding: 1.1rem 1rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--white); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice-card:hover { border-color: var(--caramel); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card__radio { position: absolute; top: 14px; left: 14px; width: 22px; height: 22px; border: 2px solid var(--muted); border-radius: 999px; background: var(--white); }
.choice-card.is-checked, .choice-card:has(input:checked) { border-color: var(--caramel); background: #fbe6c8; box-shadow: inset 0 0 0 1px var(--caramel); }
.choice-card input:checked + .choice-card__radio { border-color: var(--brown); background: var(--brown); box-shadow: inset 0 0 0 4px var(--white); }
.choice-card input:focus-visible + .choice-card__radio { outline: 3px solid var(--caramel); outline-offset: 2px; }
.choice-card__icon { width: 44px; height: 44px; margin-bottom: .15rem; color: var(--ink); stroke-width: 1.5; }
.choice-card strong { font-family: var(--font-hand); font-size: 1.4rem; font-weight: 400; line-height: 1.1; color: var(--ink); }
.choice-card span:last-child { font-size: .9rem; color: var(--muted); }

.info-box { display: flex; gap: .7rem; margin-bottom: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--sand); color: var(--ink); }
.info-box .icon { margin-top: 2px; }

.order-summary summary {
    display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-weight: 700; color: var(--ink); list-style: none; cursor: pointer;
}
.order-summary summary::-webkit-details-marker { display: none; }
.order-summary__amount { margin-left: auto; }
.order-summary__chevron { width: 1rem; height: 1rem; transition: transform .2s; }
.order-summary[open] .order-summary__chevron { transform: rotate(180deg); }
.order-lines { display: grid; gap: .5rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.order-lines li { display: flex; gap: .6rem; }
.order-lines__qty { min-width: 2.1rem; font-weight: 800; color: var(--ink); }
.order-lines__name { flex: 1; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; cursor: pointer; }
.checkbox input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brown); }
.checkbox.is-invalid { color: var(--danger); }
.pay-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 0; font-size: .9rem; color: var(--muted); }
.pay-note .icon { width: 1.05em; height: 1.05em; }

/* ---------- Bestelstatus ---------- */

.order-page { max-width: 780px; padding-top: 3.25rem; }
.order-hero { margin-bottom: 2rem; text-align: center; }
.order-hero .lead { margin: .8rem 0 .4rem; }
.order-hero .btn-row { margin-top: 1.4rem; }
.order-hero__icon { display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 1rem; border-radius: 999px; }
.order-hero__icon .icon { width: 38px; height: 38px; stroke-width: 2.2; }
.order-hero__icon--ok { background: var(--success-bg); color: var(--success); }
.order-hero__icon--wait { background: var(--sand); color: var(--caramel); }
.order-hero__icon--error { background: var(--danger-bg); color: var(--danger); }
.order-card { margin-bottom: 1.5rem; padding: 1.5rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
.order-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-bottom: 1.1rem; }
.order-card__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .25rem; font-family: var(--font-hand); font-size: 1.3rem; font-weight: 400; color: var(--ink); }
.order-card p { margin: 0; }
.order-lines--lg { margin: 0 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Ons verhaal ---------- */

.story-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 2.75rem; padding-block: 3.5rem 3.5rem; }
.story-hero__copy .page-title { margin-bottom: 1rem; }
.story-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 3rem; }
.prose .section-title { margin-bottom: 1rem; }
.prose p { font-size: 1.1rem; }
.steps-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--sand); }
.steps-card h2 { margin-bottom: 1.1rem; font-size: 2.5rem; }
.how-steps { display: grid; gap: 1rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.how-steps li { display: flex; gap: 1rem; }
.how-steps li > span { display: grid; flex: 0 0 40px; place-items: center; height: 40px; border-radius: 999px; background: var(--brown); color: var(--cream); font-family: var(--font-hand); font-size: 1.3rem; }
.how-steps strong { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 400; color: var(--ink); }
.how-steps p { margin: 0; }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 2rem; }
.card { padding: 1.5rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card--sand { border-color: transparent; background: var(--sand); }
.card h2.display { margin-bottom: .75rem; font-size: 2rem; }
.card p { margin: 0; }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: .6rem; overflow-wrap: anywhere; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Juridisch & fout ---------- */

.legal { max-width: 800px; padding-top: 3.25rem; }
.legal h2 { margin: 2rem 0 .5rem; font-family: var(--font-hand); font-size: 1.6rem; font-weight: 400; color: var(--ink); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal-table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.error-page { max-width: 720px; padding-block: 4rem 5rem; text-align: center; }
.error-page__icon { display: inline-grid; place-items: center; width: 96px; height: 96px; margin-bottom: 1rem; border-radius: 999px; background: var(--sand); color: var(--caramel); }
.error-page__icon .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.error-page .lead { margin: 1rem 0 2rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1060px) {
    .checkout-layout { grid-template-columns: minmax(0, 1fr) 330px; }
}

@media (max-width: 959px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary, .cart-summary { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 859px) {
    .header-inner { grid-template-columns: 1fr auto 1fr; min-height: 64px; gap: .5rem; }
    .nav-toggle { display: inline-grid; justify-self: start; }
    .brand { width: 104px; margin: 6px 0 -22px; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        display: none; flex-direction: column; gap: 0;
        padding: 1.75rem var(--gutter) 1.25rem;
        background: var(--cream); box-shadow: 0 18px 30px rgba(74, 26, 8, .12);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .55rem 0; font-size: 1.6rem; border-bottom: 1px solid var(--line); }
    .site-nav a::after { display: none; }
    .site-nav a.is-active { font-weight: 700; }

    .hero { grid-template-columns: 1fr; }
    .hero__copy { padding: 3rem var(--gutter) 1.75rem; text-align: center; }
    .hero__title { align-items: center; font-size: clamp(2.9rem, 12vw, 4.4rem); }
    .hero__lead { margin-inline: auto; }
    .hero .btn-row { justify-content: center; }
    .hero .btn--dark { width: 100%; max-width: 420px; }
    .hero .btn--outline, .hero__heart-small { display: none; }
    .hero__media { min-height: 0; margin-inline: var(--gutter); }
    .hero__media img { position: static; aspect-ratio: 4 / 3.3; border-radius: 40px 40px 0 0; }

    .usp-list { justify-content: space-between; }
    .usp-list li { flex-direction: column; gap: .15rem; font-size: 1.05rem; }
    .usp-list .icon { width: 30px; height: 30px; }

    .section-head { justify-content: center; text-align: center; }
    .shop-toolbar { grid-template-columns: 1fr; }
    .filter-pills, .sort-form { grid-column: auto; justify-self: center; }

    .story-teaser { grid-template-columns: 1fr; }
    .story-teaser__media img { min-height: 0; aspect-ratio: 16 / 8; border-radius: 0 48px 0 0; }
    .story-teaser__copy { text-align: center; }
    .story-teaser__copy p { margin-inline: auto; }

    .product-layout, .story-hero, .prose-grid, .contact-layout { grid-template-columns: 1fr; }
    .story-hero { padding-top: 3rem; gap: 1.75rem; }
    .product-title { font-size: clamp(2.8rem, 12vw, 3.8rem); }

    .footer-main { flex-direction: column; gap: .75rem; text-align: center; }
    .footer-nav { justify-content: center; margin-left: 0; }
    .footer-divider { display: none; }
    .footer-legal { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
    .product-card { padding-bottom: 1rem; }
    .product-card .btn { padding-inline: .9rem; font-size: 1.02rem; white-space: normal; }
    .product-card .btn .icon { display: none; }
    .cart-item { grid-template-columns: 80px minmax(0, 1fr) auto; gap: .25rem .8rem; padding: .7rem; }
    .cart-item__name { font-size: 1.45rem; }
    .order-card__grid { grid-template-columns: 1fr; }
    .add-form__submit { flex-basis: 100%; }
    .page-head { padding-top: 2.5rem; }
    .field-row--street { grid-template-columns: minmax(0, 1fr) 100px; }
}

@media (max-width: 380px) {
    .field-row { grid-template-columns: 1fr; }
    .field-row--street { grid-template-columns: minmax(0, 1fr) 90px; }
    .usp-list li { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
