/* TF Cookie Banner */

.tf-cookie-banner {
	position: fixed;
	inset: auto 0 0;
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.5rem;
	background: #eee;
	color: #000;
	font-size: 0.875rem;
	line-height: 1.5;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	z-index: 9999;

	& .tf-cookie-banner__text {
		margin: 0;
		max-width: 640px;
	}

	& .tf-cookie-banner__accept {
		flex-shrink: 0;
		padding: 0.5em 1.2em;
		border: 1px solid currentColor;
		background: transparent;
		color: inherit;
		font-size: inherit;
		font-weight: 600;
		cursor: pointer;
		transition: background var(--wp--custom--transition--fast, 150ms ease),
		            color var(--wp--custom--transition--fast, 150ms ease);

		&:hover {
			background: #000;
			color: #fff;
		}
	}
}

@media (max-width: 600px) {
	.tf-cookie-banner {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}
}
