/* Cookie-баннер (152-ФЗ): информирование и согласие на cookie/веб-аналитику */

.cookie-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 11000;
	max-width: 720px;
	margin: 0 auto;
	background: #ffffff;
	color: #1c1c1c;
	border: 1px solid #d7e3e2;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.cookie-consent_visible {
	opacity: 1;
	transform: translateY(0);
}

.cookie-consent__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 22px;
}

.cookie-consent__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.cookie-consent__link {
	color: #02a4a0;
	text-decoration: underline;
}

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

.cookie-consent__btn {
	cursor: pointer;
	border: 0;
	border-radius: 10px;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: opacity 0.2s ease, background 0.2s ease;
}

.cookie-consent__btn_accept {
	background: #00c2b6;
	color: #ffffff;
}

.cookie-consent__btn_accept:hover {
	background: #02a4a0;
}

.cookie-consent__btn_decline {
	background: transparent;
	color: #5a6b6a;
	border: 1px solid #c5d3d2;
}

.cookie-consent__btn_decline:hover {
	background: #f1f4f4;
}

@media (max-width: 47.99875em) {
	.cookie-consent {
		left: 10px;
		right: 10px;
		bottom: 10px;
		border-radius: 12px;
	}

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

	.cookie-consent__actions {
		justify-content: stretch;
	}

	.cookie-consent__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
