@import "@splidejs/splide/dist/css/splide.min.css";
/**
 * Splide Custom Styling
 */
/* Main slider styling */
.splide {
  margin-bottom: 2rem;
  position: relative;
}

/* Slide content styling */
.splide__slide {
  display: flex;
  flex-direction: column;
}

/* Custom arrows */
.splide .custom-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  right: 0;
  z-index: 2;
}

.splide .splide__arrow {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out;
}

.splide .splide__arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
}

.splide .splide__arrow--prev {
  left: 1rem;
}

.splide .splide__arrow--next {
  right: 1rem;
}

.splide .splide__arrow svg {
  fill: #40444d;
  width: 1.5rem;
  height: 1.5rem;
}

/* Custom pagination */
.splide .splide__pagination {
  bottom: -1.5rem;
}

.splide .splide__pagination__page {
  background: #e0e2e5;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.splide .splide__pagination__page.is-active {
  background: #9e1c62;
  transform: scale(1.2);
  opacity: 1;
}

/* Thumbnails navigation */
.splide-thumbnail {
  margin-top: 0.5rem;
}

.splide-thumbnail .splide__slide {
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border: 3px solid transparent;
  overflow: hidden;
  border-radius: 0.25rem;
}

.splide-thumbnail .splide__slide.is-active {
  opacity: 1;
  border-color: #9e1c62;
}

.splide-thumbnail .splide__slide:hover {
  opacity: 0.8;
}

.splide-thumb-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.splide-thumb-text {
  padding: 8px;
  text-align: center;
  font-size: 0.875rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f5f7;
}

/* Specific slider types */
.fade-splide .splide__slide {
  opacity: 0;
  transition: opacity 400ms;
}

.fade-splide .splide__slide.is-active {
  opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 640px) {
  .splide .splide__arrow {
    width: 2rem;
    height: 2rem;
  }
  .splide .splide__arrow svg {
    width: 1rem;
    height: 1rem;
  }
  .splide .splide__pagination {
    bottom: -1rem;
  }
}
/* Integration with Madenta theme */
.splide .element {
  display: flex;
  flex-flow: column;
  width: 100%;
}