/*
 * Consent banner. Sits above the mobile bottom nav rather than on top of it, so the
 * one control a visitor needs to keep shopping is never covered by the one control
 * they need to answer.
 */
.mh-consent {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 99000;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 640px;
	margin: 0 auto;
	padding: 16px 18px;
	border: 1px solid var(--line, #e6e1d8);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(20, 29, 51, .16);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .24s ease, transform .24s ease;
}

.mh-consent.is-in {
	opacity: 1;
	transform: none;
}

.mh-consent__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--ink-2, #3a4258);
}

.mh-consent__acts {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.mh-consent__more {
	margin-inline-end: auto;
	font-size: 12.5px;
	color: var(--ink-3, #6b7280);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mh-consent__btn {
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid var(--line, #e6e1d8);
	background: #fff;
	color: var(--ink-2, #3a4258);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.mh-consent__btn.is-solid {
	border-color: var(--brand, #e0530f);
	background: var(--brand, #e0530f);
	color: #fff;
}

.mh-consent__btn:focus-visible {
	outline: 2px solid var(--brand, #e0530f);
	outline-offset: 2px;
}

/* Clear of the mobile bottom nav. */
@media (max-width: 960px) {
	.mh-consent {
		bottom: 74px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mh-consent {
		transition: none;
	}
}
