.dsdl-dealer-map {
    --dsdl-accent: #86bc25;
    --dsdl-map-height: 560px;
    --dsdl-meta-icon-gap: 10px;
    --dsdl-meta-row-gap: 7px;
    width: 100%;
    color: #18202a;
    font-family: inherit;
}

.dsdl-store-heading {
    margin-bottom: 18px;
}

.dsdl-title {
    position: relative;
    display: inline-block;
    margin: 0;
    color: #1b1f24;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.dsdl-title::after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--dsdl-accent);
}

.dsdl-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.dsdl-filter-field {
    position: relative;
    display: block;
    margin: 0;
}

.dsdl-filter-field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.dsdl-filter-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 16px;
    border: 1px solid #d7dde5;
    border-radius: 4px;
    background: #fff;
    color: #313b47;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.dsdl-filter-field.is-searchable select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.dsdl-filter-field::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #72808f;
    border-bottom: 2px solid #72808f;
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}

.dsdl-filter-field.is-searchable::after {
    display: none;
}

.dsdl-filter-field select:focus {
    border-color: var(--dsdl-accent);
    box-shadow: 0 0 0 3px rgba(134, 188, 37, 0.16);
}

.dsdl-search-select {
    position: relative;
}

.dsdl-search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 44px 0 16px;
    border: 1px solid #d7dde5;
    border-radius: 4px;
    background: #fff;
    color: #313b47;
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

.dsdl-search-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #72808f;
    border-bottom: 2px solid #72808f;
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}

.dsdl-search-input:focus {
    border-color: var(--dsdl-accent);
    box-shadow: 0 0 0 3px rgba(134, 188, 37, 0.16);
}

.dsdl-search-menu {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    margin: 0;
    padding: 6px 0;
    border: 1px solid #d7dde5;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
    list-style: none;
    overflow: auto;
}

.dsdl-search-menu[hidden] {
    display: none;
}

.dsdl-search-option,
.dsdl-search-empty {
    margin: 0;
    padding: 10px 16px;
    color: #26313f;
    font-size: 15px;
    line-height: 1.35;
}

.dsdl-search-option {
    cursor: pointer;
}

.dsdl-search-option:hover,
.dsdl-search-option.is-active {
    background: #f0f7e4;
    color: #446a0d;
}

.dsdl-search-empty {
    color: #7a8593;
}

.dsdl-store-body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.dsdl-layout-list-left .dsdl-map {
    order: 2;
}

.dsdl-layout-list-left .dsdl-panel {
    order: 1;
}

.dsdl-map {
    min-height: var(--dsdl-map-height);
    border: 1px solid #d9e1e8;
    border-radius: 6px;
    overflow: hidden;
    background: #eef2f4;
}

.dsdl-panel {
    min-width: 0;
    border: 1px solid #d9e1e8;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.dsdl-panel-top {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid #e4e9ee;
    background: #f7f9fb;
}

.dsdl-count {
    color: #5b6674;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.dsdl-list {
    display: grid;
    max-height: calc(var(--dsdl-map-height) - 49px);
    overflow: auto;
}

.dsdl-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid #e6ebf0;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.dsdl-card:hover,
.dsdl-card:focus,
.dsdl-card.is-active {
    background: #f8fbf2;
    box-shadow: inset 4px 0 0 var(--dsdl-accent);
    outline: none;
}

.dsdl-card[hidden] {
    display: none;
}

.dsdl-card-image {
    width: 108px;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    object-fit: cover;
    background: #f1f3f5;
}

.dsdl-card-body {
    min-width: 0;
}

.dsdl-card h4 {
    margin: 0 0 7px;
    color: #1b1f24;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
}

.dsdl-area {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(134, 188, 37, 0.12);
    color: #5f8914;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

.dsdl-address,
.dsdl-phone {
    display: flex;
    gap: var(--dsdl-meta-icon-gap);
    align-items: center;
    margin: 0 0 var(--dsdl-meta-row-gap);
    color: #495565;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.dsdl-meta-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    color: var(--dsdl-accent);
    font-size: 13px;
    line-height: 1;
}

.dsdl-address::before {
    content: "";
    top: 5px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--dsdl-accent);
    border-radius: 50%;
}

.dsdl-phone::before {
    content: "☎";
    font-size: 13px;
}

.dsdl-phone:hover {
    color: var(--dsdl-accent);
}

.dsdl-address::before,
.dsdl-phone::before {
    content: none;
    display: none;
}

.dsdl-meta-icon svg,
.dsdl-meta-icon i {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.dsdl-more-button {
    width: calc(100% - 36px);
    min-height: 48px;
    margin: 16px 18px 18px;
    border: 1px solid var(--dsdl-accent);
    border-radius: 4px;
    background: var(--dsdl-accent);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.dsdl-more-button:hover {
    filter: brightness(0.94);
}

.dsdl-empty {
    margin: 0;
    padding: 18px;
    color: #5b6674;
    background: #fff;
}

.dsdl-marker-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 999px 999px 999px 0;
    background: var(--dsdl-accent);
    box-shadow: 0 5px 14px rgba(17, 24, 39, 0.24);
    transform: rotate(-45deg);
}

.dsdl-marker-icon::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
}

@media (max-width: 900px) {
    .dsdl-filter-bar,
    .dsdl-store-body {
        grid-template-columns: 1fr;
    }

    .dsdl-layout-list-left .dsdl-map,
    .dsdl-layout-list-left .dsdl-panel {
        order: initial;
    }

    .dsdl-map {
        min-height: min(var(--dsdl-map-height), 420px);
    }

    .dsdl-list {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 520px) {
    .dsdl-title {
        font-size: 24px;
    }

    .dsdl-card {
        grid-template-columns: 88px minmax(0, 1fr);
        padding: 14px;
    }

    .dsdl-card-image {
        width: 88px;
    }
}
