/* iOS-only fixes (applies when <html> has .is-ios) */
.is-ios html,
.is-ios body {
  overflow-x: hidden;
  min-height: 100%;
}

/* Full-height sections: use dynamic viewport unit on modern iOS */
.is-ios .elementor-section-height-full,
.is-ios .e-con-full-height {
  min-height: 100svh;
}

/* Smooth scroll within inner containers (when overflow is auto) */
.is-ios .scroll-container,
.is-ios .elementor-widget-container[style*="overflow: auto"] {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  max-height: 100svh;
}

/* Avoid page-level scroll snapping on iOS which can lock scroll near bottom */
.is-ios html { 
  scroll-snap-type: none;
}

/* Optional: neutralize sticky/fixed Elementor headers/sections on small screens when admin enables it */
@media (max-width: 767px) {
  .is-ios.ios-sticky-off .elementor-sticky--active,
  .is-ios.ios-sticky-off .elementor-sticky--effects {
    position: static !important;
    top: auto !important;
  }
}
