/* STELLA VideoMotion: independent styles, safe to merge into existing InSales themes. */

.stella-vm-card,.stella-vm-detail{position:relative;min-width:0;background:#fff;border-radius:16px;overflow:hidden}
.stella-vm-player{position:relative}
.stella-vm-media{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:#f4f0ed}
.stella-vm-media img,.stella-vm-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.stella-vm-media img{opacity:1;transition:opacity .22s ease}
.stella-vm-media video{opacity:0;pointer-events:none;transition:opacity .22s ease}
.stella-vm-playing .stella-vm-media img{opacity:0}
.stella-vm-playing .stella-vm-media video{opacity:1}
.stella-vm-sound{position:absolute;z-index:3;right:12px;bottom:12px;width:43px;height:43px;border-radius:50%;border:1px solid rgba(20,20,20,.12);background:rgba(255,255,255,.94);color:#2d2726;box-shadow:0 4px 16px rgba(0,0,0,.12);display:grid;place-items:center;font-size:20px;cursor:pointer}
.stella-vm-sound:focus-visible{outline:3px solid #a76d6c;outline-offset:3px}
.stella-vm-sound[hidden]{display:none}
.stella-vm-video-label{position:absolute;z-index:2;left:12px;top:12px;max-width:calc(100% - 24px);padding:6px 10px;background:rgba(255,255,255,.93);color:#3c3434;font-size:12px;font-weight:650;line-height:1.2;border-radius:999px;pointer-events:none}
.stella-vm-details{padding:14px 4px;color:#332b2b}
.stella-vm-card .stella-vm-media-link{display:block;text-decoration:none}
.stella-vm-details a{font-size:15px;font-weight:650;color:inherit;text-decoration:none;line-height:1.4}
.stella-vm-details a:hover{text-decoration:underline}
.stella-vm-details .stella-vm-price{display:block;margin-top:8px;font-size:15px}
.stella-vm-error video{display:none}
@media (max-width:720px){.stella-vm-card,.stella-vm-detail{border-radius:12px}.stella-vm-sound{width:44px;height:44px}}
@media (prefers-reduced-motion:reduce){.stella-vm-media img,.stella-vm-media video{transition:none}}

/* STELLA: show the full product image, without cutting the garment off. */
.stella-vm-media img{object-fit:contain;background:#f4f0ed}
