.product-photos{min-width:0}
.product-photos .gallery-main{aspect-ratio:1;position:relative;background:#181a17;border:1px solid var(--line);border-radius:16px}
.product-photos .gallery-main img{object-fit:contain}
.product-photo-open{display:block;width:100%;height:100%;cursor:zoom-in}
.product-photo-open span{position:absolute;bottom:12px;right:12px;border:1px solid #ffffff35;border-radius:8px;background:#111e;padding:.42rem .65rem;color:#fff;font-size:.82rem}
.product-photo-thumbs{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.product-photo-thumbs a{display:grid;gap:.15rem;width:94px;padding:3px;border:1px solid var(--line);border-radius:9px;text-align:center;font-size:.75rem;color:var(--muted)}
.product-photo-thumbs img{width:100%;height:65px;object-fit:contain;background:#1d201a;border-radius:6px}
.product-photo-thumbs a[aria-current=true],.product-photo-thumbs a:hover{border-color:var(--lime);color:var(--text)}
.product-photo-thumbs a:focus-visible,.product-photo-open:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.product-photo-caption{margin:.55rem 0 0;font-size:.82rem;color:var(--muted)}
.product-photo-dialog{width:min(96vw,1120px);max-height:95dvh;padding:.65rem;border:1px solid var(--line);border-radius:14px;background:#171a14;color:var(--text);overflow:auto}
.product-photo-dialog::backdrop{background:#000c}
.product-photo-dialog form{text-align:right;margin-bottom:.4rem}
.product-photo-dialog button{background:var(--lime);color:#151713;border:0;border-radius:6px;min-height:44px;padding:0 .75rem;font-weight:700;cursor:pointer}
.product-photo-dialog img{width:100%;max-height:80dvh;object-fit:contain;margin:auto}
