/* Donkere modus tijdens Black Friday-week. De basiskleuren staan in style.css.
   Dit bestand komt daarna: foto's op een lichte kaart, widgets met genoeg contrast. */

:root { color-scheme: light; --color-surface-2: #f1efe6; }
[data-theme="dark"] { color-scheme: dark; --color-surface-2: #1b211a; }

/* Icoon wisselt in de bestaande 40×40-knop, zonder de header hoger te maken. */
.theme-toggle { position: relative; flex: 0 0 auto; }
.theme-toggle__sun,
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__moon,
[data-theme="dark"] .theme-toggle__sun { display: block; }
.nav__actions { flex-shrink: 0; }

/* Productfoto's hebben een witte achtergrond. Op een lichte kaart vloeien ze
   net als in licht modus in de kaart, in plaats van een hard wit vlak. */
[data-theme="dark"] .product-card__visual,
[data-theme="dark"] .photo-slider__thumb,
[data-theme="dark"] .cart-line__visual {
  background: #f4f3ec;
  color: #1f3d2b;
}
[data-theme="dark"] .product-card__photo,
[data-theme="dark"] .product-detail__photo,
[data-theme="dark"] .photo-slider__thumb img,
[data-theme="dark"] .cart-line__visual img {
  mix-blend-mode: multiply;
}

[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder,
[data-theme="dark"] .vb-chat__input::placeholder {
  color: var(--color-text-faint);
  opacity: 1;
}
[data-theme="dark"] input:-webkit-autofill,
[data-theme="dark"] textarea:-webkit-autofill,
[data-theme="dark"] select:-webkit-autofill {
  -webkit-text-fill-color: var(--color-text);
  caret-color: var(--color-text);
  box-shadow: 0 0 0 1000px var(--color-surface) inset;
}

/* Wit op het lichte primaire groen haalt geen AA. Inkt op de accentkleur wel. */
[data-theme="dark"] .vb-chat__msg--user {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
[data-theme="dark"] .vb-chat__msg--bot a { color: var(--color-accent); }
[data-theme="dark"] .vg-vs {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}
[data-theme="dark"] .vg-bar__x,
[data-theme="dark"] .vg-bar__list button { opacity: 1; }

[data-theme="dark"] .cookie-banner__text a { color: var(--color-accent); }
