.resi-bt-unit-grid,
.resi-bt-unit-map-grid,
.resi-bt-neighborhood-dropdown {
    --resi-bt-font-accent: "Montserrat", Arial, Helvetica, sans-serif;
}

.resi-bt-unit-map-grid {
    --resi-bt-unit-map-grid-controls-height: 0px;
    --resi-bt-unit-map-grid-sticky-offset: 5rem;
    position: relative;
    overflow: visible;
}

.resi-bt-unit-map-grid__controls {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0;
    margin-bottom: 1rem;
    background: #fff;
}

.resi-bt-unit-map-grid__filter-group {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    min-width: 0;
}

.resi-bt-unit-map-grid__search {
    position: relative;
}

.resi-bt-unit-map-grid__search input {
    width: 13rem;
    box-sizing: border-box;
    min-height: 2.5rem;
    padding: 0.5rem 2rem 0.5rem 0.8rem;
    border: 1px solid #d8d5cf;
    border-radius: 999px;
    background: #f4f2ed;
    color: #333;
    font: inherit;
    font-size: inherit;
}

.resi-bt-unit-map-grid__search input:focus,
.resi-bt-unit-map-grid__search input:active {
    outline: none;
    box-shadow: none;
}

.resi-bt-unit-map-grid__search::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 0.8rem;
    height: 0.8rem;
    border: 1.5px solid #7b7770;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.resi-bt-unit-map-grid__search::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.62rem;
    width: 0.35rem;
    height: 1.5px;
    background: #7b7770;
    transform: translateY(0.2rem) rotate(45deg);
    pointer-events: none;
}

.resi-bt-unit-map-grid__facet {
    position: relative;
}

.resi-bt-unit-map-grid__facet summary {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    box-sizing: border-box;
    min-height: 2.5rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid #d8d5cf;
    border-radius: 999px;
    background: #f4f2ed;
    color: #333;
    font-size: inherit;
    cursor: pointer;
    list-style: none;
}

.resi-bt-unit-map-grid__facet summary::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-0.1rem) rotate(45deg);
}

.resi-bt-unit-map-grid__facet summary::-webkit-details-marker {
    display: none;
}

.resi-bt-unit-map-grid__mobile-filters {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.resi-bt-unit-map-grid__mobile-filters > summary {
    display: none;
}

.resi-bt-unit-map-grid__mobile-filters-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .resi-bt-unit-map-grid__mobile-filters > .resi-bt-unit-map-grid__mobile-filters-menu {
        display: flex !important;
    }
}

.resi-bt-unit-map-grid__facet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.resi-bt-unit-map-grid__summary-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    min-height: 1.15rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ddd9d1;
    color: #666;
    font-size: 0.72rem;
    line-height: 1;
}

.resi-bt-unit-map-grid__summary-count[hidden] {
    display: none;
}

.resi-bt-unit-map-grid__clear-filters {
    padding: 0;
    border: 0;
    background: transparent;
    color: #9b6f5f;
    font: inherit;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}

.resi-bt-unit-map-grid__clear-filters[hidden] {
    display: none;
}

.resi-bt-unit-map-grid__mobile-filters-header {
    display: none;
}

.resi-bt-unit-map-grid__mobile-filters-close {
    display: none;
}

.resi-bt-unit-map-grid__loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.resi-bt-unit-map-grid__loading::before {
    content: "";
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    aspect-ratio: 1;
    border: 2px solid rgba(155, 111, 95, 0.25);
    border-top-color: #9b6f5f;
    border-radius: 50%;
    animation: resi-bt-unit-map-grid-spin 0.75s linear infinite;
    transform-origin: center;
}

.resi-bt-unit-map-grid__loading[hidden] {
    display: none;
}

.resi-bt-unit-map-grid__facet-menu {
    position: absolute;
    z-index: 10;
    top: calc(100% + 0.35rem);
    min-width: 16rem;
    max-height: 18rem;
    overflow: auto;
    padding: 0.55rem 0.65rem;
    border: 1px solid #d8d5cf;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
}

.resi-bt-unit-map-grid__sort {
    flex: 0 0 auto;
    margin-left: auto;
}

.resi-bt-unit-map-grid__sort .resi-bt-unit-map-grid__facet-menu {
    right: 0;
    min-width: 10rem;
}

.resi-bt-unit-map-grid__facet-option {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.3rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.25;
}

.resi-bt-unit-map-grid__facet-option input {
    flex: 0 0 auto;
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
}

.resi-bt-unit-map-grid__facet-section + .resi-bt-unit-map-grid__facet-section {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid #e5e1da;
}

.resi-bt-unit-map-grid__facet-section-title {
    margin-bottom: 0.3rem;
    color: #8a8178;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.resi-bt-unit-map-grid__facet-empty,
.resi-bt-unit-map-grid__status,
.resi-bt-unit-map-grid__meta {
    color: #666;
    font-size: 0.875rem;
}

.resi-bt-unit-map-grid__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    overflow: visible;
}

.resi-bt-unit-map-grid__map-shell {
    position: -webkit-sticky;
    position: sticky;
    top: var(--resi-bt-unit-map-grid-sticky-offset);
    align-self: start;
    width: 100%;
    height: calc(100vh - var(--resi-bt-unit-map-grid-sticky-offset));
    min-height: 30rem;
    z-index: 5;
}

.resi-bt-unit-map-grid__map {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f3f3f3;
}

.resi-bt-unit-map-grid__map > div,
.resi-bt-unit-map-grid__map .gm-style {
    width: 100% !important;
    height: 100% !important;
}

.resi-bt-unit-map-grid__map-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30rem;
    padding: 1rem;
    text-align: center;
}

.resi-bt-unit-map-grid__marker {
    position: absolute;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.35rem 0.25rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.resi-bt-unit-map-grid__marker.is-selected {
    background: #9b6f5f;
    outline: 2px solid #fff;
    box-shadow: 0 0 0 2px #9b6f5f, 0 2px 6px rgba(0, 0, 0, 0.18);
}

.resi-bt-unit-map-grid__marker.is-selected .resi-bt-unit-map-grid__marker-count {
    color: #9b6f5f;
}

.resi-bt-unit-map-grid__marker-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    min-height: 1.3rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #fff;
    color: #111;
}

.resi-bt-unit-grid .fs-grid-item-holder,
.resi-bt-unit-map-grid .fs-grid-item-holder {
    font-size: 0.9rem;
}

.resi-bt-unit-grid .uk-slider-items > .fs-grid-item-holder,
.resi-bt-unit-map-grid__items > .fs-grid-item-holder {
    align-self: stretch;
    height: 100%;
    min-height: 100%;
}

.resi-bt-unit-grid .uk-slider-items,
.resi-bt-unit-map-grid__items {
    align-items: stretch;
}

.resi-bt-unit-grid .fs-grid-item-holder > .el-item,
.resi-bt-unit-map-grid .fs-grid-item-holder > .el-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.resi-bt-unit-grid .fs-grid-item-holder .uk-card-body,
.resi-bt-unit-map-grid .fs-grid-item-holder .uk-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.resi-bt-unit-grid .fs-grid-item-holder .uk-card-body .el-sublayout,
.resi-bt-unit-grid .fs-grid-item-holder .uk-card-body .uk-panel,
.resi-bt-unit-map-grid .fs-grid-item-holder .uk-card-body .el-sublayout,
.resi-bt-unit-map-grid .fs-grid-item-holder .uk-card-body .uk-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__cta-wrap,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__cta-wrap {
    margin-top: auto;
    padding-top: 10px;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__cta-inner,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__cta-inner {
    margin-bottom: 0;
}

.resi-bt-unit-grid .fs-grid-item-holder .uk-card-media-top > .uk-transition-toggle,
.resi-bt-unit-map-grid .fs-grid-item-holder .uk-card-media-top > .uk-transition-toggle {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
}

.resi-bt-unit-grid .fs-grid-item-holder .uk-card-media-top .el-image,
.resi-bt-unit-map-grid .fs-grid-item-holder .uk-card-media-top .el-image {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.resi-bt-unit-grid .fs-grid-item-holder h4:not(.resi-bt-unit-card__title),
.resi-bt-unit-grid .fs-grid-item-holder h5,
.resi-bt-unit-grid .fs-grid-item-holder .uk-button,
.resi-bt-unit-map-grid .fs-grid-item-holder h4:not(.resi-bt-unit-card__title),
.resi-bt-unit-map-grid .fs-grid-item-holder h5,
.resi-bt-unit-map-grid .fs-grid-item-holder .uk-button {
    font-size: 0.9em;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    margin-bottom: 12px;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title-link,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title-link {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title-row,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 5px;
    max-width: 100%;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__title-link,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__title-link,
.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__offer-pill,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__offer-pill {
    vertical-align: middle;
    line-height: 1;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__title-link,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__title-link {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__offer-pill,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__title-row .resi-bt-unit-card__offer-pill {
    margin-top: 0;
    margin-bottom: 0;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__offer-pill,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__offer-pill {
    display: inline-block;
    padding: 2px 8px;
    border: 0.5px solid #C4A8F5;
    border-radius: 999px;
    background: #F3EFF8;
    color: #232526;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    white-space: nowrap;
}

.resi-bt-unit-grid .resi-bt-unit-card__title-link,
.resi-bt-unit-map-grid .resi-bt-unit-card__title-link {
    color: inherit;
    text-decoration: none;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__subtitle,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__subtitle {
    display: block;
    line-height: 24px;
}

.resi-bt-unit-grid .resi-bt-unit-card__subtitle-address,
.resi-bt-unit-map-grid .resi-bt-unit-card__subtitle-address {
    font-family: var(--resi-bt-font-accent);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.25px;
    line-height: 22px;
    color: #232526;
    text-transform: uppercase;
}

.resi-bt-unit-grid .resi-bt-unit-card__subtitle-unit,
.resi-bt-unit-map-grid .resi-bt-unit-card__subtitle-unit {
    font-family: var(--resi-bt-font-accent);
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    margin-top: -2px;
    color: #444444 !important;
    text-transform: uppercase;
}

.resi-bt-unit-grid .fs-grid-item-holder .spec-row .spec-item,
.resi-bt-unit-map-grid .fs-grid-item-holder .spec-row .spec-item {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.resi-bt-unit-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon,
.resi-bt-unit-map-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #727378;
    margin-right: 4px;
    padding: 0;
    vertical-align: -0.2em;
    transform: translateY(2px);
}

.resi-bt-unit-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon svg,
.resi-bt-unit-map-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.resi-bt-unit-grid .fs-grid-item-holder .spec-row .resi-bt-unit-card__spec-icon svg [stroke]:not([stroke="none"]),
.resi-bt-unit-map-grid .fs-grid-item-holder .spec-row .resi-bt-unit-card__spec-icon svg [stroke]:not([stroke="none"]) {
    stroke: #727378;
}

.resi-bt-unit-grid .fs-grid-item-holder .spec-row .resi-bt-unit-card__spec-icon--bed,
.resi-bt-unit-grid .fs-grid-item-holder .spec-row .resi-bt-unit-card__spec-icon--sqft,
.resi-bt-unit-map-grid .fs-grid-item-holder .spec-row .resi-bt-unit-card__spec-icon--bed,
.resi-bt-unit-map-grid .fs-grid-item-holder .spec-row .resi-bt-unit-card__spec-icon--sqft {
    transform: translateY(3px);
}

.resi-bt-unit-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon--bath,
.resi-bt-unit-map-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon--bath {
    margin-right: 3px;
}

.resi-bt-unit-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon--sqft,
.resi-bt-unit-map-grid .fs-grid-item-holder h5.icon .spec-row .resi-bt-unit-card__spec-icon--sqft {
    margin-right: 2px;
}

.resi-bt-unit-grid .fs-grid-item-holder .spec-row,
.resi-bt-unit-map-grid .fs-grid-item-holder .spec-row {
    color: #232526;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.resi-bt-unit-grid .fs-grid-item-holder .spec-row .spec-row__bullet,
.resi-bt-unit-map-grid .fs-grid-item-holder .spec-row .spec-row__bullet {
    display: inline-block;
    padding: 0 0.5em;
    text-align: center;
    color: #727378;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__cta,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__cta {
    font-family: var(--resi-bt-font-accent);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-top: 10px;
    display: inline-block;
}

.resi-bt-unit-grid .fs-grid-item-holder .resi-bt-unit-card__cta::after,
.resi-bt-unit-map-grid .fs-grid-item-holder .resi-bt-unit-card__cta::after {
    transform: translateY(calc(-20px + 4px));
}

.resi-bt-unit-grid__loading {
    width: 100%;
}

.resi-bt-unit-grid__loading[hidden] {
    display: none;
}

.resi-bt-unit-grid__loading-cards {
    margin-left: -30px;
}

.resi-bt-unit-grid__loading-card {
    position: relative;
    overflow: hidden;
}

.resi-bt-unit-grid__loading-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e7e2da;
}

.resi-bt-unit-grid__loading-line {
    display: block;
    height: 0.85rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background: #e7e2da;
}

.resi-bt-unit-grid__loading-line--price {
    width: 4.75rem;
    height: 1.35rem;
    margin-left: auto;
    background: #d8d1c7;
}

.resi-bt-unit-grid__loading-line--title {
    width: 68%;
    height: 1.2rem;
}

.resi-bt-unit-grid__loading-line--meta {
    width: 82%;
}

.resi-bt-unit-grid__loading-line--cta {
    width: 5.5rem;
    margin-top: 1.4rem;
    margin-bottom: 0;
}

.resi-bt-unit-grid__loading-image,
.resi-bt-unit-grid__loading-line {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    background-size: 200% 100%;
    animation: resi-bt-unit-grid-loading 1.35s ease-in-out infinite;
}

@keyframes resi-bt-unit-grid-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resi-bt-unit-grid__loading-image,
    .resi-bt-unit-grid__loading-line {
        animation: none;
    }
}

.resi-bt-unit-grid__tab-layout {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.resi-bt-unit-grid__tabs {
    display: grid;
    gap: 0.5rem;
}

.resi-bt-unit-grid__tabs[hidden] {
    display: none;
}

.resi-bt-unit-grid__tab {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    padding: 0.45rem 0;
    border: 0;
    background: transparent;
    color: #222222;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.resi-bt-unit-grid__tab:hover,
.resi-bt-unit-grid__tab:focus-visible {
    color: #9b6f5f;
    outline: none;
}

.resi-bt-unit-grid__tab.is-active {
    color: #9b6f5f;
    font-weight: 600;
    box-shadow: none;
}

.resi-bt-unit-grid__tab-label {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.resi-bt-unit-grid__tab-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    overflow: hidden;
    color: currentColor;
}

.resi-bt-unit-grid__tab-icon .icon,
.resi-bt-unit-grid__tab-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    color: inherit;
}

.resi-bt-unit-grid__tab-icon .icon [stroke]:not([stroke="none"]),
.resi-bt-unit-grid__tab-icon svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.resi-bt-unit-grid__tab-icon .icon [fill]:not([fill="none"]),
.resi-bt-unit-grid__tab-icon svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.resi-bt-unit-grid__slider {
    min-width: 0;
}

.resi-bt-unit-grid .uk-position-relative[uk-slider] {
    padding: 0.5rem 0.5rem 1rem;
}

.resi-bt-unit-grid .resi-bt-unit-grid__dotnav {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.resi-bt-unit-grid .resi-bt-unit-grid__dotnav[hidden] {
    display: none !important;
}

.resi-bt-unit-map-grid__meta {
    position: -webkit-sticky;
    position: sticky;
    top: var(--resi-bt-unit-map-grid-controls-height);
    z-index: 15;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    background: #fff;
}

.resi-bt-unit-map-grid__meta > span:first-child:not(:empty) {
    display: block;
    margin-bottom: 0.5rem;
}

.resi-bt-unit-map-grid__meta > span[hidden] {
    display: none;
}

.resi-bt-unit-map-grid__all-properties {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    margin: 0 0 0.65rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9b6f5f;
    font: inherit;
    cursor: pointer;
}

.resi-bt-unit-map-grid__all-properties span {
    font-size: 1.35em;
    line-height: 0.7;
}

.resi-bt-unit-map-grid__active-property-name {
    margin: 0;
    color: #111;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.resi-bt-unit-map-grid__active-property-count {
    margin-top: 0.2rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.3;
}

.resi-bt-unit-map-grid__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    box-sizing: border-box;
    padding: 0.5rem;
}

@keyframes resi-bt-unit-map-grid-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Match YOOtheme #page#0 stacking so the search icon sits above the hero image. */
.resi-bt-neighborhood-dropdown .homepage-search-field {
    position: relative;
    z-index: 9999;
}

.resi-bt-neighborhood-dropdown .homepage-search-field .uk-inline {
    position: relative;
}

.resi-bt-neighborhood-dropdown .home-input.has-value .custom-placeholder,
.resi-bt-neighborhood-dropdown .home-input.has-value [data-resi-bt-neighborhood-search-display] {
    font-weight: 500;
    color: #222222 !important;
    -webkit-text-fill-color: #222222 !important;
}

/* Keep the typing input out of the uk-inline overlay; only .custom-placeholder shows text. */
.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-input],
.resi-bt-neighborhood-dropdown .resi-bt-neighborhood-dropdown__sr-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: transparent !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    pointer-events: none !important;
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-dropdown] {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: auto;
    width: 100%;
    min-width: 100%;
    margin: 0;
    box-sizing: border-box;
    z-index: 99999;
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-dropdown].uk-card-body {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    background: #fff;
    color: #727378;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-dropdown]:not(.is-open) {
    display: none !important;
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-dropdown].is-open {
    display: block;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list] {
    max-height: 14rem;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    -ms-overflow-style: scrollbar;
    scrollbar-gutter: stable;
    scrollbar-color: #727378 #e4e4e6;
    scrollbar-width: auto;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list]::-webkit-scrollbar {
    width: 10px;
    -webkit-appearance: none;
    appearance: none;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list]::-webkit-scrollbar-track {
    background: #e4e4e6;
    border-radius: 5px;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list]::-webkit-scrollbar-thumb {
    background: #727378;
    border: 2px solid #e4e4e6;
    border-radius: 5px;
    min-height: 2rem;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list] .uk-button-link {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #727378;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.725;
    letter-spacing: 1.1px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list] .uk-button-link:hover,
.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list] .uk-button-link:focus-visible {
    color: #505156;
}

.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list] .uk-button-link.is-selected,
.resi-bt-neighborhood-dropdown [data-resi-bt-neighborhood-search-list] .uk-button-link[aria-selected="true"] {
    font-weight: 600;
    color: #232526;
}

.resi-bt-neighborhood-dropdown__empty,
.resi-bt-neighborhood-dropdown__loading {
    margin: 0;
    padding: 0;
    color: #727378;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-submit] {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 14px;
    border: 0;
    border-radius: 50%;
    background-color: #ff5644;
    color: #fff;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
    line-height: 0;
    text-decoration: none;
    transform: translateY(-50%);
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-submit]:hover,
.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-submit]:focus-visible {
    background-color: #e14e3d;
}

.resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-submit] svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 639px) {
    .resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-submit] {
        right: 5px;
        width: 36px;
        height: 36px;
        padding: 0;
    }

    .resi-bt-neighborhood-dropdown .homepage-search-field [data-resi-bt-neighborhood-search-submit] svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 959px) {
    .resi-bt-unit-grid__tab-layout {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .resi-bt-unit-grid__tabs {
        grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    }

    .resi-bt-unit-map-grid__controls {
        display: block;
    }

    .resi-bt-unit-map-grid__filter-group {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem;
        align-items: start;
        width: 100%;
    }

    .resi-bt-unit-map-grid__search,
    .resi-bt-unit-map-grid__search input {
        width: 100%;
    }

    .resi-bt-unit-map-grid__mobile-filters {
        position: relative;
        display: block;
        flex: 0 0 auto;
        min-width: 0;
    }

    .resi-bt-unit-map-grid__mobile-filters > summary {
        display: inline-flex;
        gap: 0.45rem;
        align-items: center;
        box-sizing: border-box;
        min-height: 2.5rem;
        padding: 0.5rem 2rem 0.5rem 0.8rem;
        border: 1px solid #d8d5cf;
        border-radius: 999px;
        background: #f4f2ed;
        color: #333;
        font-size: inherit;
        cursor: pointer;
        list-style: none;
    }

    .resi-bt-unit-map-grid__mobile-filters > summary::after {
        content: "";
        width: 0.38rem;
        height: 0.38rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-0.1rem) rotate(45deg);
    }

    .resi-bt-unit-map-grid__mobile-filters > summary::-webkit-details-marker {
        display: none;
    }

    .resi-bt-unit-map-grid__mobile-filters-menu {
        position: absolute;
        z-index: 25;
        top: calc(100% + 0.35rem);
        right: 0;
        display: block;
        box-sizing: border-box;
        width: min(20rem, calc(100vw - 2rem));
        max-height: calc(100vh - 8rem);
        overflow: auto;
        padding: 0.75rem;
        border: 1px solid #d8d5cf;
        border-radius: 0.75rem;
        background: #fff;
        box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
    }

    .resi-bt-unit-map-grid__mobile-filters-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0 0 0 16px;
        margin-bottom: 4px;
    }

    .resi-bt-unit-map-grid__mobile-filters-header .resi-bt-unit-map-grid__clear-filters--header {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-left: -5px;
        padding: 0;
        border: 0;
        background: transparent;
        font-family: Roboto, sans-serif;
        font-size: 0.8rem;
        color: #222222;
        text-decoration: underline;
        cursor: pointer;
    }

    .resi-bt-unit-map-grid__mobile-filters-header .resi-bt-unit-map-grid__clear-filters--header:hover,
    .resi-bt-unit-map-grid__mobile-filters-header .resi-bt-unit-map-grid__clear-filters--header:active {
        color: #9b6f5f;
    }

    .resi-bt-unit-map-grid__mobile-filters-header .resi-bt-unit-map-grid__clear-filters--header.is-invisible {
        visibility: hidden;
        pointer-events: none;
    }

    .resi-bt-unit-map-grid__mobile-filters-close {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin: -10px -5px 0 auto;
        padding: 12px;
        border: 0;
        background: transparent;
        line-height: 0;
        cursor: pointer;
    }

    .resi-bt-unit-map-grid__mobile-filters-close:hover svg line,
    .resi-bt-unit-map-grid__mobile-filters-close:active svg line {
        stroke: #9b6f5f;
    }

    .resi-bt-unit-map-grid__clear-filters--inline {
        display: none !important;
    }

    .resi-bt-unit-map-grid__facet-list {
        display: grid;
        gap: 0.45rem;
    }

    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__facet,
    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__sort {
        width: 100%;
        margin-left: 0;
    }

    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__sort {
        margin-top: 0.45rem;
    }

    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__facet summary {
        width: 100%;
        justify-content: space-between;
    }

    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__facet summary > span:first-child {
        margin-right: auto;
    }

    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__facet .resi-bt-unit-map-grid__summary-count {
        margin-left: auto;
    }

    .resi-bt-unit-map-grid__mobile-filters .resi-bt-unit-map-grid__facet-menu {
        position: static;
        min-width: 0;
        max-height: 14rem;
        margin: 0.35rem 0 0.5rem;
        box-shadow: none;
    }

    .resi-bt-unit-map-grid__layout {
        grid-template-columns: 1fr;
    }

    .resi-bt-unit-map-grid__map-shell {
        display: none;
    }

    .resi-bt-unit-map-grid__map {
        min-height: 22rem;
    }

    .resi-bt-unit-map-grid__items {
        grid-template-columns: 1fr;
    }
}
