/**
 * SEOJAN Floating Contact for Elementor
 * Frontend styles
 */

.hjfc-root,
.hjfc-root * {
	box-sizing: border-box;
}

.hjfc-root {
	--hjfc-offset-x: 24px;
	--hjfc-offset-y: 24px;
	--hjfc-trigger-size: 72px;
	--hjfc-trigger-avatar-size: 60px;
	--hjfc-trigger-radius: 999px;
	--hjfc-badge-size: 28px;
	--hjfc-badge-x: -2px;
	--hjfc-badge-y: -2px;
	--hjfc-panel-width: 380px;
	--hjfc-panel-gap: 16px;
	--hjfc-mobile-gutter: 12px;
	--hjfc-tooltip-gap: 12px;
	--hjfc-animation-duration: 280ms;
	--hjfc-rgb-width: 3px;
	--hjfc-rgb-speed: 4.5s;
	--hjfc-rgb-glow-blur: 10px;
	--hjfc-rgb-1: #00e5ff;
	--hjfc-rgb-2: #7c3aed;
	--hjfc-rgb-3: #ff2d95;
	--hjfc-rgb-4: #facc15;
	--hjfc-phone-motion-speed: 1.8s;
	--hjfc-phone-pulse-color: rgba(14, 165, 233, 0.55);
	--hjfc-float-speed: 3.2s;

	position: fixed;
	width: max-content;
	height: var(--hjfc-trigger-size);
	margin: 0;
	padding: 0;
	z-index: 99999;
	isolation: isolate;
	direction: rtl;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.hjfc-root.hjfc-pos-bottom-right {
	right: calc(var(--hjfc-offset-x) + env(safe-area-inset-right, 0px));
	bottom: calc(var(--hjfc-offset-y) + env(safe-area-inset-bottom, 0px));
}

.hjfc-root.hjfc-pos-bottom-left {
	left: calc(var(--hjfc-offset-x) + env(safe-area-inset-left, 0px));
	bottom: calc(var(--hjfc-offset-y) + env(safe-area-inset-bottom, 0px));
}

.hjfc-root.hjfc-pos-top-right {
	right: calc(var(--hjfc-offset-x) + env(safe-area-inset-right, 0px));
	top: calc(var(--hjfc-offset-y) + env(safe-area-inset-top, 0px));
}

.hjfc-root.hjfc-pos-top-left {
	left: calc(var(--hjfc-offset-x) + env(safe-area-inset-left, 0px));
	top: calc(var(--hjfc-offset-y) + env(safe-area-inset-top, 0px));
}

.hjfc-root a,
.hjfc-root button {
	font: inherit;
	-webkit-tap-highlight-color: transparent;
}

.hjfc-root a,
.hjfc-root a:hover,
.hjfc-root a:focus {
	text-decoration: none;
}

.hjfc-root .hjfc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
	color: inherit;
}

.hjfc-root .hjfc-icon i,
.hjfc-root .hjfc-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	line-height: 1;
	fill: currentColor;
}

/* Backdrop */
.hjfc-backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: rgba(15, 23, 42, 0.34);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--hjfc-animation-duration) ease,
		visibility 0s linear var(--hjfc-animation-duration);
}

.hjfc-root.is-open .hjfc-backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

html.hjfc-scroll-locked,
body.hjfc-scroll-locked {
	overflow: hidden !important;
}

/* Contact card */
.hjfc-panel {
	position: absolute;
	z-index: 2;
	width: var(--hjfc-panel-width);
	max-width: calc(100vw - 24px);
	max-height: 82vh;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 20px 55px -12px rgba(15, 23, 42, 0.3);
	color: #0f172a;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 12px, 0) scale(0.965);
	transform-origin: bottom right;
	transition:
		opacity var(--hjfc-animation-duration) cubic-bezier(0.22, 1, 0.36, 1),
		transform var(--hjfc-animation-duration) cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear var(--hjfc-animation-duration);
	scrollbar-width: thin;
	scrollbar-color: rgba(100, 116, 139, 0.45) transparent;
}

.hjfc-panel::-webkit-scrollbar {
	width: 6px;
}

.hjfc-panel::-webkit-scrollbar-track {
	background: transparent;
}

.hjfc-panel::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(100, 116, 139, 0.38);
}

.hjfc-pos-bottom-right .hjfc-panel {
	right: 0;
	bottom: calc(100% + var(--hjfc-panel-gap));
	transform-origin: bottom right;
}

.hjfc-pos-bottom-left .hjfc-panel {
	left: 0;
	bottom: calc(100% + var(--hjfc-panel-gap));
	transform-origin: bottom left;
}

.hjfc-pos-top-right .hjfc-panel {
	right: 0;
	top: calc(100% + var(--hjfc-panel-gap));
	transform: translate3d(0, -12px, 0) scale(0.965);
	transform-origin: top right;
}

.hjfc-pos-top-left .hjfc-panel {
	left: 0;
	top: calc(100% + var(--hjfc-panel-gap));
	transform: translate3d(0, -12px, 0) scale(0.965);
	transform-origin: top left;
}

.hjfc-animation-slide.hjfc-pos-bottom-right .hjfc-panel,
.hjfc-animation-slide.hjfc-pos-top-right .hjfc-panel {
	transform: translate3d(22px, 0, 0);
}

.hjfc-animation-slide.hjfc-pos-bottom-left .hjfc-panel,
.hjfc-animation-slide.hjfc-pos-top-left .hjfc-panel {
	transform: translate3d(-22px, 0, 0);
}

.hjfc-animation-fade .hjfc-panel {
	transform: none;
}

.hjfc-root.is-open .hjfc-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0) scale(1);
	transition-delay: 0s;
}

.hjfc-close {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	cursor: pointer;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.hjfc-close:hover,
.hjfc-close:focus-visible {
	background: #e2e8f0;
	color: #0f172a;
	transform: rotate(4deg) scale(1.04);
}

.hjfc-close:active {
	transform: scale(0.94);
}

.hjfc-close:focus-visible,
.hjfc-trigger:focus-visible,
.hjfc-phone-row:focus-visible,
.hjfc-action:focus-visible,
.hjfc-social-link:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.34);
	outline-offset: 3px;
}

.hjfc-header {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding-left: 42px;
}

.hjfc-agent-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border: 2px solid #e2e8f0;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(145deg, #e0f2fe, #ede9fe);
	color: #3730a3;
}

.hjfc-avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.hjfc-avatar-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 1.35em;
	font-weight: 800;
	line-height: 1;
}

.hjfc-agent-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.hjfc-agent-name {
	margin: 0;
	color: #0f172a;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.hjfc-agent-role {
	margin-top: 2px;
	color: #64748b;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.55;
}

.hjfc-status {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	color: #64748b;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
}

.hjfc-status-dot {
	display: inline-block;
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.hjfc-status--away .hjfc-status-dot {
	background: #f59e0b;
	box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.hjfc-status--offline .hjfc-status-dot {
	background: #94a3b8;
	box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.16);
}

.hjfc-description {
	margin-top: 18px;
	color: #475569;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
}

.hjfc-description > :first-child {
	margin-top: 0;
}

.hjfc-description > :last-child {
	margin-bottom: 0;
}

.hjfc-phone-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin-top: 18px;
	padding: 12px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #f8fafc;
	color: inherit;
	cursor: pointer;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.hjfc-phone-row:hover,
.hjfc-phone-row:focus-visible {
	background: #f1f5f9;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

.hjfc-phone-row--static {
	cursor: default;
}

.hjfc-phone-row--static:hover {
	transform: none;
}

.hjfc-phone-row-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #dbeafe;
	color: #2563eb;
}

.hjfc-phone-copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
}

.hjfc-phone-label {
	color: #64748b;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
}

.hjfc-phone-number {
	display: block;
	width: fit-content;
	max-width: 100%;
	color: #0f172a;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: color 180ms ease;
}

.hjfc-phone-row:hover .hjfc-phone-number,
.hjfc-phone-row:focus-visible .hjfc-phone-number {
	color: #2563eb;
}

.hjfc-hours {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 11px;
	color: #64748b;
	font-size: 11px;
	line-height: 1.6;
}

.hjfc-hours-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	color: currentColor;
}

.hjfc-hours-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.hjfc-actions {
	display: flex;
	align-items: stretch;
	flex-direction: row;
	gap: 10px;
	width: 100%;
	margin-top: 20px;
}

.hjfc-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 50px;
	flex: 1 1 0;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid transparent;
	border-radius: 13px;
	cursor: pointer;
	line-height: 1.35;
	transform: scale(1);
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.hjfc-action--call {
	border-color: #2563eb;
	background: #2563eb;
	color: #fff;
}

.hjfc-action--call:hover,
.hjfc-action--call:focus-visible {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-1px) scale(1.02);
}

.hjfc-action--call:active {
	border-color: #1e40af;
	background: #1e40af;
	transform: scale(0.98);
}

.hjfc-action--whatsapp {
	border-color: #a7f3d0;
	background: #ecfdf5;
	color: #047857;
}

.hjfc-action--whatsapp:hover,
.hjfc-action--whatsapp:focus-visible {
	border-color: #16a34a;
	background: #16a34a;
	color: #fff;
	transform: translateY(-1px) scale(1.02);
}

.hjfc-action--whatsapp:active {
	border-color: #15803d;
	background: #15803d;
	color: #fff;
	transform: scale(0.98);
}

.hjfc-action-text {
	display: block;
	min-width: 0;
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
}

/* Multiple contact layouts */
.hjfc-phone-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	margin-top: 18px;
}

.hjfc-phone-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 8px;
}

.hjfc-phone-grid .hjfc-phone-row {
	min-width: 0;
	min-height: 68px;
	margin-top: 0;
}

.hjfc-phone-call-button {
	width: 100%;
	min-height: 46px;
	flex: 0 0 auto;
}

.hjfc-phone-grid--multi {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hjfc-phone-grid--multi > .hjfc-phone-card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.hjfc-phone-grid--multi .hjfc-phone-row {
	min-height: 64px;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 8px 10px;
	text-align: right;
}

.hjfc-phone-grid--multi .hjfc-phone-row-icon {
	flex-basis: 30px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
}

.hjfc-phone-grid--multi .hjfc-phone-copy {
	width: auto;
	max-width: 100%;
	align-items: flex-start;
	gap: 1px;
	text-align: right;
}

.hjfc-phone-grid--multi .hjfc-phone-label {
	max-width: 100%;
	font-size: 10px;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hjfc-phone-grid--multi .hjfc-phone-number {
	width: auto;
	max-width: 100%;
	font-size: 13px;
	line-height: 1.25;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hjfc-phone-grid--multi .hjfc-phone-call-button {
	min-height: 42px;
	padding: 8px 9px;
	gap: 6px;
}

.hjfc-phone-grid--multi .hjfc-phone-call-button .hjfc-action-text {
	font-size: 12px;
	white-space: normal;
	text-align: center;
}

/* With an odd number, the last contact becomes a comfortable full-width card. */
.hjfc-phone-grid--multi > .hjfc-phone-card:last-child:nth-child(odd) .hjfc-phone-row {
	min-height: 68px;
	flex-direction: row;
	justify-content: flex-start;
	gap: 12px;
	padding: 12px 14px;
	text-align: right;
}

.hjfc-phone-grid--multi > .hjfc-phone-card:last-child:nth-child(odd) .hjfc-phone-row-icon {
	flex-basis: 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
}

.hjfc-phone-grid--multi > .hjfc-phone-card:last-child:nth-child(odd) .hjfc-phone-copy {
	align-items: flex-start;
	text-align: right;
}

.hjfc-phone-grid--multi > .hjfc-phone-card:last-child:nth-child(odd) .hjfc-phone-label {
	font-size: 11px;
}

.hjfc-phone-grid--multi > .hjfc-phone-card:last-child:nth-child(odd) .hjfc-phone-number {
	width: fit-content;
	font-size: 17px;
	text-align: right;
	white-space: nowrap;
}

.hjfc-whatsapp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	margin-top: 14px;
}

.hjfc-whatsapp-grid--multi {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hjfc-whatsapp-grid--multi > .hjfc-whatsapp-item:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.hjfc-whatsapp-item {
	display: flex;
	min-width: 0;
}

.hjfc-whatsapp-grid .hjfc-action {
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
}

.hjfc-whatsapp-grid--multi .hjfc-action {
	min-height: 44px;
	gap: 6px;
	padding: 8px 9px;
}

.hjfc-whatsapp-grid--multi .hjfc-action-text {
	font-size: 12px;
	white-space: normal;
	text-align: center;
}

/* Social networks */
.hjfc-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.hjfc-socials {
	width: 100%;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
}

.hjfc-social-title {
	margin: 0 0 10px;
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	text-align: center;
}

.hjfc-social-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 9px;
	width: 100%;
}

.hjfc-social-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.hjfc-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	color: #334155;
	cursor: pointer;
	transform: scale(1);
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.hjfc-social-link .hjfc-icon {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.hjfc-social-link:hover,
.hjfc-social-link:focus-visible {
	border-color: #2563eb;
	background: #2563eb;
	color: #fff;
	transform: translateY(-2px) scale(1.08);
}

.hjfc-social-link:active {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
	transform: scale(0.94);
}

/* A soft staggered reveal keeps larger contact cards feeling light. */
.hjfc-root.is-open .hjfc-phone-card,
.hjfc-root.is-open .hjfc-whatsapp-item,
.hjfc-root.is-open .hjfc-social-item {
	animation: hjfc-contact-item-reveal 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hjfc-root.is-open .hjfc-phone-card:nth-child(2),
.hjfc-root.is-open .hjfc-whatsapp-item:nth-child(2),
.hjfc-root.is-open .hjfc-social-item:nth-child(2) {
	animation-delay: 45ms;
}

.hjfc-root.is-open .hjfc-phone-card:nth-child(3),
.hjfc-root.is-open .hjfc-whatsapp-item:nth-child(3),
.hjfc-root.is-open .hjfc-social-item:nth-child(3) {
	animation-delay: 90ms;
}

.hjfc-root.is-open .hjfc-phone-card:nth-child(n+4),
.hjfc-root.is-open .hjfc-whatsapp-item:nth-child(n+4),
.hjfc-root.is-open .hjfc-social-item:nth-child(n+4) {
	animation-delay: 125ms;
}

@keyframes hjfc-contact-item-reveal {
	from {
		opacity: 0;
		translate: 0 7px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

/* Floating trigger */
.hjfc-trigger-shell {
	position: relative;
	z-index: 3;
	display: block;
	width: max-content;
	min-width: var(--hjfc-trigger-size);
	height: var(--hjfc-trigger-size);
	border-radius: var(--hjfc-trigger-radius);
	isolation: isolate;
}

.hjfc-trigger-shell::before,
.hjfc-trigger-shell::after {
	content: none;
	position: absolute;
	inset: calc(var(--hjfc-rgb-width) * -1);
	z-index: 1;
	border-radius: calc(var(--hjfc-trigger-radius) + var(--hjfc-rgb-width));
	background: conic-gradient(
		from 0deg,
		var(--hjfc-rgb-1),
		var(--hjfc-rgb-2),
		var(--hjfc-rgb-3),
		var(--hjfc-rgb-4),
		var(--hjfc-rgb-1)
	);
	pointer-events: none;
	animation: hjfc-rgb-spin var(--hjfc-rgb-speed) linear infinite;
	will-change: transform;
}

.hjfc-rgb-enabled .hjfc-trigger-shell::before {
	content: "";
}

.hjfc-rgb-glow-enabled .hjfc-trigger-shell::after {
	content: "";
	z-index: 0;
	filter: blur(var(--hjfc-rgb-glow-blur));
	opacity: 0.55;
}

.hjfc-trigger {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	min-width: var(--hjfc-trigger-size);
	max-width: min(310px, calc(100vw - 24px));
	height: var(--hjfc-trigger-size);
	gap: 10px;
	margin: 0;
	padding: 4px;
	border: 2px solid #fff;
	border-radius: var(--hjfc-trigger-radius);
	background: #fff;
	color: #111827;
	box-shadow: 0 14px 35px -9px rgba(15, 23, 42, 0.38);
	cursor: pointer;
	transform: scale(1);
	transform-origin: center;
	transition:
		background-color 190ms ease,
		border-color 190ms ease,
		color 190ms ease,
		box-shadow 190ms ease,
		transform 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hjfc-icon-only .hjfc-trigger {
	width: var(--hjfc-trigger-size);
	justify-content: center;
}

.hjfc-pos-bottom-left .hjfc-trigger,
.hjfc-pos-top-left .hjfc-trigger {
	flex-direction: row-reverse;
}

.hjfc-trigger:hover,
.hjfc-trigger:focus-visible {
	background: #f8fafc;
	transform: scale(1.04);
}

.hjfc-root.is-open .hjfc-trigger {
	background: #eff6ff;
	transform: scale(1);
}

.hjfc-trigger-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--hjfc-trigger-avatar-size);
	width: var(--hjfc-trigger-avatar-size);
	height: var(--hjfc-trigger-avatar-size);
	border: 2px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(145deg, #e0f2fe, #ede9fe);
	color: #3730a3;
}

.hjfc-trigger-label {
	display: block;
	min-width: 0;
	max-width: 200px;
	padding-inline: 2px 9px;
	overflow: hidden;
	color: #111827;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition:
		color 180ms ease,
		font-size 180ms ease;
}

.hjfc-pos-bottom-left .hjfc-trigger-label,
.hjfc-pos-top-left .hjfc-trigger-label {
	padding-inline: 9px 2px;
}

.hjfc-phone-badge {
	position: absolute;
	right: var(--hjfc-badge-x);
	bottom: var(--hjfc-badge-y);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--hjfc-badge-size);
	height: var(--hjfc-badge-size);
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0ea5e9;
	color: #fff;
	box-shadow: 0 5px 14px rgba(14, 165, 233, 0.34);
	pointer-events: none;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.hjfc-pos-bottom-left .hjfc-phone-badge,
.hjfc-pos-top-left .hjfc-phone-badge {
	right: auto;
	left: var(--hjfc-badge-x);
}

.hjfc-phone-badge .hjfc-icon {
	width: 13px;
	height: 13px;
	font-size: 13px;
	transform-origin: 50% 50%;
}

.hjfc-motion-ring .hjfc-phone-badge .hjfc-icon {
	animation: hjfc-phone-ring var(--hjfc-phone-motion-speed) ease-in-out infinite;
}

.hjfc-motion-wiggle .hjfc-phone-badge .hjfc-icon {
	animation: hjfc-phone-wiggle var(--hjfc-phone-motion-speed) ease-in-out infinite;
}

.hjfc-motion-bounce .hjfc-phone-badge .hjfc-icon {
	animation: hjfc-phone-bounce var(--hjfc-phone-motion-speed) ease-in-out infinite;
}

.hjfc-motion-pulse .hjfc-phone-badge .hjfc-icon {
	animation: hjfc-phone-pulse var(--hjfc-phone-motion-speed) ease-in-out infinite;
}

.hjfc-phone-pulse-enabled .hjfc-phone-badge::after {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border: 2px solid var(--hjfc-phone-pulse-color);
	border-radius: inherit;
	animation: hjfc-badge-ripple 2s ease-out infinite;
}

.hjfc-float-enabled .hjfc-trigger-shell {
	animation: hjfc-trigger-float var(--hjfc-float-speed) ease-in-out infinite;
}

/* Tooltip */
.hjfc-tooltip {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: block;
	width: max-content;
	max-width: min(230px, calc(100vw - var(--hjfc-trigger-size) - 48px));
	padding: 8px 12px;
	border-radius: 10px;
	background: #0f172a;
	box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.44);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	white-space: normal;
	opacity: 0.92;
	transform: translateY(-50%);
	pointer-events: none;
	transition:
		opacity 180ms ease,
		transform 180ms ease,
		visibility 180ms ease;
}

.hjfc-pos-bottom-right .hjfc-tooltip,
.hjfc-pos-top-right .hjfc-tooltip {
	right: calc(100% + var(--hjfc-tooltip-gap));
}

.hjfc-pos-bottom-left .hjfc-tooltip,
.hjfc-pos-top-left .hjfc-tooltip {
	left: calc(100% + var(--hjfc-tooltip-gap));
}

.hjfc-tooltip::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	background: inherit;
	transform: translateY(-50%) rotate(45deg);
}

.hjfc-pos-bottom-right .hjfc-tooltip::after,
.hjfc-pos-top-right .hjfc-tooltip::after {
	right: -4px;
}

.hjfc-pos-bottom-left .hjfc-tooltip::after,
.hjfc-pos-top-left .hjfc-tooltip::after {
	left: -4px;
}

.hjfc-trigger-shell:hover .hjfc-tooltip,
.hjfc-trigger-shell:focus-within .hjfc-tooltip {
	opacity: 1;
}

.hjfc-root.is-open .hjfc-tooltip {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%) scale(0.96);
}

/* Motion */
@keyframes hjfc-rgb-spin {
	to {
		transform: rotate(1turn);
	}
}

@keyframes hjfc-phone-ring {
	0%, 52%, 100% { transform: rotate(0deg); }
	5% { transform: rotate(18deg); }
	10% { transform: rotate(-16deg); }
	15% { transform: rotate(14deg); }
	20% { transform: rotate(-12deg); }
	25% { transform: rotate(9deg); }
	30% { transform: rotate(-7deg); }
	36% { transform: rotate(4deg); }
	42% { transform: rotate(0deg); }
}

@keyframes hjfc-phone-wiggle {
	0%, 100% { transform: rotate(0deg); }
	20% { transform: rotate(11deg); }
	40% { transform: rotate(-11deg); }
	60% { transform: rotate(7deg); }
	80% { transform: rotate(-7deg); }
}

@keyframes hjfc-phone-bounce {
	0%, 48%, 100% { transform: translateY(0); }
	18% { transform: translateY(-4px); }
	30% { transform: translateY(1px); }
	38% { transform: translateY(-2px); }
}

@keyframes hjfc-phone-pulse {
	0%, 100% { transform: scale(1); }
	35% { transform: scale(1.22); }
	60% { transform: scale(0.96); }
}

@keyframes hjfc-badge-ripple {
	0% { opacity: 0.75; transform: scale(1); }
	75%, 100% { opacity: 0; transform: scale(1.75); }
}

@keyframes hjfc-trigger-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -5px; }
}

/* Mobile layout */
@media (max-width: 767px) {
	.hjfc-root {
		--hjfc-offset-x: 14px;
		--hjfc-offset-y: 14px;
		--hjfc-trigger-size: 62px;
		--hjfc-trigger-avatar-size: 52px;
		--hjfc-panel-gap: 12px;
		--hjfc-badge-size: 26px;
	}

	.hjfc-root[data-hide-label-mobile="yes"] .hjfc-trigger-label {
		display: none;
	}

	.hjfc-root[data-hide-label-mobile="yes"] .hjfc-trigger {
		width: var(--hjfc-trigger-size);
		min-width: var(--hjfc-trigger-size);
		justify-content: center;
	}

	.hjfc-root[data-hide-tooltip-mobile="yes"] .hjfc-tooltip {
		display: none;
	}

	.hjfc-root[data-mobile-panel="sheet"] .hjfc-panel {
		position: fixed;
		left: calc(var(--hjfc-mobile-gutter) + env(safe-area-inset-left, 0px));
		right: calc(var(--hjfc-mobile-gutter) + env(safe-area-inset-right, 0px));
		width: auto;
		max-width: none;
		max-height: min(76vh, 680px);
	}

	.hjfc-root[data-mobile-panel="sheet"].hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-pos-bottom-left .hjfc-panel {
		top: auto;
		bottom: calc(
			var(--hjfc-offset-y) +
			var(--hjfc-trigger-size) +
			var(--hjfc-panel-gap) +
			env(safe-area-inset-bottom, 0px)
		);
		transform-origin: bottom center;
	}

	.hjfc-root[data-mobile-panel="sheet"].hjfc-pos-top-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-pos-top-left .hjfc-panel {
		top: calc(
			var(--hjfc-offset-y) +
			var(--hjfc-trigger-size) +
			var(--hjfc-panel-gap) +
			env(safe-area-inset-top, 0px)
		);
		bottom: auto;
		transform-origin: top center;
	}

	.hjfc-root[data-mobile-panel="sheet"].hjfc-animation-slide.hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-animation-slide.hjfc-pos-bottom-left .hjfc-panel {
		transform: translate3d(0, 18px, 0);
	}

	.hjfc-root[data-mobile-panel="sheet"].hjfc-animation-slide.hjfc-pos-top-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-animation-slide.hjfc-pos-top-left .hjfc-panel {
		transform: translate3d(0, -18px, 0);
	}

	.hjfc-root[data-mobile-panel="sheet"].is-open .hjfc-panel {
		transform: translate3d(0, 0, 0) scale(1);
	}

	.hjfc-panel {
		max-width: calc(100vw - 24px);
		padding: 20px 18px 18px;
	}

	.hjfc-header {
		gap: 11px;
		padding-left: 38px;
	}

	.hjfc-agent-avatar {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
	}

	.hjfc-description {
		margin-top: 15px;
	}

	.hjfc-phone-row {
		margin-top: 15px;
	}

	.hjfc-actions {
		margin-top: 16px;
	}
}

@media (max-width: 420px) {
	.hjfc-panel {
		border-radius: 18px;
	}

	.hjfc-agent-name {
		font-size: 16px;
	}

	.hjfc-phone-number {
		font-size: 16px;
	}

	.hjfc-action-text {
		white-space: normal;
		text-align: center;
	}
}

@media (max-height: 560px) and (orientation: landscape) {
	.hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"] .hjfc-panel {
		max-height: calc(100vh - 24px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hjfc-root *,
	.hjfc-root *::before,
	.hjfc-root *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/*
 * Mobile upward-opening safeguard (v1.0.2)
 * Bottom-positioned widgets must keep the whole card above the trigger.
 * The !important declarations intentionally protect the positioning from
 * theme/Elementor rules that may set top, bottom, or inset on generic panels.
 */
@media (max-width: 767px) {
	.hjfc-root.hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root.hjfc-pos-bottom-left .hjfc-panel {
		top: auto !important;
		inset-block-start: auto !important;
		margin: 0 !important;
		transform-origin: bottom center !important;
		overflow-y: auto;
	}

	/* Compact card anchored to the floating button. */
	.hjfc-root[data-mobile-panel="anchored"].hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="anchored"].hjfc-pos-bottom-left .hjfc-panel {
		position: absolute !important;
		bottom: calc(100% + var(--hjfc-panel-gap)) !important;
		inset-block-end: calc(100% + var(--hjfc-panel-gap)) !important;
		max-height: calc(
			100vh -
			var(--hjfc-offset-y) -
			var(--hjfc-trigger-size) -
			var(--hjfc-panel-gap) -
			var(--hjfc-mobile-gutter) -
			env(safe-area-inset-top, 0px) -
			env(safe-area-inset-bottom, 0px)
		);
		max-height: calc(
			100dvh -
			var(--hjfc-offset-y) -
			var(--hjfc-trigger-size) -
			var(--hjfc-panel-gap) -
			var(--hjfc-mobile-gutter) -
			env(safe-area-inset-top, 0px) -
			env(safe-area-inset-bottom, 0px)
		);
	}

	/* Full-width mobile card. Its bottom edge sits directly above the trigger. */
	.hjfc-root[data-mobile-panel="sheet"].hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-pos-bottom-left .hjfc-panel {
		position: fixed !important;
		bottom: calc(
			var(--hjfc-offset-y) +
			var(--hjfc-trigger-size) +
			var(--hjfc-panel-gap) +
			env(safe-area-inset-bottom, 0px)
		) !important;
		inset-block-end: calc(
			var(--hjfc-offset-y) +
			var(--hjfc-trigger-size) +
			var(--hjfc-panel-gap) +
			env(safe-area-inset-bottom, 0px)
		) !important;
		max-height: calc(
			100vh -
			var(--hjfc-offset-y) -
			var(--hjfc-trigger-size) -
			var(--hjfc-panel-gap) -
			var(--hjfc-mobile-gutter) -
			env(safe-area-inset-top, 0px) -
			env(safe-area-inset-bottom, 0px)
		);
		max-height: calc(
			100dvh -
			var(--hjfc-offset-y) -
			var(--hjfc-trigger-size) -
			var(--hjfc-panel-gap) -
			var(--hjfc-mobile-gutter) -
			env(safe-area-inset-top, 0px) -
			env(safe-area-inset-bottom, 0px)
		);
	}

	/* Slide animation now enters from the trigger and travels upward. */
	.hjfc-root[data-mobile-panel="anchored"].hjfc-animation-slide.hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="anchored"].hjfc-animation-slide.hjfc-pos-bottom-left .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-animation-slide.hjfc-pos-bottom-right .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].hjfc-animation-slide.hjfc-pos-bottom-left .hjfc-panel {
		transform: translate3d(0, 18px, 0);
	}

	.hjfc-root[data-mobile-panel="anchored"].is-open .hjfc-panel,
	.hjfc-root[data-mobile-panel="sheet"].is-open .hjfc-panel {
		transform: translate3d(0, 0, 0) scale(1) !important;
	}
}

/* Multi-contact mobile refinements (v1.1.0) */
@media (max-width: 420px) {
	.hjfc-phone-grid,
	.hjfc-whatsapp-grid {
		gap: 8px;
	}

	.hjfc-phone-grid--multi .hjfc-phone-row {
		min-height: 56px;
		gap: 6px;
		padding: 7px 8px;
	}

	.hjfc-phone-grid--multi .hjfc-phone-row-icon {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}

	.hjfc-phone-grid--multi .hjfc-phone-label {
		font-size: 9px;
	}

	.hjfc-phone-grid--multi .hjfc-phone-number {
		font-size: 12px;
	}

	.hjfc-phone-grid--multi .hjfc-phone-call-button,
	.hjfc-whatsapp-grid--multi .hjfc-action {
		min-height: 40px;
		padding-right: 7px;
		padding-left: 7px;
	}

	.hjfc-phone-grid--multi .hjfc-phone-call-button .hjfc-action-text,
	.hjfc-whatsapp-grid--multi .hjfc-action-text {
		font-size: 11px;
	}

	.hjfc-socials {
		margin-top: 12px;
		padding-top: 12px;
	}
}

/* Multi-contact compact inline phone rows (v1.1.1) */
