.cookie {
	position: fixed;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: flex-end;
	gap: 24px;
	padding: 24px;
	margin: 24px 32px;
	background: #29364A;
	border: 1px solid #D39F64;
	border-radius: 10px;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.cookie__left {
	flex: 3 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
}

.cookie__right {
	flex: 2 1 0;
	min-width: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 12px;
}

.cookie__text {
	font-family: var(--font-regular);
	font-size: 16px;
	line-height: 20px;
	color: var(--light);
}

.cookie__details {
	display: inline-flex;
	align-self: flex-start;
}

.cookie__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-medium);
	font-size: 18px;
	line-height: 20px;
	color: var(--light);
	text-decoration: none;
	text-underline-offset: 3px;
}

.cookie__link span {
	text-decoration: underline;
}

.cookie__link svg {
	display: block;
	flex-shrink: 0;
}

.cookie__link:hover {
	color: var(--gold-100);
}

.cookie__link:hover path {
	fill: var(--gold-100);
}

.cookie__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 64px;
	font-family: var(--font-bold);
	font-size: 16px;
	line-height: 22px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie__btn--necessary {
	background: transparent;
	border: 1px solid var(--gold-100);
	color: var(--gold-100);
}

.cookie__btn--necessary:hover {
	background: rgba(211, 159, 100, 0.12);
}

.cookie__btn--allow {
	background: var(--gold-100);
	border: 1px solid var(--gold-100);
	color: var(--dark-blue);
}

.cookie__btn--allow:hover {
	background: var(--gold-70);
	border-color: var(--gold-70);
}

@media (max-width: 1050px) {
	.cookie {
		flex-direction: column;
		align-items: stretch;
		margin: 16px;
		padding: 20px;
	}

	.cookie__left,
	.cookie__right {
		flex: 1 1 auto;
	}

	.cookie__right {
		justify-content: stretch;
	}

	.cookie__btn {
		flex: 1;
		padding: 12px 16px;
		font-size: 14px;
	}
}
