@import "../../scss/_bootstrap-extended/include";
@import "swiper/css/bundle";

.swiper {
  --swiper-theme-color: var(--#{$prefix}primary);
  inline-size: 100%;

  .swiper-slide {
    color: $white;
  }
}
.swiper#swiper-multiple-slides {
  @include media-breakpoint-down(sm) {
    block-size: 11rem;
  }
}

.swiper-button-prev,
.swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;

  &::after {
    font-size: 1.2rem;
    font-weight: $font-weight-medium;
  }

  &.swiper-button-white {
    color: $white;
  }

  :dir(rtl) & {
    transform: scaleX(-1);
  }

  &.custom-icon {
    background-image: none;
    line-height: 1;

    &::after {
      font-size: 1.2rem;
      font-weight: $font-weight-medium;
    }
  }
}

.swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--#{$prefix}primary);
}

.swiper-pagination-bullet {
  background: rgba($pure-black, .7);
}

.swiper-pagination-progressbar,
.swiper-scrollbar {
  background: rgba($pure-black, .08);
}

.swiper-scrollbar-drag {
  background: rgba($pure-black, .3);
}

:dir(rtl) {
  .swiper-button-next {
    inset-inline: 10px auto;
  }

  .swiper-button-prev {
    inset-inline: auto 10px;
  }

  .swiper-vertical {
    > .swiper-pagination-bullets {
      inset-inline: 10px auto;
    }
  }
}
