#productCarousel .wa-gallery-video-controls {
  position: absolute;
  z-index: 6;
  inset: auto 54px 8px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px 0 2px;
  border-radius: 10px;
  background: rgb(17 17 17 / 82%);
  color: #fff;
  cursor: default;
}

#productCarousel .wa-gallery-video-controls[hidden] { display: none; }
#productCarousel.wa-gallery-video-active .carousel-counter { bottom: 58px; }

.wa-gallery-video-controls button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.wa-gallery-video-controls button:hover { background: rgb(255 255 255 / 12%); }
.wa-gallery-video-controls[data-playing="true"] .wa-video-play,
.wa-gallery-video-controls[data-playing="false"] .wa-video-pause { display: none; }

.wa-gallery-video-controls input[type="range"] {
  flex: 1;
  min-width: 0;
  height: 34px;
  margin: 0;
  accent-color: #ff6a28;
  cursor: pointer;
  touch-action: none;
}

.wa-gallery-video-controls :focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.wa-gallery-video-controls span {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
