html.sbr-gallery-is-open{overflow:hidden}
.sbr-property-gallery{--gallery-navy:var(--wp--preset--color--navy,#102a43);--gallery-accent:var(--wp--preset--color--accent,#f4c542);--gallery-on-accent:var(--wp--preset--color--on-accent,#102a43);min-width:0;max-width:100%;color:var(--gallery-navy)}
.sbr-property-gallery .sbr-detail-cover{position:relative;margin:0;border-radius:18px;overflow:hidden;background:#edf0f2}
.sbr-property-gallery .sbr-gallery-opener{position:relative;display:block;border-radius:inherit;overflow:hidden}
.sbr-property-gallery [data-gallery-main]{display:block;width:100%;height:auto;aspect-ratio:39/21;object-fit:cover}
.sbr-property-gallery .sbr-gallery-open-label{position:absolute;right:14px;bottom:14px;display:flex;gap:18px;align-items:center;padding:9px 13px;border-radius:6px;background:var(--gallery-navy);color:white;font-size:12px;font-weight:600;box-shadow:0 3px 12px #0003}
.sbr-property-gallery .sbr-gallery-open-label>span{color:var(--gallery-accent);font-variant-numeric:tabular-nums}
.sbr-property-gallery .sbr-gallery-strip{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;margin-top:12px;min-width:0;max-width:100%}
.sbr-property-gallery .sbr-gallery-strip[hidden]{display:none}
.sbr-property-gallery .sbr-gallery-thumbnails{position:relative;display:flex;flex-flow:row nowrap;gap:9px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:var(--gallery-accent) transparent;scroll-snap-type:x proximity;padding:4px 2px 9px;touch-action:pan-x pan-y}
.sbr-property-gallery .sbr-gallery-thumb{display:block;flex:0 0 120px;min-width:0;padding:2px;border:2px solid transparent;border-radius:6px;overflow:hidden;scroll-snap-align:start;opacity:.72;transition:border-color .15s,opacity .15s}
.sbr-property-gallery .sbr-gallery-thumb img{display:block;width:112px;height:74px;max-width:100%;object-fit:cover;border-radius:3px}
.sbr-property-gallery .sbr-gallery-thumb:hover,.sbr-property-gallery .sbr-gallery-thumb.is-selected{opacity:1;border-color:var(--gallery-accent)}
.sbr-property-gallery .sbr-gallery-arrow{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;padding:0;border:1px solid var(--gallery-navy);border-radius:6px;background:var(--gallery-navy);color:var(--gallery-accent);cursor:pointer}
.sbr-property-gallery .sbr-gallery-arrow .icon{width:22px;height:22px;flex-shrink:0}
.sbr-property-gallery .sbr-gallery-arrow:hover:not(:disabled){background:var(--gallery-accent);border-color:var(--gallery-accent);color:var(--gallery-on-accent)}
.sbr-property-gallery .sbr-gallery-arrow:disabled{opacity:.28;cursor:default}
.sbr-property-gallery :is(a,button):focus-visible{outline:3px solid var(--gallery-accent);outline-offset:3px}
.sbr-property-gallery dialog.sbr-gallery-dialog{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--gallery-navy);color:white;overflow:hidden;overscroll-behavior:contain}
.sbr-property-gallery dialog.sbr-gallery-dialog:not([open]){display:none}
.sbr-property-gallery dialog.sbr-gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.sbr-property-gallery dialog.sbr-gallery-dialog::backdrop{background:var(--gallery-navy)}
.sbr-property-gallery .sbr-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 24px;border-bottom:1px solid #ffffff24}
.sbr-property-gallery .sbr-gallery-counter{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.sbr-property-gallery dialog.sbr-gallery-dialog .sbr-gallery-close{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:42px;max-width:100%;padding:9px 15px;border:1px solid var(--gallery-accent);border-radius:6px;background:var(--gallery-accent);color:var(--gallery-navy);font-size:14px;font-weight:700;cursor:pointer}
.sbr-property-gallery dialog.sbr-gallery-dialog .sbr-gallery-close .icon{width:21px;height:21px;flex-shrink:0;color:var(--gallery-navy);stroke:currentColor}
.sbr-property-gallery .sbr-gallery-viewer{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:12px;min-width:0;min-height:0;height:100%;padding:10px 18px;overflow:hidden}
.sbr-property-gallery .sbr-gallery-viewer.is-single{grid-template-columns:minmax(0,1fr)}
.sbr-property-gallery .sbr-gallery-stage{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}
.sbr-property-gallery dialog.sbr-gallery-dialog img.sbr-gallery-full-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:0}
.sbr-property-gallery .sbr-gallery-modal-arrow{width:56px;height:56px;border-color:#ffffff70;background:transparent;color:var(--gallery-accent)}
.sbr-property-gallery .sbr-gallery-modal-arrow .icon{width:28px;height:28px}
.sbr-property-gallery .sbr-gallery-modal-arrow[hidden],.sbr-property-gallery .sbr-gallery-full-image[hidden]{display:none}
.sbr-property-gallery .sbr-gallery-message{padding:24px;max-width:500px;text-align:center;font-size:15px;line-height:1.6;color:white}
.sbr-property-gallery .sbr-gallery-info{display:flex;justify-content:space-between;align-items:center;gap:16px 28px;min-width:0;padding:16px 24px;border-top:1px solid #ffffff24;overflow-wrap:anywhere}
.sbr-property-gallery .sbr-gallery-description{min-width:0}
.sbr-property-gallery .sbr-gallery-description h2{margin:0!important;font-size:clamp(18px,1.7vw,25px);line-height:1.25;color:white}
.sbr-property-gallery .sbr-gallery-description p{margin:6px 0 0!important;color:#fff;font-size:14px;line-height:1.4}
.sbr-property-gallery .sbr-gallery-description .sbr-gallery-facts{color:#ffffffb8;font-size:12px}
.sbr-property-gallery .sbr-gallery-price{display:grid;gap:6px;flex-shrink:0;text-align:right}
.sbr-property-gallery .sbr-gallery-price strong{font-size:clamp(19px,2vw,27px);line-height:1.25;font-weight:650;color:var(--gallery-accent)}
.sbr-property-gallery .sbr-gallery-price span{font-size:12px;line-height:1.4;color:#ffffffb8;font-variant-numeric:tabular-nums}
@media(max-width:600px){.sbr-property-gallery .sbr-gallery-strip{grid-template-columns:36px minmax(0,1fr) 36px;gap:7px}.sbr-property-gallery .sbr-gallery-rail-arrow{width:36px;height:40px}.sbr-property-gallery .sbr-gallery-thumb{flex-basis:100px}.sbr-property-gallery .sbr-gallery-thumb img{width:92px;height:64px}.sbr-property-gallery .sbr-gallery-header{min-height:60px;padding:9px 12px;gap:10px}.sbr-property-gallery .sbr-gallery-close{font-size:12px;gap:9px;padding:8px 11px}.sbr-property-gallery .sbr-gallery-viewer{grid-template-columns:42px minmax(0,1fr) 42px;gap:5px;padding:8px 5px}.sbr-property-gallery .sbr-gallery-viewer.is-single{grid-template-columns:minmax(0,1fr)}.sbr-property-gallery .sbr-gallery-modal-arrow{width:42px;height:48px}.sbr-property-gallery .sbr-gallery-modal-arrow .icon{width:23px;height:23px}.sbr-property-gallery .sbr-gallery-info{flex-wrap:wrap;align-items:flex-start;gap:12px;padding:13px 16px}.sbr-property-gallery .sbr-gallery-description{flex-basis:100%}.sbr-property-gallery .sbr-gallery-description h2{font-size:17px}.sbr-property-gallery .sbr-gallery-description p{font-size:12px}.sbr-property-gallery .sbr-gallery-price{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.sbr-property-gallery .sbr-gallery-price strong{font-size:20px}.sbr-property-gallery .sbr-gallery-price span{font-size:11px;white-space:nowrap}.sbr-property-gallery .sbr-gallery-open-label{font-size:10px;right:10px;bottom:10px;padding:7px 10px;gap:12px}}
@media(prefers-reduced-motion:reduce){.sbr-property-gallery .sbr-gallery-thumb{transition:none}}
@media(max-width:600px){.sbr-property-gallery .sbr-gallery-price{flex-wrap:wrap}.sbr-property-gallery .sbr-gallery-price strong{max-width:100%;overflow-wrap:anywhere}}
