/* Vervangt het gedrag dat de Framer-runtime normaal toevoegt */

/* Fotosliders: horizontaal scrollen met snap */
.es-track {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.es-track::-webkit-scrollbar { display: none; }
.es-track > li { scroll-snap-align: start; }

/* Inschuif-animatie (alleen voor elementen onder de vouw) */
.es-reveal.es-pending { opacity: 0; transform: translateY(24px); }
.es-reveal.es-animate { transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) {
  .es-reveal.es-pending { opacity: 1; transform: none; }
}

/* 'Meer over dit zwembad' uitklappen */
[data-framer-name="Paneel"] { transition: opacity .25s ease; }
.es-open > button [data-framer-name="Pijl"] { transform: rotate(180deg) !important; transition: transform .25s ease; }
[data-framer-name="Knop"] [data-framer-name="Pijl"] { transition: transform .25s ease; }

/* Cookiemelding */
.es-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 460px; margin-left: auto;
  background: #0b1736; color: #fff;
  border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 12px 40px rgba(11, 23, 54, .35);
  font: 15px/1.5 "Inter", system-ui, sans-serif;
  display: none;
}
.es-cookie.es-show { display: block; animation: esCookieIn .3s ease both; }
.es-cookie p { margin: 0 0 14px; color: rgba(255,255,255,.85); }
.es-cookie strong { display: block; font-size: 16px; margin-bottom: 6px; color: #fff; }
.es-cookie a { color: rgb(127, 208, 243); }
.es-cookie .es-cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.es-cookie button {
  flex: 1 1 0; cursor: pointer; border: 0; border-radius: 12px;
  padding: 12px 18px; font: 600 15px/1 "Inter", system-ui, sans-serif;
}
.es-cookie .es-accept { background: rgb(39, 162, 215); color: #fff; }
.es-cookie .es-decline { background: rgba(255,255,255,.1); color: #fff; }
.es-cookie button:focus-visible { outline: 2px solid rgb(127, 208, 243); outline-offset: 2px; }
@keyframes esCookieIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
