#product-gallery.gallery-main{position:relative;height:clamp(300px,60vw,520px);width:100%;box-sizing:border-box}
#product-gallery #main-photo-btn{height:100%;touch-action:pan-y pinch-zoom}
#product-gallery #main-photo{width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
#product-gallery .gallery-arrow,.product-lightbox .lb-btn{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;padding:0;border:1px solid rgba(20,34,49,.22);border-radius:50%;background:rgba(255,255,255,.94);color:#142231;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 2px 10px #14223120;z-index:2}
#product-gallery .gallery-prev,.product-lightbox .lb-prev{left:10px}
#product-gallery .gallery-next,.product-lightbox .lb-next{right:10px}
.gallery-counter{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:6px 13px;border-radius:30px;background:#142231df;color:#fff;font-size:13px;font-weight:750;pointer-events:none;white-space:nowrap}
#lightbox.product-lightbox{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;padding:16px;box-sizing:border-box;color:#fff;overscroll-behavior:contain}
#lightbox.product-lightbox::backdrop{background:rgba(7,12,20,.9)}
#lightbox.product-lightbox .lightbox-content{width:min(100%,1400px);height:100%;max-width:100%;max-height:100%;display:block;margin:auto}
#lightbox.product-lightbox #lb-image{width:100%;height:100%;max-height:100%;object-fit:contain;touch-action:pan-y pinch-zoom;background:transparent;user-select:none;-webkit-user-drag:none}
#lightbox.product-lightbox .lb-close{position:absolute;top:4px;right:4px;width:44px;height:44px;min-height:44px;z-index:3;background:#fff;color:#142231;border-radius:50%;border:0;font-size:28px;cursor:pointer}
#product-gallery button:focus-visible,#lightbox.product-lightbox button:focus-visible{outline:3px solid #f4b323;outline-offset:-4px}
@media(max-width:600px){#lightbox.product-lightbox{padding:8px}#product-gallery .gallery-arrow{width:44px;height:44px}#product-gallery .gallery-prev{left:6px}#product-gallery .gallery-next{right:6px}}
