/* ELITAS — уведомление об использовании cookie */

.elitas-cookie-notice[hidden] {
	display: none !important;
}

.elitas-cookie-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	background: #2c2c2c;
	color: #fff;
	padding: 16px 0;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
	transform: translateY(100%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	pointer-events: none;
}

.elitas-cookie-notice.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.elitas-cookie-notice__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 20px;
	max-width: var(--elitas-container, 1280px);
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.elitas-cookie-notice__text {
	margin: 0;
	flex: 1 1 280px;
	max-width: 920px;
	text-align: left;
}

.elitas-cookie-notice__text a {
	color: #e8d4cf;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s;
}

.elitas-cookie-notice__text a:hover {
	color: #fff;
}

.elitas-cookie-notice__btn {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 24px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border: none;
	border-radius: var(--elitas-radius-btn, 10px);
	background: var(--elitas-accent, #903c23);
	color: var(--elitas-white, #fff);
	cursor: pointer;
	transition: background 0.2s;
}

.elitas-cookie-notice__btn:hover {
	background: var(--elitas-accent-dark, #7a321e);
}

@media (max-width: 767px) {
	.elitas-cookie-notice {
		padding: 12px 0;
		font-size: 13px;
		line-height: 1.45;
	}

	.elitas-cookie-notice__inner {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 10px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
	}

	.elitas-cookie-notice__text {
		flex: 0 1 auto;
		max-width: none;
		text-align: center;
	}

	.elitas-cookie-notice__btn {
		width: 100%;
		min-height: 40px;
	}
}
