/* Cookie consent — CROSSMAX */
.crossmax-cookies {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	display: none;
	max-width: 720px;
	margin: 0 auto;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e5e8ef;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(17, 24, 39, 0.14);
	box-sizing: border-box;
	font-family: inherit;
	color: #222;
	transform: translateY(12px);
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.crossmax-cookies.is-visible {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.crossmax-cookies__inner {
	display: flex;
	align-items: center;
	gap: 18px;
}

.crossmax-cookies__text {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 400;
	color: #333;
}

.crossmax-cookies__text a {
	color: #315ebd;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.crossmax-cookies__text a:hover {
	opacity: 0.8;
}

.crossmax-cookies__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
}

.crossmax-cookies__btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 11px 18px;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.crossmax-cookies__btn--accept {
	background: #315ebd;
	color: #fff;
}

.crossmax-cookies__btn--accept:hover {
	background: #274a96;
}

.crossmax-cookies__btn--necessary {
	background: #f7f9fc;
	color: #111;
	border: 1px solid #e0e0e0;
}

.crossmax-cookies__btn--necessary:hover {
	border-color: #315ebd;
	color: #315ebd;
}

@media (max-width: 640px) {
	.crossmax-cookies {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 16px;
		border-radius: 14px;
	}

	.crossmax-cookies__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.crossmax-cookies__actions {
		flex-direction: column;
		width: 100%;
	}

	.crossmax-cookies__btn {
		width: 100%;
		text-align: center;
		padding: 12px 16px;
	}
}
