/* RW-OVERZICHT 1.0.4 – overzichtspagina's met tegels (Rails, Raamdecoratie), zoals het ontwerpbestand (rails.html / raamdecoratie.html) */
html body .rwo { --rwo-paars: #97509D; --rwo-oranje: #F08C2A; --rwo-ink: #3D3D3D; --rwo-grijs: #EFEFEF; --rwo-r: 28px; color: var(--rwo-ink); padding-bottom: 56px; }
html body .rwo *, html body .rwo *::before, html body .rwo *::after { box-sizing: border-box; }

/* kop */
html body .rwo .rwo-hero { margin: 6px 0 0; }
html body .rwo .rwo-hero h1 { font-size: 40px !important; line-height: 50px !important; margin: 0 !important; letter-spacing: -.015em; color: var(--rwo-ink) !important; }
html body .rwo .rwo-intro { max-width: min(96ch, 100%); margin: 14px 0 0; }
html body .rwo .rwo-intro, html body .rwo .rwo-intro :is(p, span, li) { font-size: 16px !important; line-height: 23px !important; color: #444; }
html body .rwo .rwo-intro p { margin: 0 0 10px; }
html body .rwo .rwo-hulp { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: bold; font-size: 14px; color: var(--rwo-paars) !important; text-decoration: none !important; }
html body .rwo .rwo-hulp svg { transition: transform .2s; }
html body .rwo .rwo-hulp:hover svg { transform: translateY(3px); }

/* tegels */
html body .rwo .rwo-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; margin-top: 40px; }
html body .rwo .rwo-bt {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 200px; border-radius: var(--rwo-r); overflow: hidden;
  background: var(--rwo-grijs); color: var(--rwo-ink) !important; text-decoration: none !important; transition: transform .25s;
}
html body .rwo .rwo-bt:hover, html body .rwo .rwo-bt:focus-visible { transform: translateY(-3px); }
html body .rwo .rwo-bt:focus-visible { outline: 3px solid var(--rwo-paars); outline-offset: 3px; }
html body .rwo .rwo-tx { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 22px 80px 26px 26px; position: relative; z-index: 1; }
html body .rwo .rwo-t { font-size: 19px; line-height: 1.25; font-weight: bold; letter-spacing: -.005em; }
html body .rwo .rwo-p { font-size: 13px; line-height: 18px; color: inherit; }
html body .rwo .rwo-go { position: absolute; right: 20px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--rwo-paars); color: #fff; transition: transform .25s; z-index: 2; }
html body .rwo .rwo-bt:hover .rwo-go { transform: translateX(4px); }
/* maten */
html body .rwo .rwo-groot { grid-column: span 2; grid-row: span 2; }
html body .rwo .rwo-breed { grid-column: span 2; }
html body .rwo .rwo-vol { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
html body .rwo .rwo-vol .rwo-tx { margin: 0; flex: 1; padding: 26px 90px 26px 26px; }
html body .rwo .rwo-breed.rwo-grijs { min-height: 0; }
/* kleuren */
html body .rwo .rwo-paars { background: var(--rwo-paars); color: #fff !important; }
html body .rwo .rwo-paars .rwo-go { background: #fff; color: var(--rwo-paars); }
html body .rwo .rwo-oranje { background: var(--rwo-oranje); color: #fff !important; }
html body .rwo .rwo-oranje .rwo-go { background: #fff; color: var(--rwo-oranje); }
html body .rwo .rwo-grijs .rwo-p { color: #555; }
/* foto over de hele tegel, witte tekst over een donkere overloop */
html body .rwo .rwo-foto { background: #3B2A1F; color: #fff !important; min-height: 320px; }
html body .rwo .rwo-foto .rwo-ph { position: absolute; inset: 0; overflow: hidden; background: #fff; }
html body .rwo .rwo-foto .rwo-ph img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: 50% 0; transition: transform .6s; }
html body .rwo .rwo-foto:hover .rwo-ph img { transform: scale(1.05); }
html body .rwo .rwo-foto .rwo-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,20,12,.62) 0%, rgba(32,20,12,.45) 28%, rgba(32,20,12,.12) 52%, rgba(32,20,12,0) 66%); }
html body .rwo .rwo-foto .rwo-go { background: #fff; color: var(--rwo-paars); }
html body .rwo .rwo-foto.rwo-groot { min-height: 0; }
@media (max-width: 960px) {
  html body .rwo .rwo-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .rwo .rwo-groot, html body .rwo .rwo-foto.rwo-groot { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  html body .rwo .rwo-breed, html body .rwo .rwo-vol { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  html body .rwo .rwo-hero h1 { font-size: 30px !important; line-height: 38px !important; }
  html body .rwo .rwo-bento { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  html body .rwo .rwo-bt { min-height: 170px; }
  html body .rwo .rwo-foto { min-height: 260px; }
  html body .rwo .rwo-groot, html body .rwo .rwo-foto.rwo-groot { min-height: 360px; }
  html body .rwo .rwo-tx { padding: 18px 68px 22px 20px; }
  html body .rwo .rwo-go { right: 16px; bottom: 18px; width: 38px; height: 38px; }
}

/* klantfavorieten */
html body .rwo .rwo-favs { margin-top: 72px; }
html body .rwo .rwo-eb { margin: 0 0 10px; font-size: 18px; line-height: 21px; letter-spacing: 3.5px; font-weight: bold; text-transform: uppercase; color: var(--rwo-ink); }
html body .rwo .rwo-favs h2 { margin: 0 0 12px !important; font-size: clamp(26px, 3.4vw, 38px) !important; line-height: 1.15 !important; letter-spacing: -.015em; color: var(--rwo-ink) !important; }
html body .rwo .rwo-lead, html body .rwo .rwo-lead p { margin: 0 0 28px; color: #555; max-width: 62ch; font-size: 16px !important; line-height: 23px !important; }
html body .rwo .rwo-lead p:last-child { margin-bottom: 0; }
html body .rwo .rwo-lead { margin-bottom: 28px; }
html body .rwo .rwo-pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1000px) { html body .rwo .rwo-pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* keuzehulp */
html body .rwo .rwo-kh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: stretch; margin-top: 72px; scroll-margin-top: 24px; }
html body .rwo .rwo-kh h2 { font-size: 28px !important; line-height: 1.2 !important; margin: 0 0 20px !important; letter-spacing: -.01em; color: var(--rwo-ink) !important; }
html body .rwo .rwo-khc { display: grid; gap: 10px; }
html body .rwo .rwo-ch {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; background: var(--rwo-grijs);
  border: 2px solid transparent; border-radius: 18px; padding: 16px 20px; font: inherit; font-size: 14.5px !important; font-weight: bold; color: var(--rwo-ink);
  cursor: pointer; transition: background-color .2s, border-color .2s; min-height: 0; margin: 0;
}
html body .rwo .rwo-ch:hover { background: #E6E6E6; }
html body .rwo .rwo-ch::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #AAA; background: #fff; transition: background-color .2s, border-color .2s, box-shadow .2s; }
html body .rwo .rwo-ch[aria-checked="true"] { background: #fff; border-color: var(--rwo-paars); }
html body .rwo .rwo-ch[aria-checked="true"]::after { border-color: var(--rwo-paars); background: var(--rwo-paars); box-shadow: inset 0 0 0 4px #fff; }
html body .rwo .rwo-ch:focus-visible { outline: 3px solid var(--rwo-paars); outline-offset: 2px; }
html body .rwo .rwo-khr { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 300px; background: var(--rwo-paars); color: #fff; border-radius: var(--rwo-r); padding: 38px 40px; }
html body .rwo .rwo-khr.rwo-pop { animation: rwoIn .35s ease; }
@keyframes rwoIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html body .rwo .rwo-khr h3 { font-size: 24px !important; line-height: 1.25 !important; margin: 0 !important; color: #fff !important; }
html body .rwo .rwo-khr p { margin: 0; font-size: 14.5px !important; line-height: 1.7 !important; color: #fff !important; max-width: 50ch; }
html body .rwo .rwo-btn { align-self: flex-start; display: inline-flex; align-items: center; margin-top: 6px; padding: 13px 22px; border-radius: 8px; background: #fff; color: var(--rwo-paars) !important; font-weight: bold; font-size: 14px; line-height: 14px; text-decoration: none !important; border: 2px solid #fff; }
html body .rwo .rwo-btn:hover { background: var(--rwo-ink); border-color: var(--rwo-ink); color: #fff !important; }
@media (max-width: 960px) {
  html body .rwo .rwo-kh { grid-template-columns: 1fr; gap: 20px; margin-top: 52px; }
  html body .rwo .rwo-khr { min-height: 0; padding: 30px 28px; }
  html body .rwo .rwo-favs { margin-top: 52px; }
}

/* meethulp + veelgestelde vragen (opmaak van de categoriepagina's) */
html body .rwo .rwo-mf { margin-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html body .rwo .rwo-bt, html body .rwo .rwo-foto .rwo-ph img, html body .rwo .rwo-khr.rwo-pop, html body .rwo .rwo-go { transition: none; animation: none; }
}

/* 1.0.4: productkaarten en meethulp in de opmaak van de categoriepagina's (.s26c), zonder eigen rand/breedte */
html body .rwo .rwo-s26c { max-width: none !important; padding: 0 !important; margin: 0 !important; }
html body .rwo .rwo-mf.rwo-s26c { margin-top: 72px !important; }
/* tekstkleur in de tegels: wit op foto, paars en oranje (wint van de algemene linkkleur) */
html body .rwo .rwo-bt .rwo-tx, html body .rwo .rwo-bt .rwo-tx * { color: inherit !important; }
html body .rwo .rwo-bt.rwo-foto, html body .rwo .rwo-bt.rwo-paars, html body .rwo .rwo-bt.rwo-oranje { color: #fff !important; }
html body .rwo .rwo-bt.rwo-grijs { color: var(--rwo-ink) !important; }
html body .rwo .rwo-bt.rwo-grijs .rwo-p { color: #555 !important; }

/* 1.0.5: pijltjes – paarse cirkel met wit pijltje, witte cirkel met paars pijltje (ook op oranje, paars en foto) */
html body .rwo .rwo-bt .rwo-go { background: var(--rwo-paars) !important; color: #fff !important; }
html body .rwo .rwo-bt.rwo-foto .rwo-go, html body .rwo .rwo-bt.rwo-paars .rwo-go, html body .rwo .rwo-bt.rwo-oranje .rwo-go { background: #fff !important; color: var(--rwo-paars) !important; }
html body .rwo .rwo-go svg, html body .rwo .rwo-go svg path { stroke: currentColor !important; fill: none !important; color: inherit !important; }

/* RW-OVERZICHT-KOP 1.0.0 – ruimte tussen het (paarse) menu en de titel van een overzichtspagina.
   Per pagina in te stellen bij Beheer › Overzichtspagina's (standaard 40 px); de pagina geeft de waarde door als
   --rwo-kop-ruimte. Dit gaat boven de algemene regel uit css/pagina-2026.css (was 75,5 px). */
html body .rwo .rwo-hero:not(#rwk-a):not(#rwk-b):not(#rwk-c) { margin-top: var(--rwo-kop-ruimte, 40px) !important; }
