[data-sg-product] [data-sg-gallery18]{display:block;min-width:0}
[data-sg-product] .ryb-sg-gallery18-frames{display:grid;gap:12px}
[data-sg-product] [data-sg-frame]{margin:0}
[data-sg-product] [data-sg-frame]:not([data-sg-active]){display:none}
[data-sg-product] [data-sg-gallery18] img{display:block;width:auto;max-width:100%;height:auto;margin-inline:auto}
[data-sg-product] [data-sg-gallery18] [data-sg-photo]{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px}
[data-sg-product] .ryb-sg-gallery18-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:6px;margin-top:10px}
[data-sg-product] [data-sg-thumb]{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:3px;border:2px solid #ddd;border-radius:6px;background:#fff;cursor:pointer}
[data-sg-product] [data-sg-thumb] img{max-height:72px;max-width:100%;width:auto;height:auto}
[data-sg-product] [data-sg-thumb][aria-pressed=true]{border-color:#b00020}
[data-sg-product] [data-sg-thumb]:focus-visible{outline:3px solid #b00020;outline-offset:2px}
@media(min-width:750px){[data-sg-product] [data-sg-layout=stack] [data-sg-frame]{display:block}[data-sg-product] [data-sg-layout=stack] .ryb-sg-gallery18-thumbs{display:none}}
[data-sg-product] .ryb-sg-gallery18-legacy-desktop{display:none}
@media(min-width:750px){[data-sg-product] .ryb-sg-gallery18-legacy-desktop{display:block}[data-sg-product] [data-sg-layout=mobile-only]{display:none}}
