/**
 * Vloervisualizer (versie 2.1, oktober 2026).
 *
 * Alleen geladen op de pagina met het sjabloon "Vloervisualizer", dus de rest van
 * de site verandert er niet door. Gewone CSS (geen Sass), zodat er geen
 * bouwstap voor nodig is.
 *
 * De kleuren zijn die van het thema (assets/scss/_variables.scss):
 *   $brand-primary #494753, $brand-info #b194a4, $gray #464a4c,
 *   $gray-lighter #eceeef. Knoppen gebruiken de knoppen van de site
 *   (.btn-info, .btn-ghost-primary, .btn-ghost-gray).
 *
 * Breekpunten zoals het thema: md 768, lg 992, xl 1600.
 */

.vv {
  --vv-donker: #494753;
  --vv-mauve: #b194a4;
  --vv-mauve-zacht: #f5eff2;
  --vv-tekst: #464a4c;
  --vv-zwak: #8a8790;
  --vv-lijn: #e3e1e5;
  --vv-vlak: #f6f6f7;
}

.vv-resultaat {
  --vv-donker: #494753;
  --vv-mauve: #b194a4;
  --vv-tekst: #464a4c;
  --vv-zwak: #8a8790;
  --vv-lijn: #e3e1e5;
  --vv-vlak: #f6f6f7;
}

.vv-binnen {
  max-width: 1120px;
  margin: 0 auto;
}

.vv-verborgen {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------------ kop + hand met telefoon */

/*
 * Op deze pagina een hogere kop dan normaal, zodat de hand met telefoon erin past.
 * Hoogte onder de menubalk; de foto loopt daarnaast door achter de menubalk (zie
 * verderop). Lennart 28-10-2026: bovenin wat korter, maar de telefoon mag de
 * menubalk niet raken (afstand minstens 35px).
 */
.vv-paginakop {
  background-position: center 58%;
}

.vv-paginakop .color-overlay {
  min-height: 292px;
}

@media (min-width: 768px) {
  .vv-paginakop .color-overlay {
    min-height: 320px;
  }
}

@media (min-width: 992px) {
  .vv-paginakop .color-overlay {
    min-height: 375px;
  }
}

/* Op tablet en telefoon het titelvlak links, zodat de hand rechts past. */
@media (max-width: 991px) {
  .vv-paginakop .color-overlay {
    justify-content: flex-start;
    padding-left: 15px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .vv-paginakop .color-overlay {
    padding-left: calc(5% + 15px);
  }
}

/* ------------------------------------------------------------------ menubalk over de kopfoto */
/*
 * Net als op de homepage ligt de menubalk doorzichtig over de kopfoto: wit logo en
 * witte tekst op een zacht donker verloop, wit zodra je scrolt, een menu opent, er met
 * de muis op staat of (telefoon) in de kop tikt. De bovenbalk blijft donker. De body
 * krijgt daarvoor de klasse vv-kop-doorzichtig (functions/vloervisualizer.php).
 *
 * Dit is een kopie van de stand "kop-doorzichtig" uit assets/scss/_kop.scss, zodat de
 * algemene stylesheet gelijk blijft aan versie 2. Verandert die stand daar, pas hem
 * hier dan ook aan. De marges zijn precies de hoogte van de menubalk.
 */
body.vv-kop-doorzichtig .kop {
  margin-bottom: -56px;
}

@media (min-width: 768px) {
  body.vv-kop-doorzichtig .kop {
    margin-bottom: -82.8px;
  }
}

@media (min-width: 1024px) {
  body.vv-kop-doorzichtig .kop {
    margin-bottom: -90.8px;
  }
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) {
  background: linear-gradient(to top, rgba(0, 0, 0, 0) 0, rgba(62, 47, 40, 0.5) 100%);
  color: #fff;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-item.is-actief > .kop-flip {
  color: #f6f6f6;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-bodem {
  color: #fff;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-bekend-play--klein {
  color: inherit;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-bekend--uitgesneden:not(.kop-bekend--badge) .kop-bekend-logo:has(.kop-bekend-logo-licht) .kop-bekend-logo-gewoon {
  display: none;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-bekend--uitgesneden:not(.kop-bekend--badge) .kop-bekend-logo:has(.kop-bekend-logo-licht) .kop-bekend-logo-licht {
  display: block;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-logo-beeld .st0 {
  fill: #fff;
}

body.vv-kop-doorzichtig .kop:not(.is-gescrold):not(:hover):not(.is-open):not(.is-aangeraakt) .kop-logo-beeld {
  transform: translateX(-2.45%);
}

/*
 * De kopfoto loopt door tot achter de menubalk; de inhoud van de kop (kruimelpad,
 * titel, hand) blijft precies waar hij stond. Het donkere waas van de kop (20%) loopt
 * ook door achter de menubalk, anders zie je een naad.
 */
.vv-paginakop {
  --vv-menubalk: 56px;
  padding-top: var(--vv-menubalk);
}

@media (min-width: 768px) {
  .vv-paginakop {
    --vv-menubalk: 82.8px;
  }
}

@media (min-width: 1024px) {
  .vv-paginakop {
    --vv-menubalk: 90.8px;
  }
}

.vv-paginakop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--vv-menubalk);
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/*
 * De hand met telefoon rechts in de kop. Het beeld houdt op bij de onderrand van de
 * telefoon, dus die rand valt precies op de onderkant van de kopfoto (wens Lennart
 * 28-10-2026: geen arm of pols eronder). Bij het laden schuift hij van onderen omhoog
 * en stopt daar. Op het scherm staat dezelfde woonkamer met een donkere vloer.
 * Rechts in lijn met de inhoud eronder (de container is min(90%, 1150px) breed, met
 * 15px binnenrand). Het beeld is 0,748 keer zo breed als hoog. Hoogtes in pixels:
 * de kop zelf is hoger door de ruimte achter de menubalk, dus procenten kloppen niet meer.
 */
.vv-kophand {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 12px;
  width: auto;
  /* zo groot mogelijk, maar rechts van het titelvlak (dat loopt tot ca. 213px) */
  height: min(211px, calc((100vw - 235px) * 1.337));
  max-width: none;
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
  animation: vv-hand-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
}

@media (min-width: 768px) {
  .vv-kophand {
    right: calc((100% - min(90%, 1150px)) / 2 + 20px);
    height: 285px;
  }
}

/* tot 1200px staat de titel in het midden en is er rechts minder ruimte */
@media (min-width: 992px) {
  .vv-kophand {
    height: 319px;
  }
}

@media (min-width: 1200px) {
  .vv-kophand {
    right: calc((100% - min(90%, 1150px)) / 2 + 40px);
    height: 340px;
  }
}

@keyframes vv-hand-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vv-kophand {
    animation: none;
  }
}

/* ------------------------------------------------------------------ intro */

.vv-intro {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--vv-lijn);
}

.vv-intro h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--vv-donker);
  margin-bottom: 0.75rem;
}

.vv-intro p {
  margin-bottom: 0;
}

.vv-usps {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--vv-donker);
  color: #fff;
}

.vv-usps li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.5;
}

.vv-usps li + li {
  margin-top: 0.6rem;
}

.vv-usps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.95rem;
  height: 0.55rem;
  border-left: 2px solid var(--vv-mauve);
  border-bottom: 2px solid var(--vv-mauve);
  transform: rotate(-45deg);
}

@media (min-width: 992px) {
  .vv-intro {
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
  }
}

/* ------------------------------------------------------------------ stappen */

.vv-stap {
  padding: 2.5rem 0 0.5rem;
}

.vv-stap-kop {
  margin-bottom: 0.4rem;
}

.vv-stap-nr {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vv-mauve);
  margin-bottom: 0.15rem;
}

.vv-stap h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--vv-donker);
  margin: 0;
}

.vv-stap h2 small {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--vv-zwak);
}

.vv-uitleg {
  margin: 0.25rem 0 1rem;
}

/* foto */

.vv-dropzone {
  display: block;
  position: relative;
  margin: 1rem 0 0;
  border: 2px dashed var(--vv-mauve);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
}

.vv-dropzone:hover,
.vv-dropzone.sleept {
  background: var(--vv-mauve-zacht);
}

.vv-dropzone-leeg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 2.5rem 1rem;
}

.vv-dropzone-icoon {
  width: 46px;
  height: 46px;
  color: var(--vv-mauve);
}

.vv-dropzone-tekst {
  font-size: 1.05rem;
  color: var(--vv-donker);
}

.vv-dropzone-tekst u {
  text-decoration-color: var(--vv-mauve);
  text-underline-offset: 3px;
}

.vv-dropzone-sub {
  font-size: 0.85rem;
  color: var(--vv-zwak);
}

.vv-dropzone.heeft-foto {
  border-style: solid;
  padding: 0.6rem;
}

.vv-dropzone-foto {
  display: block;
  max-width: 100%;
  max-height: 380px;
  margin: 0 auto;
}

.vv-dropzone-wissel {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--vv-mauve);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vv-tips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--vv-zwak);
}

.vv-tips li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.5rem 0.15rem 0;
  background: var(--vv-mauve);
}

/* waarom er een limiet is (stap 4) */
.vv-limiet {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: var(--vv-tekst);
}

.vv-privacy {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--vv-zwak);
}

/* vloeren kiezen */

.vv-filter {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1rem 0 1.25rem;
}

.vv-soorten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vv-soort {
  border: 1px solid var(--vv-lijn);
  background: #fff;
  color: var(--vv-donker);
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.vv-soort span {
  color: var(--vv-zwak);
  font-size: 0.8rem;
  margin-left: 0.15rem;
}

.vv-soort:hover {
  border-color: var(--vv-mauve);
}

.vv-soort.actief {
  background: var(--vv-donker);
  border-color: var(--vv-donker);
  color: #fff;
}

.vv-soort.actief span {
  color: rgba(255, 255, 255, 0.7);
}

.vv-zoek,
.vv-mail {
  width: 100%;
  max-width: 440px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--vv-lijn);
  font: inherit;
  font-size: 0.95rem;
  color: var(--vv-tekst);
  background: #fff;
  border-radius: 0;
}

.vv-zoek:focus,
.vv-mail:focus,
.vv-soort:focus-visible,
.vv-vloer:focus-visible,
.vv-wissel-knop:focus-visible {
  outline: 2px solid var(--vv-mauve);
  outline-offset: 2px;
}

.vv-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .vv-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .vv-raster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.vv-vloer {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--vv-lijn);
  background: #fff;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.vv-vloer:hover {
  box-shadow: 0 4px 18px rgba(73, 71, 83, 0.12);
}

.vv-vloer.vol {
  opacity: 0.55;
}

.vv-vloer-beeld {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--vv-vlak);
}

.vv-vloer-beeld img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vv-vloer:hover .vv-vloer-beeld img {
  transform: scale(1.04);
}

.vv-vloer-tekst {
  display: block;
  padding: 0.6rem 0.75rem 0.7rem;
  line-height: 1.35;
}

.vv-vloer-kleur {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--vv-donker);
}

.vv-vloer-collectie {
  display: block;
  font-size: 0.78rem;
  color: var(--vv-zwak);
}

.vv-vink {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--vv-lijn);
}

.vv-vloer.gekozen {
  border-color: var(--vv-mauve);
  box-shadow: 0 0 0 2px var(--vv-mauve);
}

.vv-vloer.gekozen .vv-vink {
  background: var(--vv-mauve);
  border-color: var(--vv-mauve);
}

.vv-vloer.gekozen .vv-vink::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 7px;
  width: 11px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.vv-leeg {
  color: var(--vv-zwak);
}

.vv-meer-rij {
  text-align: center;
  margin-top: 1.25rem;
}

.vv-keuze {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  background: var(--vv-vlak);
  font-size: 0.9rem;
}

.vv-keuze-leeg,
.vv-keuze-teller {
  color: var(--vv-zwak);
}

.vv-keuze-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.35rem 0.3rem 0.7rem;
  background: #fff;
  border: 1px solid var(--vv-lijn);
  color: var(--vv-donker);
}

.vv-keuze-weg {
  border: 0;
  background: none;
  color: var(--vv-zwak);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 0.3rem;
  cursor: pointer;
}

.vv-keuze-weg:hover {
  color: var(--vv-donker);
}

/* legrichting */

.vv-richtingen {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .vv-richtingen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.vv-richting {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  align-items: center;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--vv-lijn);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.vv-richting input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vv-richting svg {
  grid-row: 1 / 3;
  width: 54px;
  height: 45px;
}

.vv-richting .vv-vlak {
  fill: var(--vv-mauve-zacht);
  stroke: var(--vv-mauve);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.vv-richting .vv-lijn {
  fill: none;
  stroke: var(--vv-mauve);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.vv-richting .vv-ster {
  fill: var(--vv-mauve);
}

.vv-richting-naam {
  font-weight: 500;
  color: var(--vv-donker);
  line-height: 1.3;
}

.vv-richting-naam em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--vv-mauve);
  padding: 0.12rem 0.45rem;
  margin-left: 0.3rem;
  vertical-align: 2px;
}

.vv-richting-sub {
  font-size: 0.82rem;
  color: var(--vv-zwak);
  line-height: 1.35;
}

.vv-richting:hover {
  border-color: var(--vv-mauve);
}

.vv-richting:has(input:checked) {
  border-color: var(--vv-donker);
  box-shadow: 0 0 0 1px var(--vv-donker);
}

.vv-richting:has(input:focus-visible) {
  outline: 2px solid var(--vv-mauve);
  outline-offset: 2px;
}

.vv-richting:has(input:checked) .vv-vlak {
  fill: var(--vv-donker);
  stroke: var(--vv-donker);
}

.vv-richting:has(input:checked) .vv-lijn {
  stroke: #fff;
}

.vv-richting:has(input:checked) .vv-ster {
  fill: var(--vv-mauve);
}

/* actie */

.vv-actie {
  text-align: center;
  padding: 2.5rem 0 0;
}

.vv-knop {
  min-width: 280px;
  font-size: 1rem;
}

.vv-knop:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vv-hint {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--vv-zwak);
}

.vv-fout {
  max-width: 640px;
  margin: 1rem auto 0;
  padding: 0.85rem 1.1rem;
  background: #fbf1f1;
  border: 1px solid #e5c9c9;
  color: #7a4343;
  font-size: 0.92rem;
  text-align: left;
}

.vv-fout[hidden] {
  display: none;
}

/* laden */

.vv-laden {
  text-align: center;
  padding: 3rem 0 1rem;
}

.vv-laden[hidden] {
  display: none;
}

.vv-laden-logo svg {
  width: 180px;
  height: auto;
  animation: vv-knipper 2.4s ease-in-out infinite;
}

.vv-laden-logo svg .bottom {
  display: none;
}

.vv-laden h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--vv-donker);
  margin: 1.25rem 0 0.25rem;
}

.vv-laden-tekst {
  color: var(--vv-tekst);
  margin: 0;
}

.vv-laden-sub {
  font-size: 0.82rem;
  color: var(--vv-zwak);
  max-width: 460px;
  margin: 1rem auto 0;
}

.vv-balk {
  position: relative;
  width: 320px;
  max-width: 80%;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--vv-lijn);
  overflow: hidden;
}

.vv-balk::after {
  content: '';
  position: absolute;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--vv-mauve);
  animation: vv-schuiven 1.4s ease-in-out infinite;
}

@keyframes vv-schuiven {
  to {
    left: 100%;
  }
}

@keyframes vv-knipper {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vv-balk::after,
  .vv-laden-logo svg {
    animation: none;
  }
  .vv-balk::after {
    left: 0;
    width: 100%;
  }
}

/* ------------------------------------------------------------------ resultaat */

.vv-resultaat {
  background: var(--vv-vlak);
  padding: 3rem 0 3.5rem;
}

/* Na het scrollen niet onder de vaste menubalk verdwijnen (die is ca. 90px hoog). */
.vv-resultaat {
  scroll-margin-top: 60px;
}

.vv-stap {
  scroll-margin-top: 80px;
}

@media (min-width: 992px) {
  .vv-resultaat {
    padding: 4.5rem 0 5rem;
  }
}

.vv-resultaat[hidden] {
  display: none;
}

.vv-resultaat-kop {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--vv-donker);
  margin: 0;
}

.vv-resultaat-kop em {
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.3em;
  color: var(--vv-mauve);
}

.vv-resultaat-sub {
  text-align: center;
  margin: 0.4rem 0 0;
  color: var(--vv-zwak);
}

.vv-resultaat-tegoed {
  text-align: center;
  margin: 0.4rem 0 0;
  font-weight: 500;
  color: var(--vv-donker);
}

.vv-kaart {
  max-width: 980px;
  margin: 2.25rem auto 0;
  background: #fff;
  padding: 1rem;
}

@media (min-width: 768px) {
  .vv-kaart {
    padding: 1.5rem;
  }
}

.vv-kaart-kop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.vv-kaart h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--vv-donker);
  margin: 0;
}

.vv-kaart h3 small {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--vv-zwak);
  margin-top: 0.1rem;
}

.vv-wissel {
  display: inline-flex;
  border: 1px solid var(--vv-lijn);
}

.vv-wissel-knop {
  border: 0;
  background: #fff;
  font: inherit;
  font-size: 0.8rem;
  color: var(--vv-tekst);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.vv-wissel-knop + .vv-wissel-knop {
  border-left: 1px solid var(--vv-lijn);
}

.vv-wissel-knop:not(.gemaakt)::before {
  content: '+ ';
  color: var(--vv-mauve);
}

.vv-wissel-knop:hover:not(:disabled) {
  background: var(--vv-mauve-zacht, #f5eff2);
}

.vv-wissel-knop.actief {
  background: var(--vv-donker);
  color: #fff;
}

.vv-wissel-knop:disabled {
  cursor: wait;
  opacity: 0.6;
}

/* voor/na-schuif: beide beelden hebben dezelfde verhouding (de foto is vooraf
   bijgesneden), dus het voor-beeld kan er pixel-precies overheen. */
.vv-schuif {
  position: relative;
  overflow: hidden;
  user-select: none;
  background: var(--vv-vlak);
}

.vv-schuif-na {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
}

.vv-schuif-voor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 calc(100% - var(--vv-pos, 50%)) 0 0);
  pointer-events: none;
}

.vv-schuif-lijn {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--vv-pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.vv-schuif-greep {
  position: absolute;
  top: 50%;
  left: var(--vv-pos, 50%);
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.vv-schuif-greep::before,
.vv-schuif-greep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-top: -5px;
}

.vv-schuif-greep::before {
  left: 11px;
  border-right: 7px solid var(--vv-donker);
}

.vv-schuif-greep::after {
  right: 11px;
  border-left: 7px solid var(--vv-donker);
}

.vv-schuif-label {
  position: absolute;
  top: 12px;
  padding: 0.25rem 0.7rem;
  background: rgba(73, 71, 83, 0.85);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.vv-schuif-label.voor {
  left: 12px;
}

.vv-schuif-label.na {
  right: 12px;
}

.vv-schuif-bereik {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.vv-schuif-bezig {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--vv-donker);
  text-align: center;
}

.vv-schuif-bezig[hidden] {
  display: none;
}

.vv-schuif-bezig span {
  width: 34px;
  height: 34px;
  border: 3px solid var(--vv-lijn);
  border-top-color: var(--vv-mauve);
  border-radius: 50%;
  animation: vv-draai 0.9s linear infinite;
}

.vv-schuif-bezig p {
  margin: 0;
  font-size: 0.9rem;
}

@keyframes vv-draai {
  to {
    transform: rotate(360deg);
  }
}

.vv-kaart-acties {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.vv-kaart-bewaar {
  display: contents;
}

.vv-tip {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--vv-zwak);
}

.vv-wissel-blok {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 100%;
}

.vv-kaart-fout {
  margin: 0;
  max-width: 420px;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
}

@media (max-width: 575px) {
  .vv-wissel-blok {
    width: 100%;
    align-items: stretch;
  }
  .vv-kaart-fout {
    max-width: none;
  }
}

.vv-opnieuw {
  text-align: center;
  margin-top: 2.25rem;
}

.vv-disclaimer {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--vv-zwak);
}

@media (max-width: 575px) {
  .vv-kaart-acties .btn {
    flex: 1 1 100%;
    text-align: center;
  }
  .vv-knop {
    width: 100%;
    min-width: 0;
  }
  .vv-wissel {
    width: 100%;
  }
  .vv-wissel-knop {
    flex: 1;
    padding: 0.5rem 0.25rem;
  }
}
