/* Mistral Brizy Elements - productkiezer styles (editor + frontend).
   Selectie/highlight/prijs/knop gaan via :checked in een per-instantie <style>
   (gegenereerd in de PHP). Hier alleen de basisstijlen. */
.mistral-tiles-mount { width: 100%; }
.mistral-tiles-mount.is-loading { min-height: 80px; }

/* verborgen radio's */
.mistral-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* per-optie content: alleen zichtbaar als de bijbehorende radio :checked is (zie dynamische <style>) */
.mistral-tiles__price .mistral-price,
.mistral-tiles__availability .mistral-avail { display: none; }
.mistral-tiles__cart[data-for] { display: none; }

/* blokjes flexibel naast elkaar; label past altijd op 1 regel */
.mistral-tiles__options {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.mistral-option {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
  border: 2px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.mistral-option:hover { border-color: #b5b5b5; }
.mistral-option--disabled { opacity: .5; cursor: not-allowed; }
/* externe (affiliate) blokjes: doorzichtige link over het hele blokje -> nieuw tabblad */
.mistral-option__ext { position: absolute; inset: 0; z-index: 1; }

/* tekst in blokje: normale letter, zwart; prijs iets kleiner en rood */
.mistral-option__label {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
}
.mistral-option__price {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #d00000;
  white-space: nowrap;
}
.mistral-option__price del { font-weight: 400; color: #888; margin-right: 6px; }
.mistral-option__price ins { text-decoration: none; }

/* witregel + prijs van actieve editie in rood (H4) */
.mistral-tiles__price {
  margin: 16px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #d00000;
}
.mistral-tiles__price del { font-weight: 400; color: #888; margin-right: 6px; }
.mistral-tiles__price ins { text-decoration: none; }

/* witregel + leverbaarheid in normale tekst */
.mistral-tiles__availability {
  margin: 16px 0;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

/* witregel + knop */
.mistral-tiles__cart {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 0;
}
.mistral-tiles__cart:hover { background: #333; }
.mistral-tiles__cart.is-adding { opacity: .6; pointer-events: none; }

.mistral-tiles__hint { margin: 8px 0 0; font-size: 12px; color: #888; }
.mistral-tiles__error { color: #b00020; }
