.umbrella__slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.umbrella__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.umbrella__list {
  display: flex;
  list-style: none !important;
  padding: 0;
  margin: 0 !important;
  width: 100%;

}

.umbrella__slide {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  margin-bottom: 0 !important;
  /* Prevent shrinking */
  width: calc(100% / 3);
  /* Adjust for items per page (e.g., 3 per row) */
  box-sizing: border-box;
}
/* Cloned slides should have the same width */

.lazy-loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-loaded {
  opacity: 1;
}

/* Navigation buttons */
.umbrella__button {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.umbrella__prev,
.umbrella__next {
  pointer-events: all;
  background: transparent;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
}

/* Update your CSS from data-slider-type to dynamic classes */
.umbrella__slider.umbrella--fade .umbrella__list {
  position: relative;
}

.umbrella__slider.umbrella--fade .umbrella__list>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.umbrella__slider.umbrella--fade .umbrella__list>*.umbrella__slide__visible {
  opacity: 1;
  z-index: 1;
}

/* .umbrella__slider[data-slider-type="fade"] .umbrella__list {
  position: relative;
} */

/* .umbrella__slider[data-slider-type="fade"] .umbrella__list>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; */
  /* or whatever your slide width is */
  /* opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
} */
/* 
.umbrella__slider[data-slider-type="fade"] .umbrella__list>.umbrella__slide__visible {
  opacity: 1;
  z-index: 1;
} */

.umbrella__pagination {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgb(35, 35, 35);
}

.umbrella__pagination__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.umbrella__pagination__bullet.active {
  background: #333;
}

@media (max-width: 480px) {
  .umbrella__slider {
    max-width: 100vw;
    /* Full width */
  }

  .umbrella__list {
    display: flex;
    gap: 5px;
  }

  .umbrella__slide {
    flex: 0 0 100%;
    /* One slide per page */
  }

}