@media (max-width: 1179px)
{
    /*-------------------
        Global styles
    -------------------*/
    :root
    {
        --sidebar_width: 260px;
        --font_size: 15px;
        --font_size_title: 22px;
    }


    html.custom_scroll ::-webkit-scrollbar
    {
        width: 4px;
        height: 4px;
    }



    /*------------
        Header
    ------------*/
    header .city .you_city
    {
        padding: 16px 24px 24px;
    }

    header .city .mini_modal
    {
        padding: 21px 24px 24px;
    }

    header .city #city_modal .list button
    {
        font-size: 14px;
        line-height: 18px;
    }



    header .slogan
    {
        width: 265px;
        max-width: 100%;

        text-align: center;
    }



    header .catalog .mini_modal
    {
        padding: 30px;
    }

    header .catalog #catalog_modal .sub_cats a
    {
        font-size: 14px;
        line-height: 18px;
    }



    header .menu .item + .item
    {
        margin-left: 20px;
    }



    header .search
    {
        width: calc(100% - 330px);
    }



    header .login_link,
    header .cart_link
    {
        margin-left: 30px;
    }



    /*----------------
        Block head
    ----------------*/
    .block_head .desc
    {
        line-height: 23px;

        margin-top: 15px;
    }



    /*----------------
        Typography
    ----------------*/
    .text_block
    {
        line-height: 23px;
    }

    .text_block > *
    {
        margin-bottom: 23px;
    }



    /*---------------
        Cats wall
    ---------------*/
    .cats_wall .row
    {
        margin-bottom: -16px;
        margin-left: -16px;
    }

    .cats_wall .row > *
    {
        width: calc(27.69% - 16px);
        margin-bottom: 16px;
        margin-left: 16px;
    }

    .cats_wall .row > *.mini
    {
        width: calc(16.93% - 16px);
    }


    .cats_wall .cat
    {
        font-size: 16px;
        line-height: 20px;
    }

    .cats_wall .cat .name
    {
        bottom: 20px;

        min-height: 40px;
    }



    /*--------------
        Products
    --------------*/
    .products .product
    {
        padding: 20px;
    }


    .products .product .thumb
    {
        margin-bottom: 20px;
    }



    /*----------------
        Advantages
    ----------------*/
    .advantages .row
    {
        margin-bottom: -28px;
        margin-left: -20px;
        padding-top: 20px;
    }

    .advantages .row > *
    {
        width: calc(20% - 20px);
        margin-bottom: 28px;
        margin-left: 20px;
    }


    .advantages .item
    {
        flex-wrap: wrap;
    }

    .advantages .item .icon
    {
        margin: 0 auto 14px;
    }

    .advantages .item .icon + *
    {
        width: 100%;

        text-align: center;
    }



    /*-----------------
        About block
    -----------------*/
    .about_block .info
    {
        width: calc(100% - 460px);
    }

    .about_block .info .details
    {
        margin-top: 20px;
    }


    .about_block .feedback
    {
        width: 420px;
        padding: 30px;
    }

    .about_block .feedback .desc
    {
        font-size: 18px;
        line-height: 24px;
    }



    /*--------------
        Articles
    --------------*/
    .articles .row
    {
        margin-bottom: -20px;
        margin-left: -20px;
    }

    .articles .row > *
    {
        width: calc(33.333% - 20px);
        margin-bottom: 20px;
        margin-left: 20px;
    }


    .articles .article
    {
        padding: 24px;
    }

    .articles .article .date
    {
        margin-bottom: 10px;
    }

    .articles .article .details
    {
        margin-top: 20px;
    }



    /*---------------
        Cart info
    ---------------*/
    .cart_info .cart_table
    {
        padding: 20px;
    }

    .cart_info table th + th,
    .cart_info table td + td
    {
        padding-left: 20px;
    }

    .cart_info table td.delete
    {
        width: 47px;
        min-width: 47px;
    }



    .cart_info .discount
    {
        font-size: 20px;
        line-height: 26px;

        padding: 24px 30px;
    }

    .cart_info .discount .percent
    {
        font-size: 82px;
        line-height: 86px;
    }

    .cart_info .discount .title
    {
        font-size: 32px;
        line-height: 36px;
    }

    .cart_info .discount .desc
    {
        margin-right: 0;
    }



    /*-------------------
        Checkout info
    -------------------*/
    .checkout_info
    {
        padding-bottom: 30px;
    }

    .checkout_info .chekout_total,
    .checkout_info .btns
    {
        padding: 0;
    }



    /*----------------------
        Checkout payment
    ----------------------*/
    .checkout_payment .methods
    {
        padding: 24px;
    }

    .checkout_payment .methods > * + *
    {
        margin-top: 15px;
    }



    /*-----------------------
        Checkout delivery
    -----------------------*/
    .checkout_delivery .methods
    {
        padding: 24px;
    }

    .checkout_delivery .methods > * + *
    {
        margin-top: 15px;
    }



    /*--------------------
        Category links
    --------------------*/
    .category_links a
    {
        font-size: 14px;
        line-height: 18px;

        padding: 6px 16px 7px;
    }



    /*-------------------
        Products head
    -------------------*/
    .products_head
    {
        margin-bottom: 25px;
    }



    /*----------------------
        Delivery/Ppayment
    ----------------------*/
    .delivery_payment
    {
        padding-top: 15px;
    }

    .delivery_payment .tabs
    {
        margin-bottom: 30px;
    }

    .delivery_payment .tabs button + button
    {
        margin-left: 28px;
    }



    /*---------------------
        Payment methods
    ---------------------*/
    .payment_methods .row
    {
        margin-bottom: -15px;
        margin-left: -15px;
    }

    .payment_methods .row > *
    {
        width: calc(33.333% - 15px);
        margin-bottom: 15px;
        margin-left: 15px;
    }


    .payment_methods .method
    {
        padding: 25px 25px 30px;
    }

    .payment_methods .method .icon
    {
        margin-bottom: 25px;
    }

    .payment_methods .method .name
    {
        line-height: 23px;
    }

    .payment_methods .method .name small
    {
        line-height: 19px;

        margin-top: 5px;
    }



    /*----------------------
        Delivery methods
    ----------------------*/
    .delivery_methods .row
    {
        margin-bottom: -15px;
        margin-left: -15px;
    }

    .delivery_methods .row > *
    {
        width: calc(50% - 15px);
        margin-left: 15px;
    }

    .delivery_methods .row > *.big
    {
        width: calc(100% - 15px);
    }


    .delivery_methods .method
    {
        padding: 24px;
    }

    .delivery_methods .method .price
    {
        margin-top: 20px;
    }



    /*------------------
        Product info
    ------------------*/
    .product_info .data
    {
        padding: 20px;
    }


    .product_info .images .thumbs
    {
        margin-top: 20px;
        margin-bottom: -15px;
        margin-left: -15px;
    }

    .product_info .images .thumbs button
    {
        width: calc(25% - 15px);
        margin-left: 15px;
    }


    .product_info .info .delivery
    {
        width: 100%;
        margin-top: 5px;
        margin-left: 0;
    }


    .product_info .info .features > * + *
    {
        margin-top: 10px;
    }


    .product_info .discount
    {
        font-size: 20px;
        line-height: 26px;

        padding: 24px 30px;
    }

    .product_info .discount .percent
    {
        font-size: 82px;
        line-height: 86px;
    }

    .product_info .discount .title
    {
        font-size: 32px;
        line-height: 36px;
    }

    .product_info .discount .desc
    {
        margin-right: 0;
    }



    /*--------------
        All link
    --------------*/
    .all_link
    {
        margin-top: 30px;
    }



    /*------------
        Footer
    ------------*/
    footer
    {
        padding: 60px 0 50px;
    }


    footer .col_left
    {
        display: flex;

        width: 100%;
        margin-bottom: 25px;

        justify-content: flex-start;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }


    footer .contacts,
    footer .copyright
    {
        margin-top: 0;
        margin-left: 50px;

        align-self: center;
    }



    footer .menu
    {
        width: calc(25% - 10px);
    }

    footer .menu a
    {
        max-width: none;
    }



    footer .cats
    {
        width: calc(75% + 10px);
        margin-left: -20px;
    }

    footer .cats .col
    {
        width: calc(33.333% - 20px);
        margin-left: 20px;
    }
}
