.photo-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:rgba(10,12,16,.94);color:#fff;display:grid;grid-template-rows:auto 1fr auto}.photo-viewer:not([open]){display:none}.photo-viewer::backdrop{background:rgba(10,12,16,.6)}.photo-viewer header{display:flex;align-items:center;gap:12px;padding:12px 16px}.photo-viewer header strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.photo-viewer header span{font-size:14px;opacity:.8}.photo-viewer header button{width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer}.photo-viewer-stage{position:relative;min-height:0;display:grid;place-items:center;padding:8px 56px}.photo-viewer-stage .product-photo-frame{width:auto!important;height:auto;max-width:100%;max-height:calc(100dvh - 140px);aspect-ratio:auto!important;background:transparent;border-radius:8px}.photo-viewer-stage .product-photo-frame img{width:auto;height:auto;max-width:min(100%,1600px);max-height:calc(100dvh - 140px);object-fit:contain}.photo-viewer-stage .product-photo-frame.is-loading{width:min(70vw,600px)!important;aspect-ratio:1!important}.photo-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:64px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font-size:34px;cursor:pointer}.photo-viewer-nav.prev{left:8px}.photo-viewer-nav.next{right:8px}.photo-viewer-nav:hover{background:rgba(255,255,255,.24)}.photo-viewer-dots{display:flex;justify-content:center;gap:8px;padding:10px 0 16px}.photo-viewer-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.35);cursor:pointer}.photo-viewer-dots button.on{background:#fff}@media (max-width:600px){.photo-viewer-stage{padding:8px}.photo-viewer-nav{width:38px;height:54px;background:rgba(0,0,0,.35)}}.catalog-photo-button{padding:0;border:0;background:none;cursor:zoom-in;line-height:0;border-radius:12px}.catalog-photo-button:focus-visible{outline:3px solid var(--orange,#ff4b20);outline-offset:2px}