/* ARS WooCommerce Buy Now - only styles its own elements. */
.ars-buy-now-button,
.ars-buy-now-button:visited {
	display: inline-block;
	box-sizing: border-box;
	margin: 0 0 0 10px;
	padding: var(--ars-bn-pad-y, 12px) var(--ars-bn-pad-x, 24px);
	border: 0;
	border-radius: var(--ars-bn-radius, 4px);
	background: var(--ars-bn-bg, #111);
	color: var(--ars-bn-color, #fff);
	font-size: var(--ars-bn-font-size, 15px);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	vertical-align: middle;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ars-buy-now-button:hover,
.ars-buy-now-button:focus {
	background: var(--ars-bn-hover-bg, #333);
	color: var(--ars-bn-hover-color, #fff);
	text-decoration: none;
}

.ars-buy-now-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Variable product, no variation selected yet (still clickable to show the error). */
.ars-buy-now-button.ars-buy-now-disabled {
	opacity: .5;
	cursor: not-allowed;
}

.ars-buy-now-button.is-loading {
	opacity: .75;
	cursor: wait;
	pointer-events: none;
}

/* Product lists */
.ars-buy-now-button--loop {
	margin: 8px 0 0;
}

.ars-buy-now-notice {
	margin: 0 0 1em;
	padding: .8em 1em;
	border-left: 4px solid #b81c23;
	background: #fbeaea;
	color: #333;
	font-size: 14px;
	list-style: none;
}

/* Mobile: full-width, easy to tap, no overflow. */
@media (max-width: 480px) {
	.ars-buy-now-button,
	.ars-buy-now-button:visited {
		display: block;
		width: 100%;
		max-width: 100%;
		min-height: 44px;
		margin: 10px 0 0;
	}
}
