.masala-map-loader {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.masala-map-loader__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 420px;
    padding: 32px;
    background: linear-gradient(
        135deg,
        rgba(245, 250, 244, 0.98),
        rgba(231, 244, 232, 0.98)
    );
}

.masala-map-loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 430px;
    text-align: center;
}

.masala-map-loader__content strong {
    margin-bottom: 8px;
    color: #24342a;
    font-size: 24px;
    line-height: 1.25;
}

.masala-map-loader__content span {
    margin-bottom: 20px;
    color: #5d685f;
    font-size: 15px;
    line-height: 1.45;
}

.masala-map-loader__button {
    padding: 14px 24px;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: #15952f;
    border: 0;
    border-radius: 12px;
}

.masala-map-loader__button:hover,
.masala-map-loader__button:focus-visible {
    background: #117b27;
}

.masala-map-loader iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

@media (max-width: 767px) {
    .masala-map-loader,
    .masala-map-loader__placeholder,
    .masala-map-loader iframe {
        min-height: 360px;
    }

    .masala-map-loader__placeholder {
        padding: 24px;
    }

    .masala-map-loader__content strong {
        font-size: 21px;
    }
}

/* Исправление съезжающего блока карты */
.contacts-section-type2 .contacts-wrapper {
    display: flex;
    align-items: stretch;
}

.contacts-section-type2 .contacts-wrapper > .col,
.contacts-section-type2 .map-wrapper,
.contacts-section-type2 .map-inner {
    min-width: 0;
}

.contacts-section-type2 .map-wrapper {
    overflow: hidden;
}

.contacts-section-type2 .map-inner {
    width: 100%;
    height: 100%;
}

.contacts-section-type2 .masala-map-loader {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.contacts-section-type2 .masala-map-loader__placeholder {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.contacts-section-type2 .masala-map-loader__content {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    padding: 0 24px;
}

.contacts-section-type2 .masala-map-loader__content strong,
.contacts-section-type2 .masala-map-loader__content span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    .contacts-section-type2 .contacts-wrapper > .col:first-child {
        flex: 1 1 60%;
        width: 60%;
        min-width: 0;
    }

    .contacts-section-type2 .contacts-wrapper > .col:last-child {
        flex: 0 0 40%;
        width: 40%;
        min-width: 0;
    }
}

@media (max-width: 991px) {
    .contacts-section-type2 .contacts-wrapper {
        flex-wrap: wrap;
    }

    .contacts-section-type2 .contacts-wrapper > .col {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Заглушка карты на главной: не заходит под карточку контактов */
@media (min-width: 992px) {
    .contacts-section-type2 .masala-map-loader__placeholder {
        box-sizing: border-box;
        width: 100%;
        padding-left: 32px;
        padding-right: 40%;
    }

    .contacts-section-type2 .masala-map-loader__content {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding: 0 20px;
    }

    .contacts-section-type2 .masala-map-loader__content strong {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* На планшетах и телефонах карточка идёт отдельным блоком */
@media (max-width: 991px) {
    .contacts-section-type2 .masala-map-loader__placeholder {
        width: 100%;
        padding: 28px 20px;
    }

    .contacts-section-type2 .masala-map-loader__content {
        width: 100%;
        max-width: 520px;
        padding: 0;
    }
}
