.stykk-gallery{min-width:0;width:100%;color:var(--stykk-ink);margin:0}
.stykk-gallery [hidden]{display:none!important}
.stykk-gallery__stage{position:relative;aspect-ratio:1;background:#eae6dc;overflow:hidden;touch-action:pan-y}
.stykk-gallery__primary{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:inherit;cursor:zoom-in}
.stykk-gallery .stykk-gallery__image{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;margin:0}
.stykk-gallery__zoom-window{position:absolute;pointer-events:none;overflow:hidden;z-index:1}
.stykk-gallery__zoom{position:absolute;max-width:none!important;max-height:none!important;object-fit:fill}
.stykk-gallery__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.stykk-gallery__counter,.stykk-gallery__dialog-counter{margin:0;font-size:.8rem;line-height:1.5;font-variant-numeric:tabular-nums}
.stykk-gallery button{border:1px solid var(--stykk-line);background:var(--stykk-paper);color:var(--stykk-ink);font:inherit;font-size:.85rem;cursor:pointer;min-height:44px;padding:8px 14px;border-radius:0}
.stykk-gallery button:hover{border-color:var(--stykk-ink)}
.stykk-gallery a:focus-visible,.stykk-gallery button:focus-visible{outline:2px solid var(--stykk-accent);outline-offset:3px}
.stykk-gallery__thumbnails{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
.stykk-gallery__thumbnail{display:grid;place-items:center;width:72px;height:72px;padding:4px;border:1px solid var(--stykk-line);background:#eae6dc}
.stykk-gallery__thumbnail[aria-current=true]{border-color:var(--stykk-ink);box-shadow:inset 0 0 0 1px var(--stykk-ink)}
.stykk-gallery .stykk-gallery__thumbnail img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;margin:0}
.stykk-lightbox-open{overflow:hidden;scrollbar-gutter:stable}
.stykk-gallery__dialog{box-sizing:border-box;position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px;background:var(--stykk-paper);color:var(--stykk-ink);border:0;overflow:hidden;overscroll-behavior:contain}
.stykk-gallery__dialog[open]{display:flex;flex-direction:column;gap:16px}
.stykk-gallery__dialog::backdrop{background:rgba(37,41,35,.8)}
.stykk-gallery__dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}
.stykk-gallery__dialog-header h2{font:inherit;font-size:1rem;line-height:1.4;margin:0;color:inherit}
.stykk-gallery__close{flex:none;min-width:44px}
body.stykk-design-v3 .stykk-gallery .stykk-gallery__close{font-size:26px;line-height:1;padding:0;width:44px;height:44px}
.stykk-gallery__dialog-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;flex:1;overflow:hidden;touch-action:pan-y pinch-zoom}
.stykk-gallery .stykk-gallery__dialog-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0}
.stykk-gallery__dialog-controls{display:flex;align-items:center;justify-content:center;gap:20px;flex:none}
.stykk-gallery__dialog-controls button:disabled{opacity:.4;cursor:default}
.stykk-gallery--empty img{display:block;width:100%;height:auto}
@media(max-width:767px){.stykk-gallery__thumbnail{width:60px;height:60px}.stykk-gallery__dialog{padding:12px;gap:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}.stykk-gallery__dialog-header h2{font-size:.9rem}.stykk-gallery__dialog-controls{gap:16px}}

body.stykk-storefront .stykk-gallery__dialog-header h2{font:inherit;font-size:16px;line-height:1.4;margin:0;color:inherit}

body.stykk-storefront .stykk-gallery button,body.stykk-storefront .stykk-gallery button:hover,body.stykk-storefront .stykk-gallery button:focus{background:var(--stykk-paper);color:var(--stykk-ink)}
