:root {
  --groen: #76a72c;
  --groen-donker: #5c8422;
  --bruin: #6f4f28;
  --donker: #232019;
  --bg: #ebe8e2;
  --lijn: #e7e4df;
  --grijs: #f4f3f0;
  --papier: #ffffff;
  --overlay: rgba(24, 22, 15, 0.86);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--donker);
}

/* ---------- Site-chroom rond de folder ---------- */
.site-head {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  background: #fff; border-bottom: 3px solid var(--groen);
  padding: .7rem 1.25rem;
}
.site-logo img { height: 44px; display: block; }
.site-title { font-size: 1.15rem; margin: 0; flex: 1; font-weight: 600; }
.editie-badge {
  background: var(--groen); color: #fff; border-radius: 99px;
  font-size: .72rem; padding: .18rem .6rem; vertical-align: middle; font-weight: 600;
}
.btn-download {
  background: var(--groen); color: #fff; text-decoration: none;
  padding: .5rem 1rem; border-radius: 8px; font-size: .9rem; font-weight: 600;
}
.btn-download:hover { background: var(--groen-donker); }

.tekstlogo { font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; }
.tekstlogo em { font-style: normal; color: var(--groen); }
.tekstlogo.donker { color: var(--bruin); }

.viewer {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1.5rem .5rem .75rem;
}
.book-wrap { max-width: 1120px; width: 100%; display: flex; justify-content: center; }
#book { margin: 0 auto; }
.nav-btn {
  border: none; background: #fff; color: var(--groen-donker);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); flex-shrink: 0;
}
.nav-btn:hover { background: var(--groen); color: #fff; }
.viewer-bar {
  text-align: center; padding: .25rem 1rem 1rem; color: #6d675f; font-size: .85rem;
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
}
.seo-tekst {
  max-width: 760px; margin: 1.5rem auto 0; padding: 0 1.25rem 1rem; color: #555049;
}
.seo-tekst h2 { font-size: 1.05rem; }
.seo-tekst a { color: var(--groen-donker); }
.site-foot { text-align: center; padding: 1rem; font-size: .82rem; color: #8a8378; }
.site-foot a { color: inherit; }

/* ---------- De pagina's (sheets) ---------- */
.sheet {
  width: 480px; height: 679px;
  background: var(--papier);
  overflow: hidden; position: relative;
  box-shadow: 0 3px 14px rgba(0,0,0,.14);
}
#book:not(.stf__parent-init) .sheet { margin: 0 auto 1.25rem; }

.page-inner {
  height: 100%; display: flex; flex-direction: column;
  padding: 24px 30px 16px;
}

/* Verticale sectietab op de paginarand (catalogus-stijl) */
.side-tab {
  position: absolute; top: 30px; right: 0; z-index: 2;
  writing-mode: vertical-rl;
  background: var(--groen); color: #fff;
  font-size: 7.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 4px; border-radius: 4px 0 0 4px;
}

.page-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; min-height: 18px;
}
.kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: 8px;
  color: var(--groen-donker); font-weight: 800;
  display: flex; align-items: center; gap: 5px;
}
.kicker::before {
  content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--groen);
}
.mini-logo { font-size: 11px; font-weight: 800; color: var(--bruin); }
.mini-logo em { font-style: normal; color: var(--groen); }
.head-logo { height: 17px; display: block; }

.page-title {
  font-size: 19px; margin: 0 0 11px; color: var(--donker); line-height: 1.1;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
}
.page-title::after {
  content: ''; display: block; width: 34px; height: 4px;
  background: var(--groen); border-radius: 99px; margin-top: 6px;
}
.page-title.on-hero::after { background: #fff; opacity: .85; }

/* Full-bleed fotobanner met titelband */
.page-hero {
  margin: -24px -30px 14px; height: 205px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; position: relative;
}
.hero-logo {
  position: absolute; top: 12px; right: 14px; height: 22px;
  background: rgba(255,255,255,.94); padding: 5px 8px; border-radius: 6px;
}
.hero-band {
  width: 100%; padding: 46px 30px 12px;
  background: linear-gradient(180deg, rgba(24,22,15,0), rgba(24,22,15,.78) 62%);
}
.page-title.on-hero { color: #fff; margin: 0; }

.page-blocks { flex: 1; overflow: hidden; font-size: 10.5px; line-height: 1.5; }
.page-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--lijn); margin-top: 10px; padding-top: 7px;
  font-size: 8.5px; color: #8a8378; letter-spacing: .04em;
}
.foot-nr {
  font-weight: 900; color: #fff; font-size: 9.5px;
  background: var(--groen); min-width: 20px; height: 18px; border-radius: 6px;
  display: inline-grid; place-items: center; padding: 0 4px;
}

/* Blokken */
.blk-heading { color: var(--donker); margin: 10px 0 6px; font-weight: 800; }
h2.blk-heading { font-size: 13.5px; text-transform: uppercase; letter-spacing: .01em; }
h3.blk-heading {
  font-size: 11px; color: var(--groen-donker); text-transform: uppercase; letter-spacing: .06em;
  display: flex; align-items: center; gap: 6px;
}
h3.blk-heading::before {
  content: ''; width: 10px; height: 10px; border-radius: 3px;
  background: var(--groen); flex-shrink: 0;
}
.blk-richtext p, .blk-two-col p { margin: 0 0 7px; }
.blk-richtext ul, .blk-two-col ul { margin: 0 0 7px; padding-left: 16px; }
.blk-richtext h2, .blk-two-col h2 { font-size: 12.5px; color: var(--donker); margin: 9px 0 5px; text-transform: uppercase; }
.blk-richtext h3, .blk-two-col h3 { font-size: 10.5px; color: var(--groen-donker); margin: 8px 0 4px; text-transform: uppercase; letter-spacing: .05em; }
.blk-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.blk-two-col > div { background: var(--grijs); border-radius: 12px; padding: 11px 13px; }
.blk-two-col > div h3:first-child { margin-top: 0; }
.blk-image { margin: 8px 0; }
.blk-image img { width: 100%; border-radius: 8px; display: block; }
.blk-image.size-half { width: 55%; }
.blk-image.size-hero { margin: 0 0 10px; }
.blk-image.size-hero img { height: 150px; object-fit: cover; }
.blk-image figcaption { font-size: 8.5px; color: #8a8378; margin-top: 4px; letter-spacing: .02em; }
.blk-usps {
  list-style: none; margin: 8px 0; display: flex; flex-direction: column; gap: 8px;
  background: var(--grijs); border-radius: 12px; padding: 12px 14px;
}
.blk-usps li { display: flex; gap: 9px; align-items: flex-start; }
.blk-usps strong { color: var(--donker); font-size: 10.5px; }
.blk-usps p { margin: 1px 0 0; color: #555049; }
.usp-check {
  background: var(--groen); color: #fff; width: 16px; height: 16px; border-radius: 5px;
  display: inline-grid; place-items: center; font-size: 9.5px; flex-shrink: 0; margin-top: 1px; font-weight: 900;
}
.blk-products { display: grid; gap: 10px; margin: 8px 0; }
.blk-products.cols-2 { grid-template-columns: 1fr 1fr; }
.blk-products.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.product-card {
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--grijs);
}
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card h3 { font-size: 11.5px; margin: 7px 9px 2px; color: var(--donker); font-weight: 800; }
.product-card .price { color: var(--groen-donker); font-weight: 900; font-size: 12.5px; margin: 0 9px 4px; }
.product-card .desc { font-size: 9px; line-height: 1.45; margin: 0 9px 6px; color: #555049; }
.product-card .url { font-size: 8px; color: #8a8378; margin: auto 9px 7px; word-break: break-all; }

/* Kaft */
.cover {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  background-size: cover; background-position: center; color: #fff;
}
.cover.no-photo { background: linear-gradient(160deg, var(--groen-donker), var(--bruin)); }
.cover-logo { padding: 24px 28px; }
.cover-logo img {
  height: 42px; display: block;
  background: rgba(255,255,255,.94); padding: 9px 14px; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.cover-bottom {
  padding: 70px 30px 26px;
  background: linear-gradient(180deg, rgba(24,22,15,0), var(--overlay) 55%);
}
.cover-bottom h1 {
  font-size: 33px; line-height: 1.02; margin: 0 0 8px;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
}
.cover-bottom p { font-size: 13.5px; margin: 0 0 14px; color: rgba(255,255,255,.88); }
.editie {
  background: var(--groen); border-radius: 99px; padding: .32rem .95rem;
  font-weight: 800; font-size: 11px; display: inline-block; text-transform: uppercase; letter-spacing: .06em;
}
.cover-usps { display: flex; gap: 8px; flex-wrap: wrap; font-size: 9.5px; font-weight: 700; margin-top: 16px; }
.cover-usps span { border: 1px solid rgba(255,255,255,.45); border-radius: 99px; padding: .3rem .7rem; }

/* Achterkaft */
.back-cover {
  height: 100%; display: grid; place-items: center;
  background: linear-gradient(200deg, var(--bruin), var(--groen-donker));
  background-size: cover; background-position: center; padding: 30px;
}
.back-card {
  background: rgba(255,255,255,.96); border-radius: 14px; padding: 26px 28px;
  width: 100%; max-width: 360px; text-align: center;
}
.back-logo { height: 44px; margin-bottom: 10px; }
.back-html { font-size: 11px; margin: 10px 0; }
.contact { margin: 14px 0 0; font-size: 11px; text-align: left; }
.contact div { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--lijn); }
.contact dt { font-weight: 800; color: var(--bruin); width: 80px; flex-shrink: 0; margin: 0; }
.contact dd { margin: 0; }

/* Inhoudsopgave */
.toc-title {
  font-size: 30px; color: var(--donker); margin: 2px 0 16px;
  font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
}
.toc-grid { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.toc-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--donker); }
.toc-thumb {
  position: relative; width: 74px; height: 46px; flex-shrink: 0;
  border-radius: 7px; overflow: hidden; background: var(--grijs); display: block;
}
.toc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.toc-nr {
  position: absolute; right: 0; bottom: 0;
  background: var(--groen); color: #fff; min-width: 21px; height: 19px;
  display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 900;
  border-radius: 7px 0 0 0; padding: 0 4px;
}
.toc-thumb-leeg .toc-nr { inset: 0; width: 100%; height: 100%; border-radius: 0; font-size: 14px; background: var(--groen); }
.toc-label { font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; }
.toc-item:hover .toc-label { color: var(--groen-donker); }

/* Full-image pagina */
.full-image {
  height: 100%; background: var(--bruin); background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.full-image-band {
  width: 100%; padding: 60px 28px 24px;
  background: linear-gradient(180deg, rgba(24,22,15,0), var(--overlay) 60%);
}
.full-image-title {
  color: #fff; font-size: 24px; margin: 0; font-weight: 900; text-transform: uppercase;
}

/* Mobiel */
@media (max-width: 699px) {
  .nav-btn { display: none; }
  .site-head { gap: .6rem; padding: .55rem .8rem; }
  .site-logo img { height: 34px; }
  .site-title { font-size: .9rem; flex-basis: 100%; order: 3; }
  .site-actions { margin-left: auto; }
  .btn-download { font-size: .8rem; padding: .4rem .7rem; }
  .viewer { padding: .8rem .5rem .4rem; }
  .viewer-hint { display: none; }
  .seo-tekst { font-size: .9rem; }
}
/* Mobiele weergave: pagina's onder elkaar (folder.js zet .mobiel en schaalt met zoom) */
#book.mobiel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#book.mobiel .sheet { margin: 0; }
.mobiel-weergave .viewer { display: block; }
.mobiel-weergave .book-wrap { display: block; }
