/* Signs R Us mobile quick-action bar */
.sru-mobile-action-bar {
	display: none;
}

.sru-scroll-top {
	display: none;
}

@media (max-width: 767px) {
	body {
		padding-bottom: 82px !important;
	}

	.sru-mobile-action-bar {
		position: fixed;
		z-index: 999990;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: #ffffff;
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.16);
	}

	.sru-mobile-action {
		display: flex;
		flex: 1 1 50%;
		align-items: center;
		justify-content: center;
		min-height: 56px;
		padding: 10px 8px;
		border-radius: 8px;
		font-family: inherit;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.15;
		text-align: center;
		text-decoration: none !important;
	}

	.sru-mobile-action--call {
		background: #1f2933;
		color: #ffffff !important;
	}

	.sru-mobile-action--quote {
		background: #8dc63f;
		color: #111111 !important;
	}

	.sru-mobile-action:focus-visible {
		outline: 3px solid #ffffff;
		outline-offset: -5px;
	}

	.sru-scroll-top {
		position: fixed;
		z-index: 999991;
		left: 50%;
		bottom: 96px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 2px solid #ffffff;
		border-radius: 50%;
		background: #8dc63f;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
		color: #111111;
		font-size: 28px;
		font-weight: 700;
		line-height: 1;
		opacity: 0;
		pointer-events: none;
		transform: translateX(-50%) translateY(8px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.sru-scroll-top.is-visible {
		opacity: 1;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}

	/* Keep the AI assistant and Complianz controls above the action bar. */
	.sru-ai,
	#sru-ai-assistant,
	.signsrus-ai-assistant,
	.cmplz-manage-consent {
		bottom: 96px !important;
	}

	.cmplz-cookiebanner {
		bottom: 96px !important;
	}
}
