.telepam-wa-banner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 20px;
	width: min(48rem, calc(100% - 24px));
	margin: 24px auto;
	padding: 14px 16px;
	border: 1px solid #424242;
	border-radius: 14px;
	background: #191919;
	color: #fff;
	font: 400 15px/1.4 system-ui, sans-serif;
}

.telepam-wa-copy {
	min-width: 0;
	padding-inline-start: 12px;
	border-inline-start: 3px solid #ff8b3d;
	overflow-wrap: anywhere;
}

.telepam-wa-copy strong {
	display: block;
	color: #fff;
	font-size: 1rem;
	line-height: 1.3;
}

.telepam-wa-copy p {
	margin: 3px 0 0;
	color: #dedbd8;
	font-size: 0.875rem;
}

.telepam-wa-banner .telepam-wa-link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 9px 16px;
	border-radius: 9px;
	background: #25d366;
	color: #102318;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.telepam-wa-banner .telepam-wa-link:hover {
	background: #61e68d;
	color: #102318;
}

.telepam-wa-banner .telepam-wa-link:focus-visible,
.telepam-wa-banner .telepam-wa-close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.telepam-wa-sticky {
	position: fixed;
	z-index: 9990;
	inset-inline-start: env(safe-area-inset-left, 0px);
	inset-inline-end: env(safe-area-inset-right, 0px);
	bottom: max(10px, env(safe-area-inset-bottom, 0px));
	pointer-events: none;
}

.telepam-wa-sticky[hidden],
.telepam-wa-sticky .telepam-wa-close[hidden] {
	display: none;
}

.telepam-wa-sticky .telepam-wa-banner {
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px 12px;
	margin-block: 0;
	box-shadow: 0 8px 24px rgb(0 0 0 / 42%);
	pointer-events: auto;
}

.telepam-wa-sticky .telepam-wa-close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #f2f2f2;
	font: 400 24px/1 system-ui, sans-serif;
	cursor: pointer;
}

.telepam-wa-sticky .telepam-wa-close:hover {
	background: #333;
}

@media (max-width: 540px) {
	.telepam-wa-banner {
		grid-template-columns: minmax(0, 1fr);
		padding: 12px;
	}

	.telepam-wa-sticky .telepam-wa-banner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.telepam-wa-sticky .telepam-wa-link {
		grid-column: 1 / -1;
	}

	.telepam-wa-sticky .telepam-wa-close {
		grid-column: 2;
		grid-row: 1;
		align-self: start;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.telepam-wa-ready .telepam-wa-banner {
		animation: telepam-wa-enter 260ms ease-out both;
	}

	.telepam-wa-banner .telepam-wa-link,
	.telepam-wa-banner .telepam-wa-close {
		transition: background-color 150ms ease;
	}
}

@keyframes telepam-wa-enter {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
