/* Botón flotante WhatsApp - diloconchapitas.cl */

.whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
}

.whatsapp-float__link {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background-color: #25D366;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	outline: none;
	-webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float__link:hover,
.whatsapp-float__link:focus {
	background-color: #128C7E;
	-webkit-transform: scale(1.08);
	-ms-transform: scale(1.08);
	transform: scale(1.08);
	text-decoration: none;
}

.whatsapp-float__icon {
	display: block;
	width: 32px;
	height: 32px;
	fill: #ffffff;
}

.whatsapp-float__tooltip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-color: #333333;
	color: #ffffff;
	padding: 8px 14px;
	border-radius: 6px;
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	-webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp-float__tooltip::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -6px;
	width: 0;
	height: 0;
	margin-top: -6px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #333333;
}

.whatsapp-float__link:hover .whatsapp-float__tooltip,
.whatsapp-float__link:focus .whatsapp-float__tooltip {
	opacity: 1;
	visibility: visible;
}
