/* Direct manipulation in the existing garment file; no replacement commerce UI. */
:root{--gallery-gesture-ready:1}
.swipe-gallery-viewport{position:relative;width:100%;max-height:calc(100svh - 210px);aspect-ratio:4/5;overflow:hidden;background:var(--surface);touch-action:pan-y pinch-zoom;isolation:isolate;cursor:grab}
.swipe-gallery-viewport[data-swipe-image=false]{touch-action:auto;cursor:auto}
.swipe-gallery-track{display:flex;height:100%;transform:translate3d(0,0,0)}
.swipe-gallery-track [data-gallery-frame],.swipe-gallery-track [data-gallery-frame][hidden]{display:block!important;flex:0 0 100%;width:100%;height:100%;min-width:0;max-height:none;aspect-ratio:auto;margin:0}
.swipe-gallery-track .gallery-frame.concept>img{padding:3%}
.swipe-gallery-track [data-gallery-frame]>img{user-select:none;-webkit-user-drag:none;pointer-events:none}
.gallery-dragging .swipe-gallery-viewport{cursor:grabbing}.gallery-dragging .swipe-gallery-track,.gallery-settling .swipe-gallery-track{will-change:transform}
.gallery-gesture-hint{position:absolute;left:16px;bottom:16px;padding:8px 10px;background:#100c15eb;color:var(--muted);font:10px/1.5 var(--mono);pointer-events:none}
.gallery-gesture-hint[hidden]{display:none}.gallery-tools{gap:18px;flex-wrap:wrap}.gallery-stepper{display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}
.gallery-tools .gallery-step{display:grid;place-items:center;width:44px;min-height:44px;padding:10px;color:var(--soft);border:1px solid var(--line);background:var(--surface);touch-action:manipulation}
.gallery-step svg{width:18px;height:18px}.gallery-tools .gallery-step:disabled{opacity:.3;cursor:default}.gallery-tools .gallery-step:active:not(:disabled){background:#291a3a;transform:scale(.97)}
@media(hover:hover) and (pointer:fine){.gallery-tools .gallery-step:hover:not(:disabled){background:#21182c;border-color:var(--soft)}}
@media(max-width:760px){.swipe-gallery-viewport{aspect-ratio:1.05;max-height:480px}.gallery-gesture-hint{left:12px;bottom:12px;font-size:10px}.gallery-stepper{gap:8px}.gallery-tools{gap:12px}}
@media(prefers-reduced-transparency:reduce){.gallery-gesture-hint{background:#100c15}}
@media(prefers-contrast:more){.gallery-gesture-hint{background:#050407;color:var(--ink)}.gallery-tools .gallery-step{border-color:var(--ink)}}
