.another-theme {
    display: none;
}

.header-main-image {
    display: none;
}

.contacts {
    padding: 48px 20px 0;
    display: flex;
    justify-content: space-between;
}

.contacts-info {
    width: 509px;

    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contacts-info-title {
    font-size: 64px;
    line-height: 110%;
    color: var(--color-foreground-primary);
    font-weight: 500;
    letter-spacing: -0.3px;

    text-transform: lowercase;
}

.contacts-info-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contacts-info-content-min {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-info-content-min-title {
    font-size: 16px;
    line-height: 100%;
    color: var(--color-foreground-opacity);

    text-transform: lowercase;
}

.contacts-info-content-min-icon {
    width: 20px;
    height: 20px;
}

.contacts-info-content-min-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.contacts-info-content-min-value {
    font-size: 16px;
    line-height: 100%;
    color: var(--color-foreground-primary);
}

.contacts-info-content-min-value.accent {
    font-size: 24px;
    line-height: 110%;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.contacts-info-content-min:nth-child(3n) {
    width: 372px;
}

.contacts-cart {
    width: 57.344vw;
    max-width: 1500px;
    min-width: 803px;
    height: 500px;
    position: relative;
}

#map ymaps {
    border-radius: 12px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    position: relative;
}

#yaModal {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-background-primary);
    padding: 10px 10px 30px 30px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    gap: 28px;

    width: 345px;
    border-radius: 8px;
    display: none;
}

#yaModal .dop-d {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#yaModal .ya-btn {
    width: 26px;
    height: 26px;
    padding: 0;

    background-color: transparent;
}

#yaModal .ya-btn img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

#yaModal .address {
    padding-right: 20px;
    font-size: 16px;
    line-height: 100%;
    color: var(--color-foreground-primary);
    align-self: start;
}

#yaModal .address-min {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#yaModal .address-min-el {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#yaModal .address-min-el-title {
    font-size: 16px;
    line-height: 100%;
    color: var(--color-foreground-opacity);
}

#yaModal .address-min-el-value {
    font-size: 16px;
    line-height: 100%;
    color: var(--color-foreground-primary);
}

#ya-overlay {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.help {
    padding: 100px 20px;
}

/* Адаптация на маленькие экраны (< 1920)*/
/* 1440 */
@media screen and (max-width: 1575px) {
    .contacts-info-title {
        font-size: 48px;
    }

    .contacts-cart {
        width: 55.764vw;
        max-width: 1101px;
        height: 375px;
        min-width: 750px;
    }
}

/* 1280 */
@media screen and (max-width: 1280px) {
    .contacts-cart {
        width: 58.594vw;
        max-width: 803px;
        height: 340px;
        min-width: 58.594vw;
    }
}

/* 768 */
@media screen and (max-width: 1200px) {
    .contacts {
        flex-direction: column;
        gap: 48px;
    }

    .contacts-info {
        width: 100%;
    }

    .contacts-info-title {
        font-size: 32px;
    }

    .contacts-info-content {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
    }

    .contacts-info-content-min:nth-child(3n) br {
        display: none;
    }

    .contacts-info-content-min-icon {
        width: 16px;
        height: 16px;
    }

    .contacts-info-content-min-value {
        font-size: 14px;
    }

    .contacts-info-content-min-value.accent {
        font-size: 22px;
    }

    .contacts-info-content-min {
        width: 32.031vw;
    }

    .contacts-info-content-min:nth-child(2n) {
        width: 30.339vw;
    }

    .contacts-info-content-min:nth-child(3n) {
        width: 26.432vw;
    }

    .contacts-cart {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: 220px;
    }

    #yaModal {
        padding: 10px 10px 20px 20px;
        justify-content: space-between;
        width: 505px;
        flex-direction: row-reverse;
    }

    #yaModal .address {
        padding-right: 40px;
    }

    #yaModal .address-min {
        gap: 10px;
    }

    .help {
        padding: 80px 20px;
    }

}

/* 375 */
@media screen and (max-width: 725px) {
    .contacts {
        padding: 48px 12px 0;
        gap: 32px;
    }

    .contacts-info {
        gap: 32px;
    }

    .contacts-info-content {
        flex-direction: column;
        gap: 32px;
    }

    .contacts-info-content-min,
    .contacts-info-content-min:nth-child(2n),
    .contacts-info-content-min:nth-child(3n) {
        width: 100%;
    }

    #yaModal {
        width: 70vw;
        padding: 10px;
        justify-content: space-between;
        gap: 5px;
        flex-direction: column;
    }

    #yaModal .ya-btn {
        width: 20px;
        height: 20px;
    }

    #yaModal .address {
        font-size: 14px;
        padding-right: 20px;
    }

    #yaModal .address br {
        display: none;
    }

    #yaModal .address-min {
        width: 60%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #yaModal .address-min-el-title {
        font-size: 12px;
    }

    #yaModal .address-min-el-value {
        font-size: 12px;
    }

    .help {
        padding: 80px 12px;
    }
}


