@media screen and (max-width: 991px) {
    .bestpart {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    table.adaptive .button_c,
    .price_c>.btn {
        float: left;
        display: block;
        width: 100%!important;
    }
    table.adaptive thead tr {
        display: none;
    }
    table.adaptive tbody tr {
        display: block;
        height: auto;
        border: 1px solid #e8e8e8;
        margin-bottom: 15px;
    }
    table.adaptive tbody>tr:hover>td {
        background-color: white;
    }
    table.adaptive tbody tr td {
        display: block;
        width: 100%;
    }
    table.adaptive tbody tr td.g_brand,
    table.adaptive tbody tr td.g_article {
        display: inline-block;
        padding: 5px 5px 0px;
        font-weight: bold;
        font-size: 14px;
    }
    table.adaptive tbody tr td.g_name {
        padding: 5px 5px 0px;
    }
    table.adaptive tbody tr td>.btn {
        display: block;
        height: auto;
        float: left;
        font-size: 16px;
    }
    .bestpart {
        display: none;
    }
    table.search thead tr:first-child {
        display: none;
    }
    table.search thead tr:last-child {
        width: 100%;
    }
    table.search tr {
        display: block;
        font-size: 14px;
        width: 100%;
        border: 1px solid white;
        overflow: auto;
    }
    table.search td.basket {
        float: right;
    }
    table.search td.basket .input-group-btn {
        padding: 0px;
    }
    table.search td.basket .quantity-search {
    }
    table.search td.basket .href.btn:after {
        content: 'Добавить в корзину';
        font-size: 16px;
        font-weight: bold;
    }
    table.search td.basket .href.btn {
        background: #545454;
        width: 100%;
        font-size: 18px;
        border: 1px solid #1d1d1d;
    }
    table.search td.name_s .hidden {
        display: inherit;
    }
    table.search td.name_s .hidden .pn {}
    td.g_img {
        display: none!important;
    }
    td.brand_s {
        width: 50%!important;
        float: left;
        height: 50px;
        padding: 10px 0px 0px 5px!important;
        font-size: 14px;
        background: #cac7c7!important;
        border-top: 5px solid;
    }
    td.article_s {
        width: 50%!important;
        float: left;
        text-align: right;
        height: 50px;
        font-size: 14px;
        padding: 10px 5px 0px 0px!important;
        font-weight: bold;
        background: #cac7c7!important;
        border-top: 5px solid;
    }
    td.name_s {
        width: 100%;
        float: left;
        font-size: 12px;
        background: #f1f1f1!important;
    }
    td.name_s .pn {
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        max-width: 225px;
        text-overflow: ellipsis;
    }
    td.warehouse {
        text-align: left!important;
        width: 20%!important;
    }
    td.information {
        text-align: left;
    }
    td.stock {
        width: 15%!important;
    }
    td.deliverytime {
        text-align: center;
        width: 50%!important;
        vertical-align: top;
        white-space: nowrap;
        font-size: 20px;
        float: left;
    }
    td.price {
        text-align: center;
        width: 50%!important;
        float: right;
        font-size: 20px;
    }
    .brandhead {
        font-size: 17px!important;
        width: 100%;
        display: inline-block;
        margin-bottom: 10px;
    }
    td.brand {
        width: 40%!important;
        float: left;
        height: 50px;
        padding: 10px 0px 10px 5px!important;
        font-size: 14px;
        background: #cac7c7!important;
        border-top: 5px solid;
    }
    td.article {
        width: 50%!important;
        float: left;
        text-align: right;
        height: 50px;
        font-size: 14px;
        padding: 10px 5px 10 px 0px!important;
        font-weight: bold;
        background: #cac7c7!important;
        border-top: 5px solid;
    }
    td.name {
        width: 100%!important;
        float: left;
        font-size: 12px;
        background: #f1f1f1!important;
    }
    td.deliverytime_c {
        width: 15%!important;
        float: left;
        font-size: 12px;
        padding-top: 15px!important;
    }
    td.stock_c {
        width: 15%!important;
        float: left;
    }
    td.price_c.half-transparent:before {
        content: none
    }
    td.price_c:before {
        content: 'Стоимость:';
        font-size: 16px;
        display: flex;
        width: 100%;
        color: #9a9a9a;
        flex-direction: column;
    }
    td.price_c.subtotal:before {
        content: 'Итого сумма:';
    }
    td.price_c {
        float: left;
        font-size: 30px;
    }
    td.price_c>.btn {
        font-size: 17px!important;
        background: #596877;
        color: white;
    }
    td.button_c {
        float: left;
        width: 24%!important;
        padding-top: 10px!important;
        font-size: 12px;
    }
    td.check {
        width: 10%!important;
        float: left;
        height: 50px;
        padding: 10px 0px 9px 0px!important;
        font-size: 12px;
        background: #cac7c7!important;
        border-top: 5px solid;
    }
    .cart tr {
        overflow: auto;
        box-shadow: 0px 5px 7px -5px #cac7c7;
    }
    td.button_c span i {
        font-size: 10px!important;
        padding: 5px!important;
    }
    td.button_c span {
        width: 50%!important;
        float: left;
        /* padding-top: 1px!important; */
    }
}

@media screen and (max-width: 380px) {
    td.brand_s {
        width: 100%!important;
        float: left;
        height: 50px;
        padding: 10px 0px 0px 5px!important;
        font-size: 14px;
        background: #cac7c7!important;
        border-top: 5px solid;
    }
    td.article_s {
        width: 100%!important;
        float: left;
        text-align: left;
        height: 50px;
        font-size: 14px;
        padding: 10px 0px 0px 5px!important;
        font-weight: bold;
        background: #cac7c7!important;
        border-top: none;
    }
}