:root {
  --green: #0b6b3a;
  --green-dark: #084d2a;
  --red: #b40a2d;
  --gold: #ecc81d;
  --wa: #25d366;
  --ink: #17211b;
  --muted: #5d6b63;
  --line: #e2e8e4;
  --bg: #f5f7f4;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 26, .06), 0 6px 20px rgba(16, 40, 26, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}
h1, h2, h3 { line-height: 1.2; margin: 0; }
a { color: var(--green); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Knoppen & formulieren ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink);
  transition: transform .05s, background .15s, border-color .15s;
}
.btn:hover { border-color: #c5d0c9; background: #f8faf8; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #06361a; }
.btn.wa:hover { background: #1fc15b; }
.btn.danger { color: var(--red); }
.btn.small { padding: 6px 10px; font-size: 14px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(11, 107, 58, .35); outline-offset: 1px;
}
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
input[type=text], input[type=tel], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cfd8d2; border-radius: 10px; background: #fff;
}
textarea { resize: vertical; min-height: 80px; }
.field { margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }

/* ---------- Webshop: header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--green); color: #fff;
  border-bottom: 4px solid var(--gold);
}
.topbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.3px; }
.brand .star { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--gold); font-size: 18px; }
.brand span span { color: var(--gold); }
.spacer { flex: 1; }
.currency { display: inline-flex; background: rgba(255, 255, 255, .14); border-radius: 10px; padding: 3px; }
.currency button { border: 0; background: transparent; color: #fff; font-weight: 700; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.currency button[aria-pressed=true] { background: #fff; color: var(--green-dark); }
.cart-btn { position: relative; background: #fff; color: var(--green-dark); border: 0; }
.badge { background: var(--red); color: #fff; border-radius: 99px; font-size: 12px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }

.hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }
.hero .inner { max-width: 1200px; margin: 0 auto; padding: 34px 16px 38px; }
.hero h1 { font-size: clamp(26px, 4vw, 40px); max-width: 720px; }
.hero p { margin: 10px 0 0; max-width: 620px; opacity: .92; font-size: 17px; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 5px 12px; font-size: 14px; font-weight: 600; }
.rate-note { margin-top: 14px; font-size: 14px; opacity: .85; }

.container { max-width: 1200px; margin: 0 auto; padding: 20px 16px 60px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar input[type=search] { max-width: 320px; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cats button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 600; cursor: pointer; }
.cats button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.thumb { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e6f1ea, #f7f1d2); display: grid; place-items: center; font-size: 64px; overflow: hidden; }
/* absoluut, zodat staande foto's de kaart niet hoger maken dan de rest */
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat { color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.card h3 { font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-size: 22px; font-weight: 800; margin-top: auto; padding-top: 6px; }
.alt { font-size: 13px; color: var(--muted); }
.actions { display: grid; gap: 8px; margin-top: 10px; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }

.footer { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px 40px; }

/* ---------- Winkelwagen ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 25, 16, .45); z-index: 30; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 31;
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .18);
}
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer .content { flex: 1; overflow: auto; padding: 16px; }
.drawer footer { padding: 16px; border-top: 1px solid var(--line); background: #fafcfa; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line strong { font-size: 15px; }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; }
.total { display: flex; justify-content: space-between; font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; font-weight: 500; }
.pay-option:has(input:checked) { border-color: var(--green); background: #f0f8f3; }
.pay-option input { margin-top: 3px; accent-color: var(--green); }
.pay-option small { display: block; color: var(--muted); font-weight: 400; }
.notice { background: #f0f8f3; border: 1px solid #cfe5d7; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.notice.warn { background: #fff8e1; border-color: #f0dc8c; }
.ref { font-family: Consolas, monospace; font-weight: 700; }

/* ---------- Backoffice ---------- */
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar .inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-bar .brand { font-size: 19px; }
.tag { background: var(--gold); color: #3b3200; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .5px; }
.share { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.share .url { font-family: Consolas, monospace; font-size: 17px; font-weight: 700; background: #f0f8f3; padding: 6px 10px; border-radius: 8px; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected=true] { color: var(--green); border-bottom-color: var(--green); }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.split { display: grid; grid-template-columns: 380px 1fr; gap: 18px; align-items: start; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini { width: 48px; height: 48px; border-radius: 8px; background: linear-gradient(135deg, #e6f1ea, #f7f1d2); display: grid; place-items: center; font-size: 24px; overflow: hidden; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.preview { position: relative; width: 100%; aspect-ratio: 4 / 3; border: 2px dashed #cfd8d2; border-radius: 10px; display: grid; place-items: center; color: var(--muted); overflow: hidden; margin-bottom: 8px; font-size: 14px; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #e6f1ea; color: var(--green-dark); white-space: nowrap; }
.pill.off { background: #eee; color: #666; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .thumb { font-size: 44px; }
  .card .body { padding: 10px; }
  .price { font-size: 18px; }
  .brand { font-size: 18px; }
}

/* ---------- Webshop: uitgebreide secties ---------- */
html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 84px; }
.strip { background: var(--green-dark); color: #dfeee5; font-size: 13px; }
.strip .inner { max-width: 1200px; margin: 0 auto; padding: 6px 16px; display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: center; }
.nav { display: flex; gap: 4px; margin-left: 14px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 7px 10px; border-radius: 8px; opacity: .92; }
.nav a:hover { background: rgba(255, 255, 255, .14); opacity: 1; }

.hero .inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; padding: 44px 16px 48px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-cta .btn { padding: 12px 18px; }
.btn.light { background: #fff; border-color: #fff; color: var(--green-dark); }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4; }
.collage div { position: relative; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); border: 3px solid rgba(255, 255, 255, .85); }
.collage div:first-child { grid-row: span 2; }
.collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.usps { background: #fff; border-bottom: 1px solid var(--line); }
.usps .inner { max-width: 1200px; margin: 0 auto; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.usp { display: flex; gap: 12px; align-items: center; }
.usp .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #e6f1ea; display: grid; place-items: center; font-size: 22px; }
.usp strong { display: block; font-size: 15px; }
.usp span { font-size: 13px; color: var(--muted); }

.section { max-width: 1200px; margin: 0 auto; padding: 38px 16px 6px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { font-size: 26px; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; padding-bottom: 38px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tile { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: pointer; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; text-align: left; box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 30, 17, .85), rgba(6, 30, 17, .05) 65%); }
.tile span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: 18px; font-weight: 800; }
.tile small { display: block; font-size: 13px; font-weight: 500; opacity: .9; }

.toolbar select { width: auto; }
.count { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.card { transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16, 40, 26, .08), 0 14px 30px rgba(16, 40, 26, .12); }
.thumb[data-open] { cursor: pointer; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--green); text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--bg); border-radius: var(--radius); padding: 20px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.method { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.method .ico { font-size: 28px; }
.method h3 { font-size: 17px; margin: 6px 0 4px; }
.method p { margin: 0; color: var(--muted); font-size: 14px; }

.faq { max-width: 820px; }
.faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

.cta-wrap { padding: 0 16px; }
.cta { max-width: 1168px; margin: 44px auto 0; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: 18px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta h2 { font-size: 24px; }
.cta p { margin: 6px 0 0; opacity: .9; }

.site-footer { background: var(--ink); color: #c9d4cd; margin-top: 48px; border-top: 4px solid var(--gold); }
.site-footer .cols { max-width: 1200px; margin: 0 auto; padding: 38px 16px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d4cd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 10px 0 0; font-size: 14px; }
.site-footer .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; font-size: 13px; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer .bottom div { max-width: 1200px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; font-size: 13px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 25; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; font-size: 28px; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.wa-float:hover { transform: scale(1.06); }

dialog.product { border: 0; padding: 0; border-radius: 18px; width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog.product::backdrop { background: rgba(10, 25, 16, .55); }
.product-view { display: grid; grid-template-columns: 1fr 1fr; }
.product-view .photo { position: relative; min-height: 380px; background: linear-gradient(135deg, #e6f1ea, #f7f1d2); display: grid; place-items: center; font-size: 110px; }
.product-view .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-view .info { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.product-view h2 { font-size: 24px; padding-right: 30px; }
.product-view .desc { color: var(--muted); margin: 4px 0; }
.product-view .price { font-size: 30px; margin-top: 6px; padding: 0; }
.price-table { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.price-table span { background: var(--bg); border-radius: 8px; padding: 5px 10px; font-size: 14px; font-weight: 600; }
.close-x { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero .inner { grid-template-columns: 1fr; padding: 30px 16px 34px; }
  .collage { aspect-ratio: 16 / 9; }
  .usps .inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .product-view { grid-template-columns: 1fr; }
  .product-view .photo { min-height: 240px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 22px; }
  .usps .inner { grid-template-columns: 1fr; }
  .strip span:not(:first-child) { display: none; }
}
