.re-property-photo{position:relative}
.re-property-photo .re-gallery-open{position:absolute;z-index:3;right:16px;bottom:16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px;border:1px solid #ffffff8c;border-radius:999px;background:#f7f6f2f5;color:#153c3f;font:500 13px/1.2 Manrope,system-ui,sans-serif;box-shadow:0 3px 18px #122d3726;cursor:pointer;touch-action:manipulation}
.re-gallery-open svg,.re-gallery svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.re-gallery-open:hover{background:#fff}.re-gallery-open:focus-visible,.re-gallery button:focus-visible{outline:3px solid #b8a16b;outline-offset:3px}
dialog.re-gallery{box-sizing:border-box;width:min(1120px,94vw);max-width:none;max-height:94dvh;padding:0;border:1px solid #c7bc9c;border-radius:18px;background:#f7f6f2;color:#153c3f;overflow:hidden;box-shadow:0 24px 100px #071f3570;font-family:Manrope,system-ui,sans-serif}
dialog.re-gallery::backdrop{background:#071d25dc;backdrop-filter:blur(6px)}
.re-gallery__top{display:flex;align-items:center;gap:20px;min-height:72px;padding:14px 22px;box-sizing:border-box}
.re-gallery__title{flex:1;min-width:0;margin:0;font-size:clamp(16px,2vw,23px);font-weight:500;line-height:1.3;letter-spacing:-.025em}
.re-gallery__counter{direction:ltr;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;color:#5c6c68}
.re-gallery__close,.re-gallery__nav{display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #153c3f26;border-radius:50%;width:42px;height:42px;padding:0;background:#f7f6f2;color:#153c3f;cursor:pointer;touch-action:manipulation}
.re-gallery__stage{position:relative;display:flex;align-items:center;justify-content:center;height:min(62dvh,660px);min-height:210px;background:#102c31;overflow:hidden;touch-action:pan-y}
.re-gallery__photo{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:contain;user-select:none}.re-gallery__photo.is-loading{opacity:.4}
.re-gallery__nav{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:46px;height:46px;background:#f7f6f2eb;border-color:#fff8;box-shadow:0 2px 12px #0002}.re-gallery__nav:hover{background:#fff}.re-gallery__nav--previous{left:16px}.re-gallery__nav--next{right:16px}
.re-gallery__thumbs{direction:ltr;display:flex;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:14px 22px 10px;background:#f7f6f2}
.re-gallery__thumb{display:block;flex:0 0 88px;width:88px;height:60px;padding:0;border:2px solid transparent;border-radius:5px;overflow:hidden;background:#d6dcd6;opacity:.55;cursor:pointer;touch-action:manipulation}.re-gallery__thumb[aria-pressed=true]{border-color:#a99567;opacity:1}.re-gallery__thumb:hover{opacity:1}.re-gallery__thumb img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.re-gallery__hint{margin:0;padding:0 22px 12px;font-size:11px;line-height:1.5;color:#6e7b70}.re-gallery__error{position:absolute;inset:auto 60px;z-index:1;padding:20px;background:#f7f6f2;color:#153c3f;border-radius:8px;text-align:center;font-size:14px}.re-gallery__error[hidden]{display:none}
@media(max-width:600px){dialog.re-gallery{width:100vw;max-height:100dvh;border-radius:0;border-left:0;border-right:0}.re-gallery__top{min-height:70px;padding:12px 14px;gap:12px}.re-gallery__close{width:36px;height:36px}.re-gallery__stage{height:58dvh;min-height:250px}.re-gallery__nav{width:38px;height:38px}.re-gallery__nav--previous{left:8px}.re-gallery__nav--next{right:8px}.re-gallery__thumbs{padding:12px 14px 8px;gap:7px}.re-gallery__thumb{flex-basis:72px;width:72px;height:50px}.re-gallery__hint{padding:0 14px 12px}.re-property-photo .re-gallery-open{right:12px;bottom:12px;min-height:40px;padding:9px 13px;font-size:12px}}

.re-gallery__nav[hidden]{display:none}

html.has-property-gallery,html.has-property-gallery body{overflow:hidden}
