html{scrollbar-gutter:stable}
.photo-preview-trigger{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;cursor:default}.photo-preview-trigger:disabled{cursor:default}.photo-preview-trigger:focus-visible{outline:3px solid var(--green,#6b745d);outline-offset:-4px}.photo-preview-trigger img{display:block;width:100%;height:100%;object-fit:cover}
.product-photo-popover{position:fixed;z-index:80;padding:8px;background:var(--paper,#faf8f3);border:1px solid #d8cec2;box-shadow:0 12px 34px #2c211c33;box-sizing:border-box;pointer-events:auto;cursor:default}.product-photo-popover[hidden]{display:none}.product-photo-popover img{display:block;width:100%;height:100%;object-fit:contain}
.product-photo-dialog{width:min(960px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:20px;border:0;box-sizing:border-box;background:var(--paper,#faf8f3);color:var(--ink,#3e291f);overflow:auto}.product-photo-dialog::backdrop{background:#241810b8}.product-photo-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.product-photo-bar h2{font:500 22px/1.4 var(--serif,serif);margin:0;overflow-wrap:anywhere;min-width:0}.product-photo-bar button{flex-shrink:0;min-height:44px;padding:8px 14px;border:1px solid currentColor;background:transparent;color:inherit;font:16px/1.5 var(--sans,sans-serif);cursor:pointer}.product-photo-dialog .full-product-photo{display:block;width:100%;height:min(76dvh,800px);max-height:calc(100dvh - 140px);object-fit:contain}.product-photo-dialog .full-product-photo[hidden]{display:none}.product-photo-error{padding:32px 0;font:16px/1.7 var(--sans,sans-serif)}
@media(max-width:640px){.product-photo-dialog{padding:14px}.product-photo-bar{gap:12px}.product-photo-bar h2{font-size:19px}.product-photo-dialog .full-product-photo{height:72dvh;max-height:calc(100dvh - 150px)}}
