/* Bayparts Catálogo: botones de WhatsApp y botón flotante. */

a.button.bp-wa-btn,
.bp-wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 8px;
	background: #15803d;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

a.button.bp-wa-btn:hover,
a.button.bp-wa-btn:focus-visible,
.bp-wa-btn:hover,
.bp-wa-btn:focus-visible {
	background: #166534;
	color: #fff;
}

.bp-wa-btn .bp-wa-icon {
	flex: none;
}

a.button.bp-wa-btn--sm,
.bp-wa-btn--sm {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
}

a.button.bp-wa-btn--lg,
.bp-wa-btn--lg {
	width: 100%;
	max-width: 420px;
	padding: 16px 24px;
	font-size: 17px;
}

.bp-consulta {
	margin: 8px 0 24px;
}

.bp-consulta__nota {
	margin: 10px 0 0;
	font-size: 14px;
	color: #444;
}

.bp-wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

.bp-wa-float:hover,
.bp-wa-float:focus-visible {
	color: #fff;
	transform: scale(1.06);
}

.bp-wa-float__icon {
	width: 32px;
	height: 32px;
}

@media (max-width: 480px) {
	.bp-wa-btn__extra {
		display: none;
	}

	.bp-wa-float {
		right: 14px;
		bottom: 14px;
		width: 54px;
		height: 54px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bp-wa-float,
	.bp-wa-btn {
		transition: none;
	}
}
