/* Sectievlakken in de avondstand. Foto's, video en mascottes behouden hun eigen kleuren. */
html[data-theme="dark"] {
  --section-panel: linear-gradient(140deg, #f3e2bd0c, #f3e2bd03 58%, #08615c12), #142524e8;
  --section-border: #f3e2bd36;
  --section-divider: #f3e2bd2c;
  --section-muted: #d2c6ad;
  --section-input: #0e1c1de8;
  --section-shadow: inset 0 1px 0 #f3e2bd14, 0 16px 36px #00000030;
}

html[data-theme="dark"] :is(
  .category-intro > div,
  .studio > div,
  .light-lab-heading,
  .section .section-intro-bubble,
  .amenities-grid > article,
  .location > div:first-child,
  .travel > article,
  .included,
  .category-cta,
  .personnel-content > .text-bubble,
  .gear-rental > .section-intro-bubble,
  .gear-basket,
  .gear-product
) {
  background: var(--section-panel);
  color: var(--cream);
  border-color: var(--section-border);
  box-shadow: var(--section-shadow);
}

html[data-theme="dark"] :is(.category-intro, .studio, .amenities, .location, .light-lab, .gear-rental, .personnel-content, .category-cta) {
  color: var(--cream);
}
html[data-theme="dark"] :is(.studio h2, .amenities h2, .light-lab-heading h2, .personnel-content h2) span {
  color: var(--orange);
}
html[data-theme="dark"] :is(.category-intro .eyebrow, .spec-label, .travel article > span, .gear-small, .gear-qty, .gear-in-selection, #gear-results) {
  color: var(--section-muted);
}
html[data-theme="dark"] .category-intro .back-home {
  color: var(--cream);
}
html[data-theme="dark"] .category-intro .back-home:hover {
  color: var(--orange);
}
html[data-theme="dark"] .studio .specs {
  border-top-color: var(--section-border);
}
html[data-theme="dark"] .specs > div,
html[data-theme="dark"] :is(.rental-grid .faq, .rental-grid details) {
  border-color: var(--section-divider);
}

/* De uitgelichte dagprijs blijft wijnrood. De andere prijzen liggen op donker glas. */
html[data-theme="dark"] .prices article,
html[data-theme="dark"] .studio-floating-rates .prices article {
  background: var(--section-panel);
  color: var(--cream);
  border-color: var(--section-border);
  box-shadow: var(--section-shadow);
}
html[data-theme="dark"] .prices article:first-child,
html[data-theme="dark"] .studio-floating-rates .prices article:first-child {
  background: linear-gradient(135deg, #f3e2bd12, #f3e2bd03), #750027e6;
  border-color: #f5791260;
}
html[data-theme="dark"] .price span {
  color: var(--section-muted);
}

/* De oranje tv-illustratie en de knoppen op dat kader behouden hun merkkleuren. */
html[data-theme="dark"] .studio-tv-toolbar,
html[data-theme="dark"] .studio-tv-gallery .studio-gallery-caption {
  color: var(--section-muted);
}
html[data-theme="dark"] .studio-gallery-dots button span {
  background: #f3e2bd99;
}
html[data-theme="dark"] .studio-gallery-dots button[aria-pressed="true"] span {
  background: var(--orange);
}
html[data-theme="dark"] .gallery-button {
  color: var(--cream);
  background: #f3e2bd0b;
  border-color: #f3e2bd80;
}
html[data-theme="dark"] .gallery-button:hover {
  background: var(--wine);
  border-color: #f3e2bd66;
}
html[data-theme="dark"] .studio-lightbox {
  border-color: var(--section-border);
  box-shadow: 0 28px 100px #000000b0;
}

/* Alleen de bediening verandert; de lichtkleuren boven de foto blijven intact. */
html[data-theme="dark"] .light-options button {
  color: var(--cream);
  background: #152a28d9;
  border-color: #f3e2bd80;
}
html[data-theme="dark"] .light-options button[aria-pressed="true"] {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--orange);
  box-shadow: 0 4px 16px #00000035;
}
html[data-theme="dark"] .light-options button:hover {
  box-shadow: 0 0 0 2px #f3e2bd35;
}
html[data-theme="dark"] .light-status,
html[data-theme="dark"] .light-disclaimer {
  color: var(--section-muted);
}
html[data-theme="dark"] .light-preview-label {
  background: #101f20e6;
  color: var(--cream);
  border: 1px solid var(--section-border);
}

/* Gearcatalogus, aantallen en winkelmand. */
html[data-theme="dark"] .gear-product {
  background: linear-gradient(135deg, #08615c24, #f3e2bd05 70%), #142323ed;
}
html[data-theme="dark"] .gear-add {
  background: var(--wine);
  color: var(--cream);
  border-color: #f3e2bd60;
}
html[data-theme="dark"] .gear-add:hover:not(:disabled) {
  background: #92213f;
  border-color: #f3e2bd99;
}
html[data-theme="dark"] .gear-add:disabled {
  opacity: .65;
}
html[data-theme="dark"] .gear-step {
  background: #f3e2bd08;
  color: var(--cream);
  border-color: #f3e2bd60;
}
html[data-theme="dark"] .gear-step:hover {
  background: var(--teal);
}
html[data-theme="dark"] .gear-remove {
  color: var(--cream);
}
html[data-theme="dark"] .gear-remove:hover {
  color: var(--orange);
}
html[data-theme="dark"] :is(.gear-selected-row, .gear-total, .gear-period) {
  border-color: var(--section-divider);
}
html[data-theme="dark"] :is(.gear-price, .gear-group > h3, .gear-period-summary, .gear-empty, #gear-feedback) {
  color: var(--cream);
}

/* Aanvraagformulier en native datum-/keuzevelden. */
html[data-theme="dark"] .contact {
  background: linear-gradient(135deg, #75002778, #75002730 65%), #101f20;
  color: var(--cream);
}
html[data-theme="dark"] .contact > div {
  background: linear-gradient(140deg, #75002755, #f3e2bd05), #142524a6;
  color: var(--cream);
  border-color: var(--section-border);
  box-shadow: var(--section-shadow);
}
html[data-theme="dark"] .contact form {
  background: linear-gradient(140deg, #f3e2bd0c, #08615c0d), #132323f0;
  color: var(--cream);
  border-color: var(--section-border);
  box-shadow: var(--section-shadow);
}
html[data-theme="dark"] .contact :is(.form-note, .gear-small) {
  color: var(--section-muted);
}
html[data-theme="dark"] .request-gear {
  background: #0e1c1d60;
  color: var(--cream);
  border-color: #f3e2bd45;
}
html[data-theme="dark"] :is(.gear-search, .gear-period, .gear-product-controls, .contact form) :is(input, select, textarea) {
  background: var(--section-input);
  color: var(--cream);
  border-color: #f3e2bd66;
  color-scheme: dark;
}
html[data-theme="dark"] :is(.gear-search, .gear-period, .gear-product-controls, .contact form) :is(input, textarea)::placeholder {
  color: #c1b9a6;
  opacity: 1;
}
html[data-theme="dark"] :is(.gear-search, .gear-period, .gear-product-controls, .contact form) :is(input, select, textarea):focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-color: #f3e2bd99;
}
html[data-theme="dark"] :is(.gear-search, .gear-period, .gear-product-controls, .contact form) option {
  background: #102020;
  color: var(--cream);
}
html[data-theme="dark"] :is(.gear-search, .gear-period, .gear-product-controls, .contact form) input::-webkit-calendar-picker-indicator {
  opacity: .9;
}
html[data-theme="dark"] .contact form [aria-invalid="true"] {
  border-color: #ff987d;
  outline-color: #ff987d;
}
@supports selector(input:user-invalid) {
  html[data-theme="dark"] :is(.gear-period, .contact form) :is(input, textarea):user-invalid {
    border-color: #ff987d;
  }
}
html[data-theme="dark"] :is(.contact, .studio) .text-link,
html[data-theme="dark"] .request-gear .text-link,
html[data-theme="dark"] #status a {
  color: var(--cream);
}
html[data-theme="dark"] :is(.contact, .studio) .text-link:hover,
html[data-theme="dark"] #status a:hover {
  color: var(--orange);
}

/* Decor blijft petrol gekleurd; de lege personeelspagina krijgt hetzelfde rustige glas. */
html[data-theme="dark"] .decor-content {
  background: linear-gradient(135deg, #08615c38, #08615c08), #102322;
  color: var(--cream);
}
html[data-theme="dark"] :is(.decor-content > .text-bubble, .decor-content .equipment-grid > article, .equipment > .section-heading, .equipment-grid > article) {
  background: linear-gradient(140deg, #08615c35, #f3e2bd05), #132927d9;
  color: var(--cream);
  border-color: var(--section-border);
  box-shadow: var(--section-shadow);
}
html[data-theme="dark"] .decor-content h2 span {
  color: var(--cream);
}
html[data-theme="dark"] .equipment-note {
  color: var(--section-muted);
}
