/* Uit de <style>-blokken van deze pagina in de oplevering;
   extern gemaakt omdat de CSP inline stijl blokkeert. */
/* R5.3.4 – definitieve productkaarten voor 6 Duo Tone-, 15 Single Tone- en 13 Black-out-stoffen. */
.sample-group{padding:26px}
.swatch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.swatch{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;overflow:hidden;border:1px solid #d9ddd4;background:#fff;border-radius:15px;min-width:0;min-height:100%;box-shadow:0 6px 18px rgba(40,61,37,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.swatch:hover{transform:translateY(-3px);border-color:#9ca78f;box-shadow:0 13px 26px rgba(40,61,37,.13)}
.swatch:focus-visible{outline:3px solid #9aa579;outline-offset:3px}
.swatch[aria-pressed="true"]{border-color:#315a2a;box-shadow:0 0 0 2px #283d25,0 13px 26px rgba(40,61,37,.13)}
.swatch.is-locked{opacity:.76}.swatch.is-locked .swatch__action{background:#f1eee6;color:#7e6f63}
.swatch__image{display:block;aspect-ratio:1/1;min-width:0;overflow:hidden;background:#fafaf8;border-bottom:1px solid #e2e4dd}
.swatch__image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s ease}
.swatch:hover .swatch__image img{transform:scale(1.025)}
.swatch__body{display:flex;flex-direction:column;flex:1;min-width:0;padding:14px 14px 13px}
.swatch__code{display:block;font-weight:900;color:#283d25;font-size:.88rem;line-height:1.2;letter-spacing:.01em}
.swatch__name{display:block;color:#2d422a;font-size:1.02rem;font-weight:800;line-height:1.25;margin-top:4px;white-space:normal}
.swatch__meta{display:block;color:#758078;font-size:.72rem;line-height:1.35;margin-top:6px}
.swatch__description{display:block;color:#69736c;font-size:.79rem;line-height:1.42;margin:7px 0 12px}
.swatch__action{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:auto;min-height:40px;padding:8px 9px;border:1px solid #a5b0a2;border-radius:8px;background:#fff;color:#283d25;font-size:.75rem;font-weight:900;text-align:center}
.swatch:hover .swatch__action{background:#eff1e8;border-color:#7e8b76}
.swatch[aria-pressed="true"] .swatch__action{background:#315a2a;border-color:#315a2a;color:#fff}
.selected-item{grid-template-columns:58px minmax(0,1fr) 38px}
.selected-item__thumb{display:block;width:58px;height:52px;object-fit:contain;background:#fafaf8;border-radius:8px;border:1px solid #d3d8cf}
.selected-item__dot{display:none}
@media(max-width:1320px){
  .swatch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .sample-group{padding:18px 14px}
  .swatch-grid{grid-template-columns:1fr;gap:12px}
  .swatch{display:grid;grid-template-columns:142px minmax(0,1fr);min-height:150px}
  .swatch__image{aspect-ratio:auto;border-bottom:0;border-right:1px solid #e2e4dd}
  .swatch__body{padding:12px}
  .swatch__description{font-size:.75rem;margin:6px 0 9px}
  .swatch__action{font-size:.72rem;min-height:36px;padding:7px}
}
@media(max-width:430px){
  .swatch{grid-template-columns:118px minmax(0,1fr)}
  .swatch__meta{display:none}
}


/* R5.3.1 – vriendelijke herinnering bij verlaten met gekozen stalen */
.sample-exit-dialog{width:min(540px,calc(100% - 28px));padding:0;border:0;border-radius:22px;background:#fff;color:#2a3f27;box-shadow:0 28px 90px rgba(39,59,36,.28)}
.sample-exit-dialog::backdrop{background:rgba(39,59,36,.38);backdrop-filter:blur(3px)}
.sample-exit-dialog__card{position:relative;padding:30px}
.sample-exit-dialog__close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f2ed;color:#2b4128;font-size:25px;line-height:1;cursor:pointer}
.sample-exit-dialog__icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#eef1e8;color:#2c4229;font-size:25px;margin-bottom:17px}
.sample-exit-dialog__eyebrow{margin:0 0 7px;color:#6d7758;font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.sample-exit-dialog h2{margin:0 42px 10px 0;font-size:clamp(1.55rem,4vw,2rem);line-height:1.18;color:#2a3f26}
.sample-exit-dialog__text{margin:0;color:#546452;line-height:1.65;font-size:1.02rem}
.sample-exit-dialog__actions{display:flex;gap:12px;margin-top:24px}
.sample-exit-dialog__actions .button{flex:1;justify-content:center;min-height:48px}
.sample-exit-dialog__continue{background:#fff!important;color:#2b4128!important;border:1px solid #afb8ae!important}
.sample-exit-dialog__note{display:block;margin-top:14px;text-align:center;color:#768174;font-size:.86rem}
@media(max-width:560px){.sample-exit-dialog__card{padding:25px 20px 21px}.sample-exit-dialog__actions{flex-direction:column-reverse}.sample-exit-dialog__actions .button{width:100%}}
