/* Themes style every link and button in a product page; the doubled class and !important keep ours a pill whatever the theme sets. */
a.amynav-wa.amynav-wa {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 44px !important;
	max-width: 100%;
	margin: 0;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--amynav-colour, #25d366) !important; /* the shop's colour, set on :root by the plugin */
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.2 !important;
	letter-spacing: normal;
	text-align: left;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	vertical-align: middle;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	transition: filter 0.15s ease, transform 0.15s ease;
}

a.amynav-wa.amynav-wa::before,
a.amynav-wa.amynav-wa::after {
	content: none !important;
	display: none !important;
}

/* Its own line under the add to cart form, even when the theme lays the form out in a row. */
.amynav-wa-row {
	display: block !important;
	flex: 0 0 100% !important;
	width: 100% !important;
	clear: both;
	margin: 12px 0 0 !important;
}

a.amynav-wa.amynav-wa:hover,
a.amynav-wa.amynav-wa:focus {
	color: #fff !important;
	filter: brightness(0.94);
	text-decoration: none;
}

.amynav-wa:focus-visible {
	outline: 3px solid rgba(0, 0, 0, 0.35);
	outline-offset: 2px;
}

.amynav-wa__icon {
	flex: none;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
}

.amynav-wa__label {
	display: inline !important;
	color: inherit !important;
}

a.amynav-wa--float.amynav-wa--float {
	position: fixed !important;
	bottom: 20px;
	z-index: 9999;
}

.amynav-wa--right {
	right: 20px;
}

.amynav-wa--left {
	left: 20px;
}

a.amynav-wa--cart.amynav-wa--cart {
	display: flex !important;
	width: 100% !important;
}

@media (max-width: 480px) {
	.amynav-wa--float .amynav-wa__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	a.amynav-wa--float.amynav-wa--float {
		padding: 14px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amynav-wa {
		transition: none;
	}
}
