.footer-cookie-settings {
	background: none;
	border: 0;
	color: var(--afmo-blue);
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
	padding: 0;
	text-decoration: none;
}

.footer-cookie-settings:hover {
	text-decoration: underline;
}

.footer-cookie-settings:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: grid;
	place-items: end center;
	padding: 1.5rem;
}

.cookie-consent__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(19, 36, 76, .5);
}

.cookie-consent__dialog {
	position: relative;
	width: min(100%, 850px);
	background: var(--blue-50);
	border: 2px solid var(--blue-300);
	border-radius: var(--radius-block);
	box-shadow: 0 18px 55px rgba(19, 36, 76, .35);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.cookie-consent__dialog:focus {
	outline: none;
}

.cookie-consent__eyebrow {
	color: var(--afmo-green);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin: 0 0 .45rem;
	text-transform: uppercase;
}

.cookie-consent h2 {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	margin: 0 0 1rem;
}

.cookie-consent h3 {
	font-size: 1.15rem;
	margin: 0 0 .25rem;
}

.cookie-consent p {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 1rem;
}

.cookie-consent__links a {
	color: var(--afmo-blue);
	font-weight: 700;
}

.cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: flex-end;
	margin-top: 1.5rem;
}

.cookie-consent__button {
	border: 2px solid var(--afmo-blue);
	border-radius: 999px;
	color: var(--afmo-blue);
	font: inherit;
	font-weight: 700;
	min-height: 44px;
	padding: .6rem 1.15rem;
}

.cookie-consent__button--primary {
	background: var(--afmo-blue);
	color: #fff;
}

.cookie-consent__button--secondary {
	background: transparent;
}

.cookie-consent__button:focus-visible,
.cookie-consent__switch input:focus-visible+span {
	outline: 3px solid var(--orange-500);
	outline-offset: 3px;
}

.cookie-consent__category {
	align-items: center;
	border-top: 1px solid var(--blue-300);
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	padding: 1rem 0;
}

.cookie-consent__category p {
	font-size: .9rem;
	margin: 0;
	max-width: 610px;
}

.cookie-consent__required {
	color: var(--afmo-green);
	font-size: .9rem;
	font-weight: 700;
	white-space: nowrap;
}

.cookie-consent__switch {
	flex: 0 0 auto;
	cursor: pointer;
}

.cookie-consent__switch input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.cookie-consent__switch span {
	background: var(--afmo-gray);
	border-radius: 999px;
	display: block;
	height: 28px;
	position: relative;
	width: 52px;
}

.cookie-consent__switch span::after {
	background: #fff;
	border-radius: 50%;
	content: '';
	height: 22px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform .2s ease;
	width: 22px;
}

.cookie-consent__switch input:checked+span {
	background: var(--afmo-green);
}

.cookie-consent__switch input:checked+span::after {
	transform: translateX(24px);
}

body.cookie-consent-open {
	overflow: hidden;
}

@media (max-width: 575.98px) {
	.cookie-consent {
		padding: 0;
		place-items: end stretch;
	}

	.cookie-consent__dialog {
		border-radius: 30px 30px 0 0;
	}

	.cookie-consent__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.cookie-consent__button {
		width: 100%;
	}

	.cookie-consent__category {
		align-items: flex-start;
	}
}