.product-gallery{width:100%;min-width:0}.product-gallery figure{margin:0}.product-gallery .gallery-main{object-fit:contain;width:100%;height:380px;max-height:50vh;display:block}.product-gallery figcaption{color:#536d7f;text-align:center;padding:12px 0;font-size:13px;line-height:1.5}.gallery-thumbnails{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.gallery-thumbnails button{cursor:pointer;background:#fff;border:1px solid #cedbe6;border-radius:6px;width:70px;height:66px;padding:5px}.gallery-thumbnails button[aria-pressed=true]{background:#eef5ff;border:2px solid #0867ff}.product-gallery .gallery-thumbnails img{object-fit:contain;width:100%;height:100%;margin:0}.gallery-original{color:#245b92;font-size:12px}.gallery-empty{color:#60788b;text-align:center;padding:60px 20px}.gallery-editor-list{gap:14px;margin:20px 0;display:grid}.gallery-editor-row{border:1px solid #d4e1eb;border-radius:8px;grid-template-columns:100px minmax(0,1fr);gap:16px;padding:16px;display:grid}.gallery-editor-row>img{object-fit:contain;width:100%;height:100px}.gallery-editor-row label{margin:12px 0}.gallery-editor-row .product-actions{margin-top:10px}.gallery-library{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:10px;max-height:280px;margin-top:15px;display:grid;overflow:auto}.gallery-library button{cursor:pointer;overflow-wrap:anywhere;background:#fff;border:1px solid #d4e1eb;padding:8px;font-size:11px}.gallery-library img{object-fit:contain;width:100%;height:70px}.gallery-upload-input{display:none!important}@media (max-width:600px){.gallery-editor-row{grid-template-columns:minmax(0,1fr)}.gallery-editor-row>img{height:110px}.product-gallery .gallery-main{height:260px}}
