.lgw-gallery{display:flex;flex-direction:column;width:100%;max-width:520px;margin:0 auto}
.lgw-main{position:relative;width:100%;background:#fff;border:1px solid #e8e8e8;padding:10px;box-sizing:border-box}
.lgw-main img{display:block;width:100%;height:auto}
.lgw-lens{position:absolute;width:150px;height:150px;border:1px solid #c8102e;background:rgba(200,16,46,.10);
  pointer-events:none;display:none;z-index:5}
.lgw-zoom{position:absolute;top:0;left:calc(100% + 12px);width:340px;height:340px;border:1px solid #e8e8e8;pointer-events:none;
  background-repeat:no-repeat;background-color:#fff;display:none;z-index:20;box-shadow:0 6px 24px rgba(0,0,0,.12)}
.lgw-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;justify-content:center}
.lgw-th{width:76px;height:76px;padding:2px;border:1px solid #ddd;background:#fff;cursor:pointer;
  box-sizing:border-box;line-height:0}
.lgw-th img{width:100%;height:100%;object-fit:contain}
.lgw-th.on{border-color:#c8102e}
.lgw-th:hover{border-color:#999}
@media (max-width:900px){.lgw-zoom{display:none!important}}
