@import url('modals/index.css');
@import url('bottom-menu.css');

.autocomplete-search__list {
    top: 35px !important;
    left: -41px !important;
    margin: 0;
    padding: 20px 45px;
    max-width: calc(100% + 41px);
    max-height: 354px;
    list-style: none;
    outline: 0;
    background-color: #FFFFFF;
    overflow-y: auto;
}

@media (max-width: 1024px) {
    .autocomplete-search__list {
        left: 0 !important;
        max-width: 100%;
        padding: 20px 20px 20px 26px;
    }
}

.autocomplete-search__item {
    margin: 0;
    padding: 9px;
    font-size: 15px;
    line-height: 15px;
    color: #B2B2B2;
    -webkit-transition: 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.autocomplete-search__item_selected {
    font-weight: 600;
}

.autocomplete-search__item:hover {
    color: #000;
    font-weight: 400;
}

.footer {
    border-top: 1px solid #b2b2b2;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 50px 0 1px;
    margin-top: 100px;
}

@media screen and (max-width: 700px) {
    .footer {
        padding-top: 60px;
        margin-top: 90px;
    }
}

.footer__container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__column_block {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;

}

@media screen and (max-width: 630px) {
    .footer__container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.footer__column {
    max-width: 240px;
    line-height: 1;
}

@media screen and (max-width: 1024px) {
    .footer__column:nth-child(2n) {
        grid-column: 2 / 3;
    }
}

@media screen and (max-width: 630px) {
    .footer__column_main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 630px) {
    .footer__column:last-child .footer__group:not(:last-child) {
        display: none;
    }
}

.footer__logo {
    display: block;
    width: 250px;
    margin: 0 auto 60px;
    background-image: unset !important;
    height: auto;
}

.footer__logo img {
    display: block;
    width: 100%;
}

@media (max-width: 630px) {
    .footer__logo {
        max-width: 185px;
        order: -2;
    }

    .footer__logo_desktop {
        display: none;
    }
}

@media (min-width: 631px) {
    .footer__logo_mobile {
        display: none;
    }
}

.footer__group + .footer__group {
    margin-top: 15px;
}

@media (max-width: 630px) {
    .footer__column_main .footer__group + .footer__group {
        margin-top: 20px;
    }

    .footer__group_phone .footer__text {
        margin-top: 5px;
    }

    .footer__group_manager {
        max-width: 260px;
        text-align: center;
    }
}

.footer__group + .footer__group .footer__text_title {
    margin-top: 50px;
}

.footer__phone {
    font-weight: bold;
    font-size: 15px;
    line-height: 1.34;
    text-decoration: none;
    color: inherit;
}

.footer__text {
    display: block;
    margin: 0;
    text-transform: uppercase;
}

.footer__group_phone {
    margin-bottom: 10px;
}

.footer__group_phone .footer__text {
    text-transform: unset;
    font-size: 12px;
}

@media (max-width: 1023px) {
    .footer_item_menu {
        display: none;
    }

    .footer__text.footer__text_title:after {
        background-image: url(/local/header_img/icons/open.svg);
        right: -10px;
        width: 10px;
        height: 10px;
        background-size: 10px;
        content: '';
        position: relative;
        display: inline-block;
    }

    .footer__text.footer__text_title.open:after {
        background-image: url(/local/header_img/icons/close.svg);
    }
}

@media screen and (max-width: 700px) {
    .footer__column_block {
        flex-wrap: wrap;
        text-align: center;
    }

    .footer__column {
        max-width: 100%;
        width: 100%
    }

    .footer_bottom {
        width: 100%
    }
}

.footer__text + .footer__text {
    margin-top: 10px;
    line-height: 1;
}

.footer__text_title {
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer__text a {
    text-decoration: none;
    color: inherit;
    -webkit-transition: color .4s ease-in-out;
    transition: color .4s ease-in-out;
}

.line-height-1 {
    background-color: #fff;
    height: 1px;
    margin-top: 60px;
}

@media screen and (max-width: 630px) {
    .footer__text_hidden-mobile {
        display: none;
    }
}

.footer__back-call-btn {
    color: var(--white);
    text-transform: uppercase;
}

.link-new-email {
    font-size: 16px;
}

.footer__socials {
    display: flex;
    gap: 25px;
    margin: 30px auto;
    width: fit-content;
}

@media screen and (max-width: 630px) {
    .footer__socials {
        order: -1;
        margin: 20px auto;
    }
}

.footer__social-item {
    display: flex;
    width: 25px;
}

.footer__social-item svg {
    width: 30px;
    height: 30px;
}

.footer__social-item path, .footer__social-item circle {
    fill: #B2B2B2;
    transition: fill .4s ease-in-out;
}

.footer__social-item .path-white, .footer__social-item:hover .path-white {
    fill: #FFFFFF;
}

.footer__payments {
    display: flex;
    gap: 7px;
    align-items: flex-start;
}

@media screen and (max-width: 630px) {
    .footer__payments {
        justify-content: center;
    }
}

.footer__payment {
    display: flex;
}

.footer__payment svg {
    width: 60px;
    height: 30px;
}
