.shop-gallery{position:relative;z-index:1;min-width:0;color:#304b3c}
.shop-gallery-stage{position:relative;touch-action:pan-y pinch-zoom}
.shop-gallery-view{display:block;width:100%;padding:0;border:0;border-radius:9px;background:#fff;color:inherit;cursor:zoom-in;overflow:hidden}
.catalogue-picture .shop-gallery-photo,.shop-gallery-photo{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:white;border-radius:9px;box-shadow:none}
.shop-gallery-controls{display:flex;align-items:center;justify-content:center;gap:15px;margin:12px 0 10px}
.shop-gallery-arrow{display:inline-grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #304b3c55;border-radius:50%;color:#304b3c;background:#fffdf8;font-size:22px;cursor:pointer}
.shop-gallery-count{min-width:48px;text-align:center;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums}
.shop-gallery-thumbnails{position:relative;display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:5px 4px 10px;scrollbar-width:thin;scrollbar-color:#8b9b80 transparent;overscroll-behavior-x:contain}
.shop-gallery-thumb{display:block;flex:0 0 50px;width:50px;height:50px;padding:3px;border:2px solid transparent;border-radius:8px;background:#fff;cursor:pointer}
.catalogue-picture .shop-gallery-thumb img,.shop-gallery-thumb img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:4px;box-shadow:none}
.shop-gallery-thumb[aria-pressed=true]{border-color:#304b3c;box-shadow:0 0 0 1px #fff}
.shop-gallery-hint{display:block;text-align:center;font-size:11px;line-height:1.5;margin-top:4px;color:#304b3c}
.shop-gallery-error{position:absolute;left:12px;right:12px;bottom:12px;padding:10px;margin:0;background:#fff9efed;font-size:13px;border-radius:7px;text-align:center}
.shop-gallery [hidden]{display:none!important}
.shop-gallery-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 24px));max-height:94vh;max-height:94dvh;border:0;border-radius:18px;padding:22px;color:#304b3c;background:#faf7ef;box-shadow:0 20px 80px #14271960;overscroll-behavior:contain}
.shop-gallery-dialog::backdrop{background:#17251de0}
.shop-gallery-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.shop-gallery-dialog-header h2{font-size:25px;line-height:1.25;margin:7px 0;max-width:700px}
.shop-gallery-close{flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid #304b3c50;border-radius:50%;font-size:30px;line-height:1;background:#fff;color:#304b3c;cursor:pointer}
.shop-gallery-large .shop-gallery-view{cursor:default;background:white}
.shop-gallery-large .shop-gallery-photo{height:min(59vh,660px);aspect-ratio:auto;width:100%;object-fit:contain}
.shop-gallery-large .shop-gallery-thumbnails{width:max-content;max-width:100%;margin:auto;box-sizing:border-box}
.shop-gallery-large .shop-gallery-thumb{flex-basis:58px;width:58px;height:58px}
.shop-gallery button:focus-visible,.shop-gallery-close:focus-visible{outline:3px solid #a9503b;outline-offset:3px}
@media(max-width:600px){.shop-gallery-dialog{padding:14px;border-radius:14px}.shop-gallery-dialog-header h2{font-size:21px}.shop-gallery-large .shop-gallery-photo{height:52vh}.shop-gallery-dialog-header{gap:10px}.shop-gallery-thumbnails{gap:6px}}
