.yy-whatsapp-widget {
	position: fixed;
	right: max(20px, env(safe-area-inset-right));
	bottom: calc(24px + env(safe-area-inset-bottom));
	z-index: 9000;
	font: 400 16px/1.5 system-ui, sans-serif;
}
.yy-whatsapp-widget [hidden] { display: none !important; }
.yy-whatsapp-widget *, .yy-whatsapp-widget *::before { box-sizing: border-box; }
.yy-whatsapp-butonu {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 10px 16px;
	border: 0;
	border-radius: 28px;
	background: #087d3e;
	color: #fff !important;
	font: 600 15px/1.2 system-ui, sans-serif;
	text-decoration: none !important;
	box-shadow: 0 4px 16px #0003;
}
.yy-whatsapp-butonu svg { width: 30px; height: 30px; }
.yy-whatsapp-butonu:hover, .yy-whatsapp-start:hover { background: #066532; }
.yy-whatsapp-widget a:focus-visible, .yy-whatsapp-widget button:focus-visible {
	outline: 3px solid #111;
	outline-offset: 4px;
}
.yy-whatsapp-panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	width: min(370px, calc(100vw - 28px));
	max-height: calc(100vh - 160px);
	max-height: calc(100dvh - 160px);
	overflow: auto;
	border-radius: 24px;
	background: #f4faf6;
	box-shadow: 0 7px 28px #0004;
	text-align: left;
	color: #454b48;
}
.yy-whatsapp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 20px;
	background: #128c4a;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}
.yy-whatsapp-close {
	display: grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #066532;
	color: #fff;
	font: 400 30px/1 system-ui, sans-serif;
	cursor: pointer;
}
.yy-whatsapp-content { padding: 24px 20px 20px; }
.yy-whatsapp-bubble {
	position: relative;
	margin: 0 0 24px !important;
	padding: 18px 20px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 2px 7px #0002;
	font-size: 17px;
	white-space: pre-line;
	overflow-wrap: anywhere;
}
.yy-whatsapp-bubble::before {
	content: "";
	position: absolute;
	left: -9px;
	bottom: 22px;
	border-top: 11px solid transparent;
	border-right: 13px solid #fff;
}
.yy-whatsapp-start {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	padding: 13px 22px;
	border-radius: 28px;
	background: #087d3e;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
}
@media (max-width: 600px) {
	.yy-whatsapp-widget {
		right: max(14px, env(safe-area-inset-right));
		bottom: calc(84px + env(safe-area-inset-bottom));
	}
	.yy-whatsapp-panel { max-height: calc(100dvh - 170px); }
	.yy-whatsapp-butonu { min-width: 52px; padding: 10px; justify-content: center; }
	.yy-whatsapp-butonu > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
}
@media print { .yy-whatsapp-widget { display: none; } }
