.kb-quantity {
	display: inline-flex;
	align-items: stretch;
	vertical-align: middle;
	box-sizing: border-box;
	overflow: hidden;
	height: 40px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
}

.kb-quantity *,
.kb-quantity *::before,
.kb-quantity *::after {
	box-sizing: border-box;
}

.kb-quantity .kb-quantity-input,
.kb-quantity input.qty {
	display: block;
	flex: 0 0 54px;
	width: 54px;
	height: 38px;
	min-height: 38px;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
	color: inherit;
	line-height: 38px;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-moz-appearance: textfield;
}

.kb-quantity .kb-quantity-input:focus,
.kb-quantity input.qty:focus {
	outline: none;
	box-shadow: none !important;
}

.kb-quantity input::-webkit-outer-spin-button,
.kb-quantity input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.kb-quantity .kb-qty-btn {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 38px;
	margin: 0 !important;
	padding: 0 !important;
	color: #222;
	line-height: 1;
	cursor: pointer;
	background: #f7f7f7;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition:
		background .12s ease,
		color .12s ease,
		opacity .12s ease;
}

.kb-quantity .kb-qty-btn:hover {
	background: #efefef;
}

.kb-quantity .kb-qty-btn:active {
	background: #e5e5e5;
}

.kb-quantity .kb-qty-btn:disabled {
	cursor: default;
	opacity: .55;
}

.kb-quantity .kb-qty-btn span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.kb-quantity .kb-qty-remove {
	color: #dc2626;
	background: #fff1f2;
}

.kb-quantity .kb-qty-remove:hover {
	color: #b91c1c;
	background: #ffe4e6;
}

.kb-quantity .kb-qty-remove:active {
	background: #fecdd3;
}

.kb-quantity .kb-qty-remove svg {
	display: block;
	width: 17px;
	height: 17px;
	fill: currentColor;
}

tr.cart_item.kb-removing {
	opacity: 0;
	transform: scale(.985);
	pointer-events: none;
	transition:
		opacity .08s ease,
		transform .08s ease;
}

.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form input[name="update_cart"] {
	display: none !important;
}

.single-product form.cart {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	min-height: 48px !important;
	direction: rtl !important;
}

.single-product form.cart::after {
	display: table;
	clear: both;
	content: "";
}

.single-product form.cart .quantity,
.single-product form.cart .kb-quantity {
	display: inline-flex !important;
	float: right !important;
	margin: 0 !important;
}

.single-product form.cart .single_add_to_cart_button {
	display: inline-flex !important;
	float: left !important;
	margin: 0 !important;
}

.single-product form.cart .quantity {
	float: right !important;
	margin-top: 0 !important;
	margin-right: 12px !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
}
