/* Уведомление о файлах cookie (152-ФЗ). Цвет кнопок задаётся переменной --cookie-consent-accent. */
.cookie-consent {
	--cookie-consent-accent: #023bba;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 3000;
	display: flex;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
	visibility: hidden;
}

.cookie-consent--visible {
	opacity: 1;
	transform: none;
	visibility: visible;
}

.cookie-consent__inner {
	pointer-events: auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 960px;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
	background: #fff;
	color: #333;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
	font-size: 14px;
	line-height: 1.5;
}

.cookie-consent__text {
	flex: 1 1 auto;
}

.cookie-consent__text a {
	color: var(--cookie-consent-accent);
	text-decoration: underline;
}

.cookie-consent__buttons {
	flex: 0 0 auto;
	display: flex;
	gap: 12px;
}

.cookie-consent__btn {
	min-width: 128px;
	padding: 10px 20px;
	border: 2px solid var(--cookie-consent-accent);
	border-radius: 24px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .2s ease;
}

.cookie-consent__btn:hover {
	opacity: .85;
}

.cookie-consent__btn:focus-visible {
	outline: 2px solid var(--cookie-consent-accent);
	outline-offset: 2px;
}

.cookie-consent__btn--accept {
	background: var(--cookie-consent-accent);
	color: #fff;
}

.cookie-consent__btn--decline {
	background: #fff;
	color: var(--cookie-consent-accent);
}

@media (max-width: 767px) {
	.cookie-consent {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}

	.cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px;
		font-size: 13px;
	}

	.cookie-consent__buttons {
		width: 100%;
	}

	.cookie-consent__btn {
		flex: 1 1 0;
		min-width: 0;
	}
}
