/* WooCommerce WhatsApp Buy Now */
.wcwbn-wrap {
	display: flex;
	width: 100%;
	clear: both;
	margin: 12px 0;
}
.wcwbn-wrap.wcwbn-loop { margin: 10px 0 0; }
.wcwbn-align-left { justify-content: flex-start; }
.wcwbn-align-center { justify-content: center; }
.wcwbn-align-right { justify-content: flex-end; }

.wcwbn-wrap a.wcwbn-button,
.woocommerce .wcwbn-wrap a.wcwbn-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	box-sizing: border-box;
	width: var(--wcwbn-width, auto);
	max-width: 100%;
	margin: 0;
	padding: 0.8em 1.3em;
	border: 0;
	border-radius: var(--wcwbn-radius, 6px);
	background: var(--wcwbn-bg, #25d366) !important;
	color: var(--wcwbn-color, #fff) !important;
	font-size: var(--wcwbn-font, 15px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none !important;
	white-space: normal;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	transition: filter 0.15s ease, transform 0.15s ease;
}
.wcwbn-wrap a.wcwbn-button:hover,
.wcwbn-wrap a.wcwbn-button:focus-visible { filter: brightness(0.92); }
.wcwbn-wrap a.wcwbn-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.wcwbn-wrap a.wcwbn-button:active { transform: translateY(1px); }

.wcwbn-wrap .wcwbn-icon {
	flex: 0 0 auto;
	width: var(--wcwbn-icon, 20px);
	height: var(--wcwbn-icon, 20px);
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

@media (max-width: 480px) {
	.wcwbn-wrap.wcwbn-single a.wcwbn-button { width: 100%; }
}

/* Safety net: hide any Add to Cart a theme or page builder prints outside WooCommerce's own templates. */
.woocommerce .add_to_cart_button:not(.wcwbn-button),
.woocommerce-page .add_to_cart_button:not(.wcwbn-button),
a.add_to_cart_button:not(.wcwbn-button),
a.ajax_add_to_cart,
a.added_to_cart,
.single_add_to_cart_button,
form.cart .quantity,
.woocommerce-variation-add-to-cart .quantity,
.wc-block-components-product-button__button,
.wp-block-woocommerce-add-to-cart-form .quantity {
	display: none !important;
}
