/* Trendfloristik Datenschutz – nutzt die Theme-Tokens, mit Fallbacks. */
.tf-consent {
	position: fixed;
	inset: auto 1rem 1rem auto;
	z-index: 99999;
	max-width: min(440px, calc(100vw - 2rem));
	font-family: var(--tf-font, inherit);
}

.tf-consent[hidden],
.tf-consent__details[hidden],
[data-tf-consent][hidden] {
	display: none !important;
}

.tf-consent__box {
	background: var(--tf-color-rose-light, #f5ede8);
	color: var(--tf-color-ink, #1d1d1b);
	border: 1px solid var(--tf-color-line, #cbb8ac);
	border-radius: var(--tf-radius-lg, 22px);
	box-shadow: 0 18px 50px -18px rgba(40, 25, 15, .45);
	padding: 1.25rem 1.4rem;
}

.tf-consent__title {
	font-size: 1.2rem;
	margin: 0 0 .5rem;
}

.tf-consent__text {
	font-size: .95rem;
	line-height: 1.5;
	margin: 0 0 1rem;
}

.tf-consent__actions,
.tf-consent-settings__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
}

.tf-consent .wp-element-button,
.tf-consent-settings .wp-element-button,
.tf-embed .wp-element-button {
	font-size: .9rem;
	padding: .65rem 1.2rem;
	border: 0;
	cursor: pointer;
	border-radius: var(--tf-radius-pill, 999px);
	background: var(--tf-btn-bg, #8a6f63);
	color: var(--tf-btn-fg, #fff);
}

.tf-consent .tf-consent__secondary,
.tf-consent-settings .tf-consent__secondary {
	background: transparent;
	color: var(--tf-color-taupe-dark, #6f5a50);
	box-shadow: inset 0 0 0 1.5px var(--tf-btn-bg, #8a6f63);
}

.tf-consent__cats {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	gap: .6rem;
}

.tf-consent__cat {
	background: rgba(255, 255, 255, .6);
	border-radius: var(--tf-radius-sm, 10px);
	padding: .6rem .8rem;
}

.tf-consent__cat label {
	display: flex;
	gap: .5rem;
	align-items: center;
	cursor: pointer;
}

.tf-consent__desc {
	display: block;
	font-size: .85rem;
	margin-top: .25rem;
	opacity: .85;
}

.tf-consent-settings {
	display: grid;
	gap: .9rem;
}

.tf-consent-settings > p {
	margin: 0;
}

.tf-consent-settings__status {
	font-size: .9rem;
}

/* Platzhalter für externe Einbettungen */
.tf-embed {
	background: var(--tf-color-rose-light, #f5ede8);
	border: 1px dashed var(--tf-color-line, #cbb8ac);
	border-radius: var(--tf-radius, 14px);
	padding: clamp(1rem, 4vw, 2rem);
	text-align: center;
	min-height: 180px;
	display: grid;
	place-items: center;
}

.tf-embed__title {
	font-weight: 700;
	margin: 0 0 .4rem;
}

.tf-embed__text,
.tf-embed__links {
	font-size: .9rem;
	margin: 0 0 .6rem;
}

.tf-embed__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
	justify-content: center;
}

.tf-embed__remember {
	font-size: .85rem;
	display: inline-flex;
	gap: .35rem;
	align-items: center;
}

@media (max-width: 480px) {
	.tf-consent {
		inset: auto .5rem .5rem .5rem;
		max-width: none;
	}
}
