.catalog-map {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
}
.catalog-map-cluster {
    width: 52px;
    height: 52px;
    color: #fff;
    font-family: "Gilroy-Semibold", sans-serif;
    font-size: 18px;
    line-height: 52px;
    text-align: center;
}
.catalog-map .catalog-map-card {
    width: 260px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f8fb;
    color: #333750;
    text-align: left;
}
.catalog-map .catalog-map-card__image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.catalog-map .catalog-map-card__body {
    padding: 16px;
    background: #fff;
}
.catalog-map .catalog-map-card__title {
    display: block;
    margin: 0 0 10px;
    color: #333750;
    font-family: "Gilroy-Semibold", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.catalog-map .catalog-map-card__address,
.catalog-map .catalog-map-card__deadline {
    margin: 0 0 10px;
    color: #6f777d;
    font-size: 13px;
    line-height: 1.5;
}
.catalog-map .catalog-map-card__price {
    margin: 0 0 10px;
    color: #333750;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}
.catalog-map .catalog-map-card__link {
    display: block;
    width: 100%;
    margin-top: 16px;
    border: 1px solid #333750;
    border-radius: 2px;
    padding: 11px 16px;
    background: #333750;
    color: #fff;
    font-family: "Gilroy-Semibold", sans-serif;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}
.catalog-map .catalog-map-card__link:hover,
.catalog-map .catalog-map-card__link:focus-visible {
    background: #fff;
    color: #333750;
}
.catalog-map-error {
    margin-top: 20px;
}
@media screen and (max-width: 768px) {
    .catalog-map { height: 65dvh; min-height: 350px; }
    .catalog-map .catalog-map-card { width: 240px; }
    .catalog-map .catalog-map-card__image { height: 130px; }
    .catalog-map .catalog-map-card__title { font-size: 18px; }
}

/* Yandex injects its color rules after page styles; keep these overrides scoped. */
@media screen and (min-width: 769px) {
    .catalog-map [class*="-balloon__content"] {
        margin-right: 0 !important;
        padding: 30px 30px !important;
    }
}

.catalog-map [class*="-b-cluster-carousel__pager-item"] {
    color: #333750 !important;
    border-color: #333750;
    font-family: "Gilroy-Medium", sans-serif;
}
.catalog-map [class*="-b-cluster-carousel__pager-item_current_yes"] {
    color: #fff !important;
    background: #333750;
    border-color: #333750;
}
.catalog-map [class*="-b-cluster-carousel_pager_numeric"] [class*="-b-cluster-carousel__pager-item_current_yes"] {
    padding-top: 5px;
    padding-bottom: 5px;
}
.catalog-map [class*="-b-cluster-carousel__content-item"] {
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.catalog-map-error .catalog-map-error__retry {
    display: inline;
    padding: 0;
    color: #333750;
    font: inherit;
    text-decoration: underline;
}
