/* Lazy Day fullscreen sections, navigation and shutter. */

/* Alleen de minimumhoogte komt van de plugin; Divi beheert alle spacing. */
.et_pb_section.lazyday-screen-section,
.et_pb_section.lazyday-section-screen,
.et_pb_section.layday-screen-section,
.et_pb_section.laziday-screen-section {
  box-sizing: border-box;
  min-height: 100vh;

}

/* Optionele fullwidth-rij, zonder geforceerde marges of padding. */
:is(.lazyday-screen-section, .lazyday-section-screen, .layday-screen-section, .laziday-screen-section)
  > .et_pb_row.lazyday-fullwidth-row {
  width: 100%;
  max-width: none;
}

/* De originele Lazy Day-pijlen worden inline door het script geplaatst. */
.lazyday-section-nav {
  position: fixed !important;
  z-index: 2147483000 !important;
  right: 16px !important;
  display: grid !important;
  place-items: center !important;
  width: clamp(46px, 5vw, 60px) !important;
  height: clamp(46px, 5vw, 60px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lazyday-section-nav-color, #281d35) !important;
  font-size: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease !important;
}

.lazyday-section-prev { top: 10px !important; }
.admin-bar .lazyday-section-prev { top: 48px !important; }
.lazyday-section-next { bottom: 20px !important; }

.lazyday-section-nav svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lazyday-section-nav .lazyday-arrow-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: .92px;
  stroke-miterlimit: 10;
}

.lazyday-section-nav .lazyday-arrow-fill { fill: currentColor; }

.lazyday-section-prev:hover { transform: translateY(-3px); }
.lazyday-section-next:hover { transform: translateY(3px); }

.lazyday-section-nav:focus-visible {
  outline: 3px solid #d8a24a !important;
  outline-offset: 3px !important;
}

.lazyday-section-nav.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .lazyday-section-prev,
  .lazyday-section-next {
    top: auto !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }

  .lazyday-section-prev { right: 76px !important; }
  .lazyday-section-next { right: 18px !important; }
}

.lazyday-shutter {
  position: fixed;
  z-index: 99989;
  inset: 0;
  background: var(--lazyday-shutter-color, #fec303);
  pointer-events: none;
  transform: translate3d(0, 101%, 0);
  will-change: transform;
}

.lazyday-shutter.is-entering {
  transform: translate3d(0, 0, 0);
  transition: transform .5s cubic-bezier(.76, 0, .24, 1);
}

.lazyday-shutter.is-leaving {
  transform: translate3d(0, -101%, 0);
  transition: transform .6s cubic-bezier(.76, 0, .24, 1);
}

html.et-fb-root-ancestor body .et_pb_section.lazyday-screen-section,
html.et-fb-root-ancestor body .et_pb_section.lazyday-section-screen,
html.et-fb-root-ancestor body .et_pb_section.layday-screen-section,
html.et-fb-root-ancestor body .et_pb_section.laziday-screen-section,
body.et-fb .et_pb_section.lazyday-screen-section,
body.et-fb .et_pb_section.lazyday-section-screen,
body.et-fb .et_pb_section.layday-screen-section,
body.et-fb .et_pb_section.laziday-screen-section {
  min-height: 0;
}

html.et-fb-root-ancestor body :is(.lazyday-section-nav, .lazyday-shutter),
body.et-fb :is(.lazyday-section-nav, .lazyday-shutter),
body.et-fb-preview--wireframe :is(.lazyday-section-nav, .lazyday-shutter) {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .lazyday-shutter { transition: none !important; }
}
