/* SubsHub Growth Engine — front-end styles
   Scoped to .sge-* only, so nothing here can leak into the theme. */

.sge-wa-float {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	min-height: 48px;
	border-radius: 999px;
	background: #1f8f4e;
	color: #fff !important;
	font: 600 14px/1.2 inherit;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
	transition: transform .15s ease, background .15s ease;
}

.sge-wa-float:hover,
.sge-wa-float:focus {
	background: #17743f;
	transform: translateY(-1px);
	color: #fff !important;
}

.sge-wa-float:focus-visible {
	outline: 3px solid #111;
	outline-offset: 2px;
}

.sge-wa-float svg {
	flex: 0 0 auto;
}

/* On small screens the label costs more than it earns — the icon is
   universally understood, and the sticky buy bar needs the room. */
@media (max-width: 520px) {
	.sge-wa-float {
		padding: 14px;
		right: 12px;
		bottom: 76px; /* clears the theme's sticky mobile add-to-cart bar */
	}
	.sge-wa-float span {
		display: none;
	}
}

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