.gumus-gallery .gallery-stage{position:relative;background:#f3f4f5;min-width:0}
.gumus-gallery .product-gallery{display:flex;aspect-ratio:auto;height:clamp(520px,74vh,780px);min-height:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;background:#f3f4f5}
.gumus-gallery .product-media{height:100%;min-width:0;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:normal;display:flex;align-items:center;justify-content:center}
.gumus-gallery .product-media>video,.gumus-gallery .product-media>iframe,.gumus-gallery .product-media>model-viewer{width:100%;height:100%;object-fit:contain;background:#f3f4f5}
.gumus-gallery .product-media>.shopify-model-viewer-ui{width:100%;height:100%}
.gallery-image-open{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:zoom-in}
.gumus-gallery .gallery-image-open img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0}
.gallery-count{font:400 13px/22px var(--body);color:#606060;font-variant-numeric:tabular-nums}
.gallery-step-controls{display:flex;align-items:center;gap:10px}
.gallery-step-controls .icon-button{width:44px;height:44px;min-width:44px;background:#fff;border:1px solid #d9d9d9}
.gallery-step-controls .icon-button:disabled{opacity:.25;cursor:default}
.gumus-gallery .gallery-thumbnails{margin:0;padding:2px 2px 8px;gap:10px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}
.gumus-gallery .gallery-thumbnails>button{position:relative;flex:0 0 72px;width:72px;height:90px;padding:3px;border:1px solid #ddd;background:#f3f4f5;scroll-snap-align:start}
.gumus-gallery .gallery-thumbnails>button[aria-current=true]{border:2px solid #111;padding:2px}
.gumus-gallery .gallery-thumbnails img{width:100%;height:100%;object-fit:contain}
.gallery-media-type{position:absolute;inset-inline-end:4px;bottom:4px;background:#fff;padding:3px;border-radius:3px;font:600 10px/14px var(--body)}
.gallery-no-media svg{width:100%;height:100%}
.product-gallery-viewer{position:fixed;inset:0;margin:auto;width:min(1120px,calc(100% - 64px));max-width:1120px;height:min(900px,calc(100dvh - 64px));max-height:900px;padding:0;border:1px solid #e3e3e3;border-radius:28px;box-shadow:0 24px 100px #0003;background:#fff;overflow:hidden;color:#111}
.product-gallery-viewer[open]{display:flex;flex-direction:column}
.product-gallery-viewer::backdrop{background:#0009;backdrop-filter:blur(5px)}
.gallery-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:14px 28px;min-height:76px;flex-shrink:0;border-bottom:1px solid #e5e5e5}
.gallery-viewer-logo{width:128px;height:37px;object-fit:contain;flex-shrink:0}
.gallery-viewer-header h2{font:600 18px/26px var(--heading);letter-spacing:-.025em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:720px;text-align:center}
.gallery-viewer-header>.icon-button{width:44px;height:44px;flex-shrink:0;background:#f3f4f4;border:0}
.gallery-viewer-stage{position:relative;flex:1;min-height:0;overflow:auto;background:#f3f4f5;overscroll-behavior:contain;direction:ltr;touch-action:pan-y pinch-zoom}
.gallery-zoom-canvas{min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center}
.gallery-zoom-canvas img{display:block;object-fit:contain;max-width:none;max-height:none;user-select:none;-webkit-user-drag:none}
.gallery-viewer-stage.is-zoomed{cursor:grab;touch-action:pan-x pan-y pinch-zoom}
.gallery-viewer-stage.is-dragging{cursor:grabbing}
.gallery-image-status{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:24px;text-align:center;font:400 14px/24px var(--body);direction:inherit}
.gallery-image-status .button{font-size:13px;min-height:44px}
.gallery-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 28px;border-top:1px solid #e5e5e5;background:#fff;flex-shrink:0}
.gallery-viewer-toolbar bdi{min-width:80px;text-align:center;font:400 13px/22px var(--body);font-variant-numeric:tabular-nums}
.gallery-zoom-toggle{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #d9d9d9;border-radius:26px;min-height:44px;min-width:128px;padding:10px 18px;font:400 13px/22px var(--body)}
.gallery-zoom-toggle[aria-pressed=true]{background:#111;border-color:#111;color:#fff}
.gallery-viewer-thumbnails{display:flex;gap:10px;justify-content:safe center;padding:2px 28px 16px;overflow-x:auto;flex-shrink:0;scrollbar-width:thin;max-width:100%}
.gallery-viewer-thumbnails>button{flex:0 0 56px;width:56px;height:70px;padding:2px;border:1px solid #ddd;background:#f3f4f5}
.gallery-viewer-thumbnails>button[aria-current=true]{border:2px solid #111;padding:1px}
.gallery-viewer-thumbnails img{width:100%;height:100%;object-fit:contain}
[dir=rtl] .gallery-step-controls svg{transform:rotate(180deg)}
[dir=rtl] .gallery-image-status{direction:rtl}
.no-js .gumus-gallery [data-gallery-ui],.no-js .gumus-gallery [data-gallery-announcement]{display:none}
.no-js .gumus-gallery .product-gallery{display:grid;height:auto;overflow:visible;gap:16px}
.no-js .gumus-gallery .product-media{height:auto;min-height:300px}
.no-js .gumus-gallery .gallery-image-open img{height:auto}
@media(max-width:749px){
 .product-gallery-viewer{width:calc(100% - 24px);height:calc(100dvh - 40px);max-height:820px;border-radius:24px}
 .gallery-viewer-logo{display:none}
 .gallery-viewer-header h2{white-space:normal}

 .gumus-gallery .product-gallery{height:min(128vw,560px);border-radius:0}
 .gallery-controls{padding:12px 20px;gap:16px}
 .gallery-count{font-size:12px}
 .gumus-gallery .gallery-thumbnails{padding:2px 20px 12px;gap:9px;scroll-padding-inline:20px}
 .gumus-gallery .gallery-thumbnails>button{flex-basis:58px;width:58px;height:74px;border-radius:11px;overflow:hidden}
 .gallery-viewer-header{gap:12px;padding:10px 16px;min-height:66px}
 .gallery-viewer-logo{width:90px;height:28px}
 .gallery-viewer-header h2{font-size:13px;line-height:20px;text-align:start;flex:1}
 .gallery-viewer-toolbar{padding:10px 16px;gap:12px}
 .gallery-viewer-toolbar .gallery-step-controls{gap:4px}
 .gallery-viewer-toolbar bdi{min-width:55px;font-size:11px}
 .gallery-zoom-toggle{min-width:108px;font-size:11px;padding:9px 12px;gap:8px}
 .gallery-viewer-thumbnails{gap:8px;padding:2px 16px calc(12px + env(safe-area-inset-bottom))}
 .gallery-viewer-thumbnails>button{flex-basis:46px;width:46px;height:58px;border-radius:8px;overflow:hidden}
 .gallery-image-status{font-size:13px;line-height:23px}
}
@media(prefers-reduced-motion:reduce){.gumus-gallery .product-gallery,.gallery-thumbnails,.gallery-viewer-stage{scroll-behavior:auto!important}}

.gumus-gallery .product-gallery.is-dragging,.gumus-gallery .is-dragging .gallery-image-open{cursor:grabbing;user-select:none}
.gallery-image-open img{-webkit-user-drag:none;user-select:none}
@media(min-width:750px){
 .product-main{--gallery-height:clamp(640px,92vh,960px);max-width:1520px;grid-template-columns:minmax(0,calc(88px + var(--gallery-height) * var(--gallery-aspect,.75))) minmax(340px,1fr);gap:48px}
 .gumus-gallery{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto 56px;gap:0 12px;min-width:0;align-items:start}
 .gumus-gallery .gallery-stage{grid-column:2;grid-row:1;width:100%;height:auto;aspect-ratio:var(--gallery-aspect,.75);overflow:hidden}
 .gumus-gallery .product-gallery{height:100%;width:100%}
 .gumus-gallery .gallery-image-open img{object-fit:contain;object-position:center}
 .gumus-gallery .gallery-controls{grid-column:2;grid-row:2;height:56px;padding:12px 0 0}
 .gumus-gallery .gallery-thumbnails{position:absolute;inset-inline-start:0;top:0;bottom:56px;display:flex;flex-direction:column;gap:9px;width:76px;min-height:0;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y proximity;padding:0 2px 0 0;margin:0;scrollbar-width:thin}
 .gumus-gallery .gallery-thumbnails>button{flex:0 0 auto;width:100%;height:auto;min-height:44px;aspect-ratio:var(--thumb-aspect,.75);padding:0;border:1px solid #ddd;overflow:hidden}
 .gumus-gallery .gallery-thumbnails>button[aria-current=true]{padding:0;border:2px solid #111}
 .gumus-gallery .gallery-thumbnails img{object-fit:contain;object-position:center}
 .gumus-gallery:not(:has(.gallery-thumbnails)){grid-template-columns:minmax(0,1fr)}
 .gumus-gallery:not(:has(.gallery-thumbnails)) :is(.gallery-stage,.gallery-controls){grid-column:1}
 .no-js .gumus-gallery{display:block}
 .no-js .gumus-gallery .gallery-stage{height:auto;aspect-ratio:auto}
}
@media(min-width:750px) and (max-width:1000px){.product-main{gap:28px;grid-template-columns:minmax(0,1fr) minmax(300px,1fr)}.gumus-gallery{grid-template-columns:56px minmax(0,1fr);gap:0 8px}.gumus-gallery .gallery-thumbnails{width:56px}}

@media(max-width:350px){.gallery-viewer-toolbar{flex-wrap:wrap;justify-content:center;gap:8px}.gallery-viewer-toolbar .gallery-step-controls{justify-content:center}.gallery-zoom-toggle{flex:1 1 100%;min-width:0}}
