/**
 * Clos de Caille - Export
 * Geolocation suggestion popup styles.
 *
 * Neutral, self-contained styling. Override in the theme with the same class
 * names if a branded look is desired.
 */

.cdc-geo-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 20, 20, 20, 0.55 );
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	z-index: 999999;
}

.cdc-geo-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.cdc-geo-box {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	padding: 32px 28px 28px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba( 0, 0, 0, 0.25 );
	text-align: center;
	transform: translateY( 12px );
	transition: transform 0.25s ease;
}

.cdc-geo-overlay.is-visible .cdc-geo-box {
	transform: translateY( 0 );
}

.cdc-geo-close {
	position: absolute;
	top: 8px;
	right: 12px;
	padding: 4px;
	font-size: 24px;
	line-height: 1;
	color: #888;
	background: none;
	border: 0;
	cursor: pointer;
}

.cdc-geo-close:hover {
	color: #222;
}

.cdc-geo-title {
	margin: 0 0 12px;
	font-size: 1.35em;
	line-height: 1.3;
}

.cdc-geo-message {
	margin: 0 0 24px;
	color: #555;
	font-size: 1em;
	line-height: 1.5;
}

.cdc-geo-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cdc-geo-confirm {
	display: block;
	padding: 12px 18px;
	font-size: 1em;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #7a1f2b;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.cdc-geo-confirm:hover,
.cdc-geo-confirm:focus {
	background: #5c151f;
	color: #fff;
}

.cdc-geo-dismiss {
	display: block;
	padding: 10px 18px;
	font-size: 0.95em;
	color: #666;
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: underline;
}

.cdc-geo-dismiss:hover {
	color: #222;
}

/*
 * Notification banner (default display mode).
 *
 * In-flow banner injected as the first element of the site header, in the
 * spirit of apple.com's locale switcher: translucent background, centered
 * copy, pill action button, discreet close cross.
 */

.cdc-geo-bar {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-height: 0;
	padding: 0 24px;
	overflow: hidden;
	color: #1d1d1f;
	background: rgba( 250, 250, 250, 0.92 );
	-webkit-backdrop-filter: saturate( 180% ) blur( 20px );
	backdrop-filter: saturate( 180% ) blur( 20px );
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
	font-size: 0.9em;
	line-height: 1.45;
	text-align: center;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.cdc-geo-bar.is-visible {
	max-height: 200px;
	padding-top: 14px;
	padding-bottom: 14px;
	opacity: 1;
}

.cdc-geo-bar-container {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 980px;
	margin: 0 auto;
}

.cdc-geo-bar-content {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.cdc-geo-bar-text {
	margin: 0;
}

.cdc-geo-bar-confirm {
	padding: 6px 16px;
	font-size: 0.95em;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	color: #fff;
	background: #1d1d1f;
	border-radius: 980px;
	transition: opacity 0.2s ease;
}

.cdc-geo-bar-confirm:hover,
.cdc-geo-bar-confirm:focus {
	color: #fff;
	opacity: 0.8;
	text-decoration: none;
}

.cdc-geo-bar-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 6px;
	color: inherit;
	opacity: 0.65;
	background: none;
	border: 0;
	cursor: pointer;
}

.cdc-geo-bar-close:hover {
	opacity: 1;
}
