/**
 * Lumia Flow — galeria de imagens de produto (reutilizável em vitrines/LPs).
 *
 * Estrutura esperada:
 *   .product-gallery
 *     img.product-gallery__image (ou .product-card__image)
 *     button.product-gallery__nav--prev / --next  (só com 2+ imagens)
 */

.product-gallery {
  position: relative;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #333;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.product-gallery__nav:hover,
.product-gallery__nav:focus-visible {
  background: #fff;
  outline: none;
}

.product-gallery__nav:active {
  transform: translateY(-50%) scale(0.96);
}

.product-gallery__nav--prev {
  left: 8px;
}

.product-gallery__nav--next {
  right: 8px;
}

@media (max-width: 640px) {
  .product-gallery__nav {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .product-gallery__nav--prev {
    left: 6px;
  }

  .product-gallery__nav--next {
    right: 6px;
  }
}
