/* "Wat klanten onlangs kochten" / Onlangs geleverd — RW-GELEVERD 1.0.0 */
.rwg, .rwg-blok { --g-paars: var(--rs-paars, #96509E); --g-oranje: var(--rs-oranje, #EF8B2C); --g-tekst: var(--rs-tekst, #3C3C3C); --g-rand: #E2E2E2; --g-grijs: #F5F3F6;
  font-family: Verdana, Geneva, sans-serif; color: var(--g-tekst); box-sizing: border-box; }
.rwg *, .rwg-blok * { box-sizing: border-box; }
.rwg { max-width: 1180px; margin: 0 auto; padding: 0 16px 32px; clear: both; }
.rwg a, .rwg-blok a { text-decoration: none !important; }
.rwg-intro { font-size: 14px; line-height: 1.7; max-width: 760px; margin: 4px 0 20px; }

/* kaarten */
.rwg-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rwg-rij { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html body .rwg-kaart { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-rand); border-radius: 12px; overflow: hidden; color: var(--g-tekst) !important; transition: border-color .15s, box-shadow .15s; min-width: 0; }
html body .rwg-kaart:hover, html body .rwg-kaart:focus-visible { border-color: var(--g-oranje); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.rwg-foto { position: relative; display: block; aspect-ratio: 4 / 3; background: #F4F4F4; overflow: hidden; }
.rwg-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rwg-label { position: absolute; left: 8px; top: 8px; background: #1E8E3E; color: #fff; font-size: 10px; font-weight: bold; padding: 3px 9px; border-radius: 999px; }
.rwg-label::before { content: "✓ "; }
.rwg-info { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; }
.rwg-info b { font-size: 12px; line-height: 1.35; }
.rwg-info small { font-size: 11px; color: #777; }
.rwg-sam { font-size: 11px; color: var(--g-paars); line-height: 1.4; }

/* blok op categorie- en detailpagina */
.rwg-blok { margin: 28px 0 8px; grid-column: 1 / -1; clear: both; }
.rwg-blok-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
html body .rwg-blok-kop h2 { font: bold 20px Verdana, Geneva, sans-serif !important; color: var(--g-tekst) !important; margin: 0 !important; text-transform: none; }
.rwg-sub { display: block; font-size: 11px; color: var(--g-paars); font-weight: bold; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
html body .rwg-alle { color: var(--g-paars) !important; font-weight: bold; font-size: 13px; white-space: nowrap; }

/* detail */
.rwg-terug { margin: 0 0 14px; font-size: 13px; }
html body .rwg-terug a { color: var(--g-paars) !important; }
.rwg-detail-rij { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.rwg-detail-foto { border-radius: 14px; overflow: hidden; background: #F4F4F4; aspect-ratio: 4 / 3; }
.rwg-detail-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rwg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.rwg-chip { background: var(--g-grijs); border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.rwg-chip-groen { background: #E7F5EC; color: #1E6E33; font-weight: bold; }
.rwg-tekst { font-size: 14px; line-height: 1.7; }
html body .rwg-tekst h2 { font: bold 16px Verdana, Geneva, sans-serif !important; color: var(--g-tekst) !important; margin: 20px 0 8px !important; }
.rwg-feiten { list-style: none; margin: 0; padding: 0; border: 1px solid var(--g-rand); border-radius: 12px; overflow: hidden; }
.rwg-feiten li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; font-size: 13px; }
.rwg-feiten li:nth-child(odd) { background: var(--g-grijs); }
.rwg-feiten li span { color: #666; }
.rwg-feiten li b { text-align: right; }
.rwg-knoppen { margin: 20px 0 0; }
html body .rwg-knop { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border-radius: 10px; background: var(--g-oranje); color: #fff !important; font-weight: bold; font-size: 14px; }
html body .rwg-knop:hover { background: #D9761B; }

/* paginering */
.rwg-pag { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 26px 0 0; font-size: 13px; }
html body .rwg-pag a { color: var(--g-paars) !important; font-weight: bold; border: 2px solid var(--g-paars); border-radius: 999px; padding: 8px 18px; }

@media only screen and (max-width: 1025px) {
  .rwg-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rwg-rij { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .rwg-rij::-webkit-scrollbar { display: none; }
  .rwg-rij > .rwg-kaart { flex: 0 0 calc((100% - 28px) / 2.6); scroll-snap-align: start; }
  .rwg-detail-rij { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media only screen and (max-width: 640px) {
  .rwg-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rwg-rij > .rwg-kaart { flex-basis: 72%; }
  .rwg { padding: 0 12px 24px; }
  html body .rwg-blok-kop h2 { font-size: 17px !important; }
}

/* RWG 1.0.6: de paginakop op de leveringenpagina's krijgt dezelfde breedte als de inhoud eronder (hij stond tegen de linkerrand),
   en de lange titel van één levering wordt kleiner getoond. Grootte aanpassen: --rwg-kop-detail en --rwg-kop-detail-regel. */
html body #content:has(> article.rwg) > #pagehead:not(#rwk-a):not(#rwk-b) { max-width: 1180px; width: auto; float: none; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
html body #content:has(> article.rwg-detail) > #pagehead > h1:not(#rwk-a):not(#rwk-b) { font: bold var(--rwg-kop-detail, 28px)/var(--rwg-kop-detail-regel, 36px) Verdana, Geneva, sans-serif !important; margin-top: 40px !important; }
@media only screen and (max-width: 640px) {
  html body #content:has(> article.rwg) > #pagehead:not(#rwk-a):not(#rwk-b) { padding-left: 12px; padding-right: 12px; }
  html body #content:has(> article.rwg-detail) > #pagehead > h1:not(#rwk-a):not(#rwk-b) { font: bold 22px/30px Verdana, Geneva, sans-serif !important; margin-top: 24px !important; }
}
