.product-photo-open{display:block;flex:0 0 auto;align-self:flex-start;border:0;padding:0;margin:0;border-radius:8px;background:transparent;cursor:zoom-in;line-height:0;touch-action:manipulation}
.product-photo-open .photo{display:block}
.product-photo-open:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.product-photo-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:16px;width:max-content;max-width:94vw;max-height:94vh;max-height:94dvh;overflow:auto;background:#1c1917;color:#fafaf9;box-shadow:0 20px 80px #0008;overscroll-behavior:contain}
.product-photo-dialog::backdrop{background:rgba(0,0,0,.82)}
.product-photo-content{position:relative;padding:52px 16px 16px}
.product-photo-content figure{margin:0}
.product-photo-large{display:block;width:auto;height:auto;max-width:min(1100px,calc(94vw - 32px));max-height:calc(94vh - 140px);max-height:calc(94dvh - 140px);object-fit:contain;margin:auto;border-radius:8px}
.product-photo-content figcaption{max-width:900px;margin:12px auto 0;text-align:center;font:600 16px/1.5 ui-sans-serif,system-ui,sans-serif;overflow-wrap:anywhere;color:#fafaf9}
.product-photo-close{position:absolute;right:8px;top:6px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#44403c;color:#fff;font:30px/1 sans-serif;cursor:pointer;touch-action:manipulation}
.product-photo-close:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}
.product-photo-error{padding:24px;font:16px/1.5 ui-sans-serif,system-ui,sans-serif;color:#fafaf9}
.product-photo-error[hidden]{display:none}
.product-photo-large[hidden]{display:none}
