.product-gallery { min-width:0; }
.media-stage { position:relative; background:#f2f6f8; aspect-ratio:1; overflow:hidden; }
.media-track { display:flex; width:100%; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
.media-track::-webkit-scrollbar { display:none; }
.media-slide { position:relative; flex:0 0 100%; min-width:0; height:100%; scroll-snap-align:start; scroll-snap-stop:always; }
.media-slide > img, .media-slide > video { width:100%; height:100%; display:block; object-fit:contain; }
.media-slide > img { padding:28px; mix-blend-mode:multiply; }
.media-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:40px; height:48px; border:1px solid #dbe3e8; border-radius:3px; background:rgba(255,255,255,.94); color:#102330; cursor:pointer; font-size:30px; line-height:1; }
.media-prev { left:12px; }.media-next { right:12px; }
.media-arrow:hover { background:#fff; border-color:#087aa1; }
.media-count { position:absolute; right:14px; top:14px; border-radius:16px; background:rgba(16,35,48,.78); color:#fff; padding:3px 11px; font-size:12px; pointer-events:none; font-variant-numeric:tabular-nums; }
.media-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:64px; height:64px; display:grid; place-items:center; padding:0 0 0 4px; background:rgba(8,122,161,.94); border:2px solid #fff; border-radius:50%; color:white; font-size:23px; box-shadow:0 2px 12px #10233022; cursor:pointer; }
.media-play[hidden] { display:none; }
.media-thumbs { display:flex; gap:10px; margin-top:12px; padding:3px; overflow-x:auto; }
.media-thumb { position:relative; flex:0 0 78px; width:78px; height:78px; padding:4px; background:#f2f6f8; border:1px solid #dbe3e8; cursor:pointer; border-radius:2px; }
.media-thumb[aria-current=true] { border:2px solid #087aa1; padding:3px; }
.media-thumb img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.media-video-badge { position:absolute; bottom:4px; left:4px; right:4px; background:#102330dd; color:#fff; text-align:center; font-size:10px; line-height:1.7; }
.media-track:focus-visible { outline:3px solid #087aa1; outline-offset:-3px; }
@media(max-width:760px) { .media-arrow { width:36px; height:44px; }.media-prev { left:8px; }.media-next { right:8px; }.media-slide>img { padding:22px; }.media-thumb { flex-basis:64px; width:64px; height:64px; } }
@media(prefers-reduced-motion:reduce) { .media-track { scroll-behavior:auto; } }

.woocommerce div.product .product-gallery{float:left;width:48%;margin-bottom:2em}
@media(max-width:768px){.woocommerce div.product .product-gallery{float:none;width:100%}}
