/* anchor + video overlay (unchanged) */
.product-element-top { position: relative; }
.cm-media-host { position: relative !important; display:block !important; }
.cm-archive-video{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:inherit !important;
  z-index:2 !important;
  pointer-events:none !important;
  opacity:0; visibility:hidden;
  transition:opacity .12s ease-out;
}
.cm-video-on .cm-archive-video{ opacity:1; visibility:visible; }
.cm-archive-video.cm-hidden{ opacity:0; visibility:hidden; }

/* minimal circular play icon (our fallback) — MOBILE ONLY */
.cm-video-play-btn{
  position:absolute !important;
  left:10px; bottom:10px;
  width:36px; height:36px;
  border-radius:9999px;
  background:rgba(0,0,0,0) !important;
  color:#222;
	border-radius:100px !important;
  border:0; padding:0;
  box-shadow:0 2px 6px rgba(0,0,0,.12) !important;
  display:none !important; /* hidden by default; shown on mobile below */
  z-index:4;
	align-items:center; 
	justify-content:center;
}
.cm-video-play-btn .cm-play-icon{
  width:0; height:0;
  border-left:11px solid currentColor;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  margin-left:2px;
}

/* Hide ALL play icons on desktop (don’t touch desktop UI/behavior) */
@media (any-hover:hover) and (pointer:fine){
  .cm-video-play-btn,
  .product-element-top .wd-video-btn,
  .product-element-top .wd-play-btn,
  .product-element-top .woodmart-video-btn { display:none !important; }
}

/* Keep Woodmart overlays above video if present */
.product-element-top .hover-content,
.product-element-top .wrapp-swatches,
.product-element-top .wd-buttons,
.product-element-top .wd-bottom-actions{
  position:relative; z-index:3;
}
/* Show play icon ONLY on mobile/tablet */
@media (max-width: 1024px){
  .cm-video-play-btn,
  .product-element-top .wd-video-btn,
  .product-element-top .wd-play-btn,
  .product-element-top .woodmart-video-btn {
    display:flex !important;
    align-items:center; justify-content:center;
  }
}

/* Keep theme overlays above the video if present */
.product-element-top .hover-content,
.product-element-top .wrapp-swatches,
.product-element-top .wd-buttons,
.product-element-top .wd-bottom-actions{
  position:relative; z-index:3;
}