/* Native BeTheme product form only: no replacement quantity or purchase logic. */
body.single-product .column_product_cart_button > .mcb-column-inner,
body.single-product .column_product_cart_button .mfn-product-add-to-cart,
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart,
body.single-product .column_product_cart_button .mfn-product-add-to-cart .woocommerce-variation-add-to-cart {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart {
	container-type: inline-size;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart:not(.variations_form):not(.grouped_form):not(.cart_group),
body.single-product .column_product_cart_button .mfn-product-add-to-cart .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
}
/* WooCommerce clearfix pseudo-elements otherwise become extra flex items with gaps. */
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart:not(.variations_form):not(.grouped_form):not(.cart_group)::before,
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart:not(.variations_form):not(.grouped_form):not(.cart_group)::after,
body.single-product .column_product_cart_button .mfn-product-add-to-cart .woocommerce-variation-add-to-cart::before,
body.single-product .column_product_cart_button .mfn-product-add-to-cart .woocommerce-variation-add-to-cart::after {
	content: none !important;
	display: none !important;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity {
	box-sizing: border-box;
	flex: 0 0 96px;
	width: 96px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #e6e2df;
	border-radius: 0;
	background: #fff;
	position: relative;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity .qty {
	box-sizing: border-box;
	width: 100%;
	height: 64px;
	padding: 0 30px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent;
	box-shadow: none;
	font-family: "Inter", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	color: #655951;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity .quantity-change {
	top: 0;
	width: 30px;
	height: 100%;
	border-radius: 0;
	color: #655951;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity .minus { left: 0; }
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity .plus { right: 0; }
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	gap: 12px;
	width: auto !important;
	min-width: 0;
	max-width: none !important;
	min-height: 66px;
	margin: 0 !important;
	padding: 16px 0 !important;
	border-radius: 0 !important;
	font-family: "Michroma", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0;
	word-break: normal;
	position: relative;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button::before {
	content: "";
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	background: url("https://allinskin.pl/wp-content/uploads/2026/04/cart_allinskin.svg") center / contain no-repeat;
	pointer-events: none;
}
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button.loading::before { visibility: hidden; }
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity :focus-visible,
body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button:focus-visible {
	outline: 2px solid #655951;
	outline-offset: 3px;
}
@media (max-width: 767px) {
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart:not(.variations_form):not(.grouped_form):not(.cart_group),
	body.single-product .column_product_cart_button .mfn-product-add-to-cart .woocommerce-variation-add-to-cart { gap: 8px; }
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity { flex-basis: 80px; width: 80px !important; }
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity .qty { height: 54px; font-size: 18px; padding: 0 26px !important; }
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart .quantity .quantity-change { width: 28px; }
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button {
		min-height: 56px;
		gap: 6px;
		padding: 12px 0 !important;
		font-size: 13px !important;
	}
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button::before { flex-basis: 20px; width: 20px; height: 20px; }
	@container (max-width: 340px) {
		body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button {
			font-size: clamp(9px, calc(5cqi - 5px), 12px) !important;
		}
	}
}
@media (prefers-reduced-motion: reduce) {
	body.single-product .column_product_cart_button .mfn-product-add-to-cart form.cart button.single_add_to_cart_button.loading::after { animation: none; }
}
