.lsg{box-sizing:border-box;max-width:100%}
.lsg *{box-sizing:border-box}
.lsg__view{position:relative;overflow:hidden}
.lsg__track{display:flex;gap:10px;margin:0;padding:0;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.lsg__track::-webkit-scrollbar{display:none}
.lsg__slide{flex:0 0 100%;scroll-snap-align:start;margin:0;padding:0;list-style:none}
.lsg__slide img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;max-height:600px}
.lsg__arrow{position:absolute;top:50%;z-index:2;width:32px;height:32px;margin-top:-16px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.55) no-repeat center/18px;cursor:pointer;opacity:.5;transition:opacity .35s linear;box-shadow:none}
.lsg__arrow:hover,.lsg__arrow:focus-visible{opacity:1}
.lsg__arrow[disabled]{opacity:.2;pointer-events:none}
.lsg__arrow--prev{left:10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E")}
.lsg__arrow--next{right:10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E")}
.lsg__thumbs{display:flex;gap:5px;margin-top:5px;overflow:hidden;scrollbar-width:none}
.lsg__thumb{flex:0 0 calc((100% - 40px) / 9);margin:0;padding:0;border:2px solid transparent;background:none;cursor:pointer;overflow:hidden;box-shadow:none;line-height:0}
.lsg__thumb img{display:block;width:100%;height:auto}
.lsg__thumb:hover,.lsg__thumb.is-active{border-radius:5px}
.lsg__thumb.is-active{border-color:#000}
.lsg__thumb:focus-visible,.lsg__view:focus-visible{outline:2px solid #428bca;outline-offset:2px}
.lsg__track,.lsg__thumbs{-webkit-overflow-scrolling:touch}
@media (prefers-reduced-motion:reduce){.lsg__arrow{transition:none}}
