/* Footer legal information. Loaded last to avoid legacy theme overrides. */
.footer-legal {
	width: 100%;
	max-width: 900px;
}

.footer-legal p {
	margin: 0;
}

.footer-legal .footer-legal__notice {
	color: #2f3441;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 18px !important;
}

.footer-legal .footer-legal__offer {
	color: #6c757d;
	font-size: 13px;
	line-height: 1.5;
}

.footer-legal .footer-legal__personal-data {
	margin-top: 10px !important;
	color: #6c757d;
	font-size: 13px;
	line-height: 1.5;
}

.footer-legal .footer-legal__offer a,
.footer-legal .footer-legal__link {
	color: #40506a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-legal .footer-legal__link:hover,
.footer-legal .footer-legal__link:focus-visible,
.footer-legal .footer-legal__offer a:hover,
.footer-legal .footer-legal__offer a:focus-visible {
	color: #71399e;
	text-decoration-thickness: 2px;
}

.footer-legal .footer-legal__link--pending {
	cursor: not-allowed;
}

/* Site-wide cookie notice. */
#cookie-notice.cookie-notice {
	position: fixed;
	right: 24px;
	bottom: 24px;
	left: 24px;
	z-index: 100000;
	width: auto;
	max-width: 1180px;
	margin: 0 auto;
	color: #34394a;
	background: #fff;
	border: 1px solid rgba(128, 66, 177, 0.24);
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(30, 21, 38, 0.2);
	box-sizing: border-box;
}

#cookie-notice.cookie-notice * {
	box-sizing: border-box;
}

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

#cookie-notice .cookie-notice__inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center !important;
	gap: 24px;
	width: auto !important;
	padding: 18px 22px;
}

#cookie-notice .cookie-notice__text {
	position: static !important;
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	overflow-wrap: anywhere;
}

#cookie-notice .cookie-notice__button {
	position: static !important;
	display: inline-block !important;
	width: auto !important;
	min-width: 112px;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 11px 22px !important;
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	background: #8042b1;
	border: 0;
	border-radius: 24px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

#cookie-notice .cookie-notice__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

#cookie-notice .cookie-notice__button--secondary {
	color: #8042b1;
	background: #fff;
	border: 1px solid rgba(128, 66, 177, 0.55);
}

#cookie-notice .cookie-notice__button:hover,
#cookie-notice .cookie-notice__button:focus-visible {
	color: #fff;
	background: #693294;
}

#cookie-notice .cookie-notice__button--secondary:hover,
#cookie-notice .cookie-notice__button--secondary:focus-visible {
	color: #693294;
	background: #f7f1fb;
}

#cookie-notice .cookie-notice__button:active {
	transform: translateY(1px);
}

@media screen and (max-width: 767px) {
	#cookie-notice.cookie-notice {
		right: 12px;
		bottom: 92px;
		left: 12px;
		max-width: calc(100vw - 24px);
		max-height: calc(100vh - 116px);
		overflow: auto;
	}

	#cookie-notice .cookie-notice__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 15px;
	}

	#cookie-notice .cookie-notice__text {
		font-size: 13.5px;
		line-height: 1.45;
	}

	#cookie-notice .cookie-notice__button {
		width: 100% !important;
	}

	#cookie-notice .cookie-notice__actions {
		align-items: stretch;
		flex-direction: column;
	}
}
