/**
 * Native Carousel Styles
 * Lightweight replacement for Swiper CSS
 */

/* Base carousel styles */
.swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
}

.swiper-slide {
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Navigation buttons */
.elementor-swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: none;
}

.elementor-swiper-button:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.elementor-swiper-button-prev {
  left: 10px;
}

.elementor-swiper-button-next {
  right: 10px;
}

.elementor-swiper-button i,
.elementor-swiper-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Pagination */
.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swiper-pagination-bullet:hover {
  background: #999;
}

.swiper-pagination-bullet-active {
  background: #373880;
  transform: scale(1.2);
}

/* Logo carousel specific - As Seen On section */
.elementor-element-62e03f5 .swiper {
  overflow: hidden !important;
}

.elementor-element-62e03f5 .swiper-wrapper {
  display: flex !important;
  width: max-content !important;
}

.elementor-element-62e03f5 .swiper-slide {
  flex-shrink: 0 !important;
  width: auto !important;
}

.elementor-element-62e03f5 .elementor-carousel-image {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  min-width: 100px !important;
  height: 50px !important;
}

/* Hide any Swiper-specific elements we don't need */
.swiper-button-lock,
.swiper-pagination-lock {
  display: none !important;
}

/* Smooth transitions */
.swiper-wrapper {
  transition: transform 0.3s ease;
}

/* Touch handling */
.swiper {
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

/* Prevent image dragging */
.swiper-slide img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Accessibility */
.swiper[aria-roledescription="carousel"] {
  outline: none;
}

.swiper:focus-visible {
  outline: 2px solid #373880;
  outline-offset: 2px;
}
