.product pattern-gallery .gallery__viewport{width:100%;aspect-ratio:clamp(.78,var(--pattern-gallery-ratio, 1),1.45);max-height:min(74svh,740px);background:var(--color-surface)}.gallery__zoom-link{display:block;height:100%;color:var(--color-text);cursor:zoom-in}.gallery__zoom-link:focus-visible{outline-offset:-4px}.product pattern-gallery .gallery__img{display:block;object-fit:contain}.gallery__zoom-hint{position:absolute;top:10px;right:10px;padding:6px 10px;border:1px solid var(--color-rule);border-radius:var(--radius);background:var(--color-bg);color:var(--color-text);font:500 12px/1.3 var(--font-body, sans-serif)}.product pattern-gallery .gallery__thumbs{scroll-padding-inline:2px}.product pattern-gallery .gallery__thumb.is-active{border-color:var(--color-text)}.gallery__drawing-label,.gallery__pos{pointer-events:none}.gallery-viewer{position:fixed;top:0;right:0;bottom:0;left:0;width:min(100%,1460px);height:min(96dvh,1080px);max-width:100vw;max-height:100dvh;margin:auto;padding:0;border:1px solid var(--color-rule);color:var(--color-text);background:var(--color-bg)}.gallery-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}.gallery-viewer::backdrop{background:#161917bf}.gallery-viewer__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(8px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));border-bottom:1px solid var(--color-rule)}.gallery-viewer__bar button{min-height:44px;padding:8px 12px;border:1px solid var(--color-rule);border-radius:var(--radius);color:var(--color-text);background:var(--color-bg);font:inherit;cursor:pointer}.gallery-viewer__close span{margin-inline-start:6px;font-size:1.2em}.gallery-viewer__stage{overflow:auto;overscroll-behavior:contain;background:var(--color-surface)}.gallery-viewer__sheet{display:grid;place-items:center;width:max-content;min-width:100%;min-height:100%}.gallery-viewer__sheet img{display:block;max-width:none;cursor:zoom-in;-webkit-user-select:none;user-select:none}.gallery-viewer[data-zoomed] .gallery-viewer__sheet img{cursor:grab}.gallery-viewer[data-dragging] .gallery-viewer__sheet img{cursor:grabbing}@media(max-width:900px){.product pattern-gallery .gallery__viewport{max-height:clamp(230px,54svh,480px)}.gallery-viewer{width:100vw;height:100dvh;border:0}}@media(max-height:500px)and (orientation:landscape){.product pattern-gallery .gallery__viewport{max-height:78svh}}.gallery-viewer__nav{display:flex;align-items:center;gap:4px;font-size:.8rem;white-space:nowrap}.gallery-viewer__nav[hidden]{display:none}.gallery-viewer__nav button{min-width:44px;font-size:1.3rem;line-height:1}@media(max-width:380px){.gallery-viewer__bar{gap:4px;padding-inline:5px}.gallery-viewer__bar button{padding-inline:8px}}.gallery__drawing-switch{position:absolute;z-index:1;bottom:8px;left:8px;min-height:44px;padding:6px 12px;border:1px solid var(--color-rule);border-radius:var(--radius);background:var(--color-bg);color:var(--color-text);font:inherit;font-size:.8rem;cursor:pointer}@media(min-width:1101px){.product pattern-gallery.gallery:has(.gallery__thumbs) .gallery__viewport{width:calc(100% - 86px);margin-inline-start:auto}.product pattern-gallery .gallery__thumbs{position:absolute;inset-block:0;inset-inline-start:0;box-sizing:border-box;width:72px;flex-direction:column;gap:8px;padding:2px;overflow-x:hidden;overflow-y:auto;scroll-padding-block:2px}.product pattern-gallery .gallery__thumb{width:64px;height:78px}}@media(max-width:900px)and (orientation:portrait){.product pattern-gallery.gallery{gap:8px}.product pattern-gallery .gallery__viewport{max-height:clamp(210px,calc(100svh - 356px),46svh);border-radius:5px}.product pattern-gallery .gallery__thumbs{gap:7px}.product pattern-gallery .gallery__thumb{width:46px;height:54px;border-radius:4px}.product pattern-gallery .gallery__thumb.is-active{border-color:var(--atelier-ink)}}@media(min-width:620px)and (max-width:900px)and (max-height:540px)and (orientation:landscape){.product pattern-gallery.gallery{gap:6px}.product pattern-gallery .gallery__viewport{max-height:clamp(150px,calc(100svh - 204px),320px)}.product pattern-gallery .gallery__thumb{width:44px;height:48px}}
/*# sourceMappingURL=/cdn/shop/t/17/assets/pattern-gallery.css.map */
