/* Bandeau de consentement (calendrier Google) : en bas de page, au-dessus du bouton flottant */
.mbg-consent {
	background: #fff;
	border: 1px solid var(--wp--preset--color--primary, #135461);
	bottom: 1rem;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	color: #222;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	left: 1rem;
	max-width: 44rem;
	padding: 1rem 1.25rem;
	position: fixed;
	right: 1rem;
	z-index: 100;
}

.mbg-consent[hidden] {
	display: none;
}

/* Petit cookie dessiné (SVG intégré) */
.mbg-consent__icon {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4a28 28 0 1 0 28 28 12 12 0 0 1-12-12 12 12 0 0 1-12-12 4 4 0 0 0-4-4z' fill='%23d9953b' stroke='%237a4a14' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='22' cy='24' r='4' fill='%237a4a14'/%3E%3Ccircle cx='24' cy='42' r='4.5' fill='%237a4a14'/%3E%3Ccircle cx='40' cy='44' r='3.5' fill='%237a4a14'/%3E%3Ccircle cx='38' cy='28' r='3' fill='%237a4a14'/%3E%3Ccircle cx='13' cy='36' r='2.5' fill='%237a4a14'/%3E%3C/svg%3E") center / contain no-repeat;
	flex: 0 0 auto;
	height: 2.6rem;
	width: 2.6rem;
}

.mbg-consent {
	align-items: center;
}

.mbg-consent__text {
	flex: 1 1 12rem;
	font-size: 1.05rem;
	line-height: 1.4;
	margin: 0;
}

.mbg-consent__text a {
	color: var(--wp--preset--color--primary, #135461);
}

.mbg-consent__btns {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 0.6rem;
}

.mbg-consent__btn {
	background: var(--wp--preset--color--primary, #135461);
	border: 2px solid var(--wp--preset--color--primary, #135461);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	padding: 0.5rem 1.1rem;
}

.mbg-consent__btn:hover,
.mbg-consent__btn:focus-visible {
	background: #fff;
	color: var(--wp--preset--color--primary, #135461);
}

@media (max-width: 600px) {
	.mbg-consent__btns {
		justify-content: center;
		width: 100%;
	}

	.mbg-consent__btn {
		flex: 1 1 0;
	}
}
