.px-popup {
	position: fixed;
	right: 16px;
	z-index: 99999;
	display: flex;
	align-items: center;
	transform: translateX(calc(100% + 8px));
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.px-popup[hidden] {
	display: flex;
	visibility: hidden;
}

.px-popup--pos-bottom {
	bottom: 24px;
}

.px-popup--pos-middle {
	top: 50%;
	transform: translateY(-50%) translateX(calc(100% + 8px));
}

.px-popup--visible {
	transform: translateX(0);
}

.px-popup--pos-middle.px-popup--visible {
	transform: translateY(-50%) translateX(0);
}

.px-popup__ribbon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 4px;
	background: var(--px-popup-bg, #1f6feb);
	color: var(--px-popup-fg, #fff);
	border-radius: 999px 0 0 999px;
	padding: 14px 34px 14px 20px;
	margin-right: -26px;
	max-width: 320px;
	overflow: hidden;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: max-width 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}

.px-popup__text {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.px-popup__call {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: var(--px-popup-fg, #fff);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.px-popup__call:hover,
.px-popup__call:focus-visible {
	background: rgba(255, 255, 255, 0.3);
}

.px-popup__icon {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 82px;
	height: 82px;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--px-popup-bg, #1f6feb);
	color: var(--px-popup-fg, #fff);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	padding: 0;
}

.px-popup--collapsed .px-popup__ribbon {
	max-width: 0;
	padding-left: 0;
	padding-right: 0;
	opacity: 0;
}

.px-popup__call:focus-visible,
.px-popup__icon:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.px-popup--desktop-only {
	display: none;
}

@media (min-width: 783px) {
	.px-popup--desktop-only {
		display: flex;
	}
}

@media (max-width: 782px) {
	.px-popup__icon {
		width: 52px;
		height: 52px;
	}

	.px-popup__ribbon {
		padding: 0 32px 0 16px;
		gap: unset;
	}
	.px-popup__text{
		padding-top: 2px;
	}
	
}

@media (prefers-reduced-motion: reduce) {
	.px-popup,
	.px-popup__ribbon {
		transition: none;
	}
}
