/* =========================================================
   BC BRICK — DEALERS
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.bc-dealers-page {
    padding-block: 0;
    overflow: visible;
    color: var(--bc-color-text);
    background: var(--bc-color-background);
}

.bc-dealers-page *,
.bc-dealers-page *::before,
.bc-dealers-page *::after {
    box-sizing: border-box;
}

.bc-dealers [hidden],
.bc-dealers-panel[hidden] {
    display: none !important;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.bc-dealers-breadcrumbs-wrap {
    padding-top: var(--bc-space-5);
}

.bc-dealers-breadcrumbs__list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--bc-space-2);
    color: var(--bc-color-text-muted);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-caption);
    line-height: var(--bc-line-height-small);
    list-style: none;
}

.bc-dealers-breadcrumbs__item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.bc-dealers-breadcrumbs__link {
    color: var(--bc-color-text-muted);
    text-decoration: none;
    transition: color var(--bc-transition);
}

.bc-dealers-breadcrumbs__link:hover,
.bc-dealers-breadcrumbs__link:focus-visible {
    color: var(--bc-color-primary);
}

.bc-dealers-breadcrumbs__separator {
    display: grid;
    width: var(--bc-space-4);
    height: var(--bc-space-4);
    flex: 0 0 auto;
    place-items: center;
    color: var(--bc-color-border);
}

.bc-dealers-breadcrumbs__separator svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.bc-dealers-breadcrumbs__current {
    color: var(--bc-color-text);
    font-weight: 600;
}


/* =========================================================
   SECTION / HERO
========================================================= */

.bc-dealers {
    padding: var(--bc-space-10) 0 var(--bc-section-md);
    background: var(--bc-color-background);
}

.bc-dealers__header {
    display: grid;
    margin-bottom: var(--bc-space-8);
    grid-template-columns:
        minmax(0, 1fr)
        minmax(340px, 0.72fr);
    align-items: end;
    gap: var(--bc-grid-gap-lg);
}

.bc-dealers__heading {
    min-width: 0;
}

.bc-dealers__eyebrow {
    display: flex;
    margin: 0 0 var(--bc-space-3);
    align-items: center;
    gap: var(--bc-space-3);
    color: var(--bc-color-accent);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bc-dealers__eyebrow::before {
    width: var(--bc-space-6);
    height: 2px;
    flex: 0 0 auto;
    background: currentColor;
    content: "";
}

.bc-dealers__title {
    margin: 0;
}

.bc-dealers__description {
    width: 100%;
    max-width: 620px;
    margin: 0;
    justify-self: end;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-lg);
    line-height: var(--bc-line-height-body-lg);
}


/* =========================================================
   TOOLBAR
========================================================= */

.bc-dealers-toolbar {
    display: grid;
    padding:
        var(--bc-space-5)
        0;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: end;
    gap: var(--bc-space-6);
    border-top: 1px solid var(--bc-color-border);
    border-bottom: 1px solid var(--bc-color-border);
}

.bc-dealers-toolbar__filters {
    display: grid;
    min-width: 0;
    grid-template-columns:
        repeat(3, minmax(170px, 260px))
        auto;
    align-items: end;
    gap: var(--bc-space-3);
}


/* =========================================================
   FILTERS
========================================================= */

.bc-dealers-filter {
    display: block;
    min-width: 0;
}

.bc-dealers-filter__label {
    display: block;
    margin-bottom: var(--bc-space-2);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-caption);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
}

.bc-dealers-filter__field {
    position: relative;
    display: block;
}

.bc-dealers-filter select {
    display: block;
    width: 100%;
    height: 52px;
    padding:
        0
        var(--bc-space-10)
        0
        var(--bc-space-4);
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    outline: 0;
    color: var(--bc-color-text);
    background: var(--bc-color-surface);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 500;
    line-height: var(--bc-line-height-small);
    cursor: pointer;
    transition:
        border-color var(--bc-transition),
        background-color var(--bc-transition),
        color var(--bc-transition);
}

.bc-dealers-filter select:hover,
.bc-dealers-filter select:focus-visible {
    border-color: var(--bc-color-primary);
}

.bc-dealers-filter select:focus-visible {
    box-shadow: 0 0 0 3px var(--bc-color-focus);
}

.bc-dealers-filter select:disabled {
    color: var(--bc-color-text-muted);
    background: var(--bc-color-background-soft);
    cursor: not-allowed;
}

.bc-dealers-filter__field > svg {
    position: absolute;
    top: 50%;
    right: var(--bc-space-4);
    width: var(--bc-space-5);
    height: var(--bc-space-5);
    fill: none;
    stroke: var(--bc-color-primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-50%);
    pointer-events: none;
}


/* =========================================================
   RESET
========================================================= */

.bc-dealers-reset {
    display: inline-flex;
    min-height: 52px;
    padding:
        0
        var(--bc-space-4);
    align-items: center;
    justify-content: center;
    gap: var(--bc-space-2);
    border: 0;
    color: var(--bc-color-text-muted);
    background: transparent;
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--bc-transition);
}

.bc-dealers-reset:hover,
.bc-dealers-reset:focus-visible {
    color: var(--bc-color-primary);
}

.bc-dealers-reset svg {
    width: var(--bc-space-5);
    height: var(--bc-space-5);
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   MAP / LIST SWITCH
========================================================= */

.bc-dealers-view {
    display: flex;
    flex: 0 0 auto;
    justify-self: end;
}

.bc-dealers-view__button {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--bc-color-border);
    border-radius: 0;
    color: var(--bc-color-primary);
    background: var(--bc-color-surface);
    cursor: pointer;
    transition:
        color var(--bc-transition),
        border-color var(--bc-transition),
        background-color var(--bc-transition);
}

.bc-dealers-view__button:first-child {
    border-radius:
        var(--bc-radius-sm)
        0
        0
        var(--bc-radius-sm);
}

.bc-dealers-view__button:last-child {
    margin-left: -1px;
    border-radius:
        0
        var(--bc-radius-sm)
        var(--bc-radius-sm)
        0;
}

.bc-dealers-view__button:hover,
.bc-dealers-view__button:focus-visible {
    z-index: 1;
    border-color: var(--bc-color-primary);
}

.bc-dealers-view__button.is-active {
    z-index: 2;
    color: var(--bc-color-white);
    border-color: var(--bc-color-primary);
    background: var(--bc-color-primary);
}

.bc-dealers-view__button svg {
    width: var(--bc-space-6);
    height: var(--bc-space-6);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   RESULT COUNT / PANELS
========================================================= */

.bc-dealers__meta {
    display: flex;
    min-height: 56px;
    align-items: center;
}

.bc-dealers__meta p {
    margin: 0;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}

.bc-dealers__meta strong {
    margin-left: var(--bc-space-1);
    color: var(--bc-color-primary);
    font-family: var(--bc-font-heading);
    font-weight: 700;
}

.bc-dealers-panel {
    width: 100%;
}


/* =========================================================
   MAP
========================================================= */

.bc-dealers-map {
    width: 100%;
    height: clamp(520px, 60vh, 680px);
    overflow: hidden;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-background-soft);
}

.bc-dealers-map.leaflet-container {
    position: relative;
    z-index: 1;
    font-family: var(--bc-font-main);
    background: var(--bc-color-background-soft);
}

.bc-dealers-map .leaflet-tile-pane { z-index: 200; }
.bc-dealers-map .leaflet-overlay-pane { z-index: 400; }
.bc-dealers-map .leaflet-shadow-pane { z-index: 500; }
.bc-dealers-map .leaflet-marker-pane { z-index: 600; }
.bc-dealers-map .leaflet-tooltip-pane { z-index: 650; }
.bc-dealers-map .leaflet-popup-pane { z-index: 700; }
.bc-dealers-map .leaflet-control { z-index: 800; }
.bc-dealers-map .leaflet-popup { z-index: 700; }


/* =========================================================
   MAP MARKER
========================================================= */

.bc-dealer-marker-wrapper {
    border: 0;
    background: transparent;
}

.bc-dealer-marker {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border: 3px solid var(--bc-color-white);
    border-radius: 50% 50% 50% var(--bc-radius-sm);
    background: var(--bc-color-primary);
    box-shadow: var(--bc-shadow-sm);
    transform: rotate(-45deg);
    transition: background-color var(--bc-transition);
}

.bc-dealer-marker__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bc-color-white);
    transform: translate(-50%, -50%);
}

.leaflet-marker-icon:hover .bc-dealer-marker {
    background: var(--bc-color-accent);
}


/* =========================================================
   LEAFLET CONTROLS
========================================================= */

.bc-dealers-map .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    box-shadow: var(--bc-shadow-sm);
}

.bc-dealers-map .leaflet-control-zoom a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    color: var(--bc-color-primary);
    background: var(--bc-color-surface);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-h6);
    font-weight: 500;
    line-height: 42px;
}

.bc-dealers-map .leaflet-control-zoom a + a {
    border-top: 1px solid var(--bc-color-border);
}

.bc-dealers-map .leaflet-control-zoom a:hover,
.bc-dealers-map .leaflet-control-zoom a:focus-visible {
    color: var(--bc-color-white);
    background: var(--bc-color-primary);
}

.bc-dealers-map .leaflet-control-attribution {
    padding:
        var(--bc-space-1)
        var(--bc-space-2);
    color: var(--bc-color-text-muted);
    background: rgba(255, 255, 255, 0.9);
    font-size: var(--bc-font-size-caption);
}

.bc-dealers-map .leaflet-control-attribution a {
    color: var(--bc-color-primary);
}


/* =========================================================
   MAP POPUP
========================================================= */

.bc-dealer-leaflet-popup {
    pointer-events: auto;
}

.bc-dealer-leaflet-popup .leaflet-popup-content-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0;
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-surface);
    box-shadow: var(--bc-shadow-md);
}

.bc-dealer-leaflet-popup .leaflet-popup-content {
    width: auto !important;
    margin: 0;
}

.bc-dealer-leaflet-popup .leaflet-popup-tip-container {
    margin-top: -1px;
}

.bc-dealer-leaflet-popup .leaflet-popup-tip {
    background: var(--bc-color-surface);
}

.bc-dealer-popup {
    min-width: 280px;
    padding: var(--bc-space-5);
}

.bc-dealer-popup__city {
    margin: 0 0 var(--bc-space-2);
    color: var(--bc-color-accent);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
}

.bc-dealer-popup__title {
    display: block;
    max-width: 280px;
    padding-right: var(--bc-space-7);
    color: var(--bc-color-text);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h6);
    font-weight: 600;
    line-height: var(--bc-line-height-h6);
}

.bc-dealer-popup__address {
    margin: var(--bc-space-3) 0 0;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}

.bc-dealer-popup__contacts {
    display: flex;
    margin-top: var(--bc-space-4);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--bc-space-2);
}

.bc-dealer-popup__contacts a {
    max-width: 100%;
    color: var(--bc-color-text);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color var(--bc-transition);
}

.bc-dealer-popup__contacts a:hover,
.bc-dealer-popup__contacts a:focus-visible {
    color: var(--bc-color-primary);
}

.bc-dealer-popup__route {
    display: flex;
    margin-top: var(--bc-space-4);
    padding-top: var(--bc-space-4);
    align-items: center;
    justify-content: space-between;
    gap: var(--bc-space-4);
    border-top: 1px solid var(--bc-color-border);
    color: var(--bc-color-primary);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
    text-decoration: none;
}

.bc-dealer-popup__route svg {
    width: var(--bc-space-5);
    height: var(--bc-space-5);
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bc-dealer-leaflet-popup .leaflet-popup-close-button {
    top: var(--bc-space-2);
    right: var(--bc-space-2);
    width: var(--bc-space-8);
    height: var(--bc-space-8);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-h5);
    font-weight: 400;
    line-height: var(--bc-space-8);
}

.bc-dealer-leaflet-popup .leaflet-popup-close-button:hover,
.bc-dealer-leaflet-popup .leaflet-popup-close-button:focus-visible {
    color: var(--bc-color-primary);
}


/* =========================================================
   LIST VIEW
========================================================= */

.bc-dealers-list {
    display: block;
    width: 100%;
}

.bc-dealers-country + .bc-dealers-country {
    margin-top: var(--bc-space-12);
}

.bc-dealers-country__header {
    display: flex;
    margin-bottom: var(--bc-space-6);
    align-items: center;
    gap: var(--bc-space-3);
}

.bc-dealers-country__header::after {
    width: 100%;
    height: 1px;
    flex: 1 1 auto;
    background: var(--bc-color-border);
    content: "";
}

.bc-dealers-country__title {
    margin: 0;
    flex: 0 0 auto;
    color: var(--bc-color-accent);
    font-size: var(--bc-font-size-caption);
    font-weight: 700;
    line-height: var(--bc-line-height-small);
}

.bc-dealers-city {
    padding-top: var(--bc-space-7);
    border-top: 1px solid var(--bc-color-border);
}

.bc-dealers-country__cities > .bc-dealers-city:first-child {
    padding-top: 0;
    border-top: 0;
}

.bc-dealers-city + .bc-dealers-city {
    margin-top: var(--bc-space-8);
}

.bc-dealers-city__header {
    display: flex;
    margin-bottom: var(--bc-space-5);
    align-items: end;
    justify-content: space-between;
    gap: var(--bc-space-6);
}

.bc-dealers-city__heading {
    min-width: 0;
}

.bc-dealers-city__title {
    margin: 0;
    font-size: var(--bc-font-size-h4);
    line-height: var(--bc-line-height-h4);
}

.bc-dealers-city__region {
    margin: var(--bc-space-2) 0 0;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}

.bc-dealers-city__count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: baseline;
    gap: var(--bc-space-1);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-caption);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
}

.bc-dealers-city__count strong {
    color: var(--bc-color-accent);
    font-family: var(--bc-font-heading);
    font-size: var(--bc-font-size-h6);
    font-weight: 600;
    line-height: var(--bc-line-height-h6);
}

.bc-dealers-city__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--bc-grid-gap);
}


/* =========================================================
   DEALER CARD
========================================================= */

.bc-dealer-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    padding: var(--bc-space-5);
    flex-direction: column;
    border: 1px solid var(--bc-color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-color-surface);
    transition: border-color var(--bc-transition);
}

.bc-dealer-card:hover {
    border-color: var(--bc-color-primary);
}

.bc-dealer-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--bc-space-5);
}

.bc-dealer-card__heading {
    min-width: 0;
}

.bc-dealer-card__title {
    max-width: 520px;
    margin: 0;
    font-size: var(--bc-font-size-h6);
    font-weight: 600;
    line-height: var(--bc-line-height-h6);
}

.bc-dealer-card__logo {
    display: grid;
    width: 88px;
    height: 48px;
    flex: 0 0 88px;
    place-items: center;
}

.bc-dealer-card__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bc-dealer-card__body {
    margin-top: var(--bc-space-4);
}

.bc-dealer-card__address {
    max-width: 580px;
    margin: 0;
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    line-height: var(--bc-line-height-small);
}

.bc-dealer-card__contacts {
    display: grid;
    margin-top: var(--bc-space-5);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:
        var(--bc-space-4)
        var(--bc-space-6);
}

.bc-dealer-card__contact {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.bc-dealer-card__contact > span {
    display: block;
    margin-bottom: var(--bc-space-1);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-caption);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
}

.bc-dealer-card__contact > a,
.bc-dealer-card__contact > strong {
    max-width: 100%;
    color: var(--bc-color-text);
    font-family: var(--bc-font-main);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bc-dealer-card__contact > a {
    transition: color var(--bc-transition);
}

.bc-dealer-card__contact > a:hover,
.bc-dealer-card__contact > a:focus-visible {
    color: var(--bc-color-primary);
}

.bc-dealer-card__footer {
    display: flex;
    margin-top: auto;
    padding-top: var(--bc-space-5);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--bc-space-3) var(--bc-space-5);
}

.bc-dealer-card__route {
    display: inline-flex;
    align-items: center;
    gap: var(--bc-space-2);
    color: var(--bc-color-primary);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
    text-decoration: none;
}

.bc-dealer-card__route svg {
    width: var(--bc-space-5);
    height: var(--bc-space-5);
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bc-dealer-card__website {
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body-sm);
    font-weight: 600;
    line-height: var(--bc-line-height-small);
    text-decoration: none;
    transition: color var(--bc-transition);
}

.bc-dealer-card__route:hover,
.bc-dealer-card__route:focus-visible,
.bc-dealer-card__website:hover,
.bc-dealer-card__website:focus-visible {
    color: var(--bc-color-primary);
}

.bc-dealers-empty {
    margin: 0;
    padding: var(--bc-space-12) 0;
    border-top: 1px solid var(--bc-color-border);
    color: var(--bc-color-text-muted);
    font-size: var(--bc-font-size-body);
    line-height: var(--bc-line-height-body);
    text-align: center;
}


/* =========================================================
   <= 1199
========================================================= */

@media (max-width: 1199px) {

    .bc-dealers-toolbar__filters {
        grid-template-columns:
            repeat(3, minmax(150px, 1fr))
            auto;
    }

    .bc-dealers-map {
        height: 600px;
    }

}


/* =========================================================
   <= 991
========================================================= */

@media (max-width: 991px) {

    .bc-dealers__header {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: var(--bc-space-5);
    }

    .bc-dealers__description {
        max-width: var(--bc-container-content);
        justify-self: start;
    }

    .bc-dealers-toolbar {
        grid-template-columns:
            minmax(0, 1fr)
            auto;
    }

    .bc-dealers-toolbar__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bc-dealers-reset {
        justify-self: start;
    }

    .bc-dealers-map {
        height: 560px;
    }

    .bc-dealers-city__grid {
        grid-template-columns: minmax(0, 1fr);
    }

}


/* =========================================================
   <= 767
========================================================= */

@media (max-width: 767px) {

    .bc-dealers-breadcrumbs-wrap {
        padding-top: var(--bc-space-4);
    }

    .bc-dealers-breadcrumbs__list {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .bc-dealers {
        padding:
            var(--bc-space-8)
            0
            var(--bc-section-md);
    }

    .bc-dealers__header {
        margin-bottom: var(--bc-space-7);
    }

    .bc-dealers__description {
        font-size: var(--bc-font-size-body);
        line-height: var(--bc-line-height-body);
    }

    .bc-dealers-toolbar {
        display: block;
        padding:
            var(--bc-space-4)
            0;
    }

    .bc-dealers-toolbar__filters {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--bc-space-3);
    }

    .bc-dealers-view {
        margin-top: var(--bc-space-4);
        justify-content: flex-start;
    }

    .bc-dealers__meta {
        min-height: 52px;
    }

    .bc-dealers-map {
        height: 480px;
        border-radius: var(--bc-radius-sm);
    }

    .bc-dealers-country + .bc-dealers-country {
        margin-top: var(--bc-space-10);
    }

    .bc-dealers-country__header {
        margin-bottom: var(--bc-space-5);
    }

    .bc-dealers-city {
        padding-top: var(--bc-space-6);
    }

    .bc-dealers-city + .bc-dealers-city {
        margin-top: var(--bc-space-7);
    }

    .bc-dealers-city__header {
        align-items: flex-start;
        flex-direction: column;
        gap: var(--bc-space-2);
    }

    .bc-dealers-city__title {
        font-size: var(--bc-font-size-h5);
        line-height: var(--bc-line-height-h5);
    }

    .bc-dealer-card {
        padding: var(--bc-space-4);
    }

    .bc-dealer-card__contacts {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--bc-space-3);
    }

    .bc-dealer-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .bc-dealer-popup {
        min-width: 240px;
        padding: var(--bc-space-4);
    }

}


/* =========================================================
   <= 420
========================================================= */

@media (max-width: 420px) {

    .bc-dealers-map {
        height: 440px;
    }

    .bc-dealers-view__button {
        width: 48px;
        height: 48px;
    }

    .bc-dealers-filter select {
        height: 48px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bc-dealers-breadcrumbs__link,
    .bc-dealers-filter select,
    .bc-dealers-reset,
    .bc-dealers-view__button,
    .bc-dealer-marker,
    .bc-dealer-popup__contacts a,
    .bc-dealer-card,
    .bc-dealer-card__contact > a,
    .bc-dealer-card__website {
        transition: none;
    }

}
