/** GRID **/
@media screen and (min-width: 768px) and (max-width: 1200px){
    /**
    Hacks responsive
     */
    .visible-desktop{
        display: none !important;
    }
    .visible-md{
        display: block !important;
    }
    .visible-sm{
        display: none !important;
    }
    .hidden-md{
        display: none !important;
    }

    /** GRID **/
    .md\:col-1{
        width: calc(100% / 12)
    }
    .md\:col-2{
        width: calc((100% / 12) * 2)
    }
    .md\:col-3{
        width: calc((100% / 12) * 3)
    }
    .md\:col-4{
        width: calc((100% / 12) * 4)
    }
    .md\:col-5{
        width: calc((100% / 12) * 5)
    }
    .md\:col-6{
        width: 50%
    }
    .md\:col-8{
        width: calc((100% / 12) * 8)
    }
    .md\:col-9{
        width: calc((100% / 12) * 9)
    }
    .md\:col-12{
        width: 100%
    }
}

@media screen and (max-width: 768px){
    /**
    Hacks responsive
     */
    .visible-desktop{
        display: none !important;
    }
    .visible-md{
        display: none !important;
    }
    .visible-sm{
        display: block !important;
    }
    .hidden-sm{
        display: none !important;
    }

    /** GRID **/
    .sm\:col-2{
        width: calc((100% / 12) * 2)
    }
    .sm\:col-3{
        width: calc((100% / 12) * 3)
    }
    .sm\:col-4{
        width: calc((100% / 12) * 4)
    }
    .sm\:col-6{
        width: 50%
    }
    .sm\:col-8{
        width: calc((100% / 12) * 8)
    }
    .sm\:col-9{
        width: calc((100% / 12) * 9)
    }
    .sm\:col-12{
        width: 100%
    }


    /**
    header
     */
    .pre-head{
        background: var(--color-transparent);
        width:100%;
        height:100%;
        padding: 0;
    }
    .pre-head .container{
        max-width: 350px !important;
        height: 100%;
        position: fixed;
        left: -400px;
        top:0;
        bottom:0;
        background: var(--color-surface);
        z-index:100;
        padding-top: 20px;
        box-shadow:0 0 50px var(--color-shadow-soft);
        transition: all ease-in .3s;
    }

    .pre-head .container.active{
        left: 0;
    }
    .pre-head .close{
        position: absolute;
        top:20px;
        right:10px;
        cursor: pointer;
    }
    .pre-head .city{
        margin-bottom: 10px;
    }
    .pre-head .city,
    .pre-head .contacts {
        display: flex;
        align-items: center;
    }
    .pre-head .city span,
    .pre-head .contacts span{
        margin-right:10px;
    }
    .pre-head .city,
    .pre-head .contacts{
        font-size: 16px;
    }
    .pre-head nav{
        margin-top:30px;
        text-align: left;
    }
    .pre-head nav a{
        display: block;
        margin:10px 0;
        font-size: 16px;
    }

    .hamburger{
        margin-left:10px;
    }
    header .header-flex nav ul div a.iconed,
    header .header-flex nav ul li a.iconed{
        width: 35px;
        height:35px;
        /*background: var(--color-surface-muted);*/
        background: var(--color-surface-control);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-dark);
        margin-left:5px;
    }
    header .header-flex nav ul li a.iconed .user-login{
        position:relative;
        top:4px
    }
    header .header-flex nav ul li a.iconed svg{
        width:22px;
        height:22px;
    }

    header .header-flex .search-wrap.mobile{
        width:100%;
        margin-top:20px;
    }
    header .header-flex .search-wrap.mobile .search-btn{
        right:3px;
    }

    /**
    FOOTER
     */
    .footer-nav-menu{
        margin-top:20px;
    }
    footer .info{
        margin-bottom:10px;
    }
}
