/* DealEngine GDPR consent banner. Uses theme palette vars with fallbacks. */

.de-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: var(--c-surface, #fff);
	border-top: 1px solid var(--c-line, #e2e8f0);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
	font-family: var(--font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	color: var(--c-ink, #1e293b);
}

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

.de-consent__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.de-consent__title { margin: 0 0 4px; font-weight: 800; color: var(--c-blue, #0e5a8a); }
.de-consent__body { margin: 0; font-size: 0.9rem; color: var(--c-slate, #64748b); }
.de-consent__links { margin: 6px 0 0; font-size: 0.8rem; }
.de-consent__links a { color: var(--c-blue, #0e5a8a); }

.de-consent__prefs {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.88rem;
}
.de-consent__prefs[hidden] { display: none; }
.de-consent__prefs label { display: inline-flex; align-items: center; gap: 6px; }

.de-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.de-consent__btn {
	min-height: 42px;
	padding: 8px 18px;
	border-radius: 10px;
	border: 0;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}
.de-consent__btn[hidden] { display: none; }
.de-consent__btn--primary { background: var(--c-coral, #ff6b4a); color: #fff; }
.de-consent__btn--save { background: var(--c-blue, #0e5a8a); color: #fff; }
.de-consent__btn--ghost {
	background: transparent;
	color: var(--c-slate, #64748b);
	border: 1px solid var(--c-line, #e2e8f0);
}

.de-consent-prefs-link {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media (min-width: 860px) {
	.de-consent__inner {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}
	.de-consent__text { flex: 1; }
	.de-consent__actions { flex-shrink: 0; }
}
