@media (max-width: 479px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size_title: 28px;
    }


    .block
    {
        margin-bottom: 40px;
    }


    .cont
    {
        padding: 0 15px;
    }



    .page_title
    {
        font-size: 28px;
        line-height: 30px;
    }



    .text_block h1,
    .text_block > .title
    {
        font-size: 25px;
        line-height: 29px;
    }


    .text_block h2
    {
        font-size: 21px;
        line-height: 24px;
    }



    .form input[type=checkbox] + label br
    {
        display: none;
    }

    .form textarea
    {
        height: 130px;
    }



    .pagination .prev
    {
        margin-right: 25px;
    }

    .pagination .next
    {
        margin-left: 25px;
    }



    /*---------------
        Header
    ---------------*/
    header
    {
        margin-bottom: 0;
    }


    header .logo a,
    header .logo img
    {
        width: 100px;
    }


    header .col_left,
    header .col_right
    {
        width: calc(100% - 113px);
    }


    header .phone
    {
        font-size: 12px;
        line-height: 18px;
    }

    header .phone .number
    {
        font-size: 13px;
    }


    header .office
    {
        right: 121px;
    }

    /*---------------
        Sidebar
    ---------------*/
    aside .products
    {
        padding: 25px 25px 45px;
    }

    aside .products .product
    {
        padding: 0;
    }



    aside .text_img img
    {
        max-width: 50%;
    }



    /*---------------
        Main section
    ---------------*/
    .main_slider
    {
        margin-bottom: 50px;
    }

    .main_slider .slide
    {
        padding-bottom: 60px;
    }

    .main_slider .slide .cont
    {
        min-height: 225px;
    }

    .main_slider .slide .info
    {
        width: 170px;
    }

    .main_slider .slide .title
    {
        font-size: 18px;
        line-height: 20px;
    }

    .main_slider .slide .title b
    {
        font-size: 18px;
    }

    .main_slider .slide .price
    {
        font-size: 20px;
        line-height: 22px;
    }

    .main_slider .slide .price .old
    {
        font-size: 14px;
    }


    .main_slider .slide .img
    {
        width: calc(100% - 170px);
    }



    .cats_wall
    {
        padding: 20px 30px 45px;
    }

    .cats_wall .item
    {
        font-size: 14px;
        line-height: 17px;
    }

    .cats_wall .slide .item + .item
    {
        margin-top: 25px;
    }

    .cats_wall .item .thumb
    {
        padding-bottom: 40%;
    }



    .articles .flex
    {
        --articles_offset: 15px;
    }

    .articles .item
    {
        font-size: 15px;
        line-height: 20px;
    }



    .cart_info .item .thumb
    {
        position: absolute;
        top: 0;
        left: 0;

        width: 140px;
        padding: 15px;
    }

    .cart_info .item .thumb img
    {
        height: 80px;
    }


    .cart_info .item .info
    {
        width: 100%;
        padding: 20px;
    }

    .cart_info .item .name
    {
        min-height: 70px;
        padding-right: 40px;
        padding-left: 120px;
    }

    .cart_info .item .price.total
    {
        font-size: 20px;

        width: auto;
        margin-top: 0;
        margin-left: 0;
    }


    .cart_info .cart_total
    {
        font-size: 18px;
        line-height: 24px;
    }

    .cart_info .cart_total b
    {
        font-size: 24px;
    }

    .cart_info .cart_total .currency
    {
        line-height: 20px;

        height: 24px;
    }



    .checkout .data .block
    {
        padding: 20px 20px 1px;
    }

    .checkout .data .block .block_title
    {
        margin-bottom: 20px;
    }



    .products .block_title
    {
        font-size: 26px;
        line-height: 40px;
    }

    .products .block_title.with_slider
    {
        width: calc(100% - 165px);
    }

    .products .owl-carousel .owl-nav
    {
        right: 22px;
    }



    .product_info .images .owl-carousel .owl-nav button.owl-prev
    {
        left: -30px;
    }

    .product_info .images .owl-carousel .owl-nav button.owl-next
    {
        right: -30px;
    }


    .products .product .flex
    {
        margin-top: 10px;
    }

    .products .product .flex .row.price_and_status {
        flex-direction: column;
        margin-bottom: 12px;
        align-items: center;
    }

    .products .product .price
    {
        width: 100%;
        margin-bottom: 6px;

        text-align: center;
    }


    .products .product .buy_link
    {
        font-size: 15px;

        width: 100%;
    }

    .products .product .status
    {
        font-size: 12px;
        width: min-content;
    }



    /*---------------
        Footer
    ---------------*/
    footer .logo
    {
        display: none;
    }


    footer .contacts
    {
        font-size: 14px;
        line-height: 18px;

        width: 100%;
    }

    footer .contacts .phones .number
    {
        font-size: 18px;
    }



    /*---------------
        PopUp
    ---------------*/
    .modal_title
    {
        font-size: 28px;
        line-height: 28px;
    }


    .modal .links .continue_link
    {
        line-height: 44px;

        width: 100%;
        height: 44px;
    }

    .modal .links .cart_link
    {
        line-height: 44px;

        width: 100%;
        height: 44px;
        margin-top: 10px;
    }


    #office_modal .adres
    {
        padding: 0 5px;
    }

    #office_modal .adres .flex > *
    {
        width: 100%;
    }

    #office_modal .adres .flex > * + *
    {
        margin-top: 7px;
    }
    #success_cart_modal .preloader{
        padding-right: 0px;
        margin: 0 auto;
        padding-top: 15px;
    }
}
