.gr1p-messenger-widget {
	position: fixed;
	right: 24px;
	bottom: 104px;
	z-index: 99999;
	font-family: Arial, Helvetica, sans-serif;
}

.gr1p-messenger-widget,
.gr1p-messenger-widget * {
	box-sizing: border-box;
}

.gr1p-messenger-float {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-left: auto;
	padding: 0;
	color: #fff;
	background: linear-gradient(145deg, #00b2ff, #006aff);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(0, 74, 173, 0.35);
	cursor: pointer;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.gr1p-messenger-float:hover {
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 74, 173, 0.45);
	transform: translateY(-2px);
}

.gr1p-messenger-float:focus-visible {
	color: #fff;
	outline: 3px solid #fff;
	box-shadow: 0 0 0 6px #006aff, 0 10px 28px rgba(0, 74, 173, 0.45);
}

.gr1p-messenger-float svg {
	width: 34px;
	height: 34px;
	fill: currentColor;
}

.gr1p-messenger-notification {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 13px;
	height: 13px;
	background: #e41e3f;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(72, 8, 19, 0.28);
}

.gr1p-messenger-preview {
	position: absolute;
	right: 0;
	bottom: calc(100% + 14px);
	width: min(360px, calc(100vw - 48px));
	max-height: calc(100vh - 190px);
	max-height: calc(100dvh - 190px);
	overflow: auto;
	color: #1c1e21;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.2), 0 3px 12px rgba(15, 23, 42, 0.08);
	animation: gr1p-messenger-preview-in 180ms ease-out;
}

.gr1p-messenger-preview[hidden] {
	display: none;
}

.gr1p-messenger-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px;
	background: #fff;
	border-bottom: 1px solid #e8eaed;
}

.gr1p-messenger-avatar {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e1e4e8;
	border-radius: 50%;
}

.gr1p-messenger-avatar img {
	display: block;
	width: 88%;
	height: 88%;
	object-fit: contain;
}

.gr1p-messenger-identity {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	line-height: 1.3;
}

.gr1p-messenger-identity strong {
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gr1p-messenger-identity span {
	margin-top: 2px;
	color: #65676b;
	font-size: 12px;
}

.gr1p-messenger-close {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: #65676b;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease;
}

.gr1p-messenger-close:hover {
	color: #1c1e21;
	background: #f0f2f5;
}

.gr1p-messenger-close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.gr1p-messenger-conversation {
	min-height: 154px;
	padding: 17px 18px 22px;
	background: linear-gradient(180deg, #f8faff 0%, #f6f7f9 100%);
}

.gr1p-messenger-time {
	display: block;
	min-height: 17px;
	margin-bottom: 15px;
	color: #8a8d91;
	font-size: 11px;
	line-height: 1.5;
	text-align: center;
}

.gr1p-messenger-message-row {
	display: flex;
	align-items: flex-end;
	gap: 9px;
}

.gr1p-messenger-avatar--small {
	flex-basis: 34px;
	width: 34px;
	height: 34px;
}

.gr1p-messenger-message {
	max-width: 235px;
	padding: 11px 14px;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.06);
	border-radius: 16px 16px 16px 4px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
}

.gr1p-messenger-message p {
	margin: 0;
	color: #1c1e21;
	font-size: 14px;
	line-height: 1.45;
}

.gr1p-messenger-message p + p {
	margin-top: 4px;
}

.gr1p-messenger-footer {
	padding: 14px 18px 18px;
	background: #fff;
}

.gr1p-messenger-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 11px 18px;
	color: #fff;
	background: #0866ff;
	border-radius: 10px;
	box-shadow: 0 5px 14px rgba(8, 102, 255, 0.24);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
	text-transform: capitalize;
  	font-family: DM Sans, sans-serif !important;
  
}

.gr1p-messenger-cta:hover {
	color: #fff;
	background: #075ce5;
	box-shadow: 0 7px 18px rgba(8, 102, 255, 0.32);
	transform: translateY(-1px);
	text-decoration: none;
}

.gr1p-messenger-cta svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.gr1p-messenger-close:focus-visible,
.gr1p-messenger-cta:focus-visible {
	outline: 3px solid #fff;
	box-shadow: 0 0 0 6px #0866ff;
}

@keyframes gr1p-messenger-preview-in {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}

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

@media (max-width: 767px) {
	.gr1p-messenger-widget {
		right: 16px;
		bottom: calc(88px + env(safe-area-inset-bottom));
	}

	.gr1p-messenger-float {
		width: 54px;
		height: 54px;
	}

	.gr1p-messenger-float svg {
		width: 30px;
		height: 30px;
	}

	.gr1p-messenger-preview {
		width: calc(100vw - 32px);
		max-height: calc(100vh - 170px - env(safe-area-inset-bottom));
		max-height: calc(100dvh - 170px - env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	.gr1p-messenger-float,
	.gr1p-messenger-close,
	.gr1p-messenger-cta {
		transition: none;
	}

	.gr1p-messenger-preview {
		animation: none;
	}
}
