/* Scoped product-gallery zoom and swipe. No global WooCommerce overrides. */
body.single-product .mk-gallery-stage{position:relative;min-width:0}
body.single-product .mk-gallery-stage .mk-gallery-main.mk-gallery-zoom-enabled:not(.mk-gallery-main--video){cursor:zoom-in;touch-action:pan-y}
body.single-product .mk-gallery-stage .mk-gallery-main.mk-gallery-zoom-enabled:not(.mk-gallery-main--video) img{cursor:zoom-in;user-select:none;-webkit-user-drag:none}
body.single-product .mk-gallery-stage .mk-gallery-main.mk-gallery-zoom-enabled:focus-visible{outline:3px solid #275c7c;outline-offset:3px}
body.single-product .mk-gallery-inline-nav{position:absolute;left:8px;right:8px;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:5}
body.single-product .mk-gallery-inline-nav button{pointer-events:auto;display:grid!important;place-items:center;flex:none;width:42px;height:42px;min-width:42px;min-height:42px;padding:0!important;border:1px solid #dce0e5!important;border-radius:999px!important;background:rgba(255,255,255,.93)!important;color:#233344!important;box-shadow:0 2px 10px rgba(0,0,0,.12);font-size:32px!important;font-weight:400!important;line-height:1!important;cursor:pointer}
body.single-product .mk-gallery-inline-nav button:hover,body.single-product .mk-gallery-inline-nav button:focus-visible{background:#fff!important;color:#132c42!important;border-color:#355c77!important}
body.single-product .mk-gallery-image-counter{position:absolute;right:12px;bottom:12px;z-index:4;display:inline-block;padding:5px 11px;border-radius:99px;background:rgba(20,28,36,.77);color:#fff;font-size:12px;font-weight:700;line-height:1.4;pointer-events:none}
body.single-product .mk-gallery-zoom-hint{position:absolute;left:12px;bottom:12px;z-index:4;display:inline-block;padding:5px 11px;border-radius:99px;background:rgba(20,28,36,.77);color:#fff;font-size:12px;font-weight:650;line-height:1.4;pointer-events:none}
body.single-product .mk-gallery-thumbs{overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
body.single-product .mk-gallery-thumbs button[data-mk-gallery]{scroll-snap-align:center}
body.single-product .mk-gallery-thumbs button[data-mk-gallery][aria-pressed="true"]{border:2px solid #245e7a!important;box-shadow:0 0 0 2px rgba(36,94,122,.12)}
body.single-product .mk-gallery-stage--video .mk-gallery-inline-nav,body.single-product .mk-gallery-stage--video .mk-gallery-image-counter,body.single-product .mk-gallery-stage--video .mk-gallery-zoom-hint{display:none!important}
.mk-gallery-lightbox[hidden]{display:none!important}
.mk-gallery-lightbox,.mk-gallery-lightbox *{box-sizing:border-box}
.mk-gallery-lightbox{position:fixed!important;inset:0!important;z-index:2147483000!important;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100vw;height:100vh;height:100dvh;overflow:hidden;background:rgba(10,15,22,.96);color:#fff;overscroll-behavior:contain}
.mk-gallery-lightbox-top{z-index:2;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:calc(9px + env(safe-area-inset-top,0px)) 16px 10px;min-height:58px}
.mk-gallery-lightbox-count{margin-right:auto;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.mk-gallery-lightbox button{display:grid!important;place-items:center;flex:none!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:99px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;font-weight:400!important;line-height:1!important;cursor:pointer}
.mk-gallery-lightbox button:hover,.mk-gallery-lightbox button:focus-visible{background:rgba(255,255,255,.28)!important;outline:2px solid #fff;outline-offset:2px}
.mk-gallery-lightbox-close{font-size:30px!important}
.mk-gallery-lightbox-zoom{font-size:29px!important}
.mk-gallery-lightbox-media{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;touch-action:pan-y}
.mk-gallery-lightbox-photo{display:block;position:relative;max-width:calc(100vw - 24px);max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in;user-select:none;-webkit-user-drag:none;will-change:transform}
.mk-gallery-lightbox.is-zoomed .mk-gallery-lightbox-photo{cursor:grab;touch-action:none}
.mk-gallery-lightbox.is-zoomed .mk-gallery-lightbox-photo:active{cursor:grabbing}
.mk-gallery-lightbox-prev,.mk-gallery-lightbox-next{position:absolute;z-index:2;top:50%;transform:translateY(-50%);font-size:36px!important}
.mk-gallery-lightbox-prev{left:12px}
.mk-gallery-lightbox-next{right:12px}
.mk-gallery-lightbox-bottom{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:8px 16px calc(12px + env(safe-area-inset-bottom,0px));font-size:12px;text-align:center;color:rgba(255,255,255,.84)}
.mk-gallery-lightbox-error{color:#ffd0d0}
@media(max-width:600px){
 body.single-product .mk-gallery-inline-nav{left:6px;right:6px}
 body.single-product .mk-gallery-inline-nav button{width:38px;min-width:38px;height:38px;min-height:38px;font-size:28px!important}
 body.single-product .mk-gallery-image-counter,body.single-product .mk-gallery-zoom-hint{font-size:11px;bottom:9px}
 .mk-gallery-lightbox-prev{left:6px}.mk-gallery-lightbox-next{right:6px}
 .mk-gallery-lightbox button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
}
@media(prefers-reduced-motion:reduce){
 .mk-gallery-lightbox-photo{transition:none}
}