/* =========================================================
   Webshop – stijl (kleuren in lijn met de hoofdsite)
========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- lettertypes (lokaal, SIL Open Font License – zie fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("fonts/fredoka-700.woff2") format("woff2"); }

h1, h2, h3, .brand, .price, .ribbon { font-family: "Fredoka", "Poppins", Arial, sans-serif; letter-spacing: .01em; }
h1, h2 { font-weight: 700; }
h3 { font-weight: 600; }

:root {
    --bg: #f6f8f4;
    --card: #ffffff;
    --text: #1f2a1f;
    --muted: #5b665b;
    --accent: #ff6f86;
    --accent-dark: #e4566e;
    --accent2: #ffd6a5;
    --green: #2f8f5b;
    --line: #e7e9e4;
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
    --radius: 18px;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, #ffeef1, transparent 35%),
        radial-gradient(circle at bottom right, #e9f7e9, transparent 35%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- header ---------- */
.shop-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.shop-header .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 0;
}
.brand { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand small { color: var(--accent); font-weight: 600; margin-left: 6px; }
.header-links { display: flex; align-items: center; gap: 14px; }
.header-links a { color: var(--text); text-decoration: none; font-size: .95rem; }

.cart-button {
    position: relative; border: 0; cursor: pointer;
    background: var(--accent); color: #fff; font: inherit; font-weight: 600;
    padding: 9px 16px; border-radius: 999px;
}
.cart-badge {
    position: absolute; top: -6px; right: -6px;
    background: var(--text); color: #fff; font-size: .72rem;
    min-width: 20px; height: 20px; border-radius: 10px;
    display: grid; place-items: center; padding: 0 5px;
}

/* ---------- hero ---------- */
.hero { padding: 48px 0 22px; text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.hero p { color: var(--muted); max-width: 640px; margin: 12px auto 0; }
.notice {
    background: #fff7e8; border: 1px solid var(--accent2); border-radius: 14px;
    padding: 12px 16px; margin: 18px auto 0; max-width: 720px; font-size: .95rem;
}
.notice.closed { background: #ffeef1; border-color: #ffc2cd; }

/* ---------- productgrid ---------- */
.grid {
    display: grid; gap: 22px; padding: 26px 0 60px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; cursor: pointer; background: #f1f1f1; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { font-size: 1.05rem; }
.product p { color: var(--muted); font-size: .92rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 1.1rem; }

.btn {
    border: 0; cursor: pointer; font: inherit; font-weight: 600;
    background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 12px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn.secondary:hover { background: #f4f4f4; }
.btn.small { padding: 6px 10px; font-size: .85rem; border-radius: 9px; }
.btn.danger { background: #c94848; }
.btn.green { background: var(--green); }

/* ---------- panelen (mandje, productdetail) ---------- */
.overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .35);
    display: none; z-index: 100;
}
.overlay.open { display: block; }
.drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 100%);
    background: #fff; z-index: 101; transform: translateX(100%);
    transition: transform .25s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); }
.icon-btn { background: none; border: 0; font-size: 1.4rem; cursor: pointer; line-height: 1; }

.cart-line {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 12px;
    align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.qty { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.qty button {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
    background: #fff; cursor: pointer; font-weight: 700; font-size: 1rem;
}
.totals { display: grid; gap: 4px; margin: 10px 0 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 1.1rem; }
.totals .stack { display: grid; gap: 0; }
.drawer-actions { display: flex; gap: 10px; }
#nextButton { flex: 1; justify-content: center; text-align: center; }
#backButton { flex: 0 0 auto; white-space: nowrap; }
.btn-amount { white-space: nowrap; }

.modal {
    position: fixed; z-index: 101; left: 50%; top: 50%;
    transform: translate(-50%, -50%); width: min(760px, 94%);
    max-height: 90vh; overflow-y: auto; background: #fff; border-radius: var(--radius);
    display: none; box-shadow: var(--shadow);
}
.modal.open { display: block; }
.modal-content { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
.modal-content img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs img { width: 56px; height: 56px; border-radius: 8px; cursor: pointer; }
.safety { font-size: .85rem; background: #fff7e8; padding: 8px 10px; border-radius: 10px; }
@media (max-width: 640px) { .modal-content { grid-template-columns: 1fr; } }

/* ---------- formulieren ---------- */
.form-grid { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
label { font-size: .88rem; font-weight: 600; display: grid; gap: 4px; }
input, select, textarea {
    font: inherit; padding: 10px 12px; border: 1px solid #d6dad3;
    border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 5px; }
.choice { display: grid; gap: 8px; }
.choice label {
    display: flex; gap: 10px; align-items: flex-start; font-weight: 400;
    border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer;
}
.choice input { width: auto; margin-top: 5px; }
.error { color: #b3261e; font-size: .92rem; min-height: 1.2em; }
.muted { color: var(--muted); font-size: .9rem; }
.hidden { display: none !important; }

/* ---------- eenvoudige pagina's ---------- */
.card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 28px; margin: 34px auto; max-width: 760px;
}
.card h1 { margin-bottom: 12px; }
.card h2 { margin: 22px 0 8px; font-size: 1.15rem; }
.card p, .card li { margin-bottom: 8px; }
.card ul { padding-left: 20px; }

footer.shop-footer { text-align: center; padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
footer.shop-footer a { color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.spinner {
    width: 34px; height: 34px; border: 4px solid #ffd3db; border-top-color: var(--accent);
    border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

a.plain { color: inherit; text-decoration: none; }
a.plain:hover { color: var(--accent-dark); }
.ok { color: var(--green); font-size: .92rem; }
.small { font-size: .8rem; }
.discount-row { color: var(--green); }

/* ---------- filters ---------- */
.filters {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    justify-content: space-between; padding-top: 18px;
}
.filters input[type="search"] { max-width: 320px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    border: 1px solid var(--line); background: #fff; color: var(--text);
    font: inherit; font-size: .9rem; padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* ---------- melding bij gesloten shop ---------- */
.notify-form { display: grid; gap: 6px; margin-top: 10px; text-align: left; }
.notify-form label { font-weight: 400; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .notify-row { flex-direction: column; } }

/* ---------- productpagina ---------- */
.breadcrumb { padding: 22px 0 6px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.product-page {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 26px; margin: 10px 0 60px;
}
.product-page .main-img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f1f1; }
.product-info { display: grid; gap: 12px; align-content: start; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
@media (max-width: 720px) { .product-page { grid-template-columns: 1fr; padding: 18px; } }

/* ---------- professionele afwerking ---------- */
.trust-bar {
    list-style: none; display: grid; gap: 12px; margin: 6px 0 4px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.trust-bar li {
    display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.75);
    border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: .85rem; color: var(--muted);
}
.trust-bar li span { font-size: 1.5rem; }
.trust-bar strong { color: var(--text); }

.filter-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tools input { width: 240px; }
.filter-tools select { width: auto; }
.result-count { margin-top: 10px; }
.grid { padding-top: 14px; }

.product { transition: transform .18s ease, box-shadow .18s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.product-img { position: relative; display: block; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); font-weight: 600; }
.was { color: var(--muted); font-size: .9rem; margin-left: 4px; }
.ribbon {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    background: var(--text); color: #fff; font-size: .75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.ribbon.sale { background: #d9363e; }
.ribbon.new { background: var(--green); }

.skeleton { min-height: 320px; padding: 0 0 16px; }
.skeleton div, .skeleton p {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.skeleton div { aspect-ratio: 4 / 3; }
.skeleton p { height: 14px; margin: 14px 16px 0; border-radius: 6px; }
.skeleton p:last-child { width: 50%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* productpagina */
.price-line .price { font-size: 1.6rem; }
.lead { color: var(--muted); }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn.big { padding: 13px 26px; font-size: 1.05rem; flex: 1; justify-content: center; min-width: 160px; }
.stepper { display: inline-flex; border: 1px solid #d6dad3; border-radius: 12px; overflow: hidden; }
.stepper button { width: 40px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: #f4f4f4; }
.stepper input { width: 52px; border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.usp-list { list-style: none; display: grid; gap: 4px; font-size: .9rem; color: var(--muted);
    background: #f7faf5; border-radius: 12px; padding: 12px 14px; }
.info-block { border-top: 1px solid var(--line); padding: 10px 0; }
.info-block summary { cursor: pointer; font-weight: 600; }
.info-block > div { margin-top: 8px; }
.thumbs img { border: 2px solid transparent; object-fit: cover; }
.thumbs img.active { border-color: var(--accent); }
.related { padding-bottom: 40px; }
.related h2 { font-size: 1.3rem; }

/* mandje */
.ship-progress { background: #f7faf5; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: .9rem; }
.ship-progress .bar { height: 8px; background: #e3e8df; border-radius: 6px; overflow: hidden; margin-top: 6px; }
.ship-progress .bar div { height: 100%; background: var(--green); transition: width .3s ease; }

.shop-toast {
    position: fixed; z-index: 120; right: 20px; bottom: 20px; width: min(380px, calc(100% - 40px));
    display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
    background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.2); padding: 12px 14px;
    transform: translateY(150%); transition: transform .25s ease; font-size: .9rem;
}
.shop-toast.show { transform: translateY(0); visibility: visible; }
/* Verborgen melding volledig weg (piepte op gsm onder het mandje uit) */
.shop-toast:not(.show) { transform: translateY(calc(100% + 140px)); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.drawer.open ~ .shop-toast, body:has(.drawer.open) .shop-toast { visibility: hidden; }
.shop-toast img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.cart-badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.4); } }

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

/* =========================================================
   Visuele extra's
========================================================= */

/* ---------- balk bovenaan ---------- */
.top-bar {
    background: linear-gradient(90deg, var(--accent), #ff9a76, var(--accent));
    background-size: 200% 100%; animation: slide-bg 12s linear infinite;
    color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 7px 12px;
}
@keyframes slide-bg { to { background-position: -200% 0; } }

/* ---------- hero met confetti-rijst en golf ---------- */
.hero-wrap {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #fff3f5 0%, #fff8ee 60%, rgba(246,248,244,0) 100%);
}
.hero-wrap .hero { position: relative; z-index: 1; padding-bottom: 60px; }
.hero h1 .accent { color: var(--accent); display: inline-block; animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 5% { transform: rotate(-4deg); } 10% { transform: rotate(3deg); } 15% { transform: rotate(0); } }

.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti span {
    position: absolute; width: 10px; height: 6px; border-radius: 6px; opacity: .55;
    animation: float 9s ease-in-out infinite;
}
.confetti span:nth-child(5n+1) { background: #ff6f86; }
.confetti span:nth-child(5n+2) { background: #ffd166; }
.confetti span:nth-child(5n+3) { background: #7bd3a4; }
.confetti span:nth-child(5n+4) { background: #8ec5ff; }
.confetti span:nth-child(5n+5) { background: #c7a4ff; }
.confetti span:nth-child(1)  { left: 4%;  top: 18%; transform: rotate(20deg); animation-delay: 0s; }
.confetti span:nth-child(2)  { left: 12%; top: 62%; transform: rotate(-30deg); animation-delay: -2s; }
.confetti span:nth-child(3)  { left: 20%; top: 30%; transform: rotate(60deg); animation-delay: -4s; }
.confetti span:nth-child(4)  { left: 27%; top: 78%; transform: rotate(10deg); animation-delay: -1s; }
.confetti span:nth-child(5)  { left: 35%; top: 12%; transform: rotate(-50deg); animation-delay: -6s; }
.confetti span:nth-child(6)  { left: 64%; top: 15%; transform: rotate(35deg); animation-delay: -3s; }
.confetti span:nth-child(7)  { left: 72%; top: 70%; transform: rotate(-15deg); animation-delay: -5s; }
.confetti span:nth-child(8)  { left: 80%; top: 35%; transform: rotate(75deg); animation-delay: -7s; }
.confetti span:nth-child(9)  { left: 88%; top: 60%; transform: rotate(-65deg); animation-delay: -2.5s; }
.confetti span:nth-child(10) { left: 95%; top: 22%; transform: rotate(40deg); animation-delay: -4.5s; }
.confetti span:nth-child(11) { left: 8%;  top: 88%; transform: rotate(-20deg); animation-delay: -8s; }
.confetti span:nth-child(12) { left: 45%; top: 85%; transform: rotate(55deg); animation-delay: -3.5s; }
.confetti span:nth-child(13) { left: 56%; top: 6%;  transform: rotate(-40deg); animation-delay: -1.5s; }
.confetti span:nth-child(14) { left: 92%; top: 84%; transform: rotate(15deg); animation-delay: -6.5s; }
@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -18px; }
}
@media (max-width: 640px) { .confetti span:nth-child(n+9) { display: none; } }

.wave { display: block; width: 100%; height: 50px; position: absolute; bottom: -1px; left: 0; z-index: 1; }
.wave path { fill: var(--bg); }

/* ---------- categorie-icoontjes ---------- */
.chip .ico { margin-right: 4px; }

/* ---------- productkaart: tweede foto bij hover ---------- */
.product-img { overflow: hidden; }
.product-img img { transition: transform .4s ease, opacity .35s ease; }
.product-img img.alt { position: absolute; inset: 0; height: 100%; opacity: 0; }
@media (hover: hover) {
    .product:hover .product-img img:not(.alt) { transform: scale(1.05); }
    .product:hover .product-img img.alt { opacity: 1; }
}

/* ---------- productfoto: zoom + lightbox ---------- */
.zoom-wrap { position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; }
.zoom-wrap .main-img { transition: transform .2s ease; }
@media (hover: hover) { .zoom-wrap:hover .main-img { transform: scale(1.8); } }
.zoom-hint {
    position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.9);
    border-radius: 999px; padding: 4px 10px; font-size: .78rem; pointer-events: none;
}

.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 20, .92);
    display: none; align-items: center; justify-content: center; touch-action: pan-y;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; object-fit: contain; user-select: none; }
.lightbox button {
    position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; cursor: pointer;
    width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.3); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; color: #fff; font-size: .9rem; }

/* ---------- vaste koopbalk (gsm) ---------- */
.sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; align-items: center; gap: 12px; justify-content: space-between;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .25s ease;
}
.sticky-buy.show { transform: translateY(0); }
.sticky-buy .name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.sticky-buy > div { min-width: 0; }
.sticky-buy .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 720px) {
    .sticky-buy { display: flex; }
    .shop-toast { bottom: 84px; }
}
@media (max-width: 560px) {
    .brand { font-size: 1rem; white-space: nowrap; }
    .brand small { display: none; }
    .header-links { gap: 10px; }
    .header-links a { font-size: .85rem; white-space: nowrap; }
    .cart-button { padding: 8px 12px; white-space: nowrap; }
    .shop-header .container { padding: 10px 0; gap: 8px; }
    .hide-sm { display: none; }
}
@media (min-width: 561px) { .show-sm { display: none; } }
@media (max-width: 420px) {
    /* Korte tekst naast de pijl blijven tonen, zodat duidelijk is waar hij naartoe gaat */
    .header-links > a {
        font-size: .85rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
    }
}
@media (max-width: 340px) { .hide-xs { display: none; } }
.shop-header .container { flex-wrap: nowrap; }
.brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.header-links { flex-shrink: 0; }
@media (max-width: 360px) {
    .brand { font-size: .9rem; }
    .cart-button { padding: 7px 10px; font-size: .9rem; }
}
#leadTime:empty { display: none; }

/* ---------- herroeping ---------- */
.withdraw h2 { margin-top: 26px; }
.withdraw #withdrawStart { margin: 18px 0 8px; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.model-form { border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; background: #fffdfa; }
.model-form p { margin-bottom: 10px; }
@media print {
    body:has(.model-form) * { visibility: hidden; }
    .model-form, .model-form * { visibility: visible; }
    .model-form { position: absolute; left: 0; top: 0; width: 100%; border: 0; font-size: 12pt; }
}

/* ---------- prijsvermelding ---------- */
.price-note { font-size: .78rem; color: var(--muted); }

/* ---------- statuspagina ---------- */
.status-items { list-style: none; display: inline-grid; gap: 2px; text-align: left; margin: 4px 0 12px; }
.track-link { display: inline-block; margin-top: 4px; }
.gift-block { border: 1px dashed #ffb3c1; background: #fff7f9; border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.gift-check { font-weight: 400; }
/* Nooit horizontaal scrollen op gsm (clip maakt geen scrollcontainer, sticky header blijft werken) */
html { overflow-x: clip; }

/* ---------- vliegend product ---------- */
.fly-img {
    position: fixed; z-index: 300; border-radius: 50%; object-fit: cover; pointer-events: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ---------- leeg mandje ---------- */
.empty-cart { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty-cart svg { width: 140px; height: auto; margin: 0 auto 12px; display: block; }
.empty-cart h3 { color: var(--text); margin-bottom: 4px; }
.empty-cart .btn { margin-top: 14px; }

/* ---------- footer ---------- */
footer.site-footer { position: relative; margin-top: 40px; background: #fff5f0; color: var(--muted); font-size: .9rem; }
footer.site-footer .wave { position: absolute; top: -49px; bottom: auto; transform: scaleY(-1); }
footer.site-footer .wave path { fill: #fff5f0; }
.footer-grid {
    display: grid; gap: 28px; padding: 34px 0 20px;
    grid-template-columns: 1.3fr .8fr 1.3fr;
}
body:not(.admin) { display: flex; flex-direction: column; }
body:not(.admin) > main { flex: 1 0 auto; width: min(1120px, 92%); }
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; gap: 18px; }
    /* linkjes naast elkaar i.p.v. een lange lijst */
    .footer-grid > :nth-child(2) ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
}

/* ---------- compactere bovenkant op gsm: sneller bij de producten ---------- */
@media (max-width: 560px) {
    .top-bar { font-size: .78rem; padding: 6px 10px; }
    .hero { padding: 26px 0 8px; }
    .hero-wrap .hero { padding-bottom: 40px; }
    .hero p { font-size: .95rem; margin-top: 8px; }
    .notice { padding: 8px 12px; margin-top: 12px; font-size: .88rem; }
    .trust-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
    .trust-bar li { padding: 8px 10px; gap: 8px; font-size: .74rem; line-height: 1.35; }
    .trust-bar li span { font-size: 1.15rem; }
    .brand { font-size: .95rem; }
    /* filters: categorieën horizontaal scrollen, zoeken + sorteren op één rij */
    .filters { gap: 8px; padding-top: 12px; }
    .chips {
        flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 4vw); margin-right: -4vw;
        padding-bottom: 4px; scrollbar-width: none;
    }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; }
    .filter-tools { flex-wrap: nowrap; width: 100%; }
    .filter-tools input { width: auto; flex: 1; min-width: 0; }
    .filter-tools select { flex: 0 0 auto; max-width: 42%; }

    /* productoverzicht: 2 kolommen, compactere kaarten */
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .grid .product-body { padding: 10px 10px 12px; gap: 4px; }
    .grid .product h3 { font-size: .92rem; line-height: 1.3; }
    .grid .product p { display: none; }
    .grid .eyebrow { font-size: .64rem; }
    .grid .product-foot { flex-direction: column; align-items: stretch; gap: 8px; margin-top: auto; }
    .grid .product-foot .price { font-size: 1rem; }
    .grid .product-foot .was { font-size: .8rem; }
    .grid .product-foot .btn { justify-content: center; }
    .grid .ribbon { top: 8px; left: 8px; font-size: .68rem; padding: 3px 8px; }

    /* "Misschien vind je dit ook leuk": horizontaal vegen */
    .grid.related-row {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        width: calc(100% + 4vw); padding-right: 4vw;
    }
    .grid.related-row::-webkit-scrollbar { display: none; }
    .grid.related-row .product { scroll-snap-align: start; }

    /* mandje/afrekenen: compactere voet zodat het formulier meer plaats heeft */
    .drawer-head { padding: 12px 16px; }
    .drawer-body { padding: 14px 16px; }
    .drawer-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
    .totals { margin: 4px 0 8px; gap: 2px; font-size: .9rem; }
    .totals .grand { font-size: 1rem; }
    .totals.is-checkout > div:first-child { display: none; } /* subtotaal; levering, korting en totaal blijven */
    .totals .price-note { font-size: .7rem; }
    .drawer-foot .error:empty { min-height: 0; }
    #nextButton { padding: 12px 14px; }
}
.footer-grid h4 { font-family: "Fredoka", "Poppins", sans-serif; color: var(--text); font-size: 1.05rem; margin-bottom: 8px; }
.footer-grid ul { list-style: none; display: grid; gap: 4px; }
.footer-grid li { overflow-wrap: anywhere; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-dark); }
.footer-brand { font-family: "Fredoka", "Poppins", sans-serif; font-size: 1.25rem; color: var(--text); font-weight: 700; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pay-badges span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; font-size: .78rem; color: var(--text); }
.footer-bottom { border-top: 1px solid #f1dfd6; padding: 14px 0 26px; font-size: .8rem; text-align: center; }

/* ---------- bedankpagina ---------- */
.status-icon {
    width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    font-size: 2.6rem; margin: 0 auto 14px; background: #e9f7ef;
    animation: pop .5s cubic-bezier(.3,1.6,.6,1) both;
}
.status-icon.wait { background: #fff7e8; }
.status-icon.fail { background: #ffeef1; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.result-card { text-align: center; }
.result-card .btn { margin: 4px; }
.order-summary {
    display: inline-grid; grid-template-columns: auto auto; gap: 4px 18px; text-align: left;
    background: #f7faf5; border-radius: 12px; padding: 12px 18px; margin: 10px 0 16px;
}
.timeline { list-style: none; display: flex; justify-content: center; gap: 0; margin: 18px 0 22px; flex-wrap: wrap; }
.timeline li { display: grid; justify-items: center; gap: 6px; width: 110px; position: relative; font-size: .8rem; color: var(--muted); }
.timeline li::before {
    content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0;
}
.timeline li:first-child::before { display: none; }
.timeline .dot {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
    background: #fff; border: 3px solid var(--line); font-size: .85rem;
}
.timeline li.done { color: var(--text); }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }

.confetti-burst { position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden; }
.confetti-burst i {
    position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px;
    animation: fall linear forwards;
}
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }
