/* Improved product galleries, layered on top of the shop's existing theme. */
.gc-gallery-enhanced{min-width:0;max-width:100%;overflow-wrap:anywhere}
.gc-gallery-enhanced .gallery-main-wrap{isolation:isolate;min-width:0;max-width:100%}
.gc-gallery-enhanced .gallery-main-btn{cursor:zoom-in}
.gc-gallery-enhanced .gallery-main-btn:focus-visible,
.gc-gallery-enhanced .gc-gallery-arrow:focus-visible,
.gc-gallery-enhanced .thumb:focus-visible,
.gc-gallery-dialog button:focus-visible{outline:3px solid #f8c55b;outline-offset:3px}
.gc-gallery-enhanced .gallery-thumbs{width:100%;min-width:0;max-width:100%;display:flex;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#ad3444 transparent;padding:4px 3px 10px}
.gc-gallery-enhanced .gallery-thumbs .thumb{flex:0 0 clamp(62px,18%,92px);min-width:0;scroll-snap-align:center;transition:border-color .14s ease,box-shadow .14s ease}
.gc-gallery-enhanced .gallery-thumbs .thumb.active{border-color:#b0444d;box-shadow:0 0 0 2px #fff,0 0 0 4px #b0444d}
.gc-gallery-help{font-size:.79rem;line-height:1.4;text-align:center;color:#60726c;margin:7px 0 12px}
.gc-gallery-count{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);pointer-events:none;z-index:3;color:#fff;background:#102529df;padding:6px 12px;border-radius:999px;white-space:nowrap;font-size:.75rem;font-weight:800;box-shadow:0 2px 9px #0005}
.gc-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;display:grid;place-items:center;width:43px;height:52px;background:#0c262cc7;color:#fff;border:1px solid #fffc;border-radius:10px;cursor:pointer;font-size:2.3rem;line-height:1;box-shadow:0 5px 18px #0004;transition:background .16s ease}
.gc-gallery-arrow:hover{background:#ad3444}
.gc-gallery-arrow-prev{left:10px}.gc-gallery-arrow-next{right:10px}
.gc-gallery-arrow[hidden]{display:none}
.gc-gallery-enhanced .gallery-video-wrap{position:relative}
.gc-gallery-open-video{position:absolute;top:12px;right:12px;z-index:3;border:1px solid #fffb;background:#0c262ce0;color:#fff;font-weight:800;padding:10px 12px;border-radius:9px;cursor:pointer}
.gc-gallery-open-video:hover{background:#ad3444}
.gc-gallery-enhanced .zoom-hint{right:11px;bottom:auto;top:12px;z-index:2}
.gc-gallery-dialog[open]{display:flex;flex-direction:column;width:min(98vw,1200px);height:min(94dvh,940px);max-height:100dvh;overflow:hidden}
.gc-gallery-dialog .dialog-top{flex:0 0 auto;min-height:48px;background:#071b20;position:relative;z-index:2}
.gc-gallery-dialog .dialog-bottom{flex:0 0 auto;align-items:center;flex-wrap:wrap;background:#071b20;position:relative;z-index:2}
.gc-gallery-stage{position:relative;display:grid;place-items:center;flex:1 1 auto;min-height:100px;overflow:hidden;touch-action:none;cursor:zoom-in;user-select:none;background:#0b2229}
.gc-gallery-stage.gc-gallery-is-zoomed{cursor:grab}
.gc-gallery-stage.gc-gallery-is-zoomed:active{cursor:grabbing}
.gc-gallery-dialog .dialog-image{max-width:100%;max-height:100%;width:100%;height:100%;min-height:0;object-fit:contain;transform-origin:center center;will-change:transform;pointer-events:auto;user-select:none;-webkit-user-drag:none}
.gc-gallery-dialog .dialog-video{max-width:100%;max-height:100%;width:100%;height:100%;min-height:0;object-fit:contain;touch-action:auto}
.gc-gallery-dialog .dialog-image[hidden],.gc-gallery-dialog .dialog-video[hidden],.gc-gallery-dialog .gc-gallery-tools[hidden]{display:none!important}
.gc-gallery-tools,.gc-gallery-zoom-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.gc-gallery-zoom-tools[hidden]{display:none!important}
.gc-gallery-dialog .gc-gallery-tool{min-width:36px;min-height:38px;padding:6px 10px;border-radius:8px;font-weight:800;cursor:pointer}
.gc-gallery-dialog .gc-gallery-tool:disabled{opacity:.35;cursor:not-allowed}
.gc-gallery-zoom-label{display:inline-flex;justify-content:center;min-width:50px;font-size:.8rem;font-weight:800;color:#fff}
.gc-gallery-dialog.gc-gallery-expanded[open],.gc-gallery-dialog:fullscreen{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0;margin:0}
.gc-gallery-dialog .dialog-top button:hover,.gc-gallery-dialog .dialog-bottom button:not(:disabled):hover{background:#b23949}
@media(max-width:640px){
 .gc-gallery-arrow{width:34px;height:42px;font-size:1.7rem}
 .gc-gallery-arrow-prev{left:5px}.gc-gallery-arrow-next{right:5px}
 .gc-gallery-enhanced .gallery-thumbs .thumb{flex-basis:74px}
 .gc-gallery-dialog[open]{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}
 .gc-gallery-dialog .dialog-top{padding:9px 12px}
 .gc-gallery-dialog .dialog-bottom{padding:9px 10px;gap:9px}
 .gc-gallery-dialog .gc-gallery-tools{width:100%;justify-content:center;order:2}
 .gc-gallery-dialog .dialog-bottom>#dialog-prev,.gc-gallery-dialog .dialog-bottom>#dialog-next{flex:1 1 0;min-width:0;font-size:.79rem;min-height:42px;padding:7px 6px}
 .gc-gallery-dialog .gc-gallery-tool{min-height:39px}
}
@media(prefers-reduced-motion:reduce){.gc-gallery-enhanced .gallery-thumbs{scroll-behavior:auto}.gc-gallery-arrow,.gc-gallery-enhanced .gallery-thumbs .thumb{transition:none}}
