﻿@media (max-width: 575px) {
    .header {
        border: none;
    }
    .header .topmenu_dropdown {
        position: absolute;
        top:0;
        left:0;
        width:100%;
        display:block;
        background:#fff;
        z-index:9;
    }
    .header .topmenu_dropdown_header {
        display: flex;
        width: 100%;
        align-items: center;
        border-bottom:#d8001b solid 2px;
    }
        .header .topmenu_dropdown_header .logo {
            height:4em;
        }
        .header .topmenu_dropdown_header .logo img{
            height: 100%;
        }
        .header .topmenu_dropdown_header .title {
            font-size: 1.5em;
            color: #d8001b;
        }
        .header .topmenu_dropdown_header .but_close {
            font-size: 2em;
            padding: 0 0.5em;
        }
    .header .topmenu_dropdown_topics{
        padding:0.75em 0;
    }
        .header .topmenu_dropdown_topics .menu{
            margin-left:15px;
        }
            .header .topmenu_dropdown_topics .menu a {
                padding: 5px 15px;
            }
            .header .topmenu_dropdown_topics .menu.active>a {
                border-radius: 30px;
                background: #d8001b;
                color: #fff;
            }

    .header .menu{
        position:initial;
    }
        .header .menu li {
            float: none;
            width: 100%;
        }
        .header .menu > ul > li {
            padding-bottom: 1em;
        }
        .header .menu:hover > ul {
            display: none;
        }
        .header .menu > ul {
            position: absolute;
            left: 0;
            top: 100%;
            width: 100%;
            padding: 1em;
            z-index: 99;
            max-height: calc(100vh - 7em );
            overflow: scroll;
        }
        .header .menu.active > ul {
            display: block;
        }
    .wb {
        display: none;
    }
    .mb {
        display: inherit;
    }
    #swiper_index_category .swiper-slide{
        width:33.33%;
    }
        #swiper_index_category .swiper-slide a div {
            padding: 10px 0;
            overflow: hidden;
            white-space: nowrap;
            font-size:0.9em;
        }
        .block_store {
            width: 23% !important;
        }
    .menu_carts {
        width: 100%;
        border-top: #d8d8d8 solid 1px;
    }
    .h3_title {
        position: relative;
        padding: 1em 0 1em 1.5em;
    }
    .but_filter {
        position:initial;
    }
    .dropdown_filter{
        width:100%;
    }
    .expensive .blocks .prod_info {
        height: 4em;
    }

    .expensive .blocks .prod_brief {
        max-height: 1.2em;
    }
    .expensive .blocks .show_price{
        width:100%;
    }
    .product_bar {
        flex-wrap: wrap;
        z-index: 8;
    }
    .product_bar .product_bar_name {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1em;
    }
    .cartitem .link {
        width: auto;
    }
    .cartitem_price{
        width:auto;
    }
    .cartitem_amount {
        width: auto;
    }
    .cart_amount .fees {
        width: 100%;
        justify-content: flex-end;
        margin-right:2.5em;
    }
    #shopping_carts h3.title {
        background: #ede9e4;
        font-weight: lighter;
        font-size: 1.2em;
    }

        #shopping_carts h3.title strong {
            font-weight: bold;
        }
        #shopping_carts h3.title img {
            height: 1.2em;
        }
    .cart_amount {
        border-top: none;
        margin: 0;
        padding: 0;
    }
    #checkout_steps{
        width:100%;
        text-align:center;
    }
    #checkout_steps img {
        height: auto;
        width:90%;
        margin:0.5em 0;
    }
    .checkout_name{
        width:40%;
    }
    #checkout_lists {
        border: none;
    }
    #checkout_payment{
        display:block;
    }
    #checkout_payment .but_radio {
        width: 100%;
        text-align:left;
        margin: 0 0 1.5em 3em;
    }
    .container{
        padding:0
    }
    .order_list_body .store_name {
        width: 100%;
        margin: 0.3 em 0;
        font-size: 1.2em;
    }
    #orderModal #view_payway, .order_success #view_payway {
        width: 100%;
        margin: 1em 0 1em 1.5em;
        text-align: center;
    }
    .filter_items {
        width:100%;
        flex-wrap:wrap;
    }
        .filter_items > a {
            margin: 0.5em;
        }
    .breadcrumb{
        padding:1em;
    }
    .brand_header {
        border-top: none;
        border-bottom: none;
    }
    .blocks .prices{
        flex-wrap:wrap;
    }
    .blocks .prod_brief {
        font-size: 0.9em;
        line-height: 1.2em;
        max-height: 2.2em;
        text-overflow: ellipsis;
    }
    .but_s, .but_s:hover {
        padding: 5px 10px;
    }
    .mb-100{
        width:100%;
    }
    .index-hr {
        border-bottom: #f7f5f1 solid 5px;
        margin-top: 5px;
        box-shadow: inset 0px 3px 5px 0px rgba(0,0,0,0.1);
    }
}