.photo-slider{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:16px;background:#f3f1eb}
.detail .photo-zoom{display:block;padding:0;border:0;background:transparent;width:100%;height:100%;cursor:zoom-in}
.detail .photo-zoom .gallery-main-image{display:block;width:100%;height:100%;object-fit:contain}
.photo-slider .photo-prev,.photo-slider .photo-next,.product-photo-dialog .photo-prev,.product-photo-dialog .photo-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid #d8ddd7;border-radius:50%;padding:0;background:#fff;color:#193e39;font-size:30px;line-height:1;z-index:2}
.photo-prev{left:12px}.photo-next{right:12px}
.detail .photo-thumbnails{display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;padding:10px 2px;max-width:100%}
.photo-thumbnails button{flex:0 0 82px;width:82px;height:82px;padding:3px;border:2px solid transparent;border-radius:10px;background:transparent}
.photo-thumbnails button[aria-pressed=true]{border-color:#193e39}
.detail .photo-thumbnails img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.product-photo-dialog{box-sizing:border-box;width:min(1100px,94vw);height:min(900px,92dvh);max-width:94vw;max-height:92dvh;margin:auto;border:0;border-radius:16px;padding:60px 58px 42px;background:#faf9f6;overflow:hidden}
.product-photo-dialog::backdrop{background:rgba(0,0,0,.75)}
.product-photo-dialog>img{display:block;width:100%;height:100%;object-fit:contain;touch-action:pan-y}
.product-photo-dialog .photo-close{position:absolute;right:12px;top:10px;width:42px;height:42px;padding:0;background:#193e39;color:white;border:0;border-radius:50%;font-size:28px}
.product-photo-dialog .photo-count{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#193e39}
.photo-slider button:focus-visible,.photo-thumbnails button:focus-visible,.product-photo-dialog button:focus-visible{outline:3px solid #b85836;outline-offset:2px}
@media(max-width:600px){.product-photo-dialog{padding:60px 8px 42px}.product-photo-dialog .photo-prev{left:5px}.product-photo-dialog .photo-next{right:5px}.photo-thumbnails button{flex-basis:68px;width:68px;height:68px}}
