/* Cookie consent banner */
.freeart-cookies {
	position: fixed;
	inset: auto 16px 16px 16px;
	z-index: 10000;
	max-width: 720px;
	margin-inline: auto;
	left: 16px;
	right: 16px;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.freeart-cookies.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.freeart-cookies__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 20px;
	padding: 18px 20px;
	border-radius: 16px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	background: rgba(245, 241, 234, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 16px 40px rgba(74, 52, 42, 0.16);
	color: #4a342a;
	font-family: Inter, system-ui, sans-serif;
}

.freeart-cookies__content {
	flex: 1 1 280px;
	min-width: 0;
}

.freeart-cookies__title {
	margin: 0 0 8px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
	color: #4a342a;
}

.freeart-cookies__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #7d5a44;
}

.freeart-cookies__text a {
	color: #4a342a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.freeart-cookies__text a:hover {
	color: #e85d2b;
}

.freeart-cookies__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

.freeart-cookies .freeart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 9999px;
	border: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.freeart-cookies .freeart-btn--primary {
	background: linear-gradient(45deg, #e85d2b, #ff9e6b);
	color: #fff;
}

.freeart-cookies .freeart-btn--ghost {
	background: rgba(255, 255, 255, 0.7);
	color: #4a342a;
	border: 1px solid rgba(178, 150, 125, 0.45);
}

.freeart-cookies .freeart-btn:hover {
	transform: scale(1.03);
}

.freeart-cookies .freeart-btn:focus-visible {
	outline: 2px solid #e85d2b;
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.freeart-cookies {
		inset: auto 12px 12px 12px;
	}

	.freeart-cookies__inner {
		padding: 16px;
	}

	.freeart-cookies__actions {
		width: 100%;
	}

	.freeart-cookies__actions .freeart-btn {
		flex: 1 1 auto;
	}
}
