body.cookie-banner-open {
	padding-bottom: calc(var(--cookie-banner-height, 0px) + 16px);
}

.cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1100;
	width: auto;
	max-width: 1160px;
	margin: 0 auto;
	padding: 20px 24px;
	box-sizing: border-box;
	background: #1e1e1e;
	border-radius: 10px;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.14),
		0 16px 40px rgba(0, 0, 0, 0.32);
	font-family: 'CeraPro-Regular', 'Cera Pro', Arial, sans-serif;
	color: #fff;
}

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

.cookie-banner__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	box-sizing: border-box;
}

.cookie-banner__text {
	flex: 1 1 auto;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	letter-spacing: 0.02em;
}

.cookie-banner__text a {
	color: #9e8d67;
	text-decoration: underline;
	transition: color 0.2s;
}

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

.cookie-banner__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

/* как header__btn.__invert — «Оставить заявку», без растягивания */
.cookie-banner__btn {
	flex: 0 0 auto;
	margin: 0;
	padding: 16px;
	border: 1px solid #9e8d67;
	border-radius: 10px;
	background: #9e8d67;
	font-family: 'CeraPro-Regular', 'Cera Pro', Arial, sans-serif;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.03em;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.cookie-banner__btn:hover,
.cookie-banner__btn:focus-visible {
	background: #fff;
	color: #9e8d67;
	outline: none;
}

@media screen and (max-width: 767px) {
	.cookie-banner {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 16px;
	}

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

	.cookie-banner__actions {
		flex-direction: column;
		width: 100%;
	}

	.cookie-banner__btn {
		width: 100%;
		box-sizing: border-box;
	}
}
