.product-image .main-image:has(.dp-pv-player) { position: relative; }
.dp-pv-trigger, .dp-pv-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #25162e;
  color: #fff;
  cursor: pointer;
}
.dp-pv-trigger:focus-visible, .dp-pv-photo:focus-visible { outline: 2px solid #e84d91; outline-offset: -3px; }
.dp-pv-trigger img, .dp-pv-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dp-pv-play {
  position: absolute;
  top: calc((100% - 16px) / 2);
  left: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #21172ce8;
}
.dp-pv-play::before {
  content: "";
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}
.dp-pv-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3px 1px;
  background: #21172ce8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.dp-pv-standalone { width: 88px; height: 70px; flex: none; }
.dp-pv-strip { display: flex; gap: 5px; width: 100%; margin-top: 8px; }
.dp-pv-strip button { width: 74px; height: 56px; flex: none; border: 2px solid #d7c9e3; }
.dp-pv-open .main-image { scroll-margin-block: 12px 72px; }
.dp-pv-open .main-image > .swiper-container,
.dp-pv-open .main-image > .dp-pdp-image-badge,
.dp-pv-open .main-image > .product-labels { visibility: hidden; }
.product-image.dp-pv-open .main-image > .swiper-controls { display: none; }
.dp-pv-open .additional-image { border-color: transparent !important; box-shadow: none !important; }
.dp-pv-trigger[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #e84d91;
  border-radius: inherit;
  pointer-events: none;
}
.dp-pv-player {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #150d1a;
}
.dp-pv-player [hidden], .dp-pv-player[hidden] { display: none !important; }
.dp-pv-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-image .dp-pv-player .dp-pv-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  outline: none;
}
.dp-pv-close::before, .dp-pv-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 0 1px #000, 0 1px 3px #0009;
  transform: translate(-50%, -50%) rotate(45deg);
}
.dp-pv-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dp-pv-close:focus-visible::before, .dp-pv-close:focus-visible::after {
  box-shadow: 0 0 0 2px #000, 0 0 0 3px #fff, 0 1px 4px #000c;
}
.dp-pv-error {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #21172ce8;
  color: #fff;
}

.dp-pv-description { margin: 8px 0 0; color: inherit; font-size: .9em; overflow-wrap: anywhere; }
.dp-pv-description[hidden] { display: none !important; }
