.chat-wa-nyx {
	position: fixed;
	bottom: var(--chat-wa-nyx-bottom, 24px);
	z-index: 99999;
}

.chat-wa-nyx--left {
	left: var(--chat-wa-nyx-side, 24px);
	right: auto;
}

.chat-wa-nyx--right {
	right: var(--chat-wa-nyx-side, 24px);
	left: auto;
}

.chat-wa-nyx-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: calc(var(--chat-wa-nyx-size, 60px) - 8px);
	padding: 4px 18px 4px 4px;
	border-radius: 999px;
	background: #138a63;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 18px 40px rgba(19, 138, 99, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-wa-nyx-button:hover,
.chat-wa-nyx-button:focus {
	transform: translateY(-2px);
	box-shadow: 0 22px 44px rgba(19, 138, 99, 0.34);
	color: #fff;
	outline: none;
}

.chat-wa-nyx-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--chat-wa-nyx-size, 60px) - 8px);
	height: calc(var(--chat-wa-nyx-size, 60px) - 8px);
	border-radius: 50%;
	background: #25b06f;
	backdrop-filter: blur(6px);
	flex-shrink: 0;
	color: #fff;
}

.chat-wa-nyx-button__icon svg {
	display: block;
	width: calc(var(--chat-wa-nyx-size, 60px) * 0.58);
	height: calc(var(--chat-wa-nyx-size, 60px) * 0.58);
	fill: currentColor;
}

.chat-wa-nyx-button__label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.chat-wa-nyx-button--icon-only {
	padding-right: 8px;
}

.chat-wa-nyx-modal[hidden] {
	display: none;
}

.chat-wa-nyx-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

body .chat-wa-nyx-modal .chat-wa-nyx-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(4, 24, 22, 0.42);
	backdrop-filter: blur(6px);
	-webkit-appearance: none;
	appearance: none;
	opacity: 1;
	margin: 0;
	padding: 0;
	box-shadow: none;
	border-radius: 0;
	cursor: default;
}

.chat-wa-nyx-modal__dialog {
	position: absolute;
	right: 24px;
	bottom: calc(var(--chat-wa-nyx-bottom, 24px) + var(--chat-wa-nyx-size, 60px) + 18px);
	width: min(380px, calc(100vw - 32px));
	padding: 22px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(37, 211, 102, 0.14), transparent 38%),
		linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
	box-shadow: 0 28px 70px rgba(4, 24, 22, 0.22);
	color: #102a2c;
}

.chat-wa-nyx--left + .chat-wa-nyx-modal .chat-wa-nyx-modal__dialog {
	left: 24px;
	right: auto;
}

.chat-wa-nyx-modal__dialog:focus {
	outline: none;
}

body .chat-wa-nyx-modal .chat-wa-nyx-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 34px;
	min-height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(16, 42, 44, 0.06);
	color: #102a2c;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-indent: 0;
	text-transform: none;
	letter-spacing: 0;
	text-shadow: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.chat-wa-nyx-modal .chat-wa-nyx-modal__backdrop:hover,
.chat-wa-nyx-modal .chat-wa-nyx-modal__backdrop:focus,
.chat-wa-nyx-modal .chat-wa-nyx-modal__backdrop:active {
	background: rgba(4, 24, 22, 0.42);
	opacity: 1;
	box-shadow: none;
	border: 0;
	outline: none;
}

.chat-wa-nyx-modal .chat-wa-nyx-modal__close:hover,
.chat-wa-nyx-modal .chat-wa-nyx-modal__close:focus,
.chat-wa-nyx-modal .chat-wa-nyx-modal__close:active {
	background: rgba(16, 42, 44, 0.1);
	color: #102a2c;
	transform: none;
	box-shadow: none;
	border: 0;
	outline: none;
}

.chat-wa-nyx-modal__badge {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 30px;
}

.chat-wa-nyx-modal__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	color: #fff;
	box-shadow: 0 16px 32px rgba(18, 140, 126, 0.22);
	flex-shrink: 0;
}

.chat-wa-nyx-modal__badge-icon svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.chat-wa-nyx-modal__badge-icon img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.chat-wa-nyx-modal__eyebrow {
	margin: 0 0 6px;
	color: #128c7e;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chat-wa-nyx-modal__badge h3 {
	margin: 0;
	font-size: 24px;
	line-height: 1.15;
}

.chat-wa-nyx-modal__text {
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(16, 42, 44, 0.8);
}

.chat-wa-nyx-modal__meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(18, 140, 126, 0.08);
	font-size: 12px;
	font-weight: 600;
	color: #1d5d58;
}

.chat-wa-nyx-modal__status {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.14);
	flex-shrink: 0;
}

.chat-wa-nyx-modal__status--offline {
	background: #f39c12;
	box-shadow: 0 0 0 6px rgba(243, 156, 18, 0.16);
}

.chat-wa-nyx-modal__actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.chat-wa-nyx-modal__cta,
.chat-wa-nyx-modal__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.chat-wa-nyx-modal__cta {
	flex: 1;
	border: 0;
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	color: #fff;
	box-shadow: 0 18px 34px rgba(18, 140, 126, 0.18);
}

.chat-wa-nyx-modal__cta:hover,
.chat-wa-nyx-modal__cta:focus {
	color: #fff;
}

.chat-wa-nyx-modal__secondary {
	border: 1px solid rgba(16, 42, 44, 0.14);
	background: #fff;
	color: #102a2c;
}

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

@media (max-width: 782px) {
	.chat-wa-nyx {
		bottom: var(--chat-wa-nyx-mobile-bottom, 18px);
	}

	.chat-wa-nyx-button {
		gap: 10px;
		padding-right: 16px;
	}

	.chat-wa-nyx-button__label {
		font-size: 13px;
	}

	.chat-wa-nyx[data-mobile-position="left"] {
		left: var(--chat-wa-nyx-mobile-side, 18px);
		right: auto;
	}

	.chat-wa-nyx[data-mobile-position="right"] {
		right: var(--chat-wa-nyx-mobile-side, 18px);
		left: auto;
	}

	.chat-wa-nyx-modal__dialog {
		right: 16px;
		left: 16px;
		bottom: 16px;
		width: auto;
		padding: 20px;
	}

	.chat-wa-nyx--left + .chat-wa-nyx-modal .chat-wa-nyx-modal__dialog {
		left: 16px;
	}
}

@media (max-width: 480px) {
	.chat-wa-nyx {
		--chat-wa-nyx-size: var(--chat-wa-nyx-mobile-size, 68px);
	}

	.chat-wa-nyx-button {
		gap: 0;
		padding: 0;
		min-width: calc(var(--chat-wa-nyx-size, 68px) - 8px);
		border-radius: 50%;
	}

	.chat-wa-nyx-button__label {
		display: none;
	}

	.chat-wa-nyx-modal__badge h3 {
		font-size: 21px;
	}

	.chat-wa-nyx-modal__actions {
		flex-direction: column;
	}
}
