dialog.dh-gallery-lightbox[open]{box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) 28px 78px;gap:12px;width:calc(100vw - 64px);max-width:1400px;height:calc(100dvh - 48px);max-height:1000px;padding:48px 64px 20px;border:0;background:#fff;color:#333;overflow:hidden}
dialog.dh-gallery-lightbox::backdrop{background:rgba(20,20,18,.75)}
dialog.dh-gallery-lightbox .zoom-art{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;height:100%;padding:0;overflow:hidden;touch-action:pan-y pinch-zoom}
dialog.dh-gallery-lightbox .zoom-art img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;padding:0}
dialog.dh-gallery-lightbox>form{position:absolute;top:12px;right:12px;margin:0;padding:0}
dialog.dh-gallery-lightbox .close{position:static;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:transparent;color:#333;font-size:26px;cursor:pointer}
.dh-gallery-lightbox>.dh-zoom-prev,.dh-gallery-lightbox>.dh-zoom-next{position:absolute;top:45%;width:44px;height:44px;padding:0;border:1px solid #dededb;border-radius:50%;background:#fff;color:#333;font-size:22px;cursor:pointer}
.dh-gallery-lightbox>.dh-zoom-prev{left:10px}.dh-gallery-lightbox>.dh-zoom-next{right:10px}
.dh-gallery-lightbox .dh-zoom-counter{text-align:center;font-size:13px;line-height:28px}
.dh-gallery-lightbox .dh-zoom-thumbnails{display:flex;gap:10px;overflow-x:auto;min-width:0;scrollbar-width:thin}
.dh-gallery-lightbox .dh-zoom-thumbnails button{flex:0 0 66px;height:66px;padding:2px;border:1px solid transparent;background:#fff;cursor:pointer}
.dh-gallery-lightbox .dh-zoom-thumbnails button[aria-pressed=true]{border-color:#555}
.dh-gallery-lightbox .dh-zoom-thumbnails img{display:block;width:100%;height:100%;object-fit:contain}
.dh-gallery-lightbox button:focus-visible{outline:2px solid #91887c;outline-offset:2px}
@media(max-width:600px){dialog.dh-gallery-lightbox[open]{width:100%;height:100dvh;max-height:none;max-width:none;padding:56px 12px 16px;gap:8px;grid-template-rows:minmax(0,1fr) 28px 74px}.dh-gallery-lightbox>.dh-zoom-prev,.dh-gallery-lightbox>.dh-zoom-next{top:auto;bottom:98px;width:36px;height:36px}.dh-gallery-lightbox .dh-zoom-thumbnails button{flex-basis:60px;height:60px}}
