/* Scrolling closed-hours indicator (mbhi plugin). */
.mb-bhi-display.mb-bhi-closed {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	background: linear-gradient(90deg, #2d5fa8 0%, #6399e1 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.3px;
	padding: 10px 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	position: static;
	top: 0;
	width: 100vw;
	z-index: 1000;
}

/* Sit below the WP admin bar for logged-in users. */
body.admin-bar .mb-bhi-display.mb-bhi-closed {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .mb-bhi-display.mb-bhi-closed {
		top: 46px;
	}
}

/* .mb-bhi-display.mb-bhi-closed::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(45, 95, 168, 0.95) 0%,
		rgba(45, 95, 168, 0) 6%,
		rgba(45, 95, 168, 0) 94%,
		rgba(45, 95, 168, 0.95) 100%
	);
} */

.mb-bhi-display.mb-bhi-closed .mb-bhi-oc-text {
	display: inline-block;
	padding-left: 100%;
	animation: fixservice-mbhi-marquee 25s linear infinite;
	will-change: transform;
}

.mb-bhi-display.mb-bhi-closed .mb-bhi-oc-text::before {
	content: "\1F552";
	margin-right: 10px;
	font-size: 16px;
	vertical-align: -1px;
}

.mb-bhi-display.mb-bhi-closed .mb-bhi-oc-text a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-left: 4px;
	transition: opacity 0.2s ease;
}

.mb-bhi-display.mb-bhi-closed .mb-bhi-oc-text a:hover {
	opacity: 0.85;
}

.mb-bhi-display.mb-bhi-closed:hover .mb-bhi-oc-text {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.mb-bhi-display.mb-bhi-closed .mb-bhi-oc-text {
		animation: none;
		padding-left: 20px;
	}
}

@keyframes fixservice-mbhi-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

/* Pre-announcement bar for upcoming vacations/holidays. */
.fs-upcoming-closure-bar {
	display: block;
	background: linear-gradient(90deg, #f59e0b 0%, #FFDD00 100%);
	color: #333;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-align: center;
	padding: 10px 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.fs-upcoming-closure-bar a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fs-upcoming-closure-bar a:hover {
	opacity: 0.85;
}

/* Hide the indicator while the business is open — show only the closed-state bar. */
.mb-bhi-display.mb-bhi-open {
	display: none;
}