/* slider.css */
body { background: #808080; }

#img_slider { text-align: center; padding-top: 80px; }

/* thumbnail strip */
#small_image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
#small_image img {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
#small_image img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
}
@media (max-width: 580px) {
  #small_image img { width: calc(33vw - 14px); height: calc(33vw - 14px); }
}

/* big image in a scrollable container so zoom works */
#big_image {
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 12px 80px;
}
#big_image img {
  width: min(600px, 96vw);
  height: auto;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  flex-shrink: 0;
  transition: width 0.2s ease;
}

/* zoom buttons */
.float_btn {
  position: fixed;
  left: 12px; bottom: 50%;
  transform: translateY(50%);
  z-index: 1000;
  display: flex; flex-direction: column; gap: 8px;
}
#zoomInButton, #zoomOutButton {
  background: rgba(0,100,220,0.6);
  color: #fff; font-size: 26px; font-weight: bold;
  border: none; border-radius: 50%;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, transform 0.15s;
}
#zoomInButton:hover, #zoomOutButton:hover {
  background: rgba(0,70,190,0.85);
  transform: scale(1.1);
}
#zoomInButton:focus, #zoomOutButton:focus { outline: none; }
@media (max-width: 640px) {
  .float_btn {
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
  }
}
