.em-cookie-consent[hidden],
.em-cookie-consent-open[hidden] {
	display: none !important;
}

.em-cookie-consent {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 999999;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem 1.5rem;
	align-items: center;
	width: min(70rem, calc(100% - 2rem));
	max-width: calc(100% - 2rem);
	margin-inline: auto;
	padding: 1.25rem;
	color: #17353d;
	background: #fffdf8;
	border: 1px solid rgba(23, 53, 61, 0.18);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(23, 53, 61, 0.2);
}

.em-cookie-consent__copy h2 {
	margin: 0 0 0.35rem;
	font: 700 clamp(1.125rem, 2vw, 1.375rem)/1.2 Manrope, sans-serif;
}

.em-cookie-consent__copy p {
	max-width: 52rem;
	margin: 0 0 0.35rem;
	font: 400 0.9375rem/1.55 Manrope, sans-serif;
}

.em-cookie-consent__copy a {
	color: #1749c6;
	font-weight: 700;
	text-underline-offset: 0.18em;
}

.em-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	justify-content: flex-end;
}

.em-cookie-consent__button,
.em-cookie-consent-open {
	min-height: 44px;
	padding: 0.7rem 1rem;
	font: 700 0.875rem/1.2 Manrope, sans-serif;
	color: #17353d;
	background: #fffdf8;
	border: 1px solid rgba(23, 53, 61, 0.35);
	border-radius: 8px;
	cursor: pointer;
}

.em-cookie-consent__button--primary {
	color: #fff;
	background: #c21872;
	border-color: #c21872;
}

.em-cookie-consent__button:focus-visible,
.em-cookie-consent-open:focus-visible {
	outline: 3px solid #1749c6;
	outline-offset: 3px;
}

.em-cookie-consent-open {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 999998;
	background: #fffdf8;
	box-shadow: 0 8px 24px rgba(23, 53, 61, 0.16);
}

@media (max-width: 480px) {
	.em-cookie-consent {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.em-cookie-consent__actions {
		justify-content: stretch;
	}

	.em-cookie-consent__button {
		width: 100%;
	}
}
