.product-gallery{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;min-width:0}.gallery-thumbnails[hidden]~.gallery-stage{grid-column:1/-1}.gallery-stage{position:relative;display:grid;place-items:center;min-height:420px;border-radius:18px;background:var(--theme-soft,#eff7f5);overflow:hidden}.gallery-stage>img{width:100%;height:100%;max-height:560px;object-fit:contain;cursor:zoom-in}.gallery-thumbnails{display:flex;flex-direction:column;gap:9px}.gallery-thumbnails button{width:72px;height:72px;padding:4px;border:2px solid transparent;border-radius:10px;background:var(--theme-surface,#fff);cursor:pointer}.gallery-thumbnails button.active{border-color:var(--theme-accent,#078d87)}.gallery-thumbnails img{width:100%;height:100%;object-fit:contain}.gallery-arrow{position:absolute;z-index:2;top:50%;translate:0 -50%;width:40px;height:40px;border:0;border-radius:50%;background:rgba(17,24,39,.72);color:#fff;font-size:28px;cursor:pointer}.gallery-arrow.previous{left:12px}.gallery-arrow.next{right:12px}
.image-lightbox{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:30px;border:0;background:rgba(8,10,13,.96);overflow:hidden}.image-lightbox[open]{display:grid;place-items:center}.image-lightbox::backdrop{background:rgba(8,10,13,.96)}.image-lightbox>img{max-width:calc(100vw - 140px);max-height:calc(100vh - 80px);object-fit:contain}.lightbox-close,.lightbox-arrow{position:fixed;z-index:2;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}.lightbox-close{right:22px;top:18px;width:46px;height:46px;border-radius:50%;font-size:30px}.lightbox-arrow{top:50%;translate:0 -50%;width:54px;height:70px;border-radius:14px;font-size:42px}.lightbox-arrow.previous{left:22px}.lightbox-arrow.next{right:22px}.image-lightbox>span{position:fixed;bottom:18px;color:#fff;font-weight:700}
@media(max-width:760px){.product-gallery{grid-template-columns:1fr}.gallery-stage{min-height:310px}.gallery-thumbnails{order:2;flex-direction:row;overflow:auto}.gallery-thumbnails button{flex:0 0 62px;width:62px;height:62px}.image-lightbox>img{max-width:calc(100vw - 24px);max-height:calc(100vh - 100px)}.lightbox-arrow{width:44px;height:60px}.lightbox-arrow.previous{left:8px}.lightbox-arrow.next{right:8px}}
