/* photo-gallery-20261127: product photos in a swipeable strip, arrows and counter on the photo, thumbnails below,
   full-screen view on every screen size. Product pages only. */
body#product .vl-gallery .vl-gallery-stage{position:relative;overflow:hidden;margin-bottom:12px;background:#fff;border:1px solid var(--vl-border,#e3e3e3);border-radius:6px}
.vl-gallery-slides{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;outline:0}
.vl-gallery-slides::-webkit-scrollbar{display:none}
.vl-gallery-slide{flex:0 0 100%;margin:0;scroll-snap-align:center;scroll-snap-stop:always;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;cursor:zoom-in}
.vl-gallery-slide picture{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
body#product .vl-gallery .vl-gallery-slide img{width:100%;height:100%;max-height:none;object-fit:contain}
@media(min-width:768px){.vl-gallery-slide{aspect-ratio:auto;height:min(580px,calc(100vh - 160px))}}
.vl-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:#ffffffe6;color:#222;box-shadow:0 1px 4px #0003;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s}
.vl-gallery-arrow .material-icons{font-size:28px}
.vl-gallery-prev{left:10px}.vl-gallery-next{right:10px}
.vl-gallery-stage:hover .vl-gallery-arrow,.vl-gallery-arrow:focus-visible{opacity:1}
.vl-gallery-arrow[disabled]{opacity:0!important;pointer-events:none}
@media(hover:none){.vl-gallery-arrow{display:none}}
.vl-gallery-count{position:absolute;left:10px;bottom:10px;padding:2px 9px;border-radius:12px;background:#000000a0;color:#fff;font-size:13px;line-height:20px;pointer-events:none}
.vl-gallery-zoom{position:absolute;right:10px;bottom:10px;width:36px;height:36px;border:0;border-radius:50%;background:#ffffffe6;color:#222;box-shadow:0 1px 4px #0003;display:flex;align-items:center;justify-content:center;cursor:pointer}
.vl-gallery-thumbs{display:flex;gap:8px;margin:0;padding:0 0 4px;list-style:none;overflow-x:auto;scrollbar-width:thin}
.vl-gallery-thumb{display:block;width:72px;height:72px;padding:2px;border:2px solid var(--vl-border,#e3e3e3);border-radius:6px;background:#fff;cursor:pointer}
.vl-gallery-thumb img{width:100%;height:100%;object-fit:contain}
.vl-gallery-thumb.is-active,.vl-gallery-thumb:hover{border-color:var(--vl-red,#c8102e)}
@media(max-width:767px){.vl-gallery-thumbs{display:none}body#product .vl-gallery .vl-gallery-stage{margin-left:-15px;margin-right:-15px;border-left:0;border-right:0;border-radius:0}}
.vl-gallery-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px;pointer-events:none}
.vl-gallery-dots span{width:7px;height:7px;border-radius:50%;background:#0003}
.vl-gallery-dots span.is-active{background:var(--vl-red,#c8102e)}
@media(min-width:768px){.vl-gallery-dots{display:none}}
@media(max-width:767px){.vl-gallery-count,.vl-gallery-zoom{display:none}.vl-gallery-slide{cursor:default}}
/* full screen */
.vl-gallery-full{position:fixed;inset:0;z-index:2000;background:#fff;display:flex;flex-direction:column}
.vl-gallery-full .vl-gallery-slides{flex:1}
.vl-gallery-full .vl-gallery-slide{aspect-ratio:auto;height:100%;cursor:default}
.vl-gallery-full .vl-gallery-slide img{width:100%;height:100%;max-height:none;object-fit:contain}
.vl-gallery-full .vl-gallery-count{left:50%;top:14px;bottom:auto;transform:translateX(-50%)}
.vl-gallery-full .vl-gallery-arrow{opacity:1}
.vl-gallery-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:50%;background:#ffffffe6;color:#222;box-shadow:0 1px 4px #0003;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1}
.vl-gallery-full .vl-gallery-count{display:block}
html.vl-gallery-open,html.vl-gallery-open body{overflow:hidden}
