/* 420Express Cookies & Tracking: consent banner. Uses the 420Express theme colours when present. */
.le420cc {
	--cc-brand: var(--brand, #1f5a38);
	--cc-ink: var(--ink, #12261a);
	--cc-muted: var(--muted, #5b6b60);
	--cc-line: var(--line, #dde4d8);
	--cc-soft: #eef4ee;
	position: fixed;
	z-index: 99996;
	left: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	width: 400px;
	max-width: calc(100vw - 20px);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
	color: var(--cc-ink);
	box-shadow: 0 24px 64px rgba(8, 25, 16, .26), 0 0 0 1px rgba(15, 42, 29, .08);
	font: 400 14px/1.5 var(--f-body, 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
}

.le420cc.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.le420cc[hidden] {
	display: none !important;
}

.le420cc *,
.le420cc *::before,
.le420cc *::after {
	box-sizing: border-box;
}

.le420cc p {
	margin: 0;
}

.le420cc .le420cc__title {
	margin-bottom: 6px;
	font: 800 17px/1.25 var(--f-head, 'Bricolage Grotesque', system-ui, sans-serif);
	color: var(--cc-ink);
}

.le420cc .le420cc__text {
	color: var(--cc-muted);
	font-size: 13.5px;
}

.le420cc a {
	color: var(--cc-brand);
	font-weight: 700;
	text-decoration: underline;
}

.le420cc__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.le420cc .le420cc__btn {
	flex: 1 1 auto;
	min-height: 42px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--cc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--cc-ink);
	font: 700 14px/1 var(--f-body, system-ui, sans-serif);
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, transform .15s ease;
}

.le420cc .le420cc__btn:hover {
	border-color: var(--cc-brand);
	transform: translateY(-1px);
}

.le420cc .le420cc__btn--primary {
	border-color: var(--cc-brand);
	background: var(--cc-brand);
	color: #fff;
}

.le420cc .le420cc__btn--primary:hover {
	filter: brightness(1.08);
}

.le420cc .le420cc__link {
	margin: 0;
	padding: 8px 6px;
	border: 0;
	background: none;
	color: var(--cc-brand);
	font: 700 13.5px/1 var(--f-body, system-ui, sans-serif);
	text-decoration: underline;
	cursor: pointer;
}

.le420cc :focus-visible {
	outline: 2px solid var(--gold, #f0b429);
	outline-offset: 2px;
}

/* Settings */
.le420cc__opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 8px;
	padding: 11px 12px;
	border: 1px solid var(--cc-line);
	border-radius: 14px;
	background: var(--cc-soft);
	cursor: pointer;
}

.le420cc__opt b {
	display: block;
	font-size: 14px;
}

.le420cc__opt small {
	display: block;
	color: var(--cc-muted);
	font-size: 12.5px;
	line-height: 1.4;
}

.le420cc__always {
	flex: none;
	color: var(--cc-brand);
	font-size: 12px;
	font-weight: 700;
}

.le420cc .le420cc__sw {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	flex: none;
	width: 44px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: #c5cec7;
	cursor: pointer;
	transition: background .2s ease;
}

.le420cc .le420cc__sw::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

.le420cc .le420cc__sw:checked {
	background: var(--cc-brand);
}

.le420cc .le420cc__sw:checked::after {
	transform: translateX(18px);
}

/* While the banner is open, the Rewards button (same corner) steps aside; on phones the Support button too. */
html.le420cc-open .rwb {
	opacity: 0;
	pointer-events: none;
}

/* A popup (age check, promo) is on screen: the banner waits behind it. */
html.le420pp-lock .le420cc,
html.le420-age .le420cc {
	visibility: hidden !important;
}

@media (max-width: 600px) {
	.le420cc {
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
		padding: 16px;
		border-radius: 18px;
	}

	html.le420cc-open .exp420-support-launcher {
		opacity: 0;
		pointer-events: none;
	}

	.le420cc .le420cc__btn {
		min-height: 40px;
	}
}

@media print {
	.le420cc {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.le420cc,
	.le420cc * {
		transition: none !important;
	}
}
