/* Cookie consent card */
.cookie-consent {
	position: fixed;
	left: 24px;
	bottom: 24px;
	max-width: 260px;
	width: calc(100% - 48px);
	display: flex;
	gap: 16px;
	padding: 18px;
	border-radius: 16px;
	background: rgba(28, 28, 28, 0.92);
	color: #ffffff;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
	transform: translate3d(0, 40px, 0);
	opacity: 0;
	visibility: hidden;
	z-index: 9997;
	transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-consent--show {
	transform: translate3d(0, 0, 0);
	opacity: 1;
	visibility: visible;
}

.cookie-consent__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.6);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cookie-consent__close:hover {
	color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__icon {
	flex: 0 0 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(179, 141, 63, 0.2);
	color: #e8c067;
	font-size: 24px;
}

.cookie-consent__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cookie-consent__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.cookie-consent__subtitle {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.75);
}

.cookie-consent__alert {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: rgba(240, 217, 161, 0.5);
}

.cookie-consent__alert:hover {
	color: rgba(255, 255, 255, 0.85);
	text-decoration-color: rgba(240, 217, 161, 0.8);
}

.cookie-consent__actions {
	display: flex;
	gap: 10px;
}

.cookie-consent__button {
	border: 0;
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-consent__button:focus {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

.cookie-consent__button--confirm {
	background: linear-gradient(135deg, #b38d3f, #e8c067);
	color: #1c1c1c;
	box-shadow: 0 1px 18px rgba(179, 141, 63, 0.42);
	width: 100%;
}

.cookie-consent__button--confirm:hover {
	/* transform: translateY(-2px); */
	box-shadow: 0 18px 28px rgba(179, 141, 63, 0.5);
}

@media (max-width: 640px) {
	.cookie-consent {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
		flex-direction: column;
		align-items: stretch;
	}

	.cookie-consent__media {
		width: 100%;
		flex: none;
	}

	.cookie-consent__media::after {
		padding-top: 56.25%;
	}

	.cookie-consent__actions {
		flex-direction: column;
	}
}
