.sv-wa-float-wrap {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99998;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sv-wa-bubble {
	position: relative;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	font: 700 13px/1.2 "Nunito Sans", Arial, sans-serif;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(16, 24, 40, 0.2);
}

.sv-wa-bubble::after {
	content: "";
	position: absolute;
	right: -5px;
	top: 50%;
	width: 11px;
	height: 11px;
	background: #fff;
	transform: translateY(-50%) rotate(45deg);
}

.sv-wa-float-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease, background 0.15s ease;
}

.sv-wa-float-trigger:hover,
.sv-wa-float-trigger:focus-visible {
	background: #1fbd59;
	transform: scale(1.05);
}

.sv-wa-float-trigger svg {
	width: 34px;
	height: 34px;
}

.sv-wa-overlay[hidden] {
	display: none;
}

.sv-wa-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(13, 31, 79, 0.62);
}

.sv-wa-dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 30px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	font-family: "Nunito Sans", Arial, sans-serif;
}

.sv-wa-dialog h2 {
	margin: 0 35px 6px 0;
	color: #333;
	font-size: 22px;
	line-height: 1.25;
	text-transform: none;
}

.sv-wa-dialog p {
	margin: 0 0 20px;
	color: #6b6b6b;
}

.sv-wa-dialog label {
	display: block;
	margin: 14px 0 6px;
	color: #333;
	font-size: 13px;
	font-weight: 700;
}

.sv-wa-dialog input,
.sv-wa-dialog textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e4e6ed;
	border-radius: 7px;
	background: #fbfbfc;
	color: #333;
	font: 14px/1.4 "Nunito Sans", Arial, sans-serif;
}

.sv-wa-dialog textarea {
	min-height: 82px;
	resize: vertical;
}

.sv-wa-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #6b6b6b;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.sv-wa-close:hover,
.sv-wa-close:focus,
.sv-wa-close:active {
	background: transparent !important;
	color: #6b6b6b !important;
	box-shadow: none !important;
	transform: none !important;
}

.sv-wa-submit {
	width: 100%;
	margin-top: 18px;
	padding: 13px 18px;
	border: 0;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	font: 700 15px/1.2 "Nunito Sans", Arial, sans-serif;
}

.sv-wa-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.sv-wa-submit:not(:disabled):hover,
.sv-wa-submit:not(:disabled):focus,
.sv-wa-submit:not(:disabled):active {
	background: #0052ff;
	color: #fff;
	box-shadow: none;
}

.sv-wa-dialog input.sv-wa-invalid {
	border-color: #c62828;
	background: #fff8f8;
}

.sv-wa-error {
	min-height: 18px;
	margin: 4px 0 0;
	color: #c62828;
	font-size: 12px;
}

.sv-wa-status {
	min-height: 20px;
	margin: 14px 0 0;
	color: #18763b;
	font-size: 13px;
	font-weight: 700;
}

body.sv-wa-modal-open {
	overflow: hidden;
}

/* Oculta el enlace flotante anterior únicamente donde se carga el plugin. */
.button_wsp {
	display: none !important;
}

.sv-whatsapp-trigger .uagb-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.sv-whatsapp-trigger .uagb-button__link::before {
	content: "";
	display: inline-block;
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.39 1.26 4.82L2 22l5.4-1.42a9.87 9.87 0 0 0 4.64 1.18h.01c5.46 0 9.9-4.45 9.9-9.91 0-2.65-1.03-5.13-2.9-7C17.17 3.03 14.69 2 12.04 2Zm0 18.06h-.01a8.2 8.2 0 0 1-4.18-1.15l-.3-.18-3.11.82.83-3.03-.2-.31a8.16 8.16 0 0 1-1.26-4.4c0-4.53 3.69-8.22 8.23-8.22 2.2 0 4.26.86 5.82 2.41a8.18 8.18 0 0 1 2.41 5.82c0 4.53-3.69 8.24-8.23 8.24Zm4.51-6.16c-.25-.12-1.46-.72-1.69-.8-.23-.08-.39-.12-.56.13-.16.25-.64.8-.78.96-.14.16-.29.18-.53.06-.25-.12-1.04-.38-1.98-1.22-.73-.65-1.23-1.45-1.37-1.7-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.16-.25.25-.41.08-.16.04-.31-.02-.43-.06-.12-.56-1.36-.77-1.86-.2-.48-.41-.42-.56-.42-.14 0-.31-.02-.47-.02-.16 0-.43.06-.65.31-.23.25-.86.84-.86 2.04 0 1.2.88 2.37 1 2.53.12.16 1.73 2.65 4.2 3.71.59.25 1.05.4 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.46-.6 1.66-1.17.21-.58.21-1.08.14-1.18-.06-.11-.22-.17-.47-.29Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.39 1.26 4.82L2 22l5.4-1.42a9.87 9.87 0 0 0 4.64 1.18h.01c5.46 0 9.9-4.45 9.9-9.91 0-2.65-1.03-5.13-2.9-7C17.17 3.03 14.69 2 12.04 2Zm0 18.06h-.01a8.2 8.2 0 0 1-4.18-1.15l-.3-.18-3.11.82.83-3.03-.2-.31a8.16 8.16 0 0 1-1.26-4.4c0-4.53 3.69-8.22 8.23-8.22 2.2 0 4.26.86 5.82 2.41a8.18 8.18 0 0 1 2.41 5.82c0 4.53-3.69 8.24-8.23 8.24Zm4.51-6.16c-.25-.12-1.46-.72-1.69-.8-.23-.08-.39-.12-.56.13-.16.25-.64.8-.78.96-.14.16-.29.18-.53.06-.25-.12-1.04-.38-1.98-1.22-.73-.65-1.23-1.45-1.37-1.7-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.16-.25.25-.41.08-.16.04-.31-.02-.43-.06-.12-.56-1.36-.77-1.86-.2-.48-.41-.42-.56-.42-.14 0-.31-.02-.47-.02-.16 0-.43.06-.65.31-.23.25-.86.84-.86 2.04 0 1.2.88 2.37 1 2.53.12.16 1.73 2.65 4.2 3.71.59.25 1.05.4 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.46-.6 1.66-1.17.21-.58.21-1.08.14-1.18-.06-.11-.22-.17-.47-.29Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Escritorios con poca altura disponible. */
@media (min-width: 641px) and (max-height: 700px) {
	.sv-wa-overlay {
		padding: 10px;
	}

	.sv-wa-dialog {
		max-height: calc(100vh - 20px);
		padding: 18px 24px;
		overflow-y: hidden;
	}

	.sv-wa-dialog h2 {
		margin-bottom: 3px;
		font-size: 19px;
	}

	.sv-wa-dialog > p:not(.sv-wa-error):not(.sv-wa-status) {
		margin-bottom: 8px;
		font-size: 13px;
	}

	.sv-wa-dialog label {
		margin: 7px 0 3px;
	}

	.sv-wa-dialog input,
	.sv-wa-dialog textarea {
		padding: 8px 10px;
	}

	.sv-wa-dialog textarea {
		min-height: 48px;
		height: 48px;
	}

	.sv-wa-error {
		min-height: 14px;
		margin-top: 2px;
		font-size: 11px;
	}

	.sv-wa-status {
		min-height: 16px;
		margin-top: 5px;
		font-size: 12px;
	}

	.sv-wa-submit {
		margin-top: 7px;
		padding: 10px 16px;
	}

	.sv-wa-close {
		top: 6px;
		right: 8px;
	}
}
