:root {
	--cookie-bg: #ffffff;
	--cookie-text-color: #2b2b2b;
	--cookie-primary-btn-bg: #BD0C1E;
	--cookie-primary-btn-text: #ffffff;
	--cookie-secondary-btn-bg: #f2f2f2;
	--cookie-secondary-btn-text: #2b2b2b;
	--cookie-link-color: #333333;
	--cookie-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cookie-consent {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 1000;
	box-sizing: border-box;
	max-width: 333px;
	width: calc(100% - 48px);
	background-color: var(--cookie-bg);
	border-radius: 24px;
	box-shadow: var(--cookie-shadow);
	padding: 24px 24px 24px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: center;
	transform: translateY(20px);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
	font-family: "Factor A", sans-serif;
}

.cookie-consent__icon,
.cookie-consent__content,
.cookie-consent__actions,
.cookie-consent__close {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.cookie-consent.active {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0s;
}

.cookie-consent.active .cookie-consent__icon,
.cookie-consent.active .cookie-consent__content,
.cookie-consent.active .cookie-consent__actions,
.cookie-consent.active .cookie-consent__close {
	opacity: 1;
}

.cookie-consent__icon {
	width: 70px;
	height: 70px;
	margin-bottom: 24px;
}

.cookie-consent__content {
	margin-bottom: 28px;
	width: 100%;
}

.cookie-consent__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--cookie-text-color);
	font-weight: 400;
	text-align: start;
}

.cookie-consent__link {
	display: block;
	margin-top: 8px;
	color: var(--cookie-link-color);
	text-decoration: underline;
	text-decoration-color: #b0b0b0;
	text-underline-offset: 4px;
	font-size: 18px;
	font-weight: 400;
	text-align: start;
	font-size: 16px;
}
.cookie-consent__link:hover {
	text-decoration-color: var(--cookie-link-color);
}

.cookie-consent__actions {
	display: flex;
	gap: 12px;
	width: 100%;
}

.cookie-consent__button {
	flex: 1;
	border: none;
	border-radius: 16px;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.cookie-consent__button--secondary {
	background-color: var(--cookie-secondary-btn-bg);
	color: var(--cookie-secondary-btn-text);
}
.cookie-consent__button--secondary:hover {
	background-color: #e5e5e5;
}

.cookie-consent__button--primary {
	background-color: var(--cookie-primary-btn-bg);
	color: var(--cookie-primary-btn-text);
}
.cookie-consent__button--primary:hover {
	opacity: 0.9;
}

.cookie-consent__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 24px;
	height: 24px;
	border: none;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: #b0b0b0;
	cursor: pointer;
	padding: 0;
}
.cookie-consent__close:hover {
	color: #495057;
}

@media (max-width: 1200px) {
	.cookie-consent {
		bottom: 90px;

	}
}

@media (max-width: 768px) {
	.cookie-consent {
		left: 0;
		right: 0;
		bottom: 0;
		max-width: 100%;
		width: 100%;
		padding: 24px 16px;
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		column-gap: 16px;
		font-size: 14px;
	}

	.cookie-consent.active {
		z-index: 10000;
		transform: translateY(-55px);
		box-shadow: none;
		padding-bottom: 40px;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.cookie-consent__icon {
		margin-bottom: 12px;
		margin-right: 27px;
		width: 50px;
		height: 50px;
	}

	.cookie-consent__content {
		width: auto;
		margin-bottom: 0;
		text-align: left;
	}

	.cookie-consent__actions {
		grid-column: 1 / -1;
		margin-top: 20px;
	}

	.cookie-consent__text,
	.cookie-consent__link {
		font-size: 14px;
	}
}