.slider-wrapper {
  margin-top: 20px;
  /* padding: 10px; */
  width: 100%;
  max-width: 800px;
  background-color: #fff;
}

.slider {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Кнопки */
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(108, 108, 108, 0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 5px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 15px;
}
.next {
  right: 15px;
}

/* Индикаторы */
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: #d1d1d1 solid 1px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: white;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
