.products-grid .product-item-actions .c4f-category-tocart-form,
.products-list .product-item-actions .c4f-category-tocart-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.c4f-category-qty {
    display: inline-flex;
    align-items: center;
    margin: 0;
    vertical-align: middle;
}

.c4f-category-qty > .label {
    margin: 0 6px 0 0;
    font-size: 12px;
    line-height: 1;
}

.c4f-category-qty .qty-changer {
    display: inline-flex;
    align-items: stretch;
    height: 32px;
}

.c4f-category-qty input.qty {
    width: 54px;
    height: 32px;
    padding: 0 4px;
    text-align: center;
    border-left: 0;
    border-right: 0;
    -moz-appearance: textfield;
}

.c4f-category-qty input.qty::-webkit-outer-spin-button,
.c4f-category-qty input.qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.c4f-category-qty .qty-inc,
.c4f-category-qty .qty-dec {
    min-width: 30px;
    height: 32px;
    padding: 0 8px;
    line-height: 30px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.c4f-category-qty .qty-dec {
    border-radius: 3px 0 0 3px;
}

.c4f-category-qty .qty-inc {
    border-radius: 0 3px 3px 0;
}
