/* Regional top bar — fixed at the very top, overlapping the pulse-banner. */
.gruve-geo-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100000; /* above header (.header-main z-index:9999) and pulse-banner */
	width: 100%;
	background: var(--primary-color, #21A55E);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gruve-geo-topbar__inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 15px 44px 15px 20px; /* right padding leaves room for the close btn */
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	position: relative;
}

.gruve-geo-topbar__msg {
	font-weight: 500;
}

.gruve-geo-topbar__cta {
	display: inline-block;
	padding: 5px 16px;
	background: var(--secondary-color, #CCFC00);
	color: #0f1b17;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	border-radius: 999px;
	white-space: nowrap;
	transition: filter 0.2s ease, transform 0.2s ease;
}
.gruve-geo-topbar__cta:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.gruve-geo-topbar__close {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 6px;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}
.gruve-geo-topbar__close:hover { opacity: 1; }

@media (max-width: 600px) {
	.gruve-geo-topbar__inner {
		padding: 9px 40px 9px 14px;
		gap: 10px;
		font-size: 13px;
	}
	.gruve-geo-topbar__cta {
		font-size: 12px;
		padding: 5px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gruve-geo-topbar__cta { transition: none; }
}