/* Swiper Vertical Scroll Lock - Updated */

/* Default: desktop/tablet - enable internal vertical scrolling */
.slide-vertical-scroll {
  display: flex !important;
  flex-direction: column;
  max-height: 90vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* Ensure inner container behaves */
.slide-vertical-scroll .e-con-inner {
  flex-shrink: 0;
  min-height: 0;
}

/* Make carousel occupy full viewport height only if intended.
   Avoid globally hiding page scroll. Do not set html/body overflow here. */
.my-carousel,
.swiper {
  height: 100vh;
}

.swiper-slide {
  height: 100vh;
}

/* Mobile: disable scroll lock, allow slides to expand naturally */
@media (max-width: 767px) {
  .slide-vertical-scroll {
    max-height: none !important;
    overflow-y: visible !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  /* Optional: allow slides to have auto height on mobile */
  .my-carousel,
  .swiper,
  .swiper-slide {
    height: auto;
  }
}
