/* De Iepenhoeve — afzonderlijke stijlen, bestaande CSS blijft ongewijzigd. */
.ie-cookie, .ie-cookie *, .ie-cookie-dialog, .ie-cookie-dialog *, .ie-map, .ie-map * { box-sizing: border-box; }
.ie-cookie, .ie-cookie-dialog {
  --ie-green: #437631;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #30372d;
  background: #fffdf8;
  text-align: left;
}
.ie-cookie [hidden], .ie-cookie-dialog [hidden], .ie-map [hidden] { display: none !important; }
.ie-cookie {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 2147483000;
  width: min(1120px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 25px 30px;
  border: 5px solid #d4decd;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgb(20 40 15 / 28%);
}
.ie-cookie h2, .ie-cookie-dialog h2 {
  margin: 0 0 12px;
  padding: 0;
  color: #437631;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}
.ie-cookie p, .ie-cookie-dialog p { margin: 0 0 16px; }
.ie-cookie a, .ie-cookie-dialog a { color: #126b92; text-decoration: underline; }
.ie-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ie-cookie-button, .ie-cookie-reopen, .ie-map-button {
  appearance: none;
  font: 600 15px/1.5 'Montserrat', Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #437631;
  border-radius: 5px;
  padding: 12px 18px;
  background: #437631;
  color: #fff;
  min-height: 48px;
}
.ie-cookie-button:hover, .ie-cookie-reopen:hover, .ie-map-button:hover { background: #325a24; border-color: #325a24; color: #fff; }
.ie-cookie-button:focus-visible, .ie-cookie-reopen:focus-visible, .ie-map-button:focus-visible,
.ie-cookie a:focus-visible, .ie-cookie-dialog a:focus-visible, [data-cookievoorkeuren]:focus-visible {
  outline: 3px solid #126b92;
  outline-offset: 4px;
}
.ie-cookie-dialog {
  width: min(700px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px;
  border: 5px solid #d4decd;
  border-radius: 8px;
  box-shadow: 0 12px 60px rgb(0 0 0 / 30%);
}
.ie-cookie-dialog::backdrop { background: rgb(15 25 10 / 60%); }
.ie-cookie-dialog h2 { font-size: 28px; }
.ie-cookie-section { border-top: 1px solid #cbd4c5; padding: 20px 0; }
.ie-cookie-section h3 { margin: 0 0 8px; color: #30372d; font: 700 19px/1.4 'Montserrat', Arial, sans-serif; }
.ie-cookie-section p { margin-bottom: 12px; }
.ie-cookie-always { color: #52604b; font-size: 15px; }
.ie-cookie-toggle { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; margin: 0; font-weight: 400; }
.ie-cookie-toggle input { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 54px; height: 30px; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.ie-cookie-track { position: relative; flex: 0 0 54px; width: 54px; height: 30px; border: 2px solid #72796d; border-radius: 18px; background: #72796d; }
.ie-cookie-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.ie-cookie-toggle input:checked + .ie-cookie-track { background: #437631; border-color: #437631; }
.ie-cookie-toggle input:checked + .ie-cookie-track::after { transform: translateX(24px); }
.ie-cookie-toggle input:focus-visible + .ie-cookie-track { outline: 3px solid #126b92; outline-offset: 4px; }
.ie-cookie-dialog .ie-cookie-actions { margin-top: 8px; }
.ie-cookie-reopen { position: fixed; bottom: 12px; left: 12px; z-index: 2147482999; padding: 8px 13px; font-size: 13px; min-height: 44px; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); }
.ie-cookie-reopen[hidden] { display: none !important; }
.ie-cookie-storage { margin: 12px 0 0 !important; font-size: 14px; }
.ie-map { position: relative; width: 100%; min-height: 220px; background: #f2f5ed; color: #30372d; font: 14px/1.5 'Montserrat', Arial, sans-serif; }
.embed-responsive > .ie-map { position: absolute; inset: 0; min-height: 0; }
.ie-map-content, .ie-map-content iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ie-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 12px; text-align: center; overflow-y: auto; }
.ie-map-placeholder p { margin: 0; }
.ie-map-button { font-size: 13px; padding: 8px 12px; min-height: 44px; }
@media (max-width: 600px) {
  .ie-cookie { inset: auto 8px 8px; width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 18px; border-width: 3px; font-size: 14px; }
  .ie-cookie h2 { font-size: 20px; }
  .ie-cookie-actions { flex-direction: column; }
  .ie-cookie-button { width: 100%; font-size: 14px; }
  .ie-cookie-dialog { padding: 20px; border-width: 3px; font-size: 14px; }
  .ie-cookie-dialog h2 { font-size: 24px; }
  .ie-cookie-section h3 { font-size: 18px; }
}
@media (max-width: 767px) {
  .ie-cookie-reopen {
    display: none !important;
  }
}
