.gallery-viewer{position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:64px 76px 24px;border:0;background:rgba(25,16,10,.97);color:#fff;overflow:hidden}.gallery-viewer::backdrop{background:rgba(0,0,0,.85)}.gallery-viewer[open]{display:flex;align-items:center;justify-content:center}.gallery-viewer figure{margin:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:0}.gallery-viewer .gv-image{display:block;max-width:100%;max-height:calc(100% - 84px);min-height:0;width:auto;height:auto;object-fit:contain;touch-action:pan-y pinch-zoom}.gallery-viewer figcaption{text-align:center;flex-shrink:0;padding:16px 0 0;font-family:Georgia,serif;font-size:18px;line-height:1.4}.gv-count{display:block;margin-top:6px;font-family:Arial,sans-serif;font-size:13px;color:#d8b16a}.gallery-viewer button{position:absolute;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #d8b16a80;border-radius:50%;background:#351b06;color:#fff;cursor:pointer;font-family:Arial,sans-serif;font-size:38px;line-height:1}.gallery-viewer button:hover{background:#61401f}.gallery-viewer button:focus-visible{outline:3px solid #d8b16a;outline-offset:4px}.gv-close{top:14px;right:18px}.gv-prev{left:14px;top:calc(50% - 24px)}.gv-next{right:14px;top:calc(50% - 24px)}@media(max-width:600px){.gallery-viewer{padding:72px 12px 80px}.gallery-viewer figcaption{font-size:16px}.gallery-viewer .gv-prev,.gallery-viewer .gv-next{top:auto;bottom:16px}.gallery-viewer .gv-prev{left:calc(50% - 62px)}.gallery-viewer .gv-next{right:calc(50% - 62px)}}
