@charset "UTF-8";
/* ===== Galería de imágenes + zoom del detalle de producto (detalle.php) =====
   Miniaturas abajo de la imagen principal (estilo MercadoLibre) y zoom al
   pasar el mouse (desktop) sin abrir ningún modal/lightbox -- la imagen se
   agranda "en el lugar", siguiendo el cursor. */

.pod-img-main {
  position: relative;
  cursor: zoom-in;
}

.pod-img-main[data-pod-gallery-main] {
  overflow: hidden;
}

.pod-img[data-pod-gallery-img] {
  transition: transform .18s ease;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Solo dispositivos con mouse real: en touch el zoom "en el lugar" no tiene
   sentido (no hay hover), ahí alcanza con el pinch-zoom nativo del navegador. */
@media (hover: hover) and (pointer: fine) {
  .pod-img-main.is-zoomed .pod-img[data-pod-gallery-img] {
    transform: scale(2.2);
  }
}

.pod-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  display: none;
  align-items: center;
  justify-content: center;
  color: #555;
  pointer-events: none;
}
.pod-zoom-hint .material-icons { font-size: 18px; }

@media (hover: hover) and (pointer: fine) {
  .pod-zoom-hint { display: flex; }
}

/* ── Tira de miniaturas ── */
.pod-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.pod-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
  transition: border-color .12s ease;
}
.pod-thumb:hover { border-color: #bbb; }
.pod-thumb.is-active { border-color: #3483FA; }

.pod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .pod-thumb { width: 56px; height: 56px; }
  .pod-zoom-hint { display: none; }
}

/* ── Video embebido (reemplaza la imagen principal al clickear una
   miniatura de video) ── */
.pod-video-frame {
  position: absolute;
  inset: 0;
  background: #000;
}
.pod-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Miniatura de video: thumbnail (YouTube) o ícono de Instagram, con
   un botón de play superpuesto para que se note que es un video. ── */
.pod-thumb--video { position: relative; background: #111; }
.pod-thumb--video img { object-fit: cover; opacity: .85; }
.pod-thumb-video-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.pod-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.pod-thumb-play .material-icons { font-size: 22px; }
