/*
 * Search page components - bp-search-*
 * Demo-only stylesheet for /_ds/components/ until the live search page is wired.
 */

/*
 * One orange only. css-global.css paints every h1-h4 in the legacy orange
 * (#f18918); inside the design-system scopes the single accent is the token
 * orange. :where() keeps specificity at zero so any component that sets its
 * own heading color (e.g. ink result-card titles) still wins.
 */
:where(.bp-search-ds-page, .bp-components-ds-page, .bp-search-page-v2) h1,
:where(.bp-search-ds-page, .bp-components-ds-page, .bp-search-page-v2) h2,
:where(.bp-search-ds-page, .bp-components-ds-page, .bp-search-page-v2) h3,
:where(.bp-search-ds-page, .bp-components-ds-page, .bp-search-page-v2) h4 {
    color: var(--bp-color-orange);
}











.bp-search-ds {
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
}

.bp-search-ds-hero {
    padding: 72px 0 48px;
    background: var(--bp-color-lighter-1);
}

.bp-search-ds-eyebrow {
    margin: 0 0 12px;
    color: var(--bp-color-orange);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-bold);
    text-transform: uppercase;
}

.bp-search-ds h1,
.bp-search-ds h2,
.bp-search-ds h3,
.bp-search-ds p {
    margin-top: 0;
}

.bp-search-ds h1,
.bp-search-ds h2,
.bp-search-ds h3 {
    color: var(--bp-color-black);
    font-family: var(--bp-font-heading);
    font-weight: var(--bp-weight-semibold);
}

.bp-search-ds h1 {
    max-width: 780px;
    margin-bottom: 16px;
    font-size: var(--bp-text-4xl);
    line-height: 1.08;
}

.bp-search-ds-hero p,
.bp-search-ds-heading p {
    max-width: 720px;
    margin-bottom: 0;
    font-size: var(--bp-text-md);
    line-height: 1.55;
}

.bp-search-ds-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-search-ds-heading {
    margin-bottom: 24px;
}

.bp-search-ds-heading h2 {
    margin-bottom: 8px;
    font-size: var(--bp-text-3xl);
    line-height: 1.2;
}

.bp-search-ds-frame {
    border: 1px dashed var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    overflow: visible;
}

.bp-search-ds-frame-flush {
    border-style: solid;
}

.bp-search-ds-frame-overflow {
    overflow-x: auto;
}

.bp-search-ds-modal-stage {
    display: flex;
    justify-content: center;
    padding: 48px 24px;
    border-radius: var(--bp-radius-sm);
    background:
        linear-gradient(rgba(22, 22, 22, 0.48), rgba(22, 22, 22, 0.48)),
        var(--bp-color-lighter-1);
}

.bp-search-ds-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 760px;
}

.bp-search-card-variants {
    display: grid;
    gap: 24px;
    max-width: 880px;
}

.bp-search-card-variant {
    display: grid;
    gap: 12px;
}

.bp-search-card-variant > h3 {
    margin: 0;
    font-size: var(--bp-text-md);
}

.bp-component-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 880px;
}

.bp-component-preview-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
}

.bp-component-preview-card h3 {
    margin: 0;
    font-size: var(--bp-text-xl);
}

.bp-component-preview-card p {
    margin: 0;
    color: var(--bp-color-black);
    font-size: var(--bp-text-sm);
    line-height: 1.55;
}

.bp-component-preview-card-media {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
}

.bp-component-preview-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--bp-radius-xs);
    object-fit: cover;
}

.bp-search-ds-map-stage {
    max-width: 760px;
    padding: 20px;
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-lighter-1);
}

.bp-site-header--search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    width: 100%;
    min-height: 80px;
    padding: 0 var(--bp-content-inset);
    border-bottom: 1px solid var(--bp-color-light-1);
    background: var(--bp-color-white);
    box-sizing: border-box;
}

.bp-site-header--search .bp-site-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
}

.bp-site-header--search .bp-site-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--bp-color-black);
}

.bp-site-header--search .bp-site-header-logo {
    display: inline-flex;
    align-items: center;
}

.bp-site-header--search .bp-site-header-logo img {
    display: block;
}

.bp-site-header--search .bp-site-header-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bp-site-header--search .bp-site-header-link,
.bp-site-header--search .bp-site-header-auth {
    color: var(--bp-color-black);
    font-size: var(--bp-text-sm);
    font-weight: var(--bp-weight-medium);
    text-decoration: none;
}

.bp-site-header--search .bp-site-header-link:hover,
.bp-site-header--search .bp-site-header-link:focus,
.bp-site-header--search .bp-site-header-auth:hover,
.bp-site-header--search .bp-site-header-auth:focus {
    color: var(--bp-color-orange);
    text-decoration: none;
}

.bp-site-header--search .bp-site-header-link.is-active {
    color: var(--bp-color-orange);
}

.bp-site-header--search .bp-site-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bp-site-header--search .bp-site-header-cta {
    white-space: nowrap;
}

.bp-search-filter-bar {
    display: grid;
    grid-template-columns: minmax(210px, 1.5fr) 118px minmax(150px, 1fr) 120px 110px auto auto auto auto;
    align-items: end;
    gap: 8px;
    min-width: 1120px;
    padding: 20px;
    background: var(--bp-color-white);
    box-sizing: border-box;
}

.bp-search-filter-field,
.bp-search-modal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-search-filter-field label,
.bp-search-modal-field label {
    color: var(--bp-color-black);
    font-size: var(--bp-text-2xs);
    font-weight: var(--bp-weight-bold);
    text-transform: uppercase;
}

.bp-search-filter-input-wrap {
    position: relative;
}

.bp-search-filter-input,
.bp-search-filter-select,
.bp-search-filter-popover,
.bp-search-filter-more,
.bp-search-filter-sort,
.bp-search-filter-menu summary {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 16px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-sm);
    font-weight: var(--bp-weight-medium);
    line-height: 48px;
    text-align: left;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.bp-search-filter-input::placeholder {
    color: #757575;
}

.bp-search-filter-select,
.bp-search-filter-popover,
.bp-search-filter-more,
.bp-search-filter-sort,
.bp-search-filter-menu summary {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--bp-color-black) 50%),
        linear-gradient(135deg, var(--bp-color-black) 50%, transparent 50%);
    background-position:
        calc(100% - 19px) 21px,
        calc(100% - 13px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.bp-search-filter-popover,
.bp-search-filter-more,
.bp-search-filter-sort {
    border-color: var(--bp-color-black);
}

.bp-search-filter-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--bp-color-orange);
}

.bp-search-filter-menu {
    position: relative;
}

.bp-search-filter-menu summary {
    display: block;
    list-style: none;
}

.bp-search-filter-menu summary::-webkit-details-marker {
    display: none;
}

.bp-search-filter-menu-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: var(--bp-z-dropdown);
    width: 280px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    box-shadow: 0 12px 32px rgba(22, 22, 22, 0.12);
    overflow: hidden;
}

.bp-search-filter-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-search-filter-menu-actions button {
    height: 44px;
    border: 0;
    border-right: 1px solid var(--bp-color-light-1);
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-medium);
}

.bp-search-filter-menu-actions button:last-child {
    border-right: 0;
}

.bp-search-filter-native-multiple {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.bp-search-filter-panel .bootstrap-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.bp-search-filter-checks {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.bp-search-filter-checks span {
    color: var(--bp-color-black);
    font-size: var(--bp-text-sm);
    line-height: 1.25;
}

.bp-search-filter-submit,
.bp-search-filter-reset {
    height: 48px;
    white-space: nowrap;
}

.bp-search-filter-save {
    grid-column: 1 / -1;
    justify-self: end;
    color: var(--bp-color-black);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-medium);
    text-decoration: none;
}

.bp-search-filter-save:hover,
.bp-search-filter-save:focus {
    color: var(--bp-color-orange);
    text-decoration: none;
}

.bp-search-modal {
    width: min(600px, 100%);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    box-shadow: 0 18px 60px rgba(22, 22, 22, 0.22);
    overflow: hidden;
}

.bp-search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-search-modal-header h3 {
    margin: 0;
    color: var(--bp-color-orange);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-sm);
    font-weight: var(--bp-weight-medium);
}

.bp-search-modal-close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--bp-color-orange);
    font-size: 30px;
    line-height: 1;
}

.bp-search-modal-form {
    display: grid;
    gap: 16px;
    padding: 32px;
}

.bp-search-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bp-search-modal-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.bp-search-modal-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bp-color-black);
    font-size: var(--bp-text-sm);
    font-weight: var(--bp-weight-bold);
}

.bp-search-modal-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--bp-color-orange);
}

.bp-search-modal-actions {
    display: grid;
    gap: 8px;
}

.bp-search-result-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 220px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    overflow: hidden;
}

.bp-search-result-media {
    position: relative;
    min-height: 220px;
    background: var(--bp-color-lighter-1);
}

.bp-search-v2-swiper,
.bp-search-v2-swiper .swiper-wrapper,
.bp-search-v2-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.bp-search-result-media img,
.bp-search-map-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The favourite on the search result card is the shared round .bp-badge-favorite
   (same component as the home + detail-recommended cards). It flows in the
   .bp-listing-card-overlay flex row (tag left, favourite right). */

/* The tag label can be long ("Bedrijfsruimte te huur"); let it ellipsis so it
   never pushes the favourite past the media edge (where overflow:hidden clips
   it). The favourite then stays flush in the top-right corner. */
.bp-search-result-card .bp-listing-card-overlay {
    gap: 8px;
}

.bp-search-result-card .bp-listing-card-overlay .bp-tag {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-search-v2-swiper .swiper-button-prev,
.bp-search-v2-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    z-index: var(--bp-z-raised);
    width: 36px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    background: rgba(22, 22, 22, 0.34);
    color: var(--bp-color-white);
}

.bp-search-v2-swiper .swiper-button-prev {
    left: 0;
}

.bp-search-v2-swiper .swiper-button-next {
    right: 0;
}

.bp-search-v2-swiper .swiper-button-prev::after,
.bp-search-v2-swiper .swiper-button-next::after {
    font-size: 18px;
}

.bp-search-result-body {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 20px 24px;
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-search-result-body:hover,
.bp-search-result-body:focus {
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-search-result-kicker,
.bp-search-result-area {
    color: var(--bp-color-black);
    font-size: var(--bp-text-sm);
    line-height: 1.35;
}

.bp-search-result-body h3 {
    margin: 0;
    color: var(--bp-color-black);
    font-size: var(--bp-text-xl);
    line-height: 1.25;
}

.bp-search-result-price {
    color: var(--bp-color-black);
    font-size: var(--bp-text-lg);
    font-weight: var(--bp-weight-semibold);
}

.bp-search-result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.bp-search-result-footer span {
    color: var(--bp-color-black);
    font-size: var(--bp-text-sm);
}

.bp-search-result-footer img {
    max-width: 110px;
    max-height: 44px;
    object-fit: contain;
}

.bp-search-map-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    min-height: 150px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    overflow: hidden;
}

.bp-search-map-card-image {
    min-height: 150px;
}

.bp-search-map-card-body {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px 20px;
}

.bp-search-map-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.bp-search-map-card-actions .bp-ds-overlay-button,
.bp-search-map-card-close {
    position: static;
    width: 34px;
    height: 34px;
}

.bp-search-map-card-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    color: var(--bp-color-black);
}

.bp-search-map-card-link {
    display: grid;
    gap: 4px;
    max-width: calc(100% - 88px);
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-search-map-card-link:hover,
.bp-search-map-card-link:focus {
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-search-map-card-link h3 {
    margin: 0;
    font-size: var(--bp-text-lg);
    line-height: 1.25;
}

.bp-search-map-card-link span,
.bp-search-map-card-link strong {
    font-size: var(--bp-text-sm);
    line-height: 1.35;
}

.bp-search-map-card-logo {
    align-self: end;
    max-width: 100px;
    max-height: 40px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .bp-site-header--search {
        grid-template-columns: 48px 1fr 48px;
        gap: 8px;
        min-height: 72px;
        padding: 0 16px;
    }

    .bp-site-header--search .bp-site-nav-toggle {
        display: block;
    }

    .bp-site-header--search .bp-site-header-logo {
        justify-self: center;
    }

    .bp-site-header--search .bp-site-header-links,
    .bp-site-header--search .bp-site-header-actions {
        display: none;
    }

    .bp-search-filter-bar {
        grid-template-columns: 1fr;
        min-width: 0;
        padding: 16px;
        background: var(--bp-color-black);
    }

    .bp-search-filter-field label,
    .bp-search-filter-save,
    .bp-search-filter-reset,
    .bp-search-filter-more,
    .bp-search-filter-sort {
        display: none;
    }

    .bp-search-filter-submit {
        width: 100%;
    }

    .bp-search-modal-grid,
    .bp-search-modal-pair,
    .bp-search-result-card,
    .bp-search-map-card {
        grid-template-columns: 1fr;
    }

    .bp-search-result-card {
        max-width: 420px;
    }

    .bp-search-result-media {
        min-height: 240px;
    }

    /* One column over the map: a 140px photo band, the photo height of the
       production mobile map card, so the card covers the bottom of the map
       and not half of it. */
    .bp-search-map-card-image {
        height: 140px;
        min-height: 0;
    }
}

@media (max-width: 680px) {
    .bp-search-ds-hero {
        padding: 48px 0 32px;
    }

    .bp-search-ds h1 {
        font-size: 36px;
    }

    .bp-search-ds-section {
        padding: 40px 0;
    }

    .bp-search-ds-modal-stage,
    .bp-search-ds-map-stage {
        padding: 16px;
    }

    .bp-search-modal-header,
    .bp-search-modal-form {
        padding: 20px;
    }

    .bp-search-result-body,
    .bp-search-map-card-body {
        padding: 16px;
    }

    .bp-search-map-card-link {
        max-width: 100%;
        padding-right: 84px;
    }
}

/* Final live-search overrides must remain after the broad DS preview rules above. */
.bp-search-page-v2 .bp-search-filter-bar {
    display: grid !important;
    grid-template-columns: 210px 112px 140px 122px 102px 124px 110px 118px 110px !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.bp-search-page-v2 .bp-search-filter-sort {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    line-height: normal !important;
}

.bp-search-page-v2 .bp-search-filter-submit,
.bp-search-page-v2 .bp-search-filter-reset {
    width: 100% !important;
    min-width: 0 !important;
}

.bp-search-page-v2 .bp-search-filter-bar > .field-bounds,
.bp-search-page-v2 .bp-search-filter-bar > .field-llz,
.bp-search-page-v2 .bp-search-filter-bar > .field-filtered_markers,
.bp-search-page-v2 .bp-search-filter-bar > .field-p,
.bp-search-page-v2 .bp-search-filter-bar > .field-broker_name {
    display: none !important;
}

.bp-search-page-v2 .bp-search-filter-save {
    display: inline-flex !important;
    grid-column: 1 / -1 !important;
    justify-self: end !important;
    margin-top: 0 !important;
}

@media (max-width: 1280px) {
    .bp-search-page-v2 .bp-search-filter-bar {
        grid-template-columns: 196px 104px 132px 116px 96px 116px 104px 108px 104px !important;
    }
}

/* Live V2 search pages: keep the V1 page structure, replace only filter/card visuals. */
.bp-search-page-v2 .bp-search-v2-filter-shell {
    /* margin: 0; */
    padding: 6px 36px;
    border-bottom: 1px solid #e6e0db;
    background: #f7f3f0;
}

.bp-search-page-v2 .bp-search-filter-bar {
    display: grid;
    grid-template-columns: minmax(210px, 1.25fr) 112px 150px 126px 112px 128px 112px auto auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.bp-search-page-v2 .bp-search-filter-field,
.bp-search-page-v2 .bp-search-v2-modal-form .bp-search-filter-field {
    position: relative;
    display: block;
    min-width: 0;
}

.bp-search-page-v2 .bp-search-filter-input,
.bp-search-page-v2 .bp-search-filter-control {
    width: 100%;
    height: 42px;
    min-width: 0;
    padding: 0 36px 0 12px;
    border: 1px solid #d6d0ca;
    border-radius: 4px;
    background: #fff;
    color: #161616;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 42px;
    box-sizing: border-box;
}

.bp-search-page-v2 .bp-search-filter-sort {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: normal;
}

.bp-search-page-v2 .bp-search-filter-input::placeholder {
    color: #8b8782;
}

.bp-search-page-v2 .bp-search-filter-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    white-space: nowrap;
}

.bp-search-page-v2 .bp-search-filter-control span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-search-page-v2 .bp-search-filter-control i {
    flex: 0 0 auto;
    color: #161616;
    font-size: 12px;
}

.bp-search-page-v2 .bp-search-filter-input-wrap {
    position: relative;
}

.bp-search-page-v2 .bp-search-filter-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--bp-color-orange);
}

.bp-search-page-v2 .bp-search-filter-menu.is-open .bp-search-filter-control,
.bp-search-page-v2 .bp-search-filter-control:focus,
.bp-search-page-v2 .bp-search-filter-input:focus {
    border-color: var(--bp-color-orange);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(255, 98, 44, 0.16);
}

.bp-search-page-v2 .bp-search-filter-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1050;
    display: none;
    min-width: 280px;
    padding: 14px;
    border: 1px solid #d6d0ca;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(22, 22, 22, 0.14);
}

.bp-search-page-v2 .bp-search-filter-menu.is-open .bp-search-filter-panel {
    display: block;
}

.bp-search-page-v2 .bp-search-filter-panel-range,
.bp-search-page-v2 .bp-search-filter-panel-price {
    min-width: 340px;
}

.bp-search-page-v2 .bp-search-filter-panel-sort {
    min-width: 250px;
    padding: 8px;
}

.bp-search-page-v2 .bp-search-filter-options,
.bp-search-page-v2 .bp-search-filter-radio-grid {
    display: grid;
    gap: 8px;
}

.bp-search-page-v2 .bp-search-filter-radio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.bp-search-page-v2 .bp-search-filter-options label,
.bp-search-page-v2 .bp-search-filter-radio-grid label,
.bp-search-page-v2 .bp-search-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #161616;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
}

.bp-search-page-v2 .bp-search-filter-options input,
.bp-search-page-v2 .bp-search-filter-radio-grid input,
.bp-search-page-v2 .bp-search-filter-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--bp-color-orange);
}

.bp-search-page-v2 .bp-search-filter-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: -14px -14px 12px;
    border-bottom: 1px solid #e6e0db;
}

.bp-search-page-v2 .bp-search-filter-menu-actions button {
    height: 42px;
    border: 0;
    border-right: 1px solid #e6e0db;
    background: #fff;
    color: #161616;
    font-size: 14px;
    font-weight: 500;
}

.bp-search-page-v2 .bp-search-filter-menu-actions button:last-child {
    border-right: 0;
}

.bp-search-page-v2 .bp-search-filter-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.bp-search-page-v2 .bp-search-filter-native-multiple,
.bp-search-page-v2 .bp-search-filter-panel .bootstrap-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.bp-search-page-v2 .bp-search-filter-submit,
.bp-search-page-v2 .bp-search-filter-reset {
    height: 42px;
    padding: 0 14px;
    border-radius: 4px;
    line-height: 42px;
    white-space: nowrap;
}

.bp-search-page-v2 .bp-search-filter-save {
    grid-column: 1 / -1;
    justify-self: end;
    padding-top: 2px;
    color: #161616;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.bp-search-page-v2 .bp-search-filter-save:hover,
.bp-search-page-v2 .bp-search-filter-save:focus {
    color: var(--bp-color-orange);
    text-decoration: none;
}

.bp-search-page-v2 .bp-search-v2-modal-form {
    display: grid;
    gap: 12px;
}

.bp-search-page-v2 .bp-search-v2-modal-form .bp-search-filter-panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
}

.bp-search-page-v2 .bp-search-v2-modal-actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

@media (max-width: 1190px) {
    .bp-search-page-v2 .bp-search-filter-bar {
        grid-template-columns: minmax(190px, 1fr) 105px 138px 118px 104px 118px 104px auto auto;
    }
}

@media (max-width: 1024px) {
    .bp-search-page-v2 .bp-search-v2-filter-shell {
        display: none !important;
    }
}

/* Components page repairs: shared controls, real page previews, no production scope. */




















































.bp-ds-text-link {
    color: var(--bp-color-orange);
    text-decoration: none;
}

.bp-ds-detail-title {
    margin-bottom: 24px;
}

.bp-ds-detail-title p {
    margin-bottom: 8px;
    color: var(--bp-color-orange);
    font-weight: var(--bp-weight-bold);
}

.bp-ds-detail-title h3,
.bp-ds-blog h3,
.bp-ds-blog-detail h3 {
    margin: 0;
    font-size: var(--bp-text-3xl);
    line-height: 1.2;
}

.bp-ds-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.bp-ds-detail-main {
    display: grid;
    gap: 20px;
}

.bp-ds-media-grid {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 190px;
    gap: 8px;
}

.bp-ds-media-item {
    display: block;
    border-radius: var(--bp-radius-xs);
    overflow: hidden;
}

.bp-ds-media-item-primary {
    grid-row: span 2;
}

.bp-ds-media-item img,
.bp-ds-mobile-carousel img,
.bp-ds-blog img,
.bp-ds-blog-detail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-ds-media-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.bp-ds-media-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--bp-radius-sm);
    background: rgba(22, 22, 22, 0.42);
    color: var(--bp-color-white);
}

.bp-ds-mobile-carousel {
    display: none;
}

.bp-ds-panel,
.bp-ds-contact-card,
.bp-ds-blog,
.bp-ds-blog-detail {
    padding: 20px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
}

.bp-ds-panel h4,
.bp-ds-contact-card h4,
.bp-ds-recommendations h4 {
    margin: 0 0 16px;
    font-size: var(--bp-text-xl);
}

.bp-ds-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 0;
}

.bp-ds-facts div,
.bp-ds-unit-list article {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 1.4fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-ds-facts dt {
    color: var(--bp-color-black);
    font-weight: var(--bp-weight-bold);
}

.bp-ds-facts dd {
    margin: 0;
}

.bp-ds-unit-list {
    display: grid;
}

.bp-ds-unit-list article {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.bp-ds-chip-section > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-ds-chip-section span {
    padding: 8px 12px;
    border-radius: var(--bp-radius-xs);
    background: var(--bp-color-lighter-2);
    color: var(--bp-color-black);
    font-size: var(--bp-text-xs);
}

.bp-ds-attachments {
    display: grid;
    gap: 8px;
}

.bp-ds-attachments a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-ds-contact-card {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 12px;
}

.bp-ds-contact-card > img {
    max-width: 148px;
    max-height: 64px;
    object-fit: contain;
}

.bp-ds-contact-card form {
    display: grid;
    gap: 12px;
}

.bp-ds-contact-card input,
.bp-ds-contact-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-xs);
}

.bp-ds-contact-card textarea {
    min-height: 96px;
    resize: vertical;
}

.bp-ds-mobile-sticky {
    display: none;
}

.bp-ds-mobile-action-demo .bp-ds-mobile-sticky {
    position: static;
    display: inline-grid;
    grid-template-columns: repeat(3, 40px);
    width: auto;
    padding: 12px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
}

.bp-ds-recommendations {
    margin-top: 32px;
}

.bp-ds-recommendations > div {
    display: grid;
    gap: 16px;
}

.bp-ds-blog {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.bp-ds-blog-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--bp-color-light-1);
}

.bp-ds-blog-image {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 4 / 3;
    border-radius: var(--bp-radius-xs);
    overflow: hidden;
}

.bp-ds-blog-row > div {
    grid-column: 1;
    grid-row: 1;
}

.bp-ds-blog-title {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--bp-color-black);
    font-family: var(--bp-font-heading);
    font-size: var(--bp-text-xl);
    font-weight: var(--bp-weight-semibold);
    text-decoration: none;
}

.bp-ds-blog-meta {
    color: var(--bp-color-black);
    font-size: var(--bp-text-xs);
}

.bp-ds-blog-detail {
    display: grid;
    gap: 16px;
    max-width: 820px;
}

.bp-ds-blog-detail > img {
    aspect-ratio: 16 / 9;
    border-radius: var(--bp-radius-xs);
}

@media (max-width: 1024px) {
    .bp-components-ds-page .bp-site-header {
        grid-template-columns: 1fr;
        min-height: 72px;
        padding: 0 16px;
    }

    .bp-components-ds-page .bp-site-header-logo {
        justify-self: center;
        width: min(228px, 78vw);
    }

    .bp-components-ds-page .bp-site-header-logo img {
        width: 100%;
        height: auto;
    }

    .bp-components-ds-page .bp-site-header-actions {
        display: none;
    }

    .bp-components-ds-page .bp-search-filter-bar {
        grid-template-columns: 1fr;
        min-width: 0;
        padding: 16px;
        background: var(--bp-color-black);
    }

    .bp-components-ds-page .bp-search-filter-save,
    .bp-components-ds-page .bp-search-filter-reset {
        display: none;
    }

    .bp-ds-detail-grid,
    .bp-ds-blog-row,
    .bp-components-ds-page .bp-search-result-card,
    .bp-components-ds-page .bp-search-result-card--platinum,
    .bp-components-ds-page .bp-search-result-card--basic {
        grid-template-columns: 1fr;
    }

    .bp-ds-media-grid {
        display: none;
    }

    .bp-ds-mobile-carousel {
        display: block;
        aspect-ratio: 4 / 3;
        border-radius: var(--bp-radius-xs);
        overflow: hidden;
    }

    .bp-ds-contact-card {
        position: static;
    }

    .bp-ds-mobile-sticky {
        position: sticky;
        bottom: 0;
        z-index: var(--bp-z-raised);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
        border: 1px solid var(--bp-color-light-1);
        background: var(--bp-color-white);
    }

    .bp-ds-blog-image,
    .bp-ds-blog-row > div {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 680px) {
    .bp-ds-facts,
    .bp-ds-facts div,
    .bp-ds-unit-list article,
    .bp-components-ds-page .bp-search-filter-range,
    .bp-components-ds-page .bp-search-filter-radio-grid {
        grid-template-columns: 1fr;
    }

    .bp-components-ds-page .bp-search-filter-panel {
        right: 0;
        min-width: 0;
        width: min(320px, calc(100vw - 48px));
    }
}

/* DS repair: flush interactive filters, homepage navbar/card language. */
.bp-search-ds-frame-flush {
    border: 0;
}

.bp-site-header--search {
    position: relative;
    grid-template-columns: auto 1fr auto;
    min-height: 80px;
    border: 0;
    box-shadow: none;
}

.bp-site-header--search .bp-site-header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.bp-site-header--search .bp-site-header-logo img {
    object-fit: contain;
}

/* Same metrics as .bp-site-nav-toggle in components/header.css. The search
   pages render a second header component, so a change to the menu trigger has
   to be made in both places until the two headers are merged. */
.bp-site-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
}

.bp-site-header--search .bp-site-nav-toggle i {
    font-size: 22px;
}

.bp-site-header--search .bp-site-nav-toggle span {
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
}

.bp-site-header--search .bp-site-header-links {
    display: none;
}

.bp-site-header--search .bp-site-header-actions {
    grid-column: 3;
}

.bp-search-filter-bar {
    grid-template-columns: minmax(210px, 1.35fr) 106px 148px 126px 112px 128px 112px auto auto;
    align-items: center;
    gap: 4px;
    min-width: 1180px;
    padding: 8px 12px;
    border: 0;
    background: var(--bp-color-white);
}

.bp-search-filter-field,
.bp-search-modal-field {
    position: relative;
    display: block;
}

.bp-search-filter-field > label:not(.bp-sr-only),
.bp-search-modal-field > label:not(.bp-sr-only) {
    display: none;
}

.bp-search-filter-input,
.bp-search-filter-select,
.bp-search-filter-control {
    height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-xs);
    background-color: var(--bp-color-white);
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-medium);
    line-height: 42px;
}

.bp-search-filter-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    text-align: left;
    white-space: nowrap;
}

.bp-search-filter-control i {
    font-size: 10px;
}

.bp-search-filter-menu.is-open .bp-search-filter-control {
    border-color: var(--bp-color-orange);
}

.bp-search-filter-select {
    background-position:
        calc(100% - 18px) 18px,
        calc(100% - 12px) 18px;
}

.bp-search-filter-icon {
    height: 42px;
}

.bp-search-filter-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: var(--bp-z-dropdown);
    display: none;
    min-width: 280px;
    padding: 16px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-xs);
    background: var(--bp-color-white);
    box-shadow: 0 12px 32px rgba(22, 22, 22, 0.12);
}

.bp-search-filter-menu.is-open .bp-search-filter-panel {
    display: block;
}

.bp-search-filter-panel-range,
.bp-search-filter-panel-price {
    min-width: 340px;
}

.bp-search-filter-panel-more {
    min-width: 320px;
}

.bp-search-filter-panel-sort {
    min-width: 250px;
    padding: 8px;
}

.bp-search-filter-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: calc(16px * -1) calc(16px * -1) 12px;
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-search-filter-menu-actions button,
.bp-search-filter-panel-sort button {
    min-height: 40px;
    border: 0;
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-medium);
    text-align: left;
}

.bp-search-filter-menu-actions button {
    text-align: center;
}

.bp-search-filter-panel-sort button {
    display: block;
    width: 100%;
    padding: 0 12px;
    border-radius: var(--bp-radius-xs);
}

.bp-search-filter-panel-sort button[hidden] {
    display: none;
}

.bp-search-filter-panel-sort button:hover,
.bp-search-filter-panel-sort button:focus,
.bp-search-filter-panel-sort button.is-active {
    background: var(--bp-color-lighter-2);
    color: var(--bp-color-orange);
}

.bp-search-filter-options {
    display: grid;
    gap: 8px;
}

.bp-search-filter-options label,
.bp-search-filter-radio-grid label,
.bp-search-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-medium);
    line-height: 1.35;
}

.bp-search-filter-options input,
.bp-search-filter-radio-grid input,
.bp-search-filter-check input {
    accent-color: var(--bp-color-orange);
}

.bp-search-filter-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.bp-search-filter-range span {
    color: var(--bp-color-black);
    font-size: var(--bp-text-xs);
}

.bp-search-filter-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.bp-search-filter-panel-label {
    display: block;
    margin-bottom: 8px;
    color: var(--bp-color-black);
    font-family: var(--bp-font-body);
    font-size: var(--bp-text-2xs);
    font-weight: var(--bp-weight-bold);
    text-transform: uppercase;
}

.bp-search-filter-panel-more .bp-search-filter-check {
    margin-top: 12px;
}

.bp-search-filter-submit,
.bp-search-filter-reset {
    height: 42px;
    padding: 0 16px;
    font-size: var(--bp-text-xs);
    line-height: 1;
}

.bp-search-filter-save {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 4px;
}

.bp-search-modal-form {
    gap: 12px;
}

.bp-search-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bp-search-modal .bp-search-filter-panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
}

.bp-search-modal .bp-search-filter-menu.is-open {
    z-index: calc(var(--bp-z-dropdown) + 1);
}

.bp-search-result-card.bp-listing-card {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    width: min(760px, 100%);
    height: auto;
    min-height: 230px;
    border-radius: var(--bp-radius-xs);
}

.bp-search-result-card--premium.bp-listing-card {
    grid-template-columns: 320px minmax(0, 1fr);
    width: min(820px, 100%);
    min-height: 250px;
}

.bp-search-result-card--gold.bp-listing-card {
    border-color: rgba(255, 95, 42, 0.34);
}

.bp-search-result-card--silver.bp-listing-card {
    grid-template-columns: 304px minmax(0, 1fr);
    width: min(790px, 100%);
}

.bp-search-result-card--basic.bp-listing-card {
    grid-template-columns: 248px minmax(0, 1fr);
    width: min(720px, 100%);
    min-height: 210px;
}

.bp-search-result-card--platinum.bp-listing-card {
    grid-template-columns: 360px minmax(0, 1fr);
    width: min(880px, 100%);
    min-height: 270px;
    border-color: var(--bp-color-orange);
}

.bp-search-result-card .bp-search-result-media {
    width: 292px;
    height: 230px;
    min-height: 230px;
}

.bp-search-result-card--premium .bp-search-result-media {
    width: 320px;
    height: 250px;
    min-height: 250px;
}

.bp-search-result-card--silver .bp-search-result-media {
    width: 304px;
    height: 230px;
    min-height: 230px;
}

.bp-search-result-card--basic .bp-search-result-media {
    width: 248px;
    height: 210px;
    min-height: 210px;
}

.bp-search-result-card--platinum .bp-search-result-media {
    width: 360px;
    height: 270px;
    min-height: 270px;
}

.bp-search-v2-swiper,
.bp-search-v2-swiper .swiper-wrapper,
.bp-search-v2-swiper .swiper-slide,
.bp-search-v2-swiper .tile-link-block {
    display: block;
    width: 100%;
    height: 100%;
}

.bp-search-v2-swiper .swiper-slide:not(:first-child) {
    display: none;
}

.bp-search-result-card .bp-search-v2-swiper,
.bp-search-result-card .bp-search-v2-swiper .swiper-wrapper,
.bp-search-result-card .bp-search-v2-swiper .swiper-slide,
.bp-search-result-card .bp-search-v2-swiper-link {
    width: 100%;
    height: 100%;
}

.bp-search-result-card .bp-search-v2-swiper img,
.bp-search-result-card .bp-listing-card-image {
    width: 100%;
    height: 100%;
}

.bp-search-result-card .bp-search-v2-swiper img,
.bp-search-result-card .bp-listing-card-image {
    object-fit: cover;
}

/* Keep a failed image inside the media box: without this the alt text reflows
   over the whole card and pushes the tag and favourite out of place. */
.bp-search-result-card .bp-search-v2-swiper,
.bp-search-result-card .bp-search-v2-swiper .swiper-slide,
.bp-search-result-card .bp-search-v2-swiper-link {
    overflow: hidden;
}

.bp-search-result-card .bp-badge-favorite {
    flex-shrink: 0;
}

/* This scoped rule loads after badge.css and would otherwise pin the favourite
   heart black even when active. Re-assert the active colour at higher specificity
   so favourited search cards show the designed orange. (.active is the class the
   favourites JS toggles; .is-active is the DS state class.) */
.bp-search-result-card .bp-badge-favorite.is-active,
.bp-search-result-card .bp-badge-favorite.active {
    color: var(--bp-color-orange);
}

.bp-search-result-arrow {
    position: absolute;
    top: 50%;
    z-index: var(--bp-z-raised);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    background: rgba(255, 255, 255, 0.84);
    color: var(--bp-color-black);
}

.bp-search-result-arrow-prev {
    left: 0;
}

.bp-search-result-arrow-next {
    right: 0;
}

.bp-search-result-body {
    min-height: 230px;
    padding: 20px;
}

.bp-search-result-card--premium .bp-search-result-body {
    min-height: 250px;
}

.bp-search-result-card--platinum .bp-search-result-body {
    min-height: 270px;
    padding: 24px;
}

/*
 * Result-card typography, per Steven on BPCOM-1575. The address is the only
 * large line; city, surface+type and price all sit below it in a smaller size.
 * These numbers match search-page-live.css so the _ds preview and the real
 * search page render the same card.
 */
.bp-search-result-card .bp-search-result-body h3 {
    margin: 2px 0 2px;
    font-size: 24px;
    line-height: 1.15;
}

.bp-search-result-card .bp-search-result-city {
    margin-bottom: 8px;
    color: #5c5651;
    font-size: 15px;
    line-height: 1.3;
}

.bp-search-result-card .bp-search-result-area {
    font-size: 15px;
    line-height: 1.3;
}

.bp-search-result-card .bp-search-result-price {
    margin-top: 2px;
    font-size: 16px;
    font-weight: var(--bp-weight-semibold);
}

.bp-search-map-card .bp-badge-favorite {
    position: static;
    border: 0;
}

@media (max-width: 1024px) {
    .bp-site-header--search {
        grid-template-columns: 48px 1fr 48px;
    }

    .bp-site-header--search .bp-site-header-logo {
        justify-self: center;
    }


    .bp-site-header--search .bp-site-nav-toggle span {
        display: none;
    }

    .bp-search-filter-bar {
        grid-template-columns: 1fr;
        min-width: 0;
        gap: 8px;
        padding: 16px;
        background: var(--bp-color-black);
    }

    .bp-search-filter-save,
    .bp-search-filter-reset {
        display: none;
    }

    .bp-search-filter-panel {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        box-shadow: none;
    }

    .bp-search-result-card.bp-listing-card {
        grid-template-columns: 1fr;
        width: min(420px, 100%);
    }

    .bp-search-result-card .bp-search-result-media,
    .bp-search-result-card--premium .bp-search-result-media,
    .bp-search-result-card--silver .bp-search-result-media,
    .bp-search-result-card--basic .bp-search-result-media,
    .bp-search-result-card--platinum .bp-search-result-media {
        width: 100%;
        height: 240px;
    }

    .bp-component-placeholder-grid,
    .bp-component-preview-card-media {
        grid-template-columns: 1fr;
    }
}

/* DS navbar state/component corrections. */
.bp-search-ds-stack {
    display: grid;
    gap: 24px;
}

.bp-search-ds-state h3 {
    margin-bottom: 12px;
    color: var(--bp-color-black);
    font-size: var(--bp-text-md);
}

.bp-search-ds-filter-container {
    max-width: none;
    padding-right: 32px;
    padding-left: 32px;
}

.bp-search-ds-filter-container .bp-search-ds-heading {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}

.bp-search-ds-filter-container .bp-search-ds-frame-overflow {
    border: 0;
    overflow: visible;
}

.bp-site-header--search {
    grid-template-columns: auto 1fr;
    min-height: 88px;
    padding: 0 32px;
    border: 0;
    box-shadow: none;
}

.bp-site-header--search .bp-site-header-mobile-crumb {
    display: none;
}

.bp-site-header--search .bp-site-header-logo {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    transform: none;
}

.bp-site-header--search .bp-site-header-logo:hover,
.bp-site-header--search .bp-site-header-logo:focus {
    outline: none;
}

.bp-site-header--search .bp-site-header-logo:focus-visible {
    outline: 2px solid var(--bp-color-orange);
    outline-offset: 6px;
}

.bp-site-header--search .bp-site-header-logo img {
    display: block;
    object-fit: contain;
}

.bp-site-header--search .bp-site-header-actions {
    grid-column: 2;
    justify-self: end;
}

.bp-search-filter-bar {
    width: 100%;
    min-width: 0;
    grid-template-columns:
        minmax(176px, 1.35fr)
        minmax(96px, 0.68fr)
        minmax(126px, 0.88fr)
        minmax(116px, 0.78fr)
        minmax(98px, 0.66fr)
        minmax(118px, 0.78fr)
        minmax(104px, 0.68fr)
        minmax(86px, auto)
        minmax(96px, auto);
}

.bp-search-v2-modal-form {
    display: grid;
    gap: 12px;
    padding: 8px 0 16px;
}

.bp-search-v2-modal-actions {
    display: grid;
    gap: 8px;
}

.bp-search-v2-modal-form .bp-search-filter-panel {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
}

.bp-search-v2-modal-form .bp-search-filter-range {
    grid-template-columns: 1fr auto 1fr;
}

.bp-search-filter-save {
    display: none;
}

@media (max-width: 1024px) {
    .bp-site-header--search {
        grid-template-columns: 1fr;
        min-height: 72px;
        padding: 0 16px;
    }

    .bp-site-header--search .bp-site-header-logo {
        position: static;
        justify-self: center;
        transform: none;
    }


    .bp-site-header--search .bp-site-header-actions {
        display: none;
    }

    .bp-search-filter-bar {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
        background: var(--bp-color-black);
    }
}

@media (max-width: 760px) {
    .bp-search-ds-filter-container {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* DS component/page split. */
.bp-ds-top-links,
.bp-ds-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.bp-ds-top-links a,
.bp-ds-page-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-xs);
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-medium);
    text-decoration: none;
}

.bp-ds-top-links a.is-active,
.bp-ds-page-nav a.is-active,
.bp-ds-top-links a:hover,
.bp-ds-page-nav a:hover {
    border-color: var(--bp-color-orange);
    background: var(--bp-color-lighter-2);
    color: var(--bp-color-orange);
    text-decoration: none;
}

.bp-ds-page {
    min-height: 100vh;
    background: var(--bp-color-white);
}

.bp-ds-page-nav {
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 12px 32px;
    border-top: 1px solid var(--bp-color-light-1);
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-ds-page-nav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bp-ds-page-nav-group > span {
    color: var(--bp-color-dark-2);
    font-size: var(--bp-text-2xs);
    font-weight: var(--bp-weight-bold);
    text-transform: uppercase;
}

.bp-ds-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bp-ds-page-grid a {
    display: grid;
    gap: 8px;
    min-height: 160px;
    padding: 20px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-ds-page-grid strong {
    font-size: var(--bp-text-xl);
}

.bp-ds-component-stack {
    display: grid;
    gap: 32px;
}

.bp-ds-component-stack > article {
    display: grid;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bp-color-light-1);
}

.bp-ds-component-stack h3 {
    margin: 0;
    font-size: var(--bp-text-xl);
}

.bp-ds-overlay-demo {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-lighter-1);
}

.bp-ds-overlay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--bp-radius-sm);
    background: rgba(22, 22, 22, 0.42);
    color: var(--bp-color-white);
    line-height: 1;
    text-decoration: none;
}

.bp-ds-overlay-button:hover,
.bp-ds-overlay-button:focus {
    background: var(--bp-color-orange);
    color: var(--bp-color-white);
    text-decoration: none;
}

.bp-search-result-card .bp-ds-overlay-button,
.bp-search-map-card .bp-ds-overlay-button,
.bp-ds-recommended-card .bp-ds-overlay-button {
    background: rgba(255, 255, 255, 0.92);
    color: var(--bp-color-black);
}

.bp-search-result-card .bp-ds-overlay-button:hover,
.bp-search-map-card .bp-ds-overlay-button:hover,
.bp-ds-recommended-card .bp-ds-overlay-button:hover {
    background: var(--bp-color-orange);
    color: var(--bp-color-white);
}

.bp-ds-detail-gallery {
    position: relative;
}

.bp-ds-detail-gallery-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: var(--bp-z-raised);
    display: flex;
    gap: 8px;
}

.bp-ds-media-grid {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 190px;
    gap: 8px;
}

.bp-ds-media-item,
.bp-ds-mobile-carousel [data-gallery-trigger],
.bp-ds-unit-media button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--bp-radius-xs);
    background: transparent;
    overflow: hidden;
}

.bp-ds-media-item-primary {
    grid-row: span 2;
}

.bp-ds-media-item img,
.bp-ds-mobile-carousel img,
.bp-ds-unit-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-ds-mobile-carousel {
    position: relative;
    display: none;
    aspect-ratio: 4 / 3;
    border-radius: var(--bp-radius-xs);
    overflow: hidden;
}

.bp-ds-mobile-carousel .swiper,
.bp-ds-mobile-carousel .swiper-wrapper,
.bp-ds-mobile-carousel .swiper-slide {
    width: 100%;
    height: 100%;
}

.bp-ds-mobile-carousel .swiper-slide:not(:first-child) {
    display: none;
}

.bp-ds-mobile-carousel .numbertext {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: var(--bp-z-raised);
    padding: 4px 8px;
    border-radius: var(--bp-radius-xs);
    background: rgba(22, 22, 22, 0.56);
    color: var(--bp-color-white);
    font-size: var(--bp-text-2xs);
}

.bp-ds-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: var(--bp-z-raised);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 46px;
    margin-top: -23px;
    border: 0;
    background: rgba(255, 255, 255, 0.84);
    color: var(--bp-color-black);
}

.bp-ds-carousel-arrow-prev {
    left: 0;
}

.bp-ds-carousel-arrow-next {
    right: 0;
}

.bp-ds-unit-media {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.bp-ds-unit-media button {
    aspect-ratio: 4 / 3;
}

.bp-ds-unit-media a {
    display: grid;
    place-items: center;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-xs);
    color: var(--bp-color-orange);
    font-weight: var(--bp-weight-bold);
    text-decoration: none;
}

.bp-ds-unit-description {
    margin-top: 16px;
}

.bp-ds-text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bp-color-orange);
    font-weight: var(--bp-weight-bold);
}

.bp-ds-recommended-card {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 154px;
    border: 1px solid var(--bp-color-medium);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
    color: var(--bp-color-black);
    overflow: hidden;
    text-decoration: none;
}

.bp-ds-recommended-card:hover,
.bp-ds-recommended-card:focus {
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-ds-recommended-media {
    position: relative;
    min-height: 154px;
}

.bp-ds-recommended-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-ds-recommended-media .bp-ds-overlay-button {
    position: absolute;
    top: 8px;
    right: 8px;
}

.bp-ds-recommended-body {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 16px;
}

.bp-ds-recommended-body h4,
.bp-ds-recommended-body p {
    margin: 0;
}

.bp-ds-city-link {
    margin-bottom: 16px;
}

.bp-ds-search-filter-shell {
    padding: 12px 32px;
    border-bottom: 1px solid var(--bp-color-light-1);
    background: var(--bp-color-white);
}

.bp-ds-search-layout {
    display: grid;
    grid-template-columns: minmax(420px, 56vw) minmax(360px, 1fr);
    min-height: 720px;
}

.bp-ds-map-preview {
    position: sticky;
    top: 0;
    height: calc(100vh - 144px);
    min-height: 620px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.56) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.56) 1px, transparent 1px),
        #d8f0df;
    background-size: 80px 80px;
    overflow: hidden;
}

.bp-ds-map-preview > label {
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: var(--bp-z-raised);
    display: inline-flex;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--bp-radius-xs);
    background: var(--bp-color-white);
}

.bp-ds-map-pins span {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid var(--bp-color-white);
    border-radius: 50% 50% 50% 0;
    background: var(--bp-color-orange);
    transform: rotate(-45deg);
}

.bp-ds-map-pin-1 { left: 44%; top: 42%; }
.bp-ds-map-pin-2 { left: 50%; top: 48%; }
.bp-ds-map-pin-3 { left: 55%; top: 38%; }
.bp-ds-map-pin-4 { left: 62%; top: 52%; }

.bp-ds-map-reveal {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
}

.bp-ds-search-results {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 20px;
    background: var(--bp-color-white);
}

.bp-ds-empty-state {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-lighter-1);
}

/* DS geo/search SEO page previews. */
.bp-ds-seo-page-shell,
.bp-ds-geo-index {
    display: grid;
    gap: 32px;
    box-sizing: border-box;
    padding: 32px 32px 48px;
    background: var(--bp-color-white);
    overflow-x: hidden;
}

.bp-ds-seo-title-block,
.bp-ds-geo-index-hero {
    display: grid;
    gap: 12px;
    box-sizing: border-box;
    max-width: min(1320px, 100%);
    width: 100%;
    margin: 0 auto;
}

.bp-ds-seo-title-block > *,
.bp-ds-geo-index-hero > * {
    min-width: 0;
}

.bp-ds-seo-title-block h1,
.bp-ds-seo-title-block p,
.bp-ds-geo-index-hero h1,
.bp-ds-geo-index-hero p,
.bp-ds-seo-results-header h2,
.bp-ds-seo-results-header p,
.bp-ds-seo-panel h2,
.bp-ds-seo-panel p,
.bp-ds-geo-group h2,
.bp-ds-geo-group p {
    margin: 0;
}

.bp-ds-seo-title-block h1,
.bp-ds-geo-index-hero h1 {
    max-width: 820px;
    font-size: var(--bp-text-4xl);
    line-height: 1.08;
}

.bp-ds-seo-title-block > p:last-of-type,
.bp-ds-geo-index-hero > div:first-child > p:last-child {
    max-width: 760px;
    color: var(--bp-color-dark-2);
    font-size: var(--bp-text-md);
}

.bp-ds-seo-eyebrow {
    color: var(--bp-color-orange);
    font-size: var(--bp-text-xs);
    font-weight: var(--bp-weight-bold);
    letter-spacing: 0;
    text-transform: uppercase;
}

.bp-ds-seo-content-grid,
.bp-ds-geo-index-groups {
    box-sizing: border-box;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.bp-ds-seo-filter-row,
.bp-ds-seo-results {
    box-sizing: border-box;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.bp-ds-seo-filter-row {
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
}

.bp-ds-seo-results {
    display: grid;
    align-content: start;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
}

.bp-ds-seo-results-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
}

.bp-ds-seo-result-list {
    display: grid;
    gap: 16px;
}

.bp-ds-seo-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bp-ds-seo-panel {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
}

.bp-ds-seo-panel p {
    color: var(--bp-color-dark-2);
}

.bp-ds-seo-panel-links {
    box-sizing: border-box;
    max-width: 1320px;
    width: 100%;
    min-height: 0;
    margin: 0 auto;
    background: var(--bp-color-lighter-1);
}

.bp-ds-seo-link-grid,
.bp-ds-geo-featured,
.bp-ds-geo-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bp-ds-seo-link-grid a,
.bp-ds-geo-featured a,
.bp-ds-geo-link-list a {
    display: grid;
    gap: 4px;
    min-height: 58px;
    padding: 16px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-lighter-1);
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-ds-seo-link-grid a:hover,
.bp-ds-seo-link-grid a:focus,
.bp-ds-geo-featured a:hover,
.bp-ds-geo-featured a:focus,
.bp-ds-geo-link-list a:hover,
.bp-ds-geo-link-list a:focus {
    border-color: var(--bp-color-orange);
    color: var(--bp-color-black);
    text-decoration: none;
}

.bp-ds-seo-link-grid a span,
.bp-ds-geo-featured span,
.bp-ds-geo-link-list small {
    color: var(--bp-color-dark-2);
    font-size: var(--bp-text-xs);
}

.bp-ds-seo-link-grid-strong a {
    background: var(--bp-color-white);
}

.bp-ds-geo-index {
    padding-right: 32px;
    padding-left: 32px;
}

.bp-ds-geo-featured {
    align-self: stretch;
    padding: 20px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-lighter-1);
}

.bp-ds-geo-featured a {
    background: var(--bp-color-white);
}

.bp-ds-geo-index-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bp-ds-geo-group {
    display: grid;
    gap: 20px;
    min-height: 360px;
    padding: 24px;
    border: 1px solid var(--bp-color-light-1);
    border-radius: var(--bp-radius-sm);
    background: var(--bp-color-white);
}

.bp-ds-geo-group-heading {
    display: grid;
    gap: 8px;
}

.bp-ds-geo-group-heading p {
    color: var(--bp-color-dark-2);
}

.bp-ds-blog-page-layout {
    display: grid;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (max-width: 1024px) {
    .bp-ds-page-grid,
    .bp-ds-search-layout,
    .bp-ds-seo-content-grid,
    .bp-ds-geo-index-hero,
    .bp-ds-geo-index-groups {
        grid-template-columns: 1fr;
    }

    .bp-ds-map-preview {
        position: relative;
        height: 420px;
        min-height: 420px;
    }

    .bp-ds-media-grid {
        display: none;
    }

    .bp-ds-mobile-carousel {
        display: block;
    }

    .bp-ds-unit-media,
    .bp-ds-recommended-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .bp-ds-page-nav,
    .bp-ds-search-filter-shell,
    .bp-ds-seo-page-shell,
    .bp-ds-geo-index {
        padding-right: 16px;
        padding-left: 16px;
    }

    .bp-ds-page-nav {
        gap: 12px;
    }

    .bp-ds-page-nav-group {
        width: 100%;
    }

    .bp-ds-map-preview {
        display: none;
    }

    .bp-ds-seo-title-block,
    .bp-ds-geo-index-hero,
    .bp-ds-geo-group {
        padding: 20px;
    }

    .bp-ds-seo-title-block h1,
    .bp-ds-geo-index-hero h1 {
        font-size: var(--bp-text-3xl);
    }

    .bp-ds-seo-results,
    .bp-ds-seo-panel {
        padding: 20px;
    }

    .bp-ds-seo-link-grid,
    .bp-ds-geo-featured,
    .bp-ds-geo-link-list {
        grid-template-columns: 1fr;
    }
}

/* Live-search overrides repeated at file end so broad DS preview rules cannot win. */
.bp-search-page-v2 .bp-search-filter-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.bp-search-page-v2 .bp-search-filter-sort {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    line-height: normal !important;
}

.bp-search-page-v2 .bp-search-filter-submit,
.bp-search-page-v2 .bp-search-filter-reset {
    width: 100% !important;
    min-width: 0 !important;
}

.bp-search-page-v2 .bp-search-filter-save {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
}

@media (max-width: 1280px) {
    .bp-search-page-v2 .bp-search-filter-bar {
        gap: 5px !important;
    }
}

.bp-ds-recommended-listing-card {
    max-width: 292px;
}

.bp-ds-recommended-listing-card .bp-listing-card-link {
    text-decoration: none;
}

.bp-components-ds-page .bp-search-filter-input,
.bp-components-ds-page .bp-search-filter-control,
.bp-search-page-v2 .bp-search-filter-input,
.bp-search-page-v2 .bp-search-filter-control {
    height: 47px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    line-height: 47px !important;
}

.bp-components-ds-page .bp-search-filter-location,
.bp-search-page-v2 .bp-search-filter-location {
    flex: 1 1 300px !important;
    min-width: 240px !important;
}

.bp-components-ds-page .bp-search-filter-transaction,
.bp-search-page-v2 .bp-search-filter-transaction {
    flex: 0 0 108px !important;
}

.bp-components-ds-page .bp-search-filter-field:not(.bp-search-filter-location):not(.bp-search-filter-transaction):not(.bp-search-filter-more-trigger):not(.bp-search-filter-sort),
.bp-search-page-v2 .bp-search-filter-field:not(.bp-search-filter-location):not(.bp-search-filter-transaction):not(.bp-search-filter-more-trigger):not(.bp-search-filter-sort) {
    flex: 0 0 132px !important;
}

.bp-components-ds-page .bp-search-filter-field[data-filter-menu="area"],
.bp-search-page-v2 .bp-search-filter-field[data-filter-menu="area"],
.bp-components-ds-page .bp-search-filter-more-trigger,
.bp-search-page-v2 .bp-search-filter-more-trigger {
    flex: 0 0 116px !important;
}

.bp-components-ds-page .bp-search-filter-field[data-filter-menu="price"],
.bp-search-page-v2 .bp-search-filter-field[data-filter-menu="price"] {
    flex: 0 0 96px !important;
}

.bp-components-ds-page .bp-search-filter-sort,
.bp-search-page-v2 .bp-search-filter-sort {
    flex: 0 0 104px !important;
}

.bp-components-ds-page .bp-search-filter-icon,
.bp-search-page-v2 .bp-search-filter-icon {
    height: 47px !important;
}

.bp-components-ds-page .bp-search-filter-submit,
.bp-components-ds-page .bp-search-filter-reset,
.bp-components-ds-page .bp-search-filter-save,
.bp-search-page-v2 .bp-search-filter-submit,
.bp-search-page-v2 .bp-search-filter-reset,
.bp-search-page-v2 .bp-search-filter-save {
    height: 47px !important;
    min-height: 47px !important;
    padding: 0 16px !important;
    line-height: 47px !important;
}

.bp-components-ds-page .bp-search-filter-save,
.bp-search-page-v2 .bp-search-filter-save {
    border-color: #d6d0ca !important;
}

@media (max-width: 900px) {
    .bp-selector-demo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* BPCOM search/nav component previews. Scoped to the internal DS pages only. */








































































































.bp-ds-search-below-preview {
    display: grid;
    gap: 28px;
    padding: 32px;
    background: var(--bp-color-white);
}











































/* Flat links section — demo matches the live component: no card chrome. */


















@media (max-width: 1180px) {
    .bp-components-ds-page .bp-search-nearby--geo .bp-search-nearby-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-components-ds-page .bp-search-filter-bar {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }

    .bp-components-ds-page .bp-search-filter-submit,
    .bp-components-ds-page .bp-search-filter-save,
    .bp-components-ds-page .bp-search-filter-reset {
        width: 100% !important;
    }

    .bp-components-ds-page .bp-search-related-grid,
    .bp-components-ds-page .bp-search-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .bp-components-ds-page .bp-search-nearby--geo .bp-search-nearby-grid,
    .bp-components-ds-page .bp-search-related--geo .bp-search-related-grid {
        grid-template-columns: 1fr;
    }

    .bp-components-ds-page .bp-site-header {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas: "left logo right";
        padding: 0 16px;
    }

    .bp-components-ds-page .bp-site-nav-toggle span,
    .bp-components-ds-page .bp-site-header-actions {
        display: none;
    }

    .bp-components-ds-page .bp-site-header-logo,
    .bp-components-ds-page .bp-site-header-logo img {
        width: min(220px, 58vw);
    }

    .bp-components-ds-page .bp-site-header-favorites,
    .bp-components-ds-page .bp-site-header--badge-center .bp-site-header-favorites,
    .bp-components-ds-page .bp-site-header--badge-left .bp-site-header-favorites {
        grid-area: right;
        justify-self: end;
        margin-left: 0;
        transform: none;
    }

    .bp-components-ds-page .bp-search-filter-bar,
    .bp-components-ds-page .bp-search-nearby-grid,
    .bp-components-ds-page .bp-search-related-grid,
    .bp-components-ds-page .bp-search-seo-content-grid,
    .bp-components-ds-page .bp-search-footer-grid {
        grid-template-columns: 1fr;
    }

    .bp-components-ds-page .bp-search-modal {
        min-height: 920px;
    }

    .bp-components-ds-page .bp-search-modal-choice-grid,
    .bp-components-ds-page .bp-search-filter-radio-grid {
        grid-template-columns: 1fr;
    }

    .bp-components-ds-page .bp-search-footer {
        padding: 28px 20px;
    }
}
