/* .cart_form {
    width: auto;
    height: 40px;
}
 */
.product-block .cart_form {
    margin-top: 10px;
    margin-right: 25px;
    width: auto;
    height: 40px;
}

.c-buy {
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.c-buy__buttons {
    display: flex;
}

.amount_change {
    display: flex;
    width: 100%;
    border-bottom: 2px solid #000;
    box-sizing: border-box;
}

.product-block .amount_change {
    display: flex !important;
    align-items: center !important;
}

@media (max-width: 767px) {
    .product-block .amount_change {
        margin-bottom: 10px !important;
        justify-content: flex-start !important;
    }
}

.amount_change input {
    -webkit-appearance: none;
    max-width: 55px;
    height: 30px;
    text-align: center;
    border: none;
    border-radius: 0;
    color: #000;
    padding: 0;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}

.amount_change button {
    position: relative;
    height: 35px;
    width: 30px;
    border: none !important;
    background-color: transparent !important;
    outline-style: none;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

.amount_change .down span,
.amount_change .up span {
    color: #000 !important;
}

.amount_change button span {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: normal;
}

.amount_change .c-amount__down {
    justify-content: center;
}

.amount_change .c-amount__up {
    justify-content: center;
}

.amount_change button svg {
    fill: #000;
    height: 50%;
    width: 50%;
}

@media(min-width: 1200px) {
    .amount_change button:hover span {
        color: var(--main-color);
    }
}

.products-block__list--list .amount_change {
    justify-content: flex-start;
}
