/* ============================================================
   Cookie consent banner — CNIL compliant
   ============================================================ */

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #1a1208;
	border-top: 1px solid #7A5C3E;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-family: inherit;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

.cookie-banner--hidden {
	display: none;
}

.cookie-banner__text {
	color: #d4b896;
	font-size: 0.875rem;
	line-height: 1.5;
	max-width: 680px;
}

.cookie-banner__text a {
	color: #c49a6c;
	text-decoration: underline;
}

.cookie-banner__text a:hover {
	color: #e8c99a;
}

.cookie-banner__actions {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

.cookie-banner__btn {
	padding: 10px 22px;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid #7A5C3E;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.cookie-banner__btn--accept {
	background: #7A5C3E;
	color: #fff;
}

.cookie-banner__btn--accept:hover {
	background: #9a7a5a;
}

.cookie-banner__btn--refuse {
	background: transparent;
	color: #d4b896;
}

.cookie-banner__btn--refuse:hover {
	background: rgba(122, 92, 62, 0.15);
	color: #e8c99a;
}

@media (max-width: 640px) {
	.cookie-banner {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 20px;
	}

	.cookie-banner__actions {
		width: 100%;
	}

	.cookie-banner__btn {
		flex: 1;
		text-align: center;
	}
}
