/* Vidéo produit DermoPro - diapositive et vignette de la galerie de la fiche produit */
.dp-video-slide { display: flex; align-items: center; justify-content: center; }
.dp-video { position: relative; width: 100%; aspect-ratio: 1000 / 1048; overflow: hidden; border-radius: inherit; background: #0f1416; }
.dp-video__media, .dp-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0f1416; }
.dp-video__media { object-fit: contain; }
.dp-video__start { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #0f1416; cursor: pointer; }
.dp-video__poster { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .25s, transform .5s; }
.dp-video__start:hover .dp-video__poster { opacity: 1; transform: scale(1.02); }
.dp-video__play, .dp-video-thumb__play {
  position: absolute; top: 50%; left: 50%; display: block; border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(47, 181, 210, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s, background .2s;
}
.dp-video__play { width: 78px; height: 78px; }
.dp-video__play::after, .dp-video-thumb__play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-color: transparent transparent transparent #fff;
}
.dp-video__play::after { border-width: 14px 0 14px 23px; }
.dp-video__start:hover .dp-video__play, .dp-video__start:focus-visible .dp-video__play { transform: translate(-50%, -50%) scale(1.08); background: #1f97b1; }
.dp-video__start:focus-visible { outline: 3px solid #2fb5d2; outline-offset: -3px; }
/* la loupe de zoom du thème n'a pas de sens sur une vidéo */
.dp-video-slide .product-zoom-container, .dp-video-slide .product-zoom-img { display: none !important; }

.dp-video-thumb { cursor: pointer; }
.dp-video-thumb__box {
  position: relative; display: block; width: 100%; aspect-ratio: 1000 / 1048; overflow: hidden; border-radius: 10px;
  background: linear-gradient(135deg, #1f97b1, #0f5f72);
}
.dp-video-thumb__img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.dp-video-thumb__play { width: 34px; height: 34px; }
.dp-video-thumb__play::after { border-width: 7px 0 7px 11px; }
.dp-video-thumb__label {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 20px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .3px;
}
