.tpl-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10050;
	padding: 12px;
	pointer-events: none;
	transform: translateY(110%);
	opacity: 0;
	transition: transform .28s ease, opacity .28s ease;
}

.tpl-cookie.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.tpl-cookie__panel {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 18px;
	border: 1px solid var(--f-border, #e7e9ef);
	background: var(--f-surface, #ffffff);
	box-shadow: var(--f-shadow, 0 10px 30px rgba(20, 22, 28, .12));
	pointer-events: auto;
}

.tpl-cookie__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-size: 1.15rem;
	color: var(--f-accent, #ec5a3c);
	background: rgba(var(--f-bg-tint, 236, 90, 60), .12);
}

.tpl-cookie__body {
	flex: 1 1 auto;
	min-width: 0;
}

.tpl-cookie__title {
	display: block;
	margin: 0 0 6px;
	font: 600 1rem/1.3 'Space Grotesk', 'Inter', sans-serif;
	color: var(--f-text, #14161c);
}

.tpl-cookie__text {
	margin: 0 0 8px;
	font-size: .92rem;
	line-height: 1.5;
	color: var(--f-text-2, #565d6b);
}

.tpl-cookie__link {
	font-size: .88rem;
	font-weight: 600;
	color: var(--f-accent, #ec5a3c);
	text-decoration: none;
}

.tpl-cookie__link:hover {
	text-decoration: underline;
}

.tpl-cookie__actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.tpl-cookie__btn {
	border: 0;
	border-radius: 12px;
	padding: 10px 14px;
	font: 600 .88rem/1 'Inter', sans-serif;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tpl-cookie__btn--ghost {
	background: var(--f-surface-2, #f1f2f6);
	color: var(--f-text, #14161c);
	border: 1px solid var(--f-border, #e7e9ef);
}

.tpl-cookie__btn--ghost:hover {
	background: var(--f-surface-3, #e9ebf0);
}

.tpl-cookie__btn--primary {
	background: var(--f-accent, #ec5a3c);
	color: #fff;
}

.tpl-cookie__btn--primary:hover {
	filter: brightness(.95);
}

@media (max-width: 768px) {
	.tpl-cookie__panel {
		flex-direction: column;
	}

	.tpl-cookie__actions {
		width: 100%;
	}

	.tpl-cookie__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
