.property-search-form { scroll-margin-top: 16px; }
.property-search-form:focus { outline: none; }
.property-search-form:focus-visible { outline: 2px solid #87111a; outline-offset: 3px; }
.property-listing-header { margin-bottom: 24px; padding: 24px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; scroll-margin-top: 70px; }
.property-listing-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.property-listing-eyebrow { display: block; color: #a50a15; font-size: 11px; font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.property-listing-heading h1 { margin: 0; font-size: 30px; color: #26303b; }
.property-listing-count { margin: 0; text-align: right; color: #26303b; }
.property-listing-count strong { display: block; font-size: 16px; }
.property-listing-count span { display: block; font-size: 13px; color: #626b77; margin-top: 4px; }
.property-listing-toolbar { display: flex; gap: 16px; padding-top: 18px; border-top: 1px solid #e5e7eb; }
.property-listing-toolbar > div { flex: 1; min-width: 0; }
.property-listing-toolbar .property-listing-sort { flex: 2; }
.property-listing-toolbar label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.property-listing-toolbar .form-select { min-height: 44px; border-radius: 7px; }
.property-listing-toolbar .form-select:focus { border-color: #a50a15; box-shadow: 0 0 0 3px rgba(165,10,21,.12); }
.property-listing-help { color: #626b77; font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
@media (max-width: 575px) {
    .property-listing-header { padding: 18px; }
    .property-listing-heading { display: block; }
    .property-listing-count { text-align: left; margin-top: 12px; }
    .property-listing-toolbar { flex-direction: column; gap: 12px; }
}
.property-pagination { margin: 8px 0 24px; padding-top: 24px; border-top: 1px solid #e5e7eb; scroll-margin-top: 70px; }
.property-pagination-summary { margin: 0 0 12px; color: #626b77; font-size: 14px; text-align: center; }
.property-pagination-controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.property-page-numbers { display: flex; align-items: center; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.property-page-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #d6dae0; border-radius: 8px; background: #fff; color: #26303b; font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.4; }
a.property-page-button:hover { background: #fff2f3; border-color: #c70d1a; color: #a50a15; }
a.property-page-button:focus-visible { outline: 3px solid #87111a; outline-offset: 3px; }
.property-page-button.is-current { color: #fff; background: #c70d1a; border-color: #c70d1a; }
.property-page-button.is-disabled { color: #747c86; background: #f5f6f8; border-color: #e5e7eb; }
.property-page-ellipsis { color: #626b77; width: 16px; text-align: center; }
@media (max-width: 767px) {
    .property-pagination-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .property-page-numbers { grid-column: 1 / -1; grid-row: 1; gap: 4px; flex-wrap: wrap; }
    .property-page-prev { grid-column: 1; }
    .property-page-next { grid-column: 2; }
    .property-page-numbers .property-page-button { padding: 8px; }
}
@media (min-width: 992px) {
    .property-search-sidebar { align-self: stretch; width: 360px; }
    .property-search-results { width: calc(100% - 360px); min-width: 0; }
    .property-search-form {
        position: sticky;
        top: 16px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-gutter: stable;
    }
}
@media (min-width: 992px) and (max-width: 1399px) {
    .property-search-results > .row > .col-md-4 { width: 50%; }
}
.property-select-full-label { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; color: #495057; }
.property-select-full-label[hidden] { display: none; }
/* Keep all filters available on short desktop/laptop viewports. */
@media (min-width: 992px) and (max-height: 800px) {
    .property-search-form { padding: 12px !important; }
    .property-search-form .mb-3 { margin-bottom: 8px !important; }
    .property-search-form h2 { margin-bottom: 6px !important; font-size: 18px; }
    .property-search-form .form-label { margin-bottom: 4px; font-size: 14px; line-height: 1.3; }
    .property-search-form .form-select,
    .property-search-form .form-control { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; line-height: 1.4; }
    .property-search-form > p,
    .property-search-form [data-filter-status] { font-size: 12px; line-height: 1.4; }
    .property-search-form .btn { min-height: 38px; font-size: 14px; }
}
@media (max-width: 991px) {
    .property-search-shortcut {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        justify-content: flex-end;
        background: #fff;
        padding: 8px 0;
        margin-bottom: 16px;
        border-bottom: 1px solid #e1e4e8;
    }
    .property-search-shortcut .btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; background: #fff; }
}

/* Explicit colors prevent sticky touch-hover from producing white on white. */
.property-search-shortcut .btn,
.property-search-shortcut .btn:visited {color:#a20b17;background:#fff;border-color:#a20b17;font-weight:600;opacity:1;}
.property-search-shortcut .btn:hover,
.property-search-shortcut .btn:focus,
.property-search-shortcut .btn:active {color:#fff;background:#a20b17;border-color:#a20b17;}
.property-search-shortcut .btn:focus-visible {outline:3px solid #a20b17;outline-offset:3px;box-shadow:none;}
