/**
 * La Torre Tecno - WhatsApp Flotante
 * Estilos del botón flotante.
 */

.ltw-wa-root {
	--ltw-bg: #25d366;
	--ltw-fg: #ffffff;
	--ltw-size: 60px;
	--ltw-gap: 20px;

	position: fixed;
	bottom: var(--ltw-gap);
	z-index: 9999;
	line-height: 1;
}

.ltw-wa-root.ltw-pos-right {
	right: var(--ltw-gap);
	left: auto;
}

.ltw-wa-root.ltw-pos-left {
	left: var(--ltw-gap);
	right: auto;
}

.ltw-wa-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: var(--ltw-size);
	height: var(--ltw-size);
	padding: 0 14px;
	border-radius: 999px;
	background-color: var(--ltw-bg, #25d366);
	color: var(--ltw-fg, #ffffff);
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	cursor: pointer;
}

.ltw-wa-button:hover,
.ltw-wa-button:focus-visible {
	color: var(--ltw-fg, #ffffff);
	transform: scale(1.06);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
	text-decoration: none;
}

.ltw-wa-button:focus-visible {
	outline: 2px solid var(--ltw-fg, #ffffff);
	outline-offset: 3px;
}

.ltw-wa-icon {
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	display: block;
}

.ltw-wa-text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

/* Sin texto: botón circular perfecto. */
.ltw-wa-root.ltw-no-text .ltw-wa-button {
	width: var(--ltw-size);
	padding: 0;
	gap: 0;
}

/* Ocultar en móviles (si la opción está activa). */
@media (max-width: 768px) {
	.ltw-wa-root.ltw-hide-mobile {
		display: none !important;
	}
}

/* Ajustes en pantallas pequeñas. */
@media (max-width: 480px) {
	.ltw-wa-root {
		--ltw-size: 52px;
		--ltw-gap: 14px;
	}

	.ltw-wa-icon {
		width: 26px;
		height: 26px;
	}

	.ltw-wa-text {
		display: none;
	}
}
