/* Vídeos en la galería de producto – Fernández y Roche */
.fyrpv-slide { position: relative; }
.fyrpv-frame { position: relative; width: 100%; overflow: hidden; background: #f3efe9; }
.fyrpv-frame video, .fyrpv-frame .fyrpv-poster, .fyrpv-frame iframe,
.fyrpv-embed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.fyrpv-embed iframe.is-bg { pointer-events: none; transform: scale(1.35); } /* recorta franjas del reproductor de fondo */
.fyrpv-embed.is-loaded .fyrpv-poster { display: none; }
.fyrpv-embed.is-loaded:not([data-bg]) .fyrpv-bigplay { display: none; }
.fyrpv-embed[data-bg].is-loaded .fyrpv-bigplay { opacity: 0; } /* clic = activar controles */

.fyrpv-controls { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 3; }
.fyrpv-btn { position: relative; width: 36px; height: 36px; border-radius: 50% !important; border: 0 !important; padding: 0 !important; min-width: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: #1d1d1b; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: background .2s; }
.fyrpv-btn:hover { background: #fff; }
.fyrpv-btn:focus-visible { outline: 2px solid #1d1d1b; outline-offset: 2px; }

/* Iconos según estado */
.fyrpv-btn .i-play, .fyrpv-btn .i-sound { display: none; }
.is-paused .fyrpv-btn .i-play, .is-unmuted .fyrpv-btn .i-sound { display: block; }
.is-paused .fyrpv-btn .i-pause, .is-unmuted .fyrpv-btn .i-muted { display: none; }

.fyrpv-bigplay { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(0,0,0,.2); z-index: 2; }
.fyrpv-bigplay::after { content: ""; position: absolute; left: 27px; top: 22px; border-left: 20px solid #1d1d1b;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent; }

/* Miniaturas */
.fyrpv-thumb { position: relative; cursor: pointer; }
.fyrpv-thumb-frame { position: relative; width: 100%; overflow: hidden; background: #f3efe9; }
.fyrpv-thumb-frame img, .fyrpv-thumb-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fyrpv-thumb-play { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; background: rgba(255,255,255,.9); }
.fyrpv-thumb-play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #1d1d1b;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Galería sin carrusel (rejilla / columna) */
.fyrpv-static { width: 100%; margin-bottom: inherit; }

/* Bloque independiente (hook displayProductVideos) */
.fyrpv-standalone { display: grid; gap: 16px; }

@media (prefers-reduced-motion: reduce) { .fyrpv-btn { transition: none; } }
