/* ==========================================================================
   ScandiNord custom footer — final
   ========================================================================== */

#footer.footer-2 {
    background: #333333 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 50px 0 34px !important;
}

#footer.footer-2,
#footer.footer-2 * {
    box-sizing: border-box !important;
}

#footer.footer-2 .maxwidth-theme {
    max-width: 1080px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#footer.footer-2 .footer__main-part,
#footer.footer-2 .footer__bottom-part,
#footer.footer-2 .footer__main-part-inner,
#footer.footer-2 .footer__bottom-part-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#footer.footer-2 .footer__main-part {
    padding: 0 !important;
    margin: 0 !important;
}

/* Верхняя сетка */
#footer.footer-2 .footer__main-part-inner.custom-footer-grid {
    display: grid !important;
    grid-template-columns: 190px 190px 190px 280px !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#footer.footer-2 .footer__part-item {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

/* Меню */
#footer.footer-2 .custom-footer-menu-col ul,
#footer.footer-2 .custom-footer-menu-col li,
#footer.footer-2 .custom-footer-menu-col .items,
#footer.footer-2 .custom-footer-menu-col .item-link,
#footer.footer-2 .custom-footer-menu-col .item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

#footer.footer-2 .custom-footer-menu-col .fa,
#footer.footer-2 .custom-footer-menu-col .fa svg {
    display: none !important;
}

#footer.footer-2 .custom-footer-menu-col .wrap {
    display: block !important;
    height: auto !important;
}

#footer.footer-2 .custom-footer-menu-col .title,
#footer.footer-2 .custom-footer-menu-col .title a,
#footer.footer-2 .custom-footer-menu-col .font_15 {
    font-size: 11px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.58) !important;
    text-decoration: none !important;
}

#footer.footer-2 .custom-footer-menu-col > div > .items > .item-link:first-child .title a {
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
}

#footer.footer-2 .custom-footer-menu-col .item-link {
    margin-bottom: 6px !important;
}

/* Контакты */
#footer.footer-2 .custom-footer-contacts {
    justify-self: start !important;
    width: 280px !important;
    flex: 0 0 280px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

#footer.footer-2 .custom-footer-contacts .custom-footer-contact-item {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* скрываем иконки только у телефона/email/адреса */
#footer.footer-2 .custom-footer-contacts .footer__phone-item svg,
#footer.footer-2 .custom-footer-contacts .footer__phone-item i,
#footer.footer-2 .custom-footer-contacts .footer__email-item svg,
#footer.footer-2 .custom-footer-contacts .footer__email-item i,
#footer.footer-2 .custom-footer-contacts .footer__address-item svg,
#footer.footer-2 .custom-footer-contacts .footer__address-item i {
    display: none !important;
}

#footer.footer-2 .custom-footer-contacts .phone__number,
#footer.footer-2 .custom-footer-contacts .phone__number a,
#footer.footer-2 .custom-footer-contacts .footer__phone a {
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#footer.footer-2 .custom-footer-contacts .phone__callback,
#footer.footer-2 .custom-footer-contacts .phone__callback span {
    display: inline-block !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    margin-top: 4px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email-item a,
#footer.footer-2 .custom-footer-contacts .footer__address-item,
#footer.footer-2 .custom-footer-contacts .footer__address-item a {
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Соцсети */
#footer.footer-2 .custom-footer-contacts .footer__social-item {
    margin-top: 5px !important;
    display: block !important;
}

#footer.footer-2 .custom-footer-contacts .social,
#footer.footer-2 .custom-footer-contacts .social__items {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#footer.footer-2 .custom-footer-contacts .social__item {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    background: transparent !important;
}

#footer.footer-2 .custom-footer-contacts .social__link {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.10) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    text-decoration: none !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

#footer.footer-2 .custom-footer-contacts .social__link:hover {
    background-color: rgba(255, 255, 255, 0.20) !important;
}

/* Иконки соцсетей через background-image, потому что ссылки пустые */
#footer.footer-2 .custom-footer-contacts .social__item.vk .social__link {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.1c-5.3 0-8.4-3.6-8.5-9.6h2.7c.1 4.4 2 6.3 3.5 6.7V7.5h2.6v3.8c1.5-.2 3-2 3.5-3.8h2.6c-.4 2.2-2.2 4-3.4 4.7 1.2.6 3.1 2.2 3.8 4.9h-2.9c-.5-1.7-1.9-3-3.6-3.3v3.3h-.3z'/%3E%3C/svg%3E") !important;
}

#footer.footer-2 .custom-footer-contacts .social__item.tel .social__link {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.4 15.4 9 20.7c.6 0 .9-.3 1.2-.6l2.9-2.8 6 4.4c1.1.6 1.9.3 2.2-1l4-18.8c.4-1.5-.5-2.1-1.5-1.7L1.4 8.8C-.1 9.4-.1 10.2 1.1 10.6l5.7 1.8L20.1 4c.6-.4 1.2-.2.7.2L9.4 15.4z'/%3E%3C/svg%3E") !important;
}


/* Нижняя часть */
#footer.footer-2 .footer__bottom-part {
    margin: 38px 0 0 !important;
    padding: 22px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#footer.footer-2 .footer__bottom-part-inner {
    max-width: none !important;
    margin: 0 !important;
}

#footer.footer-2 .footer__bottom-part-items-wrapper.custom-footer-bottom-list {
    display: block !important;
    text-align: left !important;
    padding-left: 0 !important;
}

#footer.footer-2 .footer__bottom-part-items-wrapper.custom-footer-bottom-list > .footer__part-item {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    text-align: left !important;
}

#footer.footer-2 .footer__bottom-part a,
#footer.footer-2 .footer__bottom-part .footer__license,
#footer.footer-2 .footer__bottom-part .footer__license a,
#footer.footer-2 .custom-footer-disclaimer {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: none !important;
    text-align: left !important;
}

#footer.footer-2 .custom-footer-disclaimer {
    display: block !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 24px 0 0 !important;
    padding-left: 0 !important;
}

/* Адаптив */
@media (max-width: 1199px) {
    #footer.footer-2 .footer__main-part-inner.custom-footer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        column-gap: 40px !important;
        row-gap: 34px !important;
    }

    #footer.footer-2 .custom-footer-contacts {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        flex: none !important;
    }
}

@media (max-width: 767px) {
    #footer.footer-2 {
        padding: 38px 0 28px !important;
    }

    #footer.footer-2 .maxwidth-theme {
        padding: 0 20px !important;
    }

    #footer.footer-2 .footer__main-part-inner.custom-footer-grid {
        grid-template-columns: 1fr !important;
        row-gap: 28px !important;
    }
}
#footer.footer-2 .footer__main-part .maxwidth-theme,
#footer.footer-2 .footer__bottom-part .maxwidth-theme {
    max-width: 1080px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#footer.footer-2 .footer__bottom-part-inner {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* FIX: вместо Snapchat рисуем MAX */
#footer.footer-2 .custom-footer-contacts .social__item.sc .social__link {
    background-image: none !important;
    position: relative !important;
}

#footer.footer-2 .custom-footer-contacts .social__item.sc .social__link::before {
    content: "MAX" !important;
    display: block !important;
    color: #ffffff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;
}
/* FIX: нижняя часть */
#footer.footer-2 .footer__bottom-part .maxwidth-theme {
    max-width: 1080px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#footer.footer-2 .footer__bottom-part-inner,
#footer.footer-2 .footer__bottom-part-items-wrapper,
#footer.footer-2 .custom-footer-bottom-list,
#footer.footer-2 .footer__bottom-part .footer__part-item,
#footer.footer-2 .footer__bottom-part .footer__license {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
    left: auto !important;
    text-align: left !important;
}

/* FIX: контакты по одной линии */
#footer.footer-2 .custom-footer-contacts,
#footer.footer-2 .custom-footer-contacts * {
    text-align: left !important;
}

#footer.footer-2 .custom-footer-contacts .icon-block--with_icon,
#footer.footer-2 .custom-footer-contacts .phones,
#footer.footer-2 .custom-footer-contacts .phones__phones-wrapper,
#footer.footer-2 .custom-footer-contacts .phones__inner,
#footer.footer-2 .custom-footer-contacts .address,
#footer.footer-2 .custom-footer-contacts .footer__email,
#footer.footer-2 .custom-footer-contacts .footer__address {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

#footer.footer-2 .custom-footer-contacts .icon-block__icon,
#footer.footer-2 .custom-footer-contacts .icon-block__only-icon,
#footer.footer-2 .custom-footer-contacts .more-arrow,
#footer.footer-2 .custom-footer-contacts .phones__dropdown {
    display: none !important;
}

#footer.footer-2 .custom-footer-contacts .phones__phone-link,
#footer.footer-2 .custom-footer-contacts .phones__callback,
#footer.footer-2 .custom-footer-contacts .footer__email a,
#footer.footer-2 .custom-footer-contacts .address__text {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

#footer.footer-2 .custom-footer-contacts .phones__callback {
    margin-top: 4px !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email {
    margin-top: 14px !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email a {
    line-height: 1.18 !important;
    margin-bottom: 2px !important;
}

#footer.footer-2 .custom-footer-contacts .footer__address {
    margin-top: 14px !important;
}

#footer.footer-2 .custom-footer-contacts .footer__social {
    margin-top: 14px !important;
}

/* Telegram */
#footer.footer-2 .custom-footer-contacts .social__item.tel .social__link {
    background-image: url('/upload/tg-icon.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
}

/* VK */
#footer.footer-2 .custom-footer-contacts .social__item.vk .social__link {
    background-image: url('/upload/vk-icon.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
}

/* MAX */
#footer.footer-2 .custom-footer-contacts .social__item.sc .social__link {
    background-image: url('/upload/max-icon.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
}

#footer.footer-2 .custom-footer-contacts .social__item.sc .social__link::before {
    content: none !important;
}
/* FIX: уменьшаем расстояние между email */
#footer.footer-2 .custom-footer-contacts .footer__email-item {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email-item .footer__email {
    display: block !important;
    line-height: 1.15 !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email-item .footer__email > div {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email-item .footer__email a {
    display: block !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
}

#footer.footer-2 .custom-footer-contacts .footer__email-item .footer__email br {
    display: none !important;
}