/* nexsole — product page photo/video gallery (added 30 Nov 2026).
 * Loaded by product.php only. Thumbnails swap the main view; a video
 * thumbnail swaps in an inline player. The main photo keeps the
 * existing .product-media look (square, 1/1, cover). */
.pgal-stage video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
}
.pgal-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pgal-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}
.pgal-thumb.is-active { border-color: var(--brand); }
/* Beat the .product-media img rule (square crop + border) for thumbs. */
.product-media .pgal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
  display: block;
}
.pgal-thumb-video {
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pgal-play { font-size: 1.3rem; line-height: 1; }
.pgal-vlabel {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  font-size: .6rem;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}
