.product-photo-button{display:block;width:100%;border:0;border-radius:0;padding:0;background:transparent;cursor:zoom-in;font:inherit;color:inherit}
.product-photo-button:focus-visible{outline:3px solid var(--red,#a33d32);outline-offset:-4px}
.product-detail>.product-photo-button{align-self:start}
.product-detail>.product-photo-button img{display:block;width:100%;height:360px;object-fit:contain;background:#ede8df;border:12px solid var(--card,#fff);box-shadow:0 10px 25px #172f4026}
.photo-lightbox{position:fixed;inset:0;margin:auto;width:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:20px;background:var(--card,#fffaf2);color:var(--ink,#172a3c);border:1px solid var(--line,#d9dedf);border-top:5px solid var(--red,#a33d32);border-radius:12px;box-shadow:0 20px 80px #0006;overflow:auto}
.photo-lightbox::backdrop{background:rgba(10,24,34,.84)}
.photo-lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.photo-lightbox-header h2{font-size:clamp(20px,3vw,28px);line-height:1.2;margin:0;overflow-wrap:anywhere}
.photo-lightbox-close{flex-shrink:0;min-height:44px;padding:10px 18px;border:0;border-radius:5px;background:var(--ink,#172a3c);color:var(--card,#fff);font:inherit;font-weight:bold;cursor:pointer}
.photo-lightbox-close:focus-visible{outline:3px solid var(--red,#a33d32);outline-offset:3px}
.photo-lightbox-stage{display:flex;justify-content:center;align-items:center}
.photo-lightbox-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 170px);object-fit:contain}
.photo-lightbox-status{margin:10px 0 0;font-size:16px}.photo-lightbox-status:empty{display:none}
@media(max-width:760px){.product-detail>.product-photo-button img{height:240px}.photo-lightbox{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.photo-lightbox-header{gap:12px;margin-bottom:12px}.photo-lightbox-close{padding:10px 14px}.photo-lightbox-stage img{max-height:calc(100dvh - 155px)}}
