/* ============================================================
   Cookie consent — стили для сайта на 1С-Битрикс (Aspro Priority)
   Подключаются вместе с cookie-consent.js (см. README.md).
   ============================================================ */

.cookie-consent {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 9999;
	max-width: 460px;
	width: calc(100% - 48px);
	box-sizing: border-box;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e6e9ed;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: #333333;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: opacity 0.25s ease, transform 0.25s ease;
	animation: cookie-consent-in 0.3s ease;
}

.cookie-consent--hidden {
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
}

.cookie-consent__text a {
	color: #1b70ca;
	text-decoration: underline;
}

.cookie-consent__text a:hover {
	text-decoration: none;
}

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

.cookie-consent__btn {
	cursor: pointer;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--accept {
	background: #1b70ca;
	color: #ffffff;
}

.cookie-consent__btn--accept:hover {
	background: #14589f;
}

.cookie-consent__btn--decline {
	background: #f1f3f6;
	color: #333333;
}

.cookie-consent__btn--decline:hover {
	background: #e2e6eb;
}

@keyframes cookie-consent-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 480px) {
	.cookie-consent {
		left: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
		padding: 16px;
	}
}
