/* Elementor-specific fixes for LPS Collection Carousel */

/* Prevent Elementor containers from clipping slider arrows/overflow */
.elementor .elementor-widget-lps-collection-carousel,
.elementor .elementor-widget-lps-collection-carousel .elementor-widget-container {
  overflow: visible !important;
}

/* Keep slider nav above banner overlays */
.c-collections-carousel .c-slider__nav {
  position: absolute;
  z-index: 5;
}

/* Ensure nav is visible by default (theme may reveal on hover; this makes it robust) */
.c-collections-carousel__slider .c-slider__nav {
  opacity: 1;
  visibility: visible;
}

/* Guard: allow slider content to overflow within its own area */
.c-collections-carousel__wrapper .c-slider {
  overflow: visible;
}



/* Ensure arrows center inside wrapper (loads after theme CSS) */
.c-collections-carousel__wrapper { position: relative; }
.c-collections-carousel__wrapper .c-slider__nav {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  z-index: 50 !important;
  pointer-events: none !important;
  margin-top: 0 !important;
}
.c-collections-carousel__wrapper .c-slider__nav .c-slider__nav-button,
.c-collections-carousel__wrapper .swiper-nav .c-slider__nav-button,
.c-collections-carousel__wrapper .swiper-nav .swiper-button-prev,
.c-collections-carousel__wrapper .swiper-nav .swiper-button-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  pointer-events: auto !important;
}
.c-collections-carousel__wrapper .c-slider__nav .c-slider__nav-button--prev,
.c-collections-carousel__wrapper .swiper-nav .c-slider__nav-button--prev,
.c-collections-carousel__wrapper .swiper-nav .swiper-button-prev { left: 8px !important; }

/* Neutralize theme translate on nav container so arrows center correctly */
.c-collections-carousel__wrapper .c-slider__nav {
  transform: none !important;
  top: 0 !important;
}

.c-collections-carousel__wrapper .c-slider__nav .c-slider__nav-button--next,
.c-collections-carousel__wrapper .swiper-nav .c-slider__nav-button--next,
.c-collections-carousel__wrapper .swiper-nav .swiper-button-next { right: 8px !important; }
