/**
 * Плашка согласия на cookie
 * Белый блок с закруглёнными углами, тень, кнопка «Согласен»
 */

.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	padding: 16px 20px 20px;
	background: #fff;
	box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
	border-radius: 16px 16px 0 0;
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

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

.cookie-consent__inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

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

.cookie-consent__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.cookie-consent__link:hover {
	color: #24315e;
}

.cookie-consent__btn {
	display: inline-block;
	padding: 12px 32px;
	font-size: 16px;
	font-weight: 500;
	font-family: inherit;
	color: #fff;
	background: linear-gradient(180deg, #4a5568 0%, #5a6578 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: opacity 0.2s ease, transform 0.15s ease;
}

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

.cookie-consent__btn:active {
	transform: scale(0.98);
}

@media (min-width: 48em) {
	.cookie-consent {
		left: 20px;
		right: auto;
		bottom: 20px;
		max-width: 420px;
		border-radius: 16px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	}

	.cookie-consent__text {
		text-align: left;
		font-size: 13px;
		margin-bottom: 14px;
	}

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