/* Cookie banner (consent.php). Her colors, with fallbacks if the theme ever changes. */
.llc {
	--llc-pink: var(--lls-pink, #fc7aa9);
	--llc-pink-dark: #e2558a;
	--llc-ink: var(--lls-ink, #2a2140);
	--llc-muted: var(--lls-muted, #5b4b6b);
	--llc-link: var(--lls-pink-ink, #b8336a);
	display: none;
	position: fixed; z-index: 99990; /* under the cart drawer (100000) */
	left: 20px; bottom: 20px;
	width: min(400px, calc(100vw - 40px));
	box-sizing: border-box;
	overflow: hidden;
	padding: 20px 20px 18px;
	border-radius: 22px;
	background: #fff;
	color: var(--llc-ink);
	box-shadow: 0 2px 4px rgb(184 51 106 / .08), 0 18px 40px -12px rgb(42 33 64 / .38);
	font-family: var(--ts-font-b, inherit);
	font-size: .9375rem; line-height: 1.45;
}
.llc::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
	background: var(--lls-rainbow, linear-gradient(90deg, #fc7aa9 0 16.66%, #fea869 0 33.33%, #fec646 0 50%, #90d7d6 0 66.66%, #eba3d5 0 83.33%, #ffafc1 0));
}
html[data-llc="ask"] .llc, html[data-llc="open"] .llc { display: block; }
.llc:focus { outline: none; }
.llc:focus-visible { outline: 3px solid var(--llc-pink); outline-offset: 2px; }
.llc__title { margin: 0 0 4px; font-family: var(--ts-font-h, inherit); font-size: 1.125rem; line-height: 1.2; color: var(--llc-ink); }
.llc__text { margin: 0 0 14px; color: var(--llc-muted); }
.llc__text a { color: var(--llc-link); text-decoration: underline; text-underline-offset: 2px; }
.llc__btns { display: flex; gap: 10px; }
.llc__btn {
	flex: 1 1 0; min-height: 44px; margin: 0; padding: 10px 16px;
	border: 2px solid var(--llc-pink); border-radius: 999px;
	font: 700 1rem/1.2 var(--ts-font-b, inherit); cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.llc__btn--yes { background: var(--llc-pink); color: var(--ts-on-accent, var(--llc-ink)); box-shadow: 0 4px 0 var(--llc-pink-dark); }
.llc__btn--yes:hover { background: #fd88b3; transform: translateY(-1px); box-shadow: 0 5px 0 var(--llc-pink-dark); }
.llc__btn--no { background: #fff; color: var(--llc-ink); border-color: var(--llc-ink); box-shadow: 0 4px 0 var(--llc-ink); }
.llc__btn--no:hover { background: var(--lls-yellow-soft, #fff3d3); transform: translateY(-1px); box-shadow: 0 5px 0 var(--llc-ink); }
.llc__btn--yes:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--llc-pink-dark); }
.llc__btn--no:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--llc-ink); }
.llc__btn:focus-visible { outline: 3px solid var(--llc-ink); outline-offset: 3px; }

/* Phone: a short sheet along the bottom. */
@media (max-width: 600px) {
	.llc { left: 0; bottom: 0; width: 100%; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; font-size: .875rem; }
	.llc__title { font-size: 1rem; }
	.llc__text { margin-bottom: 12px; }
}

/* "Cookie settings" in the footer looks like the links next to it. */
.llc-open { display: inline-block; margin: 0; padding: 3px 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.llc-open:hover { text-decoration: underline; text-decoration-color: var(--ts-accent, currentColor); }

@media (prefers-reduced-motion: reduce) {
	.llc__btn { transition: none; }
}
@media print {
	.llc { display: none !important; }
}
