/* === SLIDER WRAPPER === */
.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.slider {
  width: 100%;
  max-height: 650px;
}

.slider .img {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.slider .img-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.slider .img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 650px;
}

/* === Flickity Buttons (Prev/Next) === */
.flickity-button {
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.flickity-button:hover {
  background: rgba(0, 0, 0, 0.6);
}

.flickity-button.previous {
  left: 15px;
}

.flickity-button.next {
  right: 15px;
}

/* === Flickity Dots === */
.flickity-page-dots {
  bottom: 15px;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flickity-page-dots .dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

/* === Responsive === */
@media (max-width: 768px) {
  .slider .img img {
    height: auto;
    max-height: 400px;
  }

  .flickity-button {
    width: 36px;
    height: 36px;
  }

  .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
  }
}
