.product-zoom-open{display:block;position:relative;width:100%;padding:0;border:0;background:#fff;color:#002d51;cursor:zoom-in;text-align:left}
.product-zoom-open img{display:block;width:100%;height:auto}
.product-zoom-hint{position:absolute;bottom:10px;left:10px;display:flex;align-items:center;gap:4px;padding:1px 10px 1px 2px;background:#fffdf1e8;border:1px solid #b5a88c;box-shadow:2px 2px #0002;font-size:11px;font-weight:700}
.product-zoom-hint .clip-icon{width:24px;height:27px}
html.product-viewer-open{overflow:hidden}
dialog.product-viewer{width:min(1100px,calc(100vw - 24px));max-width:none;height:min(900px,92vh);height:min(900px,92svh);max-height:none;padding:0;border:4px outset #dedede;border-radius:0;background:#fff;color:#002d51;overflow:hidden;box-shadow:10px 10px #0005}
.product-viewer::backdrop{background:#151515c4}
.viewer-toolbar{height:58px;display:flex;align-items:center;gap:8px;padding:5px 8px;background:linear-gradient(#fff7df,#ffd58d);border-bottom:3px solid #c27c22}
.viewer-toolbar>span{flex:1;min-width:0;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.viewer-toolbar button{flex-shrink:0;min-width:44px;min-height:42px;padding:6px 10px}.viewer-toolbar [data-viewer-close]{font-size:24px;line-height:1}
.viewer-scroll{height:calc(100% - 58px);overflow:auto;overscroll-behavior:contain;background:#eee}
.viewer-scroll img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;background:#fff}
.is-zoomed .viewer-scroll img{width:2048px;height:auto;object-fit:contain;cursor:grab}
@media(max-width:749px){.viewer-toolbar>span{font-size:10px}.viewer-toolbar{gap:5px;padding-inline:5px}.viewer-toolbar button{font-size:11px;padding:5px 7px}}
