/* Consent banner: the shop's (child_classic consent.css, 19/09) on the theme's tokens. */
.bb-consent {
	position: fixed;
	inset: auto 0 0;
	z-index: 1050;
	background: var(--blanc);
	color: var(--ardoise);
	border-top: 3px solid var(--ardoise);
	box-shadow: 0 -2px 12px rgb(62 80 99 / .18);
}

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

.bb-consent__inner {
	width: min(100% - 2 * var(--g), var(--largeur));
	margin-inline: auto;
	padding-block: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.5rem;
}

.bb-consent__text {
	flex: 1 1 320px;
	margin: 0;
	font-size: .9375rem;
	line-height: 1.45;
}

.bb-consent__text a {
	white-space: nowrap;
}

.bb-consent__actions {
	display: flex;
	gap: .75rem;
	flex: 0 0 auto;
}

.bb-consent__button {
	min-width: 8.5rem;
	min-height: 48px;
	padding: .625rem 1.25rem;
	border: 2px solid var(--ardoise);
	border-radius: 3px;
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	background: var(--blanc);
	color: var(--ardoise);
}

.bb-consent__button--accept {
	background: var(--ardoise);
	color: var(--blanc);
}

.bb-consent__button--refuse:hover {
	background: var(--gris);
}

.bb-consent__button--accept:hover {
	background: #2C3A48;
	border-color: #2C3A48;
}

.bb-consent-manage {
	min-height: 48px;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .2em;
	cursor: pointer;
}

html:not(.js) .js-consent-manage {
	display: none;
}

@media (max-width: 575px) {
	.bb-consent__actions {
		width: 100%;
	}

	.bb-consent__button {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* Room for the open banner, so it never hides the end of the footer. */
body.bb-consent-open {
	padding-bottom: var(--bb-consent-height, 0);
}
