.mj-consent[hidden],
.mj-consent [hidden] {
	display: none !important;
}

.mj-consent {
	position: fixed;
	z-index: 100000;
	right: 18px;
	bottom: 18px;
	left: 18px;
	color: #13241f;
	font-family: inherit;
}

.mj-consent__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	width: min(1180px, 100%);
	margin-inline: auto;
	padding: clamp(20px, 3vw, 32px);
	gap: 24px 36px;
	border: 1px solid rgba(19, 36, 31, 0.16);
	border-radius: 3px;
	background: #f7f4ed;
	box-shadow: 0 24px 70px rgba(8, 18, 15, 0.24);
}

.mj-consent__copy {
	max-width: 760px;
}

.mj-consent__eyebrow {
	margin: 0 0 7px;
	color: #64716a;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mj-consent h2 {
	margin: 0;
	color: #13241f;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.12;
}

.mj-consent__copy > p:not(.mj-consent__eyebrow) {
	margin: 12px 0 0;
	color: #4e5d56;
	font-size: 0.92rem;
	line-height: 1.65;
}

.mj-consent a {
	color: #284f42;
	font-weight: 750;
	text-underline-offset: 0.18em;
}

.mj-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.mj-consent__actions--initial {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	width: min(360px, 100%);
}

.mj-consent__actions--initial .mj-consent__button--decision {
	width: 100%;
	height: 100%;
}

.mj-consent__actions--initial .mj-consent__button--customize {
	grid-column: 1 / -1;
}

.mj-consent__button {
	min-height: 46px;
	padding: 10px 17px;
	border: 1px solid #284f42;
	border-radius: 2px;
	background: #284f42;
	color: #fff;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 760;
	line-height: 1.2;
	cursor: pointer;
}

.mj-consent__button--quiet {
	background: transparent;
	color: #284f42;
}

.mj-consent__button:hover {
	background: #1d3d33;
	color: #fff;
}

.mj-consent__button:focus-visible,
.mj-consent a:focus-visible,
.mj-footer__consent:focus-visible {
	outline: 3px solid #d2a96a;
	outline-offset: 3px;
}

.mj-consent__preferences {
	grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
}

.mj-consent__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	gap: 10px;
	border: 0;
}

.mj-consent__choices label {
	display: grid;
	grid-template-columns: 22px 1fr;
	align-items: start;
	padding: 13px;
	gap: 10px;
	border: 1px solid rgba(19, 36, 31, 0.16);
	background: rgba(255, 255, 255, 0.48);
	cursor: pointer;
}

.mj-consent__choices input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #284f42;
}

.mj-consent__choices strong,
.mj-consent__choices small {
	display: block;
}

.mj-consent__choices strong {
	font-size: 0.84rem;
}

.mj-consent__choices small {
	margin-top: 3px;
	color: #627069;
	font-size: 0.72rem;
	line-height: 1.45;
}

.mj-consent__marketing {
	border-color: rgba(133, 82, 32, 0.4) !important;
}

.mj-consent__preferences .mj-consent__actions {
	grid-column: 1 / -1;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 820px) {
	.mj-consent {
		right: 10px;
		bottom: 10px;
		left: 10px;
	}

	.mj-consent__inner,
	.mj-consent__preferences {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 20px);
		overflow: auto;
		padding: 20px;
		gap: 18px;
	}

	.mj-consent__choices {
		grid-template-columns: 1fr;
	}

	.mj-consent__actions {
		justify-content: stretch;
	}

	.mj-consent__button {
		flex: 1 1 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mj-consent *,
	.mj-consent *::before,
	.mj-consent *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
