
.gallery {
  width: 100%;
  max-width: 100%;
}

/* 👇 THIS WAS THE MISSING PIECE */
.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* slides */
.slides {
  display: flex;
  transition: transform 0.45s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.55);
  border: none;
  color: white;
  font-size: 32px;
  padding: 6px 14px;
  cursor: pointer;
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

/* dots */
.dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #777;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #fff;
}

/* thumbnails */
.thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumbs img {
  height: 70px;
  cursor: pointer;
  opacity: 0.5;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s;
}

.thumbs img.active {
  opacity: 1;
  transform: scale(1.05);
}