/* Contenedor */
.epya-video-wrap {
  position: relative;
  width: 100%;
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Video */
.epya-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* Acción flotante (oculto por defecto, aparece al hover) */
.epya-video-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none; /* evita tap/click cuando oculto */
}

/* Mostrar al pasar el mouse/tocar */
.epya-video-wrap:hover .epya-video-actions,
.epya-video-wrap:focus-within .epya-video-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Botones */
.epya-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  backdrop-filter: blur(2px);
  transition: transform .15s ease, opacity .15s ease, background-color .15s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.epya-btn:hover,
.epya-btn:focus {
  transform: translateY(-1px);
}

/* Específico: WhatsApp en su color */
.epya-btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.epya-btn svg {
  display: block;
}
