/* dp-sfeer.css — sfeerfoto's op de kleurpagina (snippets/dp-sfeer.rain + assets/dp-sfeer.js), 24 okt 2026 */
.dps { --dps-donker: var(--black, #29384B); --dps-groen: var(--accent, #70C067); --dps-lijn: var(--lines, #ECECEC); --dps-grijs: #898D93; }
.dps button { font-family: inherit; }

/* ---- foto met kleur erachter (hero, kleine foto's, raster, vergroting) ---- */
.dps-foto { position: relative; overflow: hidden; isolation: isolate; background-color: var(--dps-kleur, #eee); }
/* 's avonds: warme lichtkaart die de kleur vermenigvuldigt (de avondfoto heeft een lege muur); overdag-foto weg */
.dps-foto .dps-licht { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; mix-blend-mode: multiply; opacity: 0; transition: opacity .45s ease, transform .35s ease; pointer-events: none; }
html.dps-avond .dps-foto .dps-licht { opacity: 1; }
html.dps-avond .dps-foto .dps-img--dag { opacity: 0; }
.dps-kaart:hover .dps-licht { transform: scale(1.04); }
.dps-foto .dps-img { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.dps-foto .dps-img--avond { opacity: 0; transition: opacity .45s ease; }
.dps-foto .dps-img--dag { transition: opacity .45s ease; }
html.dps-avond .dps-foto .dps-img--avond { opacity: 1; }
.dps-foto .dps-img:not([src]) { visibility: hidden; }
.dps-foto [hidden] { display: none; }
/* beits: houtnerf tussen kleur en foto; metallic: glans tussen kleur en foto */
.dps-foto .dps-nerf { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; mix-blend-mode: multiply; pointer-events: none; }
.dps-foto .dps-glans { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, .12) 100%); }
/* beits: hout onbehandeld / 1 laag / 2 lagen */
.dps-lagen { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; background-blend-mode: multiply; background-size: cover; }
.dps-lagen[hidden] { display: none; }
.dps-lagen span { flex: 1 1 0; min-width: 0; padding: 8px 12px; background: rgba(255, 255, 255, .92); color: var(--dps-donker); font-size: 12px; font-weight: 600; }
.dps-lagen span + span { border-left: 1px solid var(--dps-lijn); }

/* ---- hero ---- */
.dps-hero { margin-bottom: 24px; }
.dps-foto--hero { aspect-ratio: 3 / 2; border-radius: 6px; }
.dps-vergroot { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.dps-label { position: absolute; top: 14px; left: 14px; z-index: 4; max-width: calc(100% - 260px); padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 4px rgba(41, 56, 75, .18); color: var(--dps-donker); font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.dps-label span { color: var(--dps-grijs); }
.dps-tgl { position: absolute; top: 14px; right: 14px; z-index: 4; display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 4px rgba(41, 56, 75, .18); }
.dps-tgl button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--dps-donker); font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; }
.dps-tgl button[aria-pressed="true"] { background: var(--dps-donker); color: #FFFFFF; }
.dps-tgl button:focus-visible, .dps-pijl:focus-visible, .dps-thumb:focus-visible, .dps-chip:focus-visible, .dps-kaart:focus-visible, .dps-vergroot:focus-visible { outline: 2px solid var(--dps-groen); outline-offset: 2px; }
/* het thema zet button:hover { background: var(--accent_light) } (shopmonkey.css): hier terugzetten */
.dps button.dps-vergroot:hover, .dps button.dps-vergroot:focus, .dps button.dps-kaart:hover, .dps button.dps-kaart:focus, .dps button.dps-thumb:hover { background: transparent; }
.dps .dps-tgl button:hover { background: rgba(41, 56, 75, .08); }
.dps .dps-tgl button[aria-pressed="true"], .dps .dps-tgl button[aria-pressed="true"]:hover { background: var(--dps-donker); color: #FFFFFF; }
.dps button.dps-chip:hover, .dps .dps-sprong__lijst button:hover { background: #FFFFFF; }
.dps button.dps-chip[aria-pressed="true"]:hover { background: var(--dps-donker); }
.dps button.dps-pijl:hover { background: #FFFFFF; }
.dps button.dps-meer:hover { background: #3a4c62; }
.dps button.dps-lb__sluit:hover { background: rgba(255, 255, 255, .1); }
.dps-tgl--licht { position: static; background: #FFFFFF; border: 1px solid var(--dps-lijn); box-shadow: none; flex: 0 0 auto; }
.dps-pijl { position: absolute; top: 50%; z-index: 4; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 4px rgba(41, 56, 75, .2); color: var(--dps-donker); cursor: pointer; }
.dps-pijl:hover { background: #FFFFFF; }
.dps-pijl--l { left: 14px; }
.dps-pijl--r { right: 14px; }
.dps-teller { position: absolute; right: 14px; bottom: 14px; z-index: 4; padding: 4px 10px; border-radius: 999px; background: rgba(41, 56, 75, .82); color: #FFFFFF; font-size: 12px; font-weight: 600; pointer-events: none; }
.dps-thumbs { display: flex; gap: 8px; margin-top: 12px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: thin; }
.dps-thumb { position: relative; flex: 0 0 auto; width: 84px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; cursor: pointer; background: none; }
.dps-thumb .dps-foto { position: absolute; inset: 0; }
.dps-thumb:hover { border-color: var(--dps-lijn); }
.dps-thumb[aria-current="true"] { border-color: var(--dps-groen); }
.dps-thumb .dps-lagen span { display: none; }
.dps-meer { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 56px; padding: 0; border: 0; border-radius: 5px; background: var(--dps-donker); color: #FFFFFF; font-size: 12px; line-height: 1.2; text-align: center; cursor: pointer; }
.dps-meer strong { font-size: 15px; }
.dps-meer:hover { background: #3a4c62; }

/* ---- sprong (rechterkolom) ---- */
.dps-sprong { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--dps-lijn); }
.dps-sprong[hidden] { display: none; }
.dps-sprong__kop { margin-bottom: 10px; color: var(--dps-donker); font-size: 14px; font-weight: 700; }
.dps-sprong__lijst { display: flex; flex-wrap: wrap; gap: 8px; }
.dps-sprong__lijst button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--dps-lijn); border-radius: 999px; background: #FFFFFF; color: var(--dps-donker); font-size: 13px; font-weight: 600; cursor: pointer; }
.dps-sprong__lijst button span { color: var(--dps-grijs); font-weight: 500; }
.dps-sprong__lijst button:hover { border-color: var(--dps-groen); }

/* ---- alle situaties ---- */
.dps-alle { margin: 32px 0 8px; padding: 32px 28px 28px; border: 1px solid var(--dps-lijn); border-radius: 6px; background: #FAFAFA; scroll-margin-top: 140px; }
.dps-alle__kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dps-alle__kop h2 { margin: 0; color: var(--dps-donker); }
.dps-alle__kop p { margin: 6px 0 0; }
.dps-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dps-filters:empty { display: none; }
.dps-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 9px 16px; border: 1px solid var(--dps-lijn); border-radius: 999px; background: #FFFFFF; color: var(--dps-donker); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.dps-chip span { color: var(--dps-grijs); font-weight: 500; }
.dps-chip:hover { border-color: #8D8D8D; }
.dps-chip[aria-pressed="true"] { border-color: var(--dps-donker); background: var(--dps-donker); color: #FFFFFF; }
.dps-chip[aria-pressed="true"] span { color: #C9D0D8; }
.dps-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.dps-kaart { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.dps-kaart .dps-foto { aspect-ratio: 3 / 2; border: 1px solid var(--dps-lijn); border-radius: 6px; }
.dps-kaart .dps-img { transition: transform .35s ease, opacity .45s ease; }
.dps-kaart:hover .dps-foto { border-color: var(--dps-groen); }
.dps-kaart:hover .dps-img { transform: scale(1.04); }
.dps-kaart__naam { display: block; color: var(--dps-donker); font-size: 14px; font-weight: 700; line-height: 1.25; }
.dps-kaart__cat { display: block; color: var(--dps-grijs); font-size: 12px; line-height: 1.25; }
.dps-noot { margin: 20px 0 0; color: var(--dps-grijs); font-size: 12px; }

/* ---- "Populairste kleuren uit de collectie": tegels zoals in de kleurentool (textpage-color.rain, achter ?sfeer=1) ---- */
.related-colors-wrap .page-colors.dpk-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin: 0; }
.dpk-tegel { position: relative; display: flex; flex-direction: column; min-width: 0; background: #FFFFFF; border: 1px solid var(--lines, #ECECEC); border-radius: 4px; overflow: hidden; color: var(--black, #29384B); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dpk-tegel:hover, .dpk-tegel:focus-visible { border-color: var(--accent, #70C067); box-shadow: 0 0 0 2px var(--accent, #70C067); color: var(--black, #29384B); text-decoration: none; outline: 0; }
.dpk-tegel__vlak { display: block; height: 84px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06); }
.dpk-tegel__info { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 10px; line-height: 1.3; }
.dpk-tegel__info strong { color: var(--black, #29384B); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.dpk-tegel__info span { color: #898D93; font-size: 12px; }
.dpk-tegel.is-nu { border-color: var(--accent_blue, #0099E5); box-shadow: 0 0 0 2px var(--accent_blue, #0099E5); }
.dpk-tegel__nu { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--accent_blue, #0099E5); color: #FFFFFF; font-size: 11px; font-weight: 600; line-height: 1; }

/* ---- vergroting ---- */
.dps-lb { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; background: rgba(23, 32, 44, .94); }
.dps-lb[hidden] { display: none; }
.dps-lb__in { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 1100px; max-height: 100%; }
.dps-lb__kop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: #FFFFFF; }
.dps-lb__titel { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dps-lb__vak { flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; background: var(--dps-kleur, #eee); }
.dps-lb__naam { font-size: 18px; font-weight: 800; line-height: 1.2; }
.dps-lb__sub { color: #C9D0D8; font-size: 12px; }
.dps-lb__acties { display: flex; align-items: center; gap: 12px; }
.dps-lb .dps-tgl { position: static; }
.dps-lb__sluit { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; color: #FFFFFF; cursor: pointer; }
.dps-lb__sluit:hover { background: rgba(255, 255, 255, .1); }
.dps-lb .dps-foto--lb { width: 100%; max-width: calc((100vh - 230px) * 1.5); margin: 0 auto; aspect-ratio: 3 / 2; border-radius: 6px; }
.dps-lb__thumbs { display: flex; gap: 8px; padding-bottom: 4px; overflow-x: auto; }
.dps-lb__thumbs .dps-thumb { width: 96px; height: 64px; opacity: .7; }
.dps-lb__thumbs .dps-thumb:hover, .dps-lb__thumbs .dps-thumb[aria-current="true"] { opacity: 1; }
html.dps-lb-open, html.dps-lb-open body { overflow: hidden; }

/* ---- tablet en mobiel ---- */
@media (max-width: 991px) {
  .dps-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .dps-alle { margin-left: -15px; margin-right: -15px; padding: 24px 15px; border-left: 0; border-right: 0; border-radius: 0; }
  .dps-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .dps-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -15px; margin-right: -15px; padding: 0 15px 2px; scrollbar-width: none; }
  .dps-filters::-webkit-scrollbar { display: none; }
  .dps-filters .dps-chip { flex: 0 0 auto; }
  .dps-label { top: 10px; left: 10px; max-width: calc(100% - 120px); padding: 5px 10px; font-size: 12px; }
  .dps-label span { display: none; }
  .dps-tgl { top: 10px; right: 10px; }
  .dps-foto .dps-tgl button, .dps-lb .dps-tgl button { padding: 8px 11px; }
  .dps-foto .dps-tgl button span, .dps-lb .dps-tgl button span { display: none; }
  .dps-pijl { width: 40px; height: 40px; margin-top: -20px; }
  .dps-pijl--l { left: 8px; }
  .dps-pijl--r { right: 8px; }
  .dps-teller { right: 10px; bottom: 10px; }
  .dps-thumb, .dps-meer { width: 72px; height: 48px; }
  .dps-lb { padding: 12px; align-items: flex-start; }
  .dps-lb__in { margin-top: 8px; }
  .dps-lb .dps-foto--lb { max-width: none; }
  .dps-lb__thumbs .dps-thumb { width: 72px; height: 48px; }
  .related-colors-wrap .page-colors.dpk-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dpk-tegel__vlak { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .dps-foto .dps-img, .dps-kaart .dps-img { transition: none; }
}