.es-delivery-nearby {
    clear: both;
    min-width: 0;
    margin: 18px 0 0;
    padding: 15px 0 0;
    color: #c8d5e2;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.es-delivery-nearby__inner {
    width: 100%;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}

.es-delivery-nearby__label {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.es-delivery-map h2,
.es-delivery-map h3 {
    margin: 0;
    color: #163b61;
    font-family: inherit;
}

.es-delivery-nearby__links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px 14px;
}

footer .es-delivery-nearby__links a {
    display: inline-block;
    padding: 0 0 2px;
    color: #fff;
    border-bottom: 1.5px solid rgba(242, 161, 75, .85);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

footer .es-delivery-nearby__links a:visited {
    color: #fff;
}

footer .es-delivery-nearby__links a:hover,
footer .es-delivery-nearby__links a:focus-visible {
    color: #f2a14b;
    border-bottom-color: currentColor;
}

footer .es-delivery-nearby__links a:focus-visible {
    outline: 2px solid rgba(242, 161, 75, .6);
    outline-offset: 4px;
}

.es-prototype-footer__inner > .es-delivery-nearby {
    grid-column: 1 / -1;
}

.meb-site-footer > .es-delivery-nearby,
.ef-furniture footer#contacts > .es-delivery-nearby {
    width: min(1240px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
}

.es-delivery-map,
.es-delivery-map *,
.es-delivery-map *::before,
.es-delivery-map *::after {
    box-sizing: border-box;
}

.es-delivery-map {
    clear: both;
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 36px 0 0;
    padding: 0;
    color: #243b53;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.es-delivery-map__header {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-bottom: 22px;
}

.es-delivery-map h2 {
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
}

.es-delivery-map h2::before,
.es-delivery-map h2::after,
.es-delivery-map h3::before,
.es-delivery-map h3::after {
    display: none !important;
    content: none !important;
}

.es-delivery-map__areas {
    display: grid;
    float: none;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.es-delivery-map__area {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 21px;
    background: #f7f9fc;
    border: 1px solid #dbe5ee;
    border-radius: 15px;
    box-shadow: none;
}

.es-delivery-map h3 {
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    margin-bottom: 14px;
    font-size: 19px;
    line-height: 1.25;
}

.es-delivery-map__cities {
    display: flex;
    float: none;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.es-delivery-map__city {
    scroll-margin-top: 110px;
    display: inline-flex;
    float: none;
    width: auto;
    max-width: 100%;
    align-items: center;
    min-height: 34px;
    padding: 6px 11px;
    color: #294f74;
    background: #fff;
    border: 1px solid #d9e5ef;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.es-delivery-map__city:target {
    color: #fff;
    background: #b3262f;
    border-color: #b3262f;
    box-shadow: 0 0 0 4px rgba(179, 38, 47, .13);
}

@media (max-width: 980px) {
    .es-delivery-map__areas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .es-delivery-nearby {
        margin-top: 15px;
        padding-top: 14px;
    }

    .es-delivery-nearby__inner {
        align-items: baseline;
    }

    .es-delivery-nearby__label,
    .es-delivery-nearby__links a {
        font-size: 13px;
    }

    .es-delivery-map {
        margin-top: 32px;
        padding: 0;
        border-radius: 0;
    }

    .es-delivery-map__areas {
        grid-template-columns: 1fr;
    }

    .es-delivery-map__area {
        padding: 17px;
    }
}
