gw-radost-gallery{display:block;min-width:0}
.rn-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:12px;background:#f4f0e9;aspect-ratio:4/3;overscroll-behavior-x:contain}
.rn-gallery-track::-webkit-scrollbar{display:none}
.rn-gallery-slide{position:relative;flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.rn-gallery-slide>.rn-photo{height:100%;border-radius:0}
.rn-gallery-sample{display:block;width:100%;height:100%;object-fit:contain}
.rn-gallery-controls{display:flex;gap:10px;margin-top:12px;align-items:center}
.gw-radost .rn-gallery-thumb{width:48px;height:48px;padding:3px;background:transparent;border:1px solid transparent;border-radius:6px;cursor:pointer}
.rn-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}
.rn-gallery-thumb[aria-current=true]{border-color:var(--rn-green)}
.gw-radost .rn-gallery-zoom{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:7px;min-height:44px;padding:10px 13px;border:1px solid #cbd3c4;border-radius:6px;background:#fffefbf2;color:var(--rn-green);font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer}
.rn-gallery-zoom svg{width:17px;height:17px}
.rn-viewer-open{position:fixed!important;left:0;right:0;width:100%;overflow:hidden!important}
.gw-radost .rn-gallery-dialog{position:fixed;inset:0;width:min(1100px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:24px;border:0;border-radius:12px;background:#fffdf8;color:var(--rn-ink);overflow:auto;overscroll-behavior:contain}
.rn-gallery-dialog::backdrop{background:#1f302bbd}
.rn-gallery-dialog img{display:block;width:100%;height:auto;margin:auto}
.gw-radost .rn-gallery-close{position:sticky;top:0;display:block;margin:0 0 12px auto;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #cbd3c4;border-radius:6px;background:#fffdf8;color:var(--rn-green);font:inherit;cursor:pointer;z-index:1}
.gw-radost .rn-gallery-caption{font-size:14px;line-height:1.65;margin:18px 0 0}
@media(max-width:700px){.rn-gallery-track{border-radius:10px}.gw-radost .rn-gallery-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:12px 12px max(16px,env(safe-area-inset-bottom))}.gw-radost .rn-gallery-zoom{right:8px;bottom:8px}}
@media(prefers-reduced-motion:reduce){.rn-gallery-track{scroll-behavior:auto}}

.gw-radost .rn-gallery-note{display:block;min-height:22px;margin:6px 0 0;font-size:14px;line-height:1.5;color:var(--rn-ink)}

.gw-radost .rn-product>gw-radost-gallery+h3{margin-top:8px}
