/* Only product-detail photo presentation; original page layout remains intact. */
#product-modal .modal-image { display:flex; flex-direction:column; justify-content:center; }
.photo-zoom-button { width:100%; background:transparent; border:0; padding:12px; cursor:zoom-in; }
#product-modal #modal-img { width:100%; height:auto; max-height:460px; object-fit:contain; }
.photo-thumbnails { display:flex; gap:8px; padding:10px 14px; flex-wrap:wrap; }
.photo-thumbnails[hidden] { display:none; }
.photo-thumbnails button { width:58px; height:64px; border:2px solid transparent; border-radius:4px; padding:3px; background:white; }
.photo-thumbnails button[aria-pressed="true"] { border-color:var(--primary-color); }
#product-modal .photo-thumbnails img { width:100%; height:100%; object-fit:contain; }
.photo-caption { padding:0 14px 16px; margin:0; font-size:13px; color:#56606c; }
.photo-dialog { width:min(1000px,94vw); max-height:94vh; padding:40px 16px 16px; border:0; border-radius:12px; background:var(--bg-surface); color:var(--text-primary); margin:auto; }
.photo-dialog::backdrop { background:rgba(0,0,0,.8); }
.photo-dialog img { display:block; width:100%; height:75vh; object-fit:contain; }
.photo-dialog p { margin:10px 0 0; text-align:center; font-size:14px; }
.photo-close { position:absolute; top:5px; right:10px; width:36px; height:36px; font-size:28px; border:0; border-radius:50%; background:var(--bg-surface-alt); color:var(--text-primary); }
@media(max-width:768px) { #product-modal #modal-img { max-height:330px; } .photo-thumbnails { justify-content:center; } .photo-thumbnails button { width:48px; height:52px; } }
