/*
 * CrediTotal — Botón flotante de WhatsApp (site-wide).
 * El markup (a.ct-wa-float > svg) se imprime en wp_footer (functions.php).
 * Editable: el número/enlace está en functions.php; aquí solo la presentación.
 */
.ct-wa-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9990;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25D366;            /* verde WhatsApp */
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	text-decoration: none;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ct-wa-float:hover,
.ct-wa-float:focus {
	background: #1ebe5d;
	color: #fff;
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.ct-wa-float svg {
	width: 34px;
	height: 34px;
	display: block;
	fill: currentColor;
}

/* anillo de pulso sutil para llamar la atención (detrás del botón) */
.ct-wa-float::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 50%;
	background: #25D366;
	animation: ct-wa-pulse 2.4s ease-out infinite;
}
@keyframes ct-wa-pulse {
	0%   { transform: scale(1);   opacity: .55; }
	70%  { transform: scale(1.85); opacity: 0; }
	100% { transform: scale(1.85); opacity: 0; }
}

@media (max-width: 767px) {
	.ct-wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
	.ct-wa-float svg { width: 30px; height: 30px; }
}

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