/**
 * Bandeau cookies — Forge des Artisans-Créateurs.
 * Palette terre de Sienne sur crème, coins arrondis, ombre douce.
 */

.forge-cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	z-index: 99999;
	width: min(680px, calc(100% - 32px));
	background: #ffffff;
	border: 1px solid #e0d6cc;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(26, 37, 48, 0.18);
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.forge-cookie-banner[hidden] { display: none; }

.forge-cookie-banner__inner {
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.forge-cookie-banner__title {
	display: block;
	font-family: 'Alice', Georgia, serif;
	font-size: 17px;
	color: #1a2530;
	margin-bottom: 4px;
}

.forge-cookie-banner__text p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: #5a6b78;
}

.forge-cookie-banner__text a {
	color: #8b5a3c;
	text-decoration: underline;
}

.forge-cookie-banner__prefs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	background: #faf7f1;
	border-radius: 12px;
}

.forge-cookie-banner__prefs[hidden] { display: none; }

.forge-cookie-pref {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

.forge-cookie-pref__input {
	margin-top: 3px;
	accent-color: #8b5a3c;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.forge-cookie-pref__label {
	display: block;
	font-weight: 600;
	font-size: 13.5px;
	color: #1a2530;
}

.forge-cookie-pref__desc {
	display: block;
	font-size: 12px;
	color: #5a6b78;
}

.forge-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.forge-cookie-btn {
	border: 0;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.forge-cookie-btn[hidden] { display: none; }

.forge-cookie-btn--ghost {
	background: transparent;
	border: 1px solid #c8b8a8;
	color: #5a3722;
}
.forge-cookie-btn--ghost:hover {
	border-color: #8b5a3c;
	background: #f5ece0;
}

.forge-cookie-btn--primary {
	background: #8b5a3c;
	color: #fff;
}
.forge-cookie-btn--primary:hover {
	background: #6f4730;
	transform: translateY(-1px);
}

/* Bouton flottant pour ré-ouvrir la gestion. */

.forge-cookie-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99998;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #e0d6cc;
	background: #fff;
	box-shadow: 0 4px 14px rgba(26, 37, 48, 0.15);
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}
.forge-cookie-reopen[hidden] { display: none; }
.forge-cookie-reopen:hover { background: #f5ece0; }

@media (min-width: 600px) {
	.forge-cookie-banner__inner {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
	.forge-cookie-banner__text { flex: 1 1 100%; }
	.forge-cookie-banner__prefs { flex: 1 1 100%; }
	.forge-cookie-banner__actions { flex: 1 1 100%; }
}
