/*
 * Jedan scroll lanac za predloške. overflow-x: hidden na html i body
 * računa overflow-y u auto, pa prvi kotač / swipe preko heroja ne pomakne stranicu.
 * Ne učitava se na barbershop K4. Otvoreni izbornik i dalje zaključava skrol.
 */
html[data-slotivo-template-ready]:not(.slotivo-scroll-locked) {
  overflow: visible !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: pan-y;
}

html[data-slotivo-template-ready] body:not(.slotivo-scroll-locked) {
  overflow: visible !important;
  max-width: none;
  -webkit-overflow-scrolling: auto !important;
  touch-action: pan-y;
}

html:has(#slotivo-mobile-menu.slotivo-menu-open),
html:has(#slotivo-mobile-menu.slotivo-menu-open) body {
  overflow: hidden !important;
  touch-action: none !important;
}
