/* Swiper CSS Import */
@import url('https://unpkg.com/swiper/swiper-bundle.min.css');
 
/* Carousel Styles */
.carousel-wrapper {
  max-width: 100vw;
  position: relative;
  overflow: hidden; 
}

.swiper-container {
  max-width: 100vw;
  width: 100vw;
  height: 100%; /* Adjust as needed */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  height: 42vw;
  width: 60vw;
  object-fit: cover;
  @media (max-width: 768px) {
    height: 120vw;  
    width: 100vw;
  }
}

.swiper-pagination {
  display: block;
  position: relative;
  justify-content: center;
  margin-top: 20px;
  padding: 30px 0;
  background-color: #232f4c;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  margin: 0 5px;
  cursor: pointer;
}

.swiper-pagination-bullet-active { 
  background: rgba(255, 255, 255, 0.7);
}

.swiper-button-prev {
  left: 5vw;
  &::after {
    transform: rotate(135deg);
  }
}

.swiper-button-next {
  right: 5vw;
  &::after {
    transform: rotate(-45deg);
  }
}

.swiper-button-prev, .swiper-button-next {
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  @media (max-width: 768px) {
    display: none;
  }
  
  &::after {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border: solid rgba(244, 236, 228, 0.8);
    border-width: 0 4px 4px 0;
  }
}

/* ProductCategoriesComponent */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s forwards;
}
