.efp-floating-button {
	align-items: center;
	background: var(--efp-floating-bg, #1f7a3f);
	border: 0;
	border-radius: 999px;
	bottom: 20px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	color: var(--efp-floating-color, #fff) !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	font-weight: 900;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	position: fixed;
	right: 20px;
	text-decoration: none !important;
	z-index: 99990;
}

.efp-popup[hidden] {
	display: none;
}

.efp-popup {
	inset: 0;
	position: fixed;
	z-index: 100000;
}

.efp-popup__backdrop {
	background: rgba(0, 0, 0, 0.65);
	inset: 0;
	position: absolute;
}

.efp-popup__panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	inset: 4vh 4vw;
	overflow: auto;
	position: absolute;
}

.efp-popup__close {
	background: #222;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	float: right;
	font-size: 28px;
	height: 42px;
	line-height: 1;
	margin: 12px 12px 0 0;
	position: sticky;
	top: 12px;
	width: 42px;
	z-index: 2;
}

.efp-popup__content {
	padding: 10px 16px 28px;
}

body.efp-popup-is-open {
	overflow: hidden;
}

@media (max-width: 680px) {
	body {
		padding-bottom: 78px;
	}

	.efp-floating-button {
		border-radius: 12px !important;
		bottom: 12px !important;
		max-width: calc(100vw - 24px);
		white-space: normal;
		text-align: center;
	}

	.efp-popup__panel {
		border-radius: 0;
		inset: 0;
	}

	.efp-popup__content {
		padding: 0 4px 24px;
	}
}


@media (max-width: 680px) {
	.efp-floating-button {
		max-width: calc(100vw - 24px);
		white-space: normal;
		text-align: center;
	}
}


.efp-floating-button.efp-floating-button--left {
	left: 20px !important;
	right: auto !important;
	transform: none !important;
}

.efp-floating-button.efp-floating-button--center {
	left: 50% !important;
	right: auto !important;
	transform: translateX(-50%) !important;
}

.efp-floating-button.efp-floating-button--right {
	left: auto !important;
	right: 20px !important;
	transform: none !important;
}

@media (max-width: 680px) {
	.efp-floating-button.efp-floating-button--left {
		left: 12px !important;
		right: auto !important;
	}

	.efp-floating-button.efp-floating-button--center {
		left: 50% !important;
		right: auto !important;
	}

	.efp-floating-button.efp-floating-button--right {
		left: auto !important;
		right: 12px !important;
	}
}


/* Hide the floating trigger while the estimator popup is open. */
.efp-floating-button.efp-floating-button--hidden,
body.efp-popup-is-open .efp-floating-button {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}


.efp-popup__backdrop {
	z-index: 1;
}

.efp-popup__panel {
	z-index: 2;
}

.efp-popup__close,
.efp-popup-close,
.efp-close-popup,
.efp-modal-close {
	cursor: pointer !important;
	pointer-events: auto !important;
	z-index: 3 !important;
}

.efp-popup__close::before,
.efp-popup-close::before,
.efp-close-popup::before,
.efp-modal-close::before {
	pointer-events: none;
}


/* Closed popup and overlay must be completely removed from view. */
.efp-popup[hidden],
.efp-estimator-popup[hidden],
[data-efp-popup][hidden],
.efp-popup[aria-hidden="true"]:not(.is-open):not(.active),
.efp-estimator-popup[aria-hidden="true"]:not(.is-open):not(.active),
[data-efp-popup][aria-hidden="true"]:not(.is-open):not(.active) {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Only an explicitly open popup may display its overlay. */
.efp-popup.is-open,
.efp-popup.active,
.efp-estimator-popup.is-open,
.efp-estimator-popup.active,
[data-efp-popup].is-open,
[data-efp-popup].active {
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}


html:not(.efp-popup-is-open),
body:not(.efp-popup-is-open) {
	overflow: auto;
}


.efp-floating-actions {
	align-items: stretch;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: fixed;
	z-index: 99990;
}

.efp-floating-actions--left {
	left: 20px;
}

.efp-floating-actions--center {
	left: 50%;
	transform: translateX(-50%);
}

.efp-floating-actions--right {
	right: 20px;
}

.efp-floating-actions .efp-floating-button {
	bottom: auto !important;
	left: auto !important;
	position: static !important;
	right: auto !important;
	transform: none !important;
	width: 100%;
}

.efp-floating-phone-button {
	align-items: center;
	background: #2271b1;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	color: #ffffff !important;
	display: flex;
	gap: 10px;
	min-height: 54px;
	padding: 10px 20px;
	text-decoration: none !important;
}

.efp-floating-phone-button__icon {
	font-size: 23px;
	line-height: 1;
}

.efp-floating-phone-button__content {
	display: flex;
	flex-direction: column;
}

.efp-floating-phone-button__text {
	font-size: 15px;
	font-weight: 900;
	line-height: 1.1;
}

.efp-floating-phone-button__number {
	font-size: 13px;
	line-height: 1.2;
	opacity: 0.92;
}

.efp-floating-phone-button:hover,
.efp-floating-phone-button:focus {
	color: #ffffff !important;
	filter: brightness(0.95);
}

body.efp-popup-is-open .efp-floating-actions {
	display: none !important;
}

@media (max-width: 680px) {
	.efp-floating-actions,
	.efp-floating-actions--left,
	.efp-floating-actions--center,
	.efp-floating-actions--right {
		bottom: 12px;
		left: 12px;
		right: 12px;
		transform: none;
	}

	.efp-floating-phone-button {
		border-radius: 12px;
		justify-content: center;
	}
}


/* Three-action bottom bar: Call Now | Text | Get Estimate. */
.efp-mobile-action-bar {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 14px;
	bottom: max(12px, env(safe-area-inset-bottom));
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	left: 50%;
	max-width: 620px;
	overflow: hidden;
	position: fixed;
	transform: translateX(-50%);
	width: calc(100vw - 24px);
	z-index: 99990;
}

.efp-mobile-action-bar__item {
	align-items: center;
	appearance: none;
	background: #ffffff;
	border: 0;
	border-right: 1px solid #dcdcde;
	color: #1d2327 !important;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	gap: 3px;
	justify-content: center;
	min-height: 64px;
	padding: 7px 8px;
	text-align: center;
	text-decoration: none !important;
}

.efp-mobile-action-bar__item:last-child {
	border-right: 0;
}

.efp-mobile-action-bar__item--call {
	color: #155724 !important;
}

.efp-mobile-action-bar__item--text {
	color: #0a4b78 !important;
}

.efp-mobile-action-bar__item--estimate {
	background: var(--efp-floating-bg, #1f7a3f);
	color: var(--efp-floating-color, #ffffff) !important;
}

.efp-mobile-action-bar__icon {
	font-size: 21px;
	line-height: 1;
}

.efp-mobile-action-bar__item:hover,
.efp-mobile-action-bar__item:focus {
	filter: brightness(0.96);
}

body.efp-popup-is-open .efp-mobile-action-bar {
	display: none !important;
}

@media (max-width: 680px) {
	body {
		padding-bottom: calc(82px + env(safe-area-inset-bottom));
	}

	.efp-mobile-action-bar {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		bottom: 0;
		left: 0;
		max-width: none;
		padding-bottom: env(safe-area-inset-bottom);
		transform: none;
		width: 100%;
	}

	.efp-mobile-action-bar__item {
		font-size: 13px;
		min-height: 62px;
		padding: 6px 4px;
	}
}


/* Configurable action-bar design controls. */
.efp-mobile-action-bar {
	border-color: var(--efp-divider, #dcdcde);
	border-radius: var(--efp-bar-radius, 14px);
	box-shadow: 0 8px var(--efp-shadow, 24px) rgba(0, 0, 0, 0.24);
}

.efp-mobile-action-bar__item {
	border-right-color: var(--efp-divider, #dcdcde);
	font-size: var(--efp-label-size, 14px);
	min-height: var(--efp-bar-height, 64px);
}

.efp-mobile-action-bar__item--call {
	background: var(--efp-call-bg, #ffffff);
	color: var(--efp-call-color, #155724) !important;
}

.efp-mobile-action-bar__item--text {
	background: var(--efp-text-bg, #ffffff);
	color: var(--efp-text-color, #0a4b78) !important;
}

.efp-mobile-action-bar__item--estimate {
	background: var(--efp-estimate-bg, #1f7a3f);
	color: var(--efp-estimate-color, #ffffff) !important;
}

.efp-mobile-action-bar__icon {
	color: var(--efp-icon-color, currentColor);
	height: var(--efp-icon-size, 22px);
	width: var(--efp-icon-size, 22px);
}

.efp-mobile-action-bar__icon svg {
	display: block;
	fill: currentColor;
	height: 100%;
	width: 100%;
}

.efp-mobile-action-bar--mobile_only {
	display: none;
}

@media (max-width: 680px) {
	.efp-mobile-action-bar--mobile_only {
		display: grid;
	}

	.efp-mobile-action-bar--desktop_only {
		display: none;
	}

	.efp-mobile-action-bar {
		border-radius: var(--efp-bar-radius, 14px) var(--efp-bar-radius, 14px) 0 0;
	}

	.efp-mobile-action-bar__item {
		font-size: var(--efp-label-size, 13px);
		min-height: var(--efp-bar-height, 62px);
	}
}

@media (min-width: 681px) {
	.efp-mobile-action-bar--desktop_only,
	.efp-mobile-action-bar--all {
		display: grid;
	}
}


/* Separate rounded action buttons without icons. */
.efp-mobile-action-bar {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	gap: var(--efp-bar-gap, 10px);
	overflow: visible !important;
	padding: var(--efp-bar-padding, 10px);
}

.efp-mobile-action-bar__item {
	border: 0 !important;
	box-shadow: 0 8px var(--efp-shadow, 18px) rgba(0, 0, 0, 0.20);
	flex-direction: row !important;
	font-size: var(--efp-label-size, 15px);
	font-weight: 900;
	min-height: var(--efp-bar-height, 56px);
	padding: 10px 18px;
}

.efp-mobile-action-bar__item--call {
	background: var(--efp-call-bg, #ffffff) !important;
	border-radius: var(--efp-call-radius, 999px) !important;
	color: var(--efp-call-color, #155724) !important;
}

.efp-mobile-action-bar__item--text {
	background: var(--efp-text-bg, #ffffff) !important;
	border-radius: var(--efp-text-radius, 999px) !important;
	color: var(--efp-text-color, #0a4b78) !important;
}

.efp-mobile-action-bar__item--estimate {
	background: var(--efp-estimate-bg, #1f7a3f) !important;
	border-radius: var(--efp-estimate-radius, 999px) !important;
	color: var(--efp-estimate-color, #ffffff) !important;
}

.efp-mobile-action-bar__icon {
	display: none !important;
}

@media (max-width: 680px) {
	.efp-mobile-action-bar {
		background: rgba(255,255,255,0.96) !important;
		box-shadow: 0 -6px 18px rgba(0,0,0,0.12) !important;
		gap: var(--efp-bar-gap, 8px);
		padding:
			var(--efp-bar-padding, 8px)
			max(var(--efp-bar-padding, 8px), 8px)
			calc(var(--efp-bar-padding, 8px) + env(safe-area-inset-bottom));
	}

	.efp-mobile-action-bar__item {
		font-size: var(--efp-label-size, 14px);
		min-height: var(--efp-bar-height, 54px);
		padding: 8px 10px;
	}
}


/* Entire floating-bar container controls. */
.efp-mobile-action-bar {
	background:
		color-mix(
			in srgb,
			var(--efp-container-bg, #ffffff)
			calc(var(--efp-container-opacity, 96) * 1%),
			transparent
		) !important;
	border:
		var(--efp-container-border-width, 1px)
		solid
		var(--efp-container-border, #dcdcde) !important;
	border-radius: var(--efp-container-radius, 16px) !important;
	bottom:
		calc(
			var(--efp-bottom-offset, 0px) +
			max(12px, env(safe-area-inset-bottom))
		) !important;
	box-shadow:
		0 8px var(--efp-container-shadow, 16px)
		rgba(0, 0, 0, 0.18) !important;
	max-width: var(--efp-max-width, 760px) !important;
	backdrop-filter: var(--efp-glass, none);
	-webkit-backdrop-filter: var(--efp-glass, none);
}

.efp-mobile-action-bar__item--call {
	border:
		var(--efp-call-border-width, 1px)
		solid
		var(--efp-call-border, #dcdcde) !important;
}

.efp-mobile-action-bar__item--text {
	border:
		var(--efp-text-border-width, 1px)
		solid
		var(--efp-text-border, #dcdcde) !important;
}

.efp-mobile-action-bar__item--estimate {
	border:
		var(--efp-estimate-border-width, 1px)
		solid
		var(--efp-estimate-border, #1f7a3f) !important;
}

@supports not (background: color-mix(in srgb, #fff 50%, transparent)) {
	.efp-mobile-action-bar {
		background: var(--efp-container-bg, #ffffff) !important;
	}
}

@media (max-width: 680px) {
	.efp-mobile-action-bar {
		bottom:
			calc(
				var(--efp-bottom-offset, 0px) +
				env(safe-area-inset-bottom)
			) !important;
		border-radius: var(--efp-container-radius, 16px) !important;
		width: calc(100% - 16px) !important;
		left: 8px !important;
		right: 8px !important;
	}
}


/* iPhone/mobile: force the action bar to the viewport bottom. */
@media (max-width: 680px) {
	html body .efp-mobile-action-bar {
		position: fixed !important;
		top: auto !important;
		bottom: 0 !important;
		left: 8px !important;
		right: 8px !important;
		inset: auto 8px 0 8px !important;
		margin: 0 !important;
		transform: none !important;
		width: auto !important;
		max-width: none !important;
		z-index: 2147483000 !important;
		padding-bottom:
			calc(
				var(--efp-bar-padding, 10px) +
				env(safe-area-inset-bottom)
			) !important;
	}
}


/*
 * Mobile and landscape stability.
 *
 * iPhone landscape can exceed the old 680px breakpoint, so touch-device
 * detection is also used. These rules keep the bar attached to the visual
 * viewport bottom in portrait and landscape.
 */
@media
	(max-width: 1024px) and (pointer: coarse),
	(max-width: 1024px) and (hover: none),
	(orientation: landscape) and (max-height: 600px) {
	html,
	body {
		overflow-x: hidden;
	}

	html body .efp-mobile-action-bar,
	html body nav.efp-mobile-action-bar {
		position: fixed !important;
		top: auto !important;
		bottom: 0 !important;
		left: 8px !important;
		right: 8px !important;
		inset: auto 8px 0 8px !important;
		float: none !important;
		clear: none !important;
		margin: 0 !important;
		max-width: none !important;
		transform: none !important;
		width: auto !important;
		z-index: 2147483000 !important;
		padding-bottom:
			calc(
				var(--efp-bar-padding, 10px) +
				env(safe-area-inset-bottom, 0px)
			) !important;
	}

	body {
		padding-bottom:
			calc(
				var(--efp-bar-height, 56px) +
				(var(--efp-bar-padding, 10px) * 2) +
				env(safe-area-inset-bottom, 0px)
			) !important;
	}
}

/*
 * Apply saved border settings with enough specificity to defeat theme and
 * mobile button resets.
 */
html body .efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--call {
	border-color: var(--efp-call-border, #dcdcde) !important;
	border-style: solid !important;
	border-width: var(--efp-call-border-width, 1px) !important;
	box-sizing: border-box !important;
}

html body .efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--text {
	border-color: var(--efp-text-border, #dcdcde) !important;
	border-style: solid !important;
	border-width: var(--efp-text-border-width, 1px) !important;
	box-sizing: border-box !important;
}

html body .efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--estimate {
	border-color: var(--efp-estimate-border, #1f7a3f) !important;
	border-style: solid !important;
	border-width: var(--efp-estimate-border-width, 1px) !important;
	box-sizing: border-box !important;
}

/* Preserve the selected radii when themes reset mobile buttons. */
html body .efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--call {
	border-radius: var(--efp-call-radius, 999px) !important;
}

html body .efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--text {
	border-radius: var(--efp-text-radius, 999px) !important;
}

html body .efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--estimate {
	border-radius: var(--efp-estimate-radius, 999px) !important;
}


/*
 * Mobile saved-color enforcement.
 *
 * Some themes and earlier mobile rules reset anchor/button colors and
 * backgrounds after the desktop rules. These selectors deliberately use
 * higher specificity and apply in portrait, landscape, and touch layouts.
 */
html body nav.efp-mobile-action-bar {
	background:
		color-mix(
			in srgb,
			var(--efp-container-bg, #ffffff)
			calc(var(--efp-container-opacity, 96) * 1%),
			transparent
		) !important;
	border-color: var(--efp-container-border, #dcdcde) !important;
}

html body nav.efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--call,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item.efp-mobile-action-bar__item--call,
html body nav.efp-mobile-action-bar
	button.efp-mobile-action-bar__item.efp-mobile-action-bar__item--call {
	background-color: var(--efp-call-bg, #ffffff) !important;
	background-image: none !important;
	color: var(--efp-call-color, #155724) !important;
	-webkit-text-fill-color: var(--efp-call-color, #155724) !important;
}

html body nav.efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--text,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item.efp-mobile-action-bar__item--text,
html body nav.efp-mobile-action-bar
	button.efp-mobile-action-bar__item.efp-mobile-action-bar__item--text {
	background-color: var(--efp-text-bg, #ffffff) !important;
	background-image: none !important;
	color: var(--efp-text-color, #0a4b78) !important;
	-webkit-text-fill-color: var(--efp-text-color, #0a4b78) !important;
}

html body nav.efp-mobile-action-bar
	.efp-mobile-action-bar__item.efp-mobile-action-bar__item--estimate,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item.efp-mobile-action-bar__item--estimate,
html body nav.efp-mobile-action-bar
	button.efp-mobile-action-bar__item.efp-mobile-action-bar__item--estimate {
	background-color: var(--efp-estimate-bg, #1f7a3f) !important;
	background-image: none !important;
	color: var(--efp-estimate-color, #ffffff) !important;
	-webkit-text-fill-color: var(--efp-estimate-color, #ffffff) !important;
}

/* Keep hover/focus/visited states from changing saved mobile colors. */
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item--call:visited,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item--call:hover,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item--call:focus {
	background-color: var(--efp-call-bg, #ffffff) !important;
	color: var(--efp-call-color, #155724) !important;
	-webkit-text-fill-color: var(--efp-call-color, #155724) !important;
}

html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item--text:visited,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item--text:hover,
html body nav.efp-mobile-action-bar
	a.efp-mobile-action-bar__item--text:focus {
	background-color: var(--efp-text-bg, #ffffff) !important;
	color: var(--efp-text-color, #0a4b78) !important;
	-webkit-text-fill-color: var(--efp-text-color, #0a4b78) !important;
}

html body nav.efp-mobile-action-bar
	.efp-mobile-action-bar__item--estimate:hover,
html body nav.efp-mobile-action-bar
	.efp-mobile-action-bar__item--estimate:focus {
	background-color: var(--efp-estimate-bg, #1f7a3f) !important;
	color: var(--efp-estimate-color, #ffffff) !important;
	-webkit-text-fill-color: var(--efp-estimate-color, #ffffff) !important;
}

@supports not (
	background:
		color-mix(in srgb, #ffffff 96%, transparent)
) {
	html body nav.efp-mobile-action-bar {
		background-color: var(--efp-container-bg, #ffffff) !important;
	}
}

@media
	(max-width: 1024px) and (pointer: coarse),
	(max-width: 1024px) and (hover: none),
	(orientation: landscape) and (max-height: 600px) {

	html body nav.efp-mobile-action-bar
		.efp-mobile-action-bar__item--call {
		background-color: var(--efp-call-bg, #ffffff) !important;
		color: var(--efp-call-color, #155724) !important;
		-webkit-text-fill-color: var(--efp-call-color, #155724) !important;
	}

	html body nav.efp-mobile-action-bar
		.efp-mobile-action-bar__item--text {
		background-color: var(--efp-text-bg, #ffffff) !important;
		color: var(--efp-text-color, #0a4b78) !important;
		-webkit-text-fill-color: var(--efp-text-color, #0a4b78) !important;
	}

	html body nav.efp-mobile-action-bar
		.efp-mobile-action-bar__item--estimate {
		background-color: var(--efp-estimate-bg, #1f7a3f) !important;
		color: var(--efp-estimate-color, #ffffff) !important;
		-webkit-text-fill-color: var(--efp-estimate-color, #ffffff) !important;
	}
}


/* Separate mobile and desktop/laptop floating display modes. */
.efp-device-floating {
	display: block;
}

.efp-device-mobile {
	display: none;
}

@media
	(max-width: 1024px) and (pointer: coarse),
	(max-width: 1024px) and (hover: none) {
	.efp-device-desktop {
		display: none !important;
	}

	.efp-device-mobile {
		display: block !important;
	}
}

@media
	(min-width: 1025px),
	(pointer: fine) and (hover: hover) {
	.efp-device-desktop {
		display: block;
	}

	.efp-device-mobile {
		display: none;
	}
}

/* Prevent hidden device wrappers from reserving space. */
.efp-device-floating[hidden],
.efp-device-mobile[style*="display: none"],
.efp-device-desktop[style*="display: none"] {
	pointer-events: none;
}


/* Device-mode alignment and equal sizing. */
.efp-mobile-action-bar {
	align-items: stretch !important;
	grid-auto-columns: minmax(0, 1fr) !important;
	justify-content: center !important;
}

.efp-mobile-action-bar__item {
	align-items: center !important;
	display: flex !important;
	justify-content: center !important;
	line-height: 1.2 !important;
	min-width: 0 !important;
	text-align: center !important;
	white-space: normal !important;
}

.efp-mobile-action-bar__item span {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 1.2em;
	width: 100%;
}

.efp-floating-actions--single {
	align-items: center !important;
	display: flex !important;
	justify-content: center !important;
	left: 50% !important;
	right: auto !important;
	transform: translateX(-50%) !important;
	width: auto !important;
}

.efp-floating-actions--single .efp-floating-button {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 52px;
	text-align: center;
}


/* Restore the saved Left, Center, or Right position for a single button. */
.efp-floating-actions--single.efp-floating-actions--left {
	left: 20px !important;
	right: auto !important;
	transform: none !important;
}

.efp-floating-actions--single.efp-floating-actions--center {
	left: 50% !important;
	right: auto !important;
	transform: translateX(-50%) !important;
}

.efp-floating-actions--single.efp-floating-actions--right {
	left: auto !important;
	right: 20px !important;
	transform: none !important;
}

@media (max-width: 680px) {
	.efp-floating-actions--single.efp-floating-actions--left {
		left: 12px !important;
		right: auto !important;
	}

	.efp-floating-actions--single.efp-floating-actions--right {
		left: auto !important;
		right: 12px !important;
	}

	.efp-floating-actions--single.efp-floating-actions--center {
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
	}
}


/* Cache-safe device switching. */
.efp-device-floating {
	display: none !important;
}

html.efp-device-mobile .efp-device-mobile {
	display: block !important;
}

html.efp-device-desktop .efp-device-desktop {
	display: block !important;
}

/* Fallback before JavaScript runs. */
@media (max-width: 1024px) and (pointer: coarse) {
	html:not(.efp-device-mobile):not(.efp-device-desktop) .efp-device-mobile {
		display: block !important;
	}
}

@media (min-width: 1025px) and (pointer: fine) {
	html:not(.efp-device-mobile):not(.efp-device-desktop) .efp-device-desktop {
		display: block !important;
	}
}


/* 3.7.7.1 - cross-browser bottom anchor for floating Call/Text/Estimate controls.
 * Explicitly clear top/inset-start values so Firefox cannot place the bar at
 * the top of the viewport while Edge keeps it at the bottom.
 */
html body .efp-floating-actions,
html body .efp-mobile-action-bar {
	position: fixed !important;
	top: auto !important;
	inset-block-start: auto !important;
	bottom: 20px !important;
	inset-block-end: 20px !important;
	z-index: 99990 !important;
}

@media (max-width: 680px) {
	html body .efp-floating-actions {
		top: auto !important;
		inset-block-start: auto !important;
		bottom: 12px !important;
		inset-block-end: 12px !important;
	}

	html body .efp-mobile-action-bar {
		top: auto !important;
		inset-block-start: auto !important;
		bottom: 0 !important;
		inset-block-end: 0 !important;
	}
}

/* Keep buttons inside a fixed wrapper from becoming independently positioned. */
html body .efp-floating-actions .efp-floating-button,
html body .efp-floating-actions .efp-floating-phone-button {
	position: static !important;
	top: auto !important;
	bottom: auto !important;
	inset-block-start: auto !important;
	inset-block-end: auto !important;
}

/* 3.7.7.3 - apply the saved bottom position to designed action bars. */
html body nav.efp-mobile-action-bar--left {
	left: 20px !important;
	right: auto !important;
	transform: none !important;
}

html body nav.efp-mobile-action-bar--center {
	left: 50% !important;
	right: auto !important;
	transform: translateX(-50%) !important;
}

html body nav.efp-mobile-action-bar--right {
	left: auto !important;
	right: 20px !important;
	transform: none !important;
}

/* A one-button mode should be compact instead of filling the multi-button bar. */
html body nav.efp-mobile-action-bar--single-action {
	grid-auto-columns: auto !important;
	max-width: calc(100vw - 40px) !important;
	width: fit-content !important;
}

html body nav.efp-mobile-action-bar--single-action .efp-mobile-action-bar__item {
	min-width: 0 !important;
	padding-left: max(18px, var(--efp-bar-padding, 10px)) !important;
	padding-right: max(18px, var(--efp-bar-padding, 10px)) !important;
	width: auto !important;
}

/* Keep a standalone Call Now control large enough for a prominent tap target. */
html body nav.efp-mobile-action-bar--single-call .efp-mobile-action-bar__item--call {
	min-width: 220px !important;
}

@media (max-width: 680px) {
	html body nav.efp-mobile-action-bar--left {
		left: 12px !important;
		right: auto !important;
		transform: none !important;
	}

	html body nav.efp-mobile-action-bar--center {
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
	}

	html body nav.efp-mobile-action-bar--right {
		left: auto !important;
		right: 12px !important;
		transform: none !important;
	}

	html body nav.efp-mobile-action-bar--single-action {
		top: auto !important;
		bottom: 0 !important;
		inset-block-start: auto !important;
		inset-block-end: 0 !important;
		max-width: calc(100vw - 24px) !important;
		width: fit-content !important;
	}

	html body nav.efp-mobile-action-bar--single-call .efp-mobile-action-bar__item--call {
		min-width: min(220px, calc(100vw - 24px)) !important;
	}
}
