#products .photo img,#featuredimage{cursor:zoom-in}
#products .photo img:focus-visible,#featuredimage:focus-visible{outline:3px solid #e3c77f;outline-offset:-4px}
body.image-viewer-open{overflow:hidden}
.product-image-viewer{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(900px,96vw);max-width:96vw;max-height:94dvh;padding:56px 16px 16px;border:1px solid #b99a53;border-radius:16px;background:#0c0c0c;color:#ead8a8;box-shadow:0 24px 100px #0009;overflow:auto}
.product-image-viewer::backdrop{background:rgba(0,0,0,.88)}
.product-image-viewer figure{margin:0;text-align:center}
.product-image-viewer figure img{display:block;width:100%;height:min(58dvh,680px);object-fit:contain;background:#111}
.product-image-viewer figcaption{font-size:14px;line-height:1.5;padding:12px 4px 0}
.product-image-viewer .image-viewer-close{position:absolute;right:10px;top:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #c9a962;border-radius:50%;background:#17140e;color:#f4dfaa;font:30px/1 Arial;cursor:pointer}
.product-image-viewer .image-viewer-close:focus-visible{outline:3px solid #fff;outline-offset:2px}

.image-viewer-stage{overflow:hidden;background:#111;touch-action:pan-y pinch-zoom}
.image-viewer-notice{min-height:18px;margin:7px 0 0;color:#c6bdab;text-align:center;font-size:12px;line-height:1.4}
.product-image-viewer [hidden]{display:none!important}
.image-viewer-views,.image-viewer-arrows{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
.image-viewer-views button,.image-viewer-arrows button{min-height:44px;border:1px solid #786637;border-radius:24px;background:#17140e;color:#ead8a8;padding:8px 14px;cursor:pointer;font:inherit;font-size:13px}
.image-viewer-views button[aria-pressed="true"]{background:#d4b66d;color:#111;border-color:#d4b66d}
.image-viewer-counter{min-width:145px;text-align:center;font-size:12px}
.product-image-viewer{padding-top:10px}
.product-image-viewer .image-viewer-close{position:sticky;top:0;right:auto;z-index:2;margin:0 0 8px auto}

/* Clarity-restored photos add an unedited comparison; keep all controls usable on phones. */
.image-viewer-views{flex-wrap:wrap}
