/* Orus Video Module — Minimal styling */

/* Product page: injected video slide — force 1:1 to match product image square */
.orus-injected-video .wvg-single-gallery-video-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.orus-injected-video .wvg-single-gallery-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
  display: block;
}

/* WVG-native video slides (not injected by us) */
.wvg-gallery-video-slider:not(.orus-injected-video) .wvg-single-gallery-video-container video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* Gallery lock: disable navigation while video plays */
.orus-video-playing .slick-arrow,
.orus-video-playing .slick-dots,
.orus-video-playing .woo-variation-gallery-thumbnail-slider,
.orus-video-playing .wvg-gallery-thumbnail-image {
  pointer-events: none;
  opacity: 0.4;
}

.orus-video-playing .slick-track {
  pointer-events: none;
}

/* Video thumbnail in the gallery thumbnail strip.
   .orus-video-thumb is on the .slick-slide element itself. */
.orus-video-thumb {
  position: relative !important;
  overflow: hidden !important;
  background: #111 !important;
  cursor: pointer;
}

/* The WVG Pro inner wrapper — make it fill the slide and be transparent */
.orus-video-thumb .wvg-gallery-thumbnail-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  display: block !important;
}

/* Logo: use !important to override WVG Pro's inline "width:100%;display:inline-block" */
.orus-video-thumb .orus-thumb-logo {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 72% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Play indicator as pseudo-element */
.orus-video-thumb::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Archive page: video overlay on product thumbnail */
.orus-archive-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
  background: #000;
  pointer-events: none; /* clicks pass through to the product link */
}

/* Archive page: variation image overlay (no video) */
.orus-archive-hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
  pointer-events: none; /* clicks pass through to the product link */
}

/* Product page: professional mute/unmute toggle button */
.orus-unmute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  cursor: pointer;
  padding: 0;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.12s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.orus-unmute-btn:hover {
  background: rgba(0, 0, 0, 0.82);
  transform: scale(1.09);
}

.orus-unmute-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  display: block;
  pointer-events: none;
  flex-shrink: 0;
}

/* Default state: muted — show icon-off, hide icon-on */
.orus-unmute-btn .icon-on  { display: none; }

/* Unmuted state */
.orus-unmute-btn.orus-unmuted .icon-off { display: none; }
.orus-unmute-btn.orus-unmuted .icon-on  { display: block; }
