.product .photo-trigger {display:block;padding:0;min-height:0;border:1px solid var(--line);background:#eee9dc;cursor:zoom-in}
.photo-open {overflow:hidden}
dialog.photo-viewer {width:min(1100px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:12px;border:1px solid #555a47;background:#161a12;color:#fffcf4;overflow:auto}
.photo-viewer::backdrop {background:#080b07ed}
.photo-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.photo-viewer h2 {font:600 1rem/1.4 var(--sans);letter-spacing:normal;margin:0}
.photo-viewer button {flex:none;width:44px;height:44px;border:1px solid #7d825d;border-radius:3px;background:#25291d;color:#fffcf4;font-size:1.8rem;line-height:1;cursor:pointer}
.photo-viewer :focus-visible {outline:3px solid #e7ed9e;outline-offset:3px}
.photo-viewer img {display:block;width:100%;height:auto;max-height:calc(100dvh - 120px);object-fit:contain}
@media(max-width:460px){dialog.photo-viewer{padding:10px}.photo-viewer h2{font-size:.9rem}.photo-viewer img{max-height:calc(100dvh - 150px)}}
