.snd-gallery-rail,.snd-gallery-existing,.snd-gallery-selected{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start}
.product-card>.snd-gallery-rail{padding:10px 14px;border-bottom:1px solid #e6edf2;background:#fff}
.snd-gallery-rail:empty{display:none}.snd-gallery-rail{margin-bottom:12px}
.snd-gallery-thumb{display:inline-flex!important;align-items:center;justify-content:center;width:64px!important;height:64px!important;padding:4px!important;border:1px solid #cbd8e4!important;background:#fff!important;border-radius:8px;cursor:zoom-in;overflow:hidden;flex:0 0 auto}
.snd-gallery-thumb[hidden]{display:none!important}.snd-gallery-thumb img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%!important;max-height:100%!important}
.snd-gallery-thumb:hover,.snd-gallery-thumb:focus-visible{outline:2px solid #0077c8;outline-offset:2px}
.snd-gallery-manager{padding:14px;margin-top:14px;border:1px solid #cbdde9;border-radius:10px;background:#f8fbfd}
.snd-gallery-existing,.snd-gallery-selected{margin:12px 0}.snd-gallery-manager figure,.snd-gallery-rail figure{margin:0;max-width:110px}
.snd-gallery-manager figure label{display:block;font-size:11px;font-weight:400;margin-top:5px}.snd-gallery-remove{display:block;font-size:11px;border:0;background:none;color:#a5241b;padding:5px 0;cursor:pointer;text-align:left}
[data-snd-gallery] .product-image img,#previewPictureContent img{cursor:zoom-in}
#galleryStatus[data-error="1"]{color:#b42318;font-weight:bold}
.snd-photo-dialog{padding:0;border:0;border-radius:14px;width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:94dvh;background:#10263f;color:white;box-shadow:0 20px 80px #0008;overflow:auto}
.snd-photo-dialog::backdrop{background:#061524d9}.snd-photo-dialog form{margin:0}
.snd-photo-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.snd-photo-dialog-head h2{font:700 17px Arial,sans-serif;margin:0;color:white}
.snd-photo-dialog button{font:700 15px Arial,sans-serif;cursor:pointer;color:white;border:1px solid #ffffff55;background:#ffffff14;border-radius:7px;padding:9px 13px}
.snd-photo-stage{height:min(65dvh,700px);min-height:150px;display:flex;align-items:center;justify-content:center;background:#fff;padding:12px}
.snd-photo-stage img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.snd-photo-controls{display:flex;align-items:center;justify-content:center;gap:15px;padding:10px}
.snd-photo-filmstrip{display:flex;gap:8px;padding:0 14px 14px;overflow:auto}.snd-photo-filmstrip .snd-gallery-thumb{width:54px!important;height:54px!important}.snd-photo-filmstrip .is-active{outline:2px solid #66bfff;outline-offset:1px}
@media(max-width:620px){.snd-photo-stage{height:58dvh}.snd-photo-dialog-head h2{font-size:14px}.snd-gallery-thumb{width:58px!important;height:58px!important}}
