/* ==========================================================================
   WCP UK Geo Banner + Region Switcher
   v1.4.0 — bottom-right corner per Francesca's spec + hide WPML dev notice
   ========================================================================== */

/* Hide WPML development site notice (staging uses dev site key to save credits).
   Safe to hide — dev key was an intentional cost-saving choice. */
.otgs-development-site-front-end {
	display: none !important;
}

/* --------------------------------------------------------------------------
   1. Geo-Detection Banner (top of page)
   -------------------------------------------------------------------------- */
.wcp-geo-banner {
	background: #1a1a2e;
	color: #fff;
	text-align: center;
	padding: 10px 40px 10px 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	position: relative;
	z-index: 9999;
	overflow: hidden;
	max-height: 60px;
}

.wcp-geo-banner a {
	color: #d75e08;
	text-decoration: underline;
	font-weight: 600;
}

.wcp-geo-banner a:hover {
	color: #f06807;
}

.wcp-geo-dismiss {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: border-color 0.2s;
}

.wcp-geo-dismiss:hover {
	border-color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   2. Footer Region Switcher — bottom-right corner (Francesca's spec)
   -------------------------------------------------------------------------- */
.wcp-region-switcher {
	background: #F6F5F3;
	padding: 12px 40px;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	border-top: 1px solid #E8E6E2;
}

.wcp-region-flag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	color: #8A8A8A;
	padding: 4px 10px;
	border-radius: 4px;
	transition: color 0.2s ease, background 0.2s ease;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.3px;
	line-height: 1;
}

a.wcp-region-flag:hover {
	color: #D75E08;
	background: #FFFFFF;
}

.wcp-region-active {
	color: #1A1A2E;
	font-weight: 600;
	background: rgba(26, 26, 46, 0.04);
}

.wcp-region-separator {
	color: #CCC;
	margin: 0 2px;
	font-size: 12px;
	user-select: none;
}

.wcp-flag-us::before,
.wcp-flag-uk::before {
	font-size: 14px;
	margin-right: 4px;
	line-height: 1;
}

.wcp-flag-us::before {
	content: "\1F1FA\1F1F8";
}

.wcp-flag-uk::before {
	content: "\1F1EC\1F1E7";
}

/* --------------------------------------------------------------------------
   3. Mobile — center on small screens, keep subtle
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.wcp-geo-banner {
		font-size: 13px;
		padding: 8px 36px 8px 12px;
	}

	.wcp-region-switcher {
		padding: 10px 20px;
		font-size: 11px;
		justify-content: center;
	}

	.wcp-region-flag {
		padding: 3px 8px;
		font-size: 11px;
	}
}
