.delivery-map-section {
    margin: 0;
}

.shariki-delivery-map-page .content-article {
    width: 100%;
    max-width: 1600px;
    margin-right: auto !important;
    margin-left: 0 !important;
}

.delivery-map-intro {
    max-width: 920px;
    margin-bottom: 28px;
}

.delivery-map-intro h2 {
    margin: 0 0 12px;
}

.delivery-map-intro p,
.delivery-map-attribution {
    color: #666;
}

.delivery-map-demo-note {
    max-width: 760px;
    margin: 16px 0 0;
    padding: 12px 14px;
    border-left: 3px solid #e7bd36;
    border-radius: 0 8px 8px 0;
    background: #fff9e8;
    color: #4f4a3f !important;
    font-size: 14px;
}

.delivery-map {
    width: 100%;
    min-height: 600px;
    border: 1px solid #e4e4e7;
    border-radius: 18px;
    overflow: hidden;
    background: #f5f5f4;
    box-shadow: 0 10px 30px rgba(31, 41, 55, .08);
}

.delivery-map-attribution {
    margin: 9px 0 32px;
    font-size: 12px;
}

.delivery-map-list-heading {
    margin: 0 0 18px;
}

.delivery-map-list-heading h2 {
    margin: 0 0 7px;
}

.delivery-map-list-heading p {
    margin: 0;
    color: #666;
}

.delivery-map-list-heading .delivery-map-list-heading__count {
    margin-top: 6px;
    color: #8a8d92;
    font-size: 13px;
}

.delivery-map-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.delivery-map-card {
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(31, 41, 55, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

@media (hover: hover) {
    .delivery-map-card:hover {
        transform: translateY(-2px);
        border-color: #d8dadd;
        box-shadow: 0 8px 24px rgba(31, 41, 55, .1);
    }
}

.delivery-map-card.is-active {
    border-color: #0d7fa5;
    box-shadow: 0 0 0 2px rgba(13, 127, 165, .13);
}

.delivery-map-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f6f6f7;
}

.delivery-map-card__demo {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #50535a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .09);
}

.delivery-map-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delivery-map-card__body {
    padding: 17px 18px 19px;
}

.delivery-map-card__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.delivery-map-card__commerce {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    align-items: baseline;
    margin: 0 0 10px;
}

.delivery-map-card__price {
    color: #16789a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.delivery-map-card__price del {
    margin-right: 5px;
    color: #8b8f95;
    font-size: 12px;
    font-weight: 400;
}

.delivery-map-card__price ins {
    text-decoration: none;
}

.delivery-map-card__count {
    color: #6a6e75;
    font-size: 12px;
    font-weight: 500;
}

.delivery-map-card__address,
.delivery-map-card__meta {
    margin: 0;
    color: #5f6368;
    line-height: 1.45;
}

.delivery-map-card__address::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 7px 2px 1px;
    border-radius: 50%;
    background: #e4435d;
}

.delivery-map-card__meta {
    margin-top: 6px;
    font-size: 13px;
}

.delivery-map-card__link,
.delivery-map-popup__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 13px;
    color: #0d7fa5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.delivery-map-card__composition {
    margin-top: 11px;
    border-top: 1px solid #ececef;
    padding-top: 9px;
    color: #5f6368;
    font-size: 12px;
}

.delivery-map-card__composition summary {
    color: #4e5359;
    cursor: pointer;
    font-weight: 600;
    list-style-position: outside;
}

.delivery-map-card__composition ul {
    display: grid;
    gap: 5px;
    margin: 9px 0 0;
    padding-left: 17px;
    line-height: 1.4;
}

.delivery-map-pagination {
    margin-top: 30px;
}

.delivery-map-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.delivery-map-pagination a,
.delivery-map-pagination span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e0e2e5;
    border-radius: 9px;
    background: #fff;
    color: #4f545a;
    line-height: 1;
    text-decoration: none;
}

.delivery-map-pagination a:hover {
    border-color: #0d7fa5;
    color: #0d7fa5;
}

.delivery-map-pagination .current {
    border-color: #0d7fa5;
    background: #0d7fa5;
    color: #fff;
}

.delivery-map-card__link:hover,
.delivery-map-popup__link:hover {
    color: #075d7a;
    text-decoration: underline;
}

.delivery-map-popup img {
    display: block;
    width: 100%;
    max-height: 220px;
    margin: 0 0 10px;
    border-radius: 8px;
    object-fit: cover;
}

.delivery-map-popup strong,
.delivery-map-popup span,
.delivery-map-popup small {
    display: block;
}

.delivery-map-popup__commerce {
    display: flex !important;
    gap: 8px;
    align-items: baseline;
    margin: 5px 0 7px;
}

.delivery-map-popup__commerce b {
    color: #16789a;
    font-size: 15px;
}

.delivery-map-popup__commerce em {
    color: #777;
    font-size: 11px;
    font-style: normal;
}

.delivery-map-popup strong {
    margin-bottom: 5px;
    font-size: 15px;
}

.delivery-map-popup small {
    margin-top: 5px;
    color: #666;
}

.delivery-map-popup__link {
    display: inline-flex !important;
    margin-top: 10px;
}

.delivery-map-empty {
    padding: 30px;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    background: #fafafa;
}

.delivery-map-empty p {
    margin: 0;
}

.leaflet-container {
    font-family: inherit;
}

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

@media (min-width: 1680px) {
    .delivery-map-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .delivery-map-intro {
        margin-bottom: 20px;
    }

    .delivery-map-demo-note {
        padding: 10px 12px;
        font-size: 13px;
    }

    .delivery-map {
        min-height: 360px;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(31, 41, 55, .08);
    }

    .delivery-map-attribution {
        margin-bottom: 24px;
    }

    .delivery-map-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .delivery-map-card__body {
        padding: 15px 16px 17px;
    }

    .delivery-map-pagination {
        margin-top: 22px;
    }

    .delivery-map-pagination .page-numbers {
        gap: 6px;
    }

    .delivery-map-pagination a,
    .delivery-map-pagination span {
        min-width: 38px;
        min-height: 38px;
        padding: 7px 10px;
    }
}

