.cookie-consent[hidden] {
	display: none !important;
}

.cookie-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 2100;
	box-sizing: border-box;
	width: 100%;
	padding: 18px 28px;
	color: var(--ink, #222);
	background: var(--white, #fff);
	border-top: 1px solid var(--border, rgba(17, 17, 17, 0.12));
	box-shadow: 0 -10px 32px rgba(17, 17, 17, 0.12);
	font-family: 'Noto Sans', sans-serif;
}

.cookie-consent__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.cookie-consent__copy {
	max-width: 720px;
}

.cookie-consent__title {
	margin: 0 0 5px;
	color: var(--ink, #222);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.cookie-consent__description {
	margin: 0;
	color: var(--ink-60, rgba(17, 17, 17, 0.6));
	font-size: 13px;
	line-height: 1.55;
}

.cookie-consent__privacy {
	color: var(--g-dark, #1aa876);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-consent__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.cookie-consent__button {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: var(--r-pill, 999px);
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
}

.cookie-consent__button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(17, 17, 17, 0.16);
}

.cookie-consent__button:focus-visible,
[data-cookie-consent-settings]:focus-visible {
	outline: 3px solid rgba(183, 112, 255, 0.4);
	outline-offset: 2px;
}

.cookie-consent__button--reject {
	color: #fff;
	background: var(--p, #b770ff);
	border-color: var(--p, #b770ff);
}

.cookie-consent__button--accept {
	color: #fff;
	background: var(--g, #25cc91);
	border-color: var(--g, #25cc91);
}

.cookie-consent__button--reject:hover {
	background: var(--p-dark, #9450e0);
	border-color: var(--p-dark, #9450e0);
}

.cookie-consent__button--accept:hover {
	background: var(--g-dark, #1aa876);
	border-color: var(--g-dark, #1aa876);
}

[data-cookie-consent-settings] {
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.footer-links [data-cookie-consent-settings] {
	font-size: inherit;
	color: #fff;
	text-decoration: none;
}

.footer-links [data-cookie-consent-settings]:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.cookie-consent {
		padding: 16px;
	}

	.cookie-consent__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.cookie-consent__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.cookie-consent__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cookie-consent__button {
		transition: none;
	}
}
