﻿@media (max-width: 1100px){
    .footer-third-row{
        align-items: flex-start;
    }

    .footer-third-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .tablet-only {
        display: block;
        
    }

    .footer-second-row {
        flex-direction: column;
    }

    .footer-second-row-left {
        order: 1;
    }

    .footer-second-row-right {
        align-items: stretch;
    }

    .footer-menu-block, .footer-complexes-list, .footer-contacts-list, .footer-third-right {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(20px, 3vw, 60px);
    }

    .footer-menu {
        width: auto;
    }

    .footer-third-row {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-third-left {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-third-right {
        max-width: none;
    }

    .footer-latest-row {
        flex-direction: column;
        gap: 24px;
    }

    .footer-copyright {
        order: 1;
    }

    .footer-second-row-right .footer-socials-list {
        display: none;
    }

    .footer-third-right .footer-socials-list {
        display: flex;
        /*margin-top: auto;*/
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .footer-third-right-menu li {
        margin-bottom: 10px;
    }
    
}

@media (max-width: 792px) {
    .footer-menu-block, .footer-complexes-list, .footer-contacts-list {
        grid-template-columns: repeat(3, 200px);
    }


    .footer-third-right {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 680px) {
    .footer-menu-block, .footer-complexes-list, .footer-contacts-list, .footer-third-right {
        grid-template-columns: repeat(2, 1fr);
        justify-items: stretch;
    }
}

@media (max-width: 550px) {
    .footer{
        padding-top: 24px;
        padding-bottom: 60px;
    }

    .footer_column_item_title .tablet-only, .tablet-only {
        display: none !important;
    }
    .footer-menu-block, .footer-complexes-list, .footer-contacts-list, .footer-third-right {
        grid-template-columns: 1fr;
    }

    .payment-systems-list {
        gap: 18px;
    }

        .payment-systems-list li {
            width: 46px;
        }

    .footer-row-logo {
        margin-bottom: 50px;
    }

    .footer-logo-link {
        max-width: 174px;
    }

    .footer_column_item_title a{
        font-size: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        cursor: pointer;
    }

    .footer_column_item_title a:after {
        display: block;
        content: "";
        width: 8px;
        height: 5px;
        background: url(//cdn.specialist.ru/Content/File/Site_rework/index-2/i/index-2/arrow-down.svg) center center no-repeat;
    }

    .footer_column_item_content {
        height: 0;
        overflow: hidden;
        
    }

        .footer_column_item_content.active {
            height: auto;
            overflow: visible;
            padding-top: 8px;
        }

    .footer-second-row {
        margin-bottom: 50px;
    }

    .footer-contact-item a {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-contact-item p {
        font-size: 10px;
    }

    .footer-third-right-menu a{
        font-size: 10px;
    }

    .footer-third-row{
        margin-bottom: 50px;
    }

    .footer-copyright{
        font-size: 10px;
        text-align: center;
    }

    .footer-latest-row{
        gap: 18px;
    }

    .footer-third-right .footer-socials-list {

        margin-bottom: 0;
    }

    /*.footer-socials-list a, .footer-socials-list a svg {
        width: 28px;
        height: 28px;
    }*/
}
