[data-gallery-full]{cursor:zoom-in}
.product-detail-gallery .detail-image [hidden]{display:none}
.product-detail-gallery .detail-image video{display:block;width:100%;height:100%;max-height:640px;object-fit:contain;background:#111;border-radius:8px}
.gallery-thumbs .gallery-video-thumb{flex:0 0 80px;display:grid;place-items:center;gap:0;width:80px;height:80px;padding:8px;border:2px solid #eee;border-radius:8px;background:#f8f8f8;color:#b51c15;cursor:pointer}
.gallery-video-thumb span{font-size:25px;line-height:1}.gallery-video-thumb small{font-size:11px;font-weight:700}.gallery-thumbs .gallery-video-thumb[aria-current=true]{border-color:var(--red)}.gallery-video-thumb:focus-visible{outline:3px solid var(--red);outline-offset:2px}
body.product-photo-open{overflow:hidden}
.product-lightbox{position:fixed;inset:0;margin:auto;width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:52px 16px 16px;border:0;border-radius:14px;background:#fff;box-shadow:0 16px 60px #0005;box-sizing:border-box}
.product-lightbox::backdrop{background:#000b}
.product-lightbox [data-gallery-large]{display:block;width:100%;height:auto;max-height:calc(100vh - 145px);max-height:calc(100dvh - 145px);object-fit:contain;touch-action:pan-y}
.product-lightbox-close{position:absolute;top:7px;right:7px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #ddd;border-radius:50%;background:#fff;color:#b71914;font-size:30px;line-height:1;cursor:pointer}
.product-lightbox-close:hover{background:#fbeeea}
.product-lightbox-close:focus-visible{outline:3px solid #b71914;outline-offset:2px}
.product-lightbox-prev,.product-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:52px;padding:0;border:1px solid #ddd;border-radius:8px;background:#fffe;color:#b71914;box-shadow:0 2px 8px #0002;font-size:38px;line-height:1;cursor:pointer}
.product-lightbox-prev{left:12px}.product-lightbox-next{right:12px}
.product-lightbox-prev:hover,.product-lightbox-next:hover{background:#fbeeea}
.product-lightbox-prev:focus-visible,.product-lightbox-next:focus-visible{outline:3px solid #b71914;outline-offset:2px}
.product-lightbox-status{min-height:20px;margin:12px 48px 0;text-align:center;color:#606873;font-size:13px;line-height:1.5}
@media(max-width:520px){.product-lightbox{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:52px 8px 8px;border-radius:10px}}
