/* Stijl overgenomen van het huidige Shopify-thema (Arabica): Lora + Anonymous Pro, Tartoer-kleuren */
/* Lettertypes zelf gehost (geen Google Fonts: geen IP-adressen van bezoekers naar Google). Licentie: SIL OFL, zie /static/fonts/ */
@font-face { font-family: "Lora"; src: url("/static/fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Anonymous Pro"; src: url("/static/fonts/anonymous-pro-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Anonymous Pro"; src: url("/static/fonts/anonymous-pro-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --bg: #FBFAF9;
  --bg-2: #F7F3F3;
  --text: #1A1A1A;
  --sub: #595959;
  --link: #694D45;
  --dark: #1A1A1A;
  --line: rgba(26, 26, 26, .12);
  --r-btn: 5px;
  --r: 2px;
  --head: "Lora", Georgia, serif;
  --body: "Anonymous Pro", ui-monospace, monospace;
  --ease-ui: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.75; letter-spacing: .02em; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--text); line-height: 1.25; letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
.subheading { font-family: var(--head); color: var(--sub); font-size: 1rem; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
@media (min-width: 1280px) { .wrap { padding: 0 32px; } }
.prose { max-width: 65ch; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--sub); }

/* Knoppen */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: var(--r-btn); border: 1px solid var(--link); background: var(--link); color: #fff; font: 700 .9rem var(--body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform 120ms var(--ease-ui), background-color 150ms var(--ease-ui), color 150ms var(--ease-ui); }
.button:hover { background: #4f3933; }
.button:active { transform: scale(0.97); }
.button--secondary { background: transparent; color: var(--link); }
.button--secondary:hover { background: var(--link); color: #fff; }
.button--light { background: #fff; color: var(--text); border-color: #fff; }
.button--light:hover { background: transparent; color: #fff; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.button.full { width: 100%; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Kop zoals Arabica: zoekveld links, logo midden, login en winkelmand rechts, menu eronder */
header.site { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 0; }
.search { display: flex; max-width: 260px; }
.search input { width: 100%; border: 1px solid var(--line); border-right: 0; border-radius: var(--r-btn) 0 0 var(--r-btn); padding: 8px 10px; font: inherit; background: #fff; }
.search button { border: 1px solid var(--text); background: #fff; border-radius: 0 var(--r-btn) var(--r-btn) 0; padding: 0 10px; cursor: pointer; }
.logo img { width: 184px; height: auto; }
@media (max-width: 767px) { .logo img { width: 130px; } .search { display: none; } }
.head-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.head-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-btn); border: 1px solid var(--text); color: var(--text); background: transparent; text-decoration: none; font: 700 .85rem var(--body); cursor: pointer; transition: transform 120ms var(--ease-ui); }
.head-btn:active { transform: scale(0.95); }
.head-btn.cart { background: var(--link); border-color: var(--link); color: #fff; }
.head-btn .count { background: #fff; color: var(--link); border-radius: 999px; min-width: 18px; height: 18px; font-size: .7rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
nav.main { display: none; background: var(--bg-2); }
nav.main .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 30px; padding-top: 9px; padding-bottom: 9px; }
nav.main a { color: var(--text); text-decoration: none; font-size: .9rem; }
nav.main a:hover { text-decoration: underline; }
@media (min-width: 990px) { nav.main { display: block; } .menu-toggle { display: none !important; } }
.menu-toggle { display: inline-flex; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 16px 16px; background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 989px) { .head-btn.login { display: none; } }

/* Secties */
.pad-small { padding: 36px 0; }
.pad-medium { padding: 56px 0; }
@media (min-width: 768px) { .pad-small { padding: 48px 0; } .pad-medium { padding: 80px 0; } }
.bg-2 { background: var(--bg-2); }

/* Mediabanner met overlay */
.banner { position: relative; overflow: hidden; color: #fff; display: flex; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .5; }
.banner .inner { position: relative; z-index: 1; width: 100%; padding: 32px 24px; display: flex; }
.banner h1, .banner h2, .banner .subheading { color: #fff; }
.banner.r-32-9 { aspect-ratio: 32 / 9; min-height: 260px; }
.banner.r-16-9 { aspect-ratio: 16 / 9; }
@media (max-width: 767px) { .banner.r-32-9, .banner.r-16-9 { aspect-ratio: 1; } }
.banner.center .inner { align-items: center; justify-content: center; text-align: center; }
.banner.bottom-right .inner { align-items: flex-end; justify-content: flex-end; text-align: right; }
.banner.bottom-right .text { max-width: 420px; }
.banner.bottom-right .buttons { justify-content: flex-end; }

/* Media met tekst */
.mwt { display: grid; gap: 28px; align-items: center; }
@media (min-width: 768px) { .mwt { grid-template-columns: 1fr 1fr; gap: 56px; } }
.mwt img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.mwt .text { text-align: center; }
@media (min-width: 768px) { .mwt .text { text-align: left; } .mwt .buttons { justify-content: flex-start; } }

/* Kolommen */
.cols3 { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 768px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.cols3 > div { text-align: center; }

/* Productkaarten en grid */
.grid4 { display: grid; gap: 24px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 990px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.card { text-decoration: none; color: var(--text); display: block; }
.card .ph { aspect-ratio: 1; background: var(--bg-2); border-radius: var(--r); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-ui); }
.card:hover .ph img { transform: scale(1.03); }
.card h3 { font-size: 1rem; margin: 12px 0 2px; }
.card .price { color: var(--sub); }
.badge { display: inline-block; font-size: .72rem; border: 1px solid var(--text); border-radius: var(--r-btn); padding: 1px 7px; margin-top: 4px; }

/* Productpagina */
.product { display: grid; gap: 32px; padding: 32px 0 72px; }
@media (min-width: 990px) { .product { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 48px 0 96px; } }
.gallery .main { aspect-ratio: 1; background: var(--bg-2); border-radius: var(--r); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 72px; height: 72px; border: 1px solid transparent; padding: 0; background: var(--bg-2); cursor: pointer; border-radius: var(--r); overflow: hidden; transition: transform 120ms var(--ease-ui); }
.thumbs button:active { transform: scale(0.93); }
.thumbs button[aria-pressed="true"] { border-color: var(--text); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price-big { font-size: 1.2rem; margin: 0 0 16px; }
.opt-label { display: block; font-weight: 700; margin: 18px 0 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; }
.pills span { display: inline-block; padding: 7px 16px; border-radius: var(--r-btn); border: 1px solid var(--line); cursor: pointer; transition: transform 120ms var(--ease-ui); }
.pills label:active span { transform: scale(0.93); }
.pills input:checked + span { border-color: var(--text); background: var(--text); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 3px; }
.plan { display: grid; gap: 8px; }
.plan label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer; }
.plan label:has(input:checked) { border-color: var(--text); }
.plan small { display: block; color: var(--sub); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-btn); }
.qty button { width: 38px; height: 40px; border: 0; background: none; font: inherit; font-size: 1.1rem; cursor: pointer; transition: transform 120ms var(--ease-ui); }
.qty button:active { transform: scale(0.9); }
.qty input { width: 36px; text-align: center; border: 0; background: none; font: inherit; }
.buy-row { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.buy-row .button { flex: 1; }
.rte p, .rte li { color: var(--text); }
.rte h2 { margin-top: 1.4em; }

/* Winkelmand */
.cart-layout { display: grid; gap: 32px; padding: 40px 0 96px; }
@media (min-width: 990px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 48px; } }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .ph { width: 80px; height: 80px; background: var(--bg-2); border-radius: var(--r); overflow: hidden; }
.cart-line .ph img { width: 100%; height: 100%; object-fit: cover; }
.cart-line small { color: var(--sub); display: block; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sub); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
.summary { background: var(--bg-2); border-radius: var(--r); padding: 22px; }
.summary .row { display: flex; justify-content: space-between; padding: 5px 0; }
.summary .total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.progress-free { height: 5px; background: #e8e1de; border-radius: 99px; overflow: hidden; margin: 6px 0 14px; }
.progress-free span { display: block; height: 100%; background: var(--link); transition: width 300ms var(--ease-ui); }

/* Formulieren */
.form { display: grid; gap: 16px; }
.two { display: grid; gap: 16px; }
@media (min-width: 700px) { .two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 5px; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; font: inherit; color: var(--text); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.hint { font-size: .8rem; color: var(--sub); margin: 4px 0 0; }
.hint.ok { color: #2E6B3A; }
.hint.err { color: #B3261E; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.notice { background: var(--bg-2); border-left: 3px solid var(--link); padding: 12px 16px; }

/* Voet zoals Arabica */
footer.site { background: var(--dark); color: #fff; padding: 48px 0 24px; font-size: .9rem; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .cols { display: grid; gap: 28px; }
@media (min-width: 768px) { footer.site .cols { grid-template-columns: repeat(3, 1fr); } }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 4px; }
footer.site .pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
footer.site .pay span { border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 2px 8px; font-size: .75rem; }
footer.site .legal { margin-top: 20px; font-size: .75rem; opacity: .7; }
.seo-blurb { padding: 48px 0; }

/* Locaties */
.locs { display: grid; gap: 28px; }
@media (min-width: 768px) { .locs { grid-template-columns: repeat(3, 1fr); } }
.locs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r); }
.hours { list-style: none; padding: 0; margin: 8px 0; }
.hours li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 3px 0; }

/* Toast en previewlabel */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(16px); background: var(--text); color: #fff; padding: 12px 18px; border-radius: var(--r-btn); opacity: 0; pointer-events: none; transition: opacity 180ms var(--ease-ui), transform 180ms var(--ease-ui); z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); transition: opacity 300ms var(--ease-ui), transform 300ms var(--ease-ui); }
.preview-badge { position: fixed; right: 12px; bottom: 12px; background: var(--link); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 9px; border-radius: 4px; z-index: 90; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.banner.light::after { background: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mwt .text.boxed { border: 1px solid var(--line); padding: 20px; text-align: left; }
.mwt .text.boxed .buttons { justify-content: flex-start; }
.crumbs { font-size: .8rem; color: var(--sub); padding-top: 14px; padding-bottom: 0; }
.crumbs a { color: var(--sub); }
img { height: auto; }
.mwt > *, .locs > *, .grid4 > *, .cols3 > *, .product > *, .cart-layout > * { min-width: 0; }
.banner img, .card .ph img, .gallery .main img, .thumbs img { height: 100%; }
/* B2B-portaal en beheer */
.app{padding-top:40px;padding-bottom:96px}
.app-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.app h1{margin:0}
.tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid rgba(26,26,26,.15);margin:24px 0}
.tabs a{padding:10px 14px;text-decoration:none;color:var(--text);border-bottom:2px solid transparent;margin-bottom:-1px;font-family:"Anonymous Pro",monospace}
.tabs a[aria-current=page]{border-bottom-color:var(--link);color:var(--link);font-weight:700}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}
.kpi{background:var(--bg-2);border-radius:5px;padding:18px}
.kpi span{display:block;font-size:.9rem;opacity:.75}.kpi strong{font-size:1.4rem;font-family:Lora,serif}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.data{width:100%;border-collapse:collapse;font-size:.95rem}
table.data th,table.data td{text-align:left;padding:10px 12px;border-bottom:1px solid rgba(26,26,26,.1);vertical-align:top}
table.data th{font-family:"Anonymous Pro",monospace;font-weight:700;white-space:nowrap}
.num{text-align:right!important;white-space:nowrap}
table.data input[type=number]{width:80px;padding:6px 8px}
.pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.8rem;background:#eee;white-space:nowrap}
.pill.betaald,.pill.geleverd{background:#e3efe3;color:#24502a}
.pill.open,.pill.gebrand{background:#f6ecd9;color:#6b4a12}
.pill.ingepakt{background:#e8e3f3;color:#3f2f6b}
.pill.verzonden{background:#e0ebf3;color:#1e4560}
.pill.vervallen{background:#f5dddd;color:#7a1f1f}
.button.small{padding:8px 14px;font-size:.9rem;min-height:0}
.link-btn{background:none;border:0;padding:0;color:var(--link);text-decoration:underline;cursor:pointer;font:inherit}
.sumbox{max-width:360px;margin:20px 0 0 auto;display:grid;gap:8px}
.sumbox div{display:flex;justify-content:space-between}.sumbox .tot{font-weight:700;border-top:1px solid rgba(26,26,26,.2);padding-top:8px}
.button:disabled{opacity:.45;cursor:not-allowed}
.cols2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.cols2>*{min-width:0}
ul.plain{list-style:none;padding:0;margin:0 0 16px}ul.plain li{padding:4px 0}
/* Taalknop bovenaan */
.lang-switch{display:flex;align-items:center;gap:4px;font-family:"Anonymous Pro",monospace;font-size:.85rem;margin-right:6px}
.lang-switch a{color:var(--text);text-decoration:none;padding:4px 3px;opacity:.6}
.lang-switch a:hover{opacity:1;text-decoration:underline}
.lang-switch a[aria-current]{opacity:1;font-weight:700;color:var(--link)}
.lang-switch span{opacity:.35}
/* 1.3: uitverkocht, afhalen, mijn abonnement */
.badge--soldout { border-color: #b3261e; color: #b3261e; }
.lever-keuze small { display: block; }
.abo-feiten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.abo-feiten dt { color: var(--sub); }
.abo-feiten dd { margin: 0; }
.abo-regel { display: grid; grid-template-columns: 1fr auto 64px auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.abo-regel select, .abo-regel input { padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; min-width: 0; }
@media (max-width: 560px) { .abo-regel { grid-template-columns: 1fr 1fr; } }
button[data-add]:disabled { opacity: .55; cursor: not-allowed; }

.ts-vak{margin:10px 0}
