.sbs-gallery.cro-gallery{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:start;min-width:0;position:sticky;top:20px}
.sbs-gallery .sbs-gallery-view{position:relative;grid-column:2;grid-row:1;min-width:0}
.sbs-gallery .cro-main-image{display:block;width:100%;aspect-ratio:4/5;max-height:none;height:auto;border-radius:5px;overflow:hidden;background:#e1d2bf}
.sbs-gallery .cro-main-image img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;cursor:zoom-in}
.sbs-gallery .cro-main-image video,.sbs-gallery .cro-main-image iframe{display:block;width:100%;height:100%;object-fit:contain;border:0;background:#351916}
.sbs-gallery .cro-thumbs{display:flex;flex-direction:column;align-self:start;grid-column:1;grid-row:1;gap:12px;width:72px;max-height:none;margin:0;padding:0;overflow:visible}
.sbs-gallery .cro-thumbs button{box-sizing:border-box;position:relative;display:block;flex:0 0 72px;width:72px;height:72px;padding:3px;overflow:hidden;border:2px solid transparent;border-radius:5px;background:#e1d2bf;outline:none;cursor:pointer}
.sbs-gallery .cro-thumbs button[aria-current=true]{border-color:#80231e;outline:none}
.sbs-gallery .cro-thumbs button:focus-visible{box-shadow:0 0 0 2px #fbf8f4,0 0 0 4px #80231e}
.sbs-gallery .cro-thumbs img{display:block;width:100%;height:100%;object-fit:contain;object-position:center!important;border-radius:2px}
.sbs-gallery .cro-play-badge{position:absolute;right:3px;bottom:3px;background:#80231e;color:#fbf8f4;border-radius:50%;font-size:12px;width:22px;height:22px;display:grid;place-items:center}
.sbs-gallery-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ddcfc1;border-radius:50%;background:#fbf8f4ef;color:#80231e;box-shadow:0 2px 8px #35191614;cursor:zoom-in}
.sbs-gallery-expand[hidden]{display:none}.sbs-gallery-expand:focus-visible{outline:2px solid #80231e;outline-offset:3px}
.sbs-image-dialog{box-sizing:border-box;width:min(1100px,96vw);max-width:96vw;height:94dvh;max-height:94dvh;padding:0;border:1px solid #ddcfc1;border-radius:8px;background:#fbf8f4;color:#351916;overflow:hidden}
.sbs-image-dialog::backdrop{background:#351916bd}.sbs-zoom-toolbar{height:56px;display:flex;justify-content:space-between;align-items:center;padding:6px 16px;gap:16px;border-bottom:1px solid #ddcfc1}.sbs-zoom-toolbar button{font:600 14px/1.4 var(--f-sans);padding:10px;min-height:44px;color:#80231e}
.sbs-zoom-content{height:calc(100% - 56px);overflow:auto;overscroll-behavior:contain;text-align:center}.sbs-zoom-content img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;margin:0 auto}.sbs-image-dialog.is-magnified .sbs-zoom-content img{width:180%;height:180%;object-fit:contain;cursor:zoom-out}
@media(max-width:767px){.sbs-gallery.cro-gallery{display:flex;flex-direction:column;position:static;gap:12px;margin-bottom:22px}.sbs-gallery .sbs-gallery-view{width:100%}.sbs-gallery .cro-main-image{aspect-ratio:1;max-height:none}.sbs-gallery .cro-thumbs{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;overflow:visible}.sbs-gallery .cro-thumbs button{width:64px;height:64px;flex:0 0 64px}.sbs-image-dialog{width:96vw;height:90dvh}.sbs-gallery-expand{right:10px;bottom:10px}}

.sbs-image-dialog{background:transparent;border:0;box-shadow:none}.sbs-image-dialog::backdrop{background:rgba(53,25,22,.12)}.sbs-zoom-toolbar{background:transparent;border:0}.sbs-zoom-toolbar button{background:#fbf8f4e8;border:1px solid #ddcfc1;border-radius:24px}.sbs-zoom-content{background:transparent}
