.fvc-whatsapp-order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid #1f8f5f;
	border-radius: 9px;
	box-sizing: border-box;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.fvc-whatsapp-order--primary {
	background: #1f8f5f;
	color: #fff;
}

.fvc-whatsapp-order--outline {
	background: transparent;
	color: #166b48;
}

.fvc-whatsapp-order--compact {
	min-height: 36px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #1f8f5f;
	color: #fff;
	font-size: 13px;
}

.fvc-whatsapp-order:hover,
.fvc-whatsapp-order:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgb(31 143 95 / 20%);
	color: #fff;
}

.fvc-whatsapp-order--outline:hover,
.fvc-whatsapp-order--outline:focus-visible {
	background: #edf8f3;
	color: #12583c;
}

.fvc-whatsapp-order.is-loading {
	pointer-events: none;
	opacity: .68;
}

.fvc-whatsapp-order.is-loading .fvc-whatsapp-order__icon {
	animation: fvc-whatsapp-spin 850ms linear infinite;
}

.fvc-product-card__actions .fvc-whatsapp-order,
.products .product > .fvc-whatsapp-order,
.woocommerce ul.products li.product > .fvc-whatsapp-order {
	width: 100%;
	margin-top: 8px;
}

.single-product .summary .fvc-whatsapp-order {
	margin-top: 14px;
}

.wc-proceed-to-checkout .fvc-whatsapp-order,
.wp-block-woocommerce-cart .fvc-whatsapp-order {
	width: 100%;
	margin-top: 12px;
}

.fvc-whatsapp-order--floating {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 9998;
	width: auto;
	max-width: calc(100vw - 36px);
	box-shadow: 0 12px 30px rgb(15 23 42 / 24%);
}

.fvc-whatsapp-confirm {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 20px;
}

.fvc-whatsapp-confirm__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(15 23 42 / 58%);
}

.fvc-whatsapp-confirm__dialog {
	position: relative;
	width: min(460px, 100%);
	padding: 24px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgb(15 23 42 / 35%);
	color: #1f2937;
}

.fvc-whatsapp-confirm__dialog h2 {
	margin: 0 0 10px;
	font-size: 22px;
}

.fvc-whatsapp-confirm__dialog p {
	margin: 0;
	color: #536071;
	line-height: 1.6;
}

.fvc-whatsapp-confirm__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 22px;
}

.fvc-whatsapp-confirm__actions button {
	min-height: 40px;
	padding: 8px 15px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.fvc-whatsapp-confirm__continue {
	border-color: #1f8f5f !important;
	background: #1f8f5f !important;
	color: #fff !important;
}

@keyframes fvc-whatsapp-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 600px) {
	.fvc-whatsapp-order--floating .fvc-whatsapp-order__label {
		display: none;
	}

	.fvc-whatsapp-order--floating {
		width: 52px;
		height: 52px;
		padding: 0;
		border-radius: 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fvc-whatsapp-order,
	.fvc-whatsapp-order.is-loading .fvc-whatsapp-order__icon {
		animation: none;
		transition: none;
	}
}
