.pvz-map-widget {
    width: auto;
    max-width: 100%;
    margin: 20px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #e6edf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(24, 49, 69, .08);
}

.pvz-map-widget__heading {
    margin: 2px 4px 12px;
    padding-left: 12px;
    border-left: 4px solid #27a9d2;
    color: #263d4d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.pvz-map-widget__map {
    width: 100%;
    height: 470px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #edf3f6;
}

.pvz-map-widget__locations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.pvz-map-widget__location {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    padding: 15px 16px 15px 38px;
    border: 1px solid #e8eef2;
    border-radius: 11px;
    background: #f8fafb;
    color: #293b49;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pvz-map-widget__location:before {
    position: absolute;
    top: 20px;
    left: 17px;
    width: 9px;
    height: 9px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #27a9d2;
    box-shadow: 0 0 0 1px #27a9d2;
    content: "";
}

.pvz-map-widget__location:hover,
.pvz-map-widget__location.is-active {
    transform: translateY(-1px);
    border-color: #9bd9eb;
    background: #f0faff;
    box-shadow: 0 5px 14px rgba(39, 169, 210, .12);
}

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

@media (max-width: 600px) {
    .pvz-map-widget {
        padding: 6px;
        border-radius: 13px;
    }

    .pvz-map-widget__map {
        height: 360px;
        border-radius: 9px;
    }

    .pvz-map-widget__locations {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 8px;
    }

    .pvz-map-widget__location {
        padding: 13px 14px 13px 36px;
    }

    .pvz-map-widget__location:before {
        top: 17px;
        left: 15px;
    }
}
