/* CMB Core — bandeau de consentement (versionné, immuable une fois servi). Jetons du thème avec replis. */
.cmb-consent {
	position: fixed;
	inset: auto 1rem 1rem 1rem;
	z-index: 9999;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.cmb-consent[hidden] {
	display: none;
}
.cmb-consent__inner {
	pointer-events: auto;
	width: 100%;
	max-width: 40rem;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	padding: 1.25rem 1.25rem 1rem;
	background: var(--cmb-color-surface, #fffdf9);
	color: var(--cmb-color-text, #181614);
	border: 1px solid var(--cmb-color-border, #ded4c5);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(24, 22, 20, 0.16);
	font-size: 0.95rem;
	line-height: 1.5;
}
.cmb-consent__title {
	margin: 0 0 0.5rem;
	font-family: var(--cmb-font-heading, Georgia, serif);
	font-size: 1.15rem;
	line-height: 1.3;
}
.cmb-consent__text {
	margin: 0 0 0.75rem;
}
.cmb-consent__text a {
	color: var(--cmb-color-accent-strong, #94512b);
}
.cmb-consent__panel {
	margin: 0 0 0.75rem;
	padding: 0.75rem 0 0;
	border-top: 1px solid var(--cmb-color-border, #ded4c5);
}
.cmb-consent__choice {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin: 0 0 0.6rem;
}
.cmb-consent__choice input {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2rem;
	accent-color: var(--cmb-color-accent-strong, #94512b);
}
.cmb-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.cmb-consent__btn {
	flex: 1 1 10rem;
	min-height: 44px;
	padding: 0.55rem 1rem;
	border: 1px solid var(--cmb-color-accent-strong, #94512b);
	border-radius: 999px;
	background: var(--cmb-color-accent-strong, #94512b);
	color: var(--cmb-color-on-accent, #fffdf9);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.cmb-consent__btn--link {
	background: transparent;
	color: var(--cmb-color-accent-strong, #94512b);
	border-color: transparent;
	text-decoration: underline;
}
.cmb-consent__btn[hidden] {
	display: none;
}
.cmb-consent__btn:focus-visible {
	outline: 3px solid var(--cmb-color-focus, #94512b);
	outline-offset: 2px;
}
@media (min-width: 48em) {
	.cmb-consent {
		justify-content: flex-start;
	}
}
