.table_header {
    padding-left: 15px;
    margin-top: 20px;
    display: flex;
    min-height: 41px;
    align-items: center;
    margin-bottom: 16px;
    background-color: #62656d;
    color: #fff;
}

.table_header_text {
    width: 25%;
    font-size: 14px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.table_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table_item {
    padding-bottom: 2px;
    padding-top: 2px;
    display: flex;
    align-items: center;
}

.table_item_text {
    padding: 0 15px !important;
    width: 25%;
}

.table_item_text .table_item_label {
    display: none;
}

.table_item_text .count_cart {
    padding: 0 15px;
    display: block;
    width: 100%;
    height: 25px;
    border-radius: 10px;
    border: 1px solid #888888;
    font-size: 15px;
    line-height: 39px;
}

.table_buy {
    width: 40px;
    height: 40px;
    background-color: #c61217;
    cursor: pointer;
    position: relative;
}

.table_buy:hover {
    background-color: #4f525a;

}

.price_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price_container .remove_cart {
    font-size: 20px;
}

.table_buy:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(/upload/cart.svg) no-repeat center;
    background-size: 22px;
}

.table_buy_active {
    background-color: #4f525a;
}

.table_buy_active .table_buy_add:before {
    content: '';
    position: absolute;
    top: -9px;
    right: -9px;
    width: 23px;
    height: 23px;
    background: url(/upload/check.svg) no-repeat center 6px;
    background-size: 16px;
    background-color: #c61217;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .table_header {
        display: none;
    }

    .table_body {
        margin-top: 20px;
    }

    .table_item {
        padding-bottom: 10px;
        padding-top: 10px;
        background-color: #f3f3f3;
        flex-wrap: wrap;
        column-gap: 1px;
        row-gap: 10px;
    }

    .table_item_text {
        background-color: #f3f3f3 !important;
    }

    .table_item_text .table_item_label {
        display: block;
    }

    .price_container {
        flex-grow: 1;
    }
}

@media (max-width: 576px) {
    .table_item_text {
        font-size: 12px;
        width: auto;
    }

    .table_item_text .count_cart {
        width: 100px;
    }
}