.estate-filters { flex-wrap: wrap; }
.estate-filters .filter-button { min-height: 44px; }
.property-detail-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property-detail-specs > div { min-width: 0; overflow-wrap: anywhere; }
.property-detail-specs dt { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #62615b; }
.property-detail-specs dd { margin: 0; font-size: 17px; white-space: pre-line; font-variant-numeric: tabular-nums; }
.property-detail-specs > .property-spec-wide { grid-column: 1 / -1; }
.property-album { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.property-album img { display: block; width: 100%; height: 100px; object-fit: cover; }
.property-gallery { display: block; align-self: start; min-width: 0; }
.gallery-stage { position: relative; min-width: 0; background: var(--ink); }
.gallery-track { display: flex; width: 100%; height: 520px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.gallery-photo { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.property-gallery .gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; transform: translateY(-50%); }
.gallery-previous { left: 12px; }
.gallery-next { right: 12px; }
.gallery-arrow:hover { background: #e8e4d9; }
.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; border-bottom: 1px solid var(--line); }
.gallery-counter { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery-expand { min-height: 44px; border: 0; padding: 0 2px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.gallery-thumbnails { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px; scrollbar-color: var(--muted) var(--cream); }
.gallery-thumbnail { flex: 0 0 84px; width: 84px; height: 68px; border: 2px solid transparent; padding: 2px; background: transparent; cursor: pointer; }
.gallery-thumbnail[aria-current="true"] { border-color: var(--gold); }
.property-gallery .gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gallery-album-photo { border: 0; padding: 0; background: var(--ink); cursor: zoom-in; }
.property-gallery button:focus-visible, .gallery-album-photo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-photo:focus-visible { outline-offset: -5px; }
.gallery-empty { display: grid; place-items: center; min-height: 280px; background: #e9e7df; color: var(--muted); }
.property-lightbox { box-sizing: border-box; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border: 0; background: #17191b; color: #fff; }
.property-lightbox:not([open]) { display: none; }
.property-lightbox[open] { display: flex; flex-direction: column; gap: 12px; }
.property-lightbox::backdrop { background: #17191b; }
.gallery-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-viewer-header > p { min-width: 0; margin: 0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-close { flex-shrink: 0; min-height: 44px; padding: 8px 16px; border: 1px solid #777; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.gallery-close:hover { background: #303235; }
.property-lightbox .gallery-stage { flex: 1; min-height: 0; background: transparent; }
.property-lightbox .gallery-track { height: 100%; }
.gallery-viewer-counter { text-align: center; }
.property-gallery-open, .property-gallery-open body { overflow: hidden; }
@media (max-width: 880px) {
  .gallery-track { height: clamp(280px, 96vw, 480px); }
  .gallery-previous { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-thumbnail { flex-basis: 72px; width: 72px; height: 60px; }
}
.property-description { white-space: normal; overflow-wrap: anywhere; }
.property-description > p { white-space: pre-wrap; }
.property-description video { display: block; max-width: 100%; width: 760px; max-height: 520px; margin: 20px 0; background: #17191b; border-radius: 5px; }
