/* Ported from production: components-internal/swiper/CSwiper.tsx + CSwiper.styled.ts */
.Swipper {
  width: 100%;
  height: 100%;
  position: relative;
}

.Swipper:not(.Swipper--disable-internal-spacing) > .swiper > .swiper-wrapper > .swiper-slide {
  margin-right: var(--cswiper-space-between, 12px);
}

.Swipper:not(.Swipper--disable-internal-spacing) > .swiper > .swiper-wrapper > .swiper-slide:last-child {
  margin-right: 0;
}

.cswiper-outside-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.cswiper-outside-layout > .Swipper {
  flex: 1;
  min-width: 0;
}

.cswiper-arrow-slot {
  width: 20px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .cswiper-arrow-slot {
    width: 40px;
  }
}

.cswiper-arrow-slot .outside-arrow-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cswiper-arrow-slot--visible .outside-arrow-btn {
  opacity: 1;
  pointer-events: auto;
}

/* CSwiper carousel arrows — from CSwiper.tsx arrowStylesInside + StyledSwiper */
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.swiper:hover > .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.swiper > .carousel-arrow {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
