.custom-product-gallery {
  display: flex;
  gap: 2rem;
  margin: 20px;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
}

.gallery-thumbnails img {
  width: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.gallery-thumbnails img.active {
  border-color: #000;
}

.gallery-main img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .gallery-thumbnails {
    display: none;
  }
}