#ledshop-consent {
	--lsc-ink: #22201e;
	--lsc-accent: #ff8500;
	--lsc-line: #ded9d1;
	color: var(--lsc-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
}

#ledshop-consent [hidden] { display: none !important; }

#ledshop-consent :is(h2, p) { margin: 0; }
#ledshop-consent h2 { color: inherit; font-size: 22px; line-height: 1.2; }
#ledshop-consent :is(p, .lsc-actions) { margin-top: 8px; }
#ledshop-consent a, #ledshop-consent .lsc-footer button { color: #884100; text-decoration: underline; text-underline-offset: 0.17em; }
#ledshop-consent :focus-visible { outline: 2px solid #884100; outline-offset: 3px; }

.lsc-banner, .lsc-settings {
	box-sizing: border-box;
	background: #fff;
	color: var(--lsc-ink);
	border: 1px solid var(--lsc-line);
	border-radius: 14px;
	box-shadow: 0 12px 42px #24170e26;
	padding: 20px;
}

.lsc-banner {
	position: fixed;
	z-index: 2147483000;
	bottom: max(12px, env(safe-area-inset-bottom));
	left: 50%;
	transform: translateX(-50%);
	width: min(790px, calc(100% - 24px));
	display: grid;
	gap: 12px;
}

.lsc-settings {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(600px, calc(100% - 24px));
	max-width: none;
	max-height: min(720px, calc(100dvh - 24px));
	overflow: auto;
	overscroll-behavior: contain;
}

.lsc-settings::backdrop { background: #211b16a0; }
.lsc-heading, .lsc-category-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lsc-category { border-top: 1px solid var(--lsc-line); padding: 12px 0; }
.lsc-category:first-of-type { margin-top: 12px; }
.lsc-category-name input { width: 20px; height: 20px; accent-color: var(--lsc-accent); }
.lsc-category-name span { font-size: 13px; color: #4f4942; }
.lsc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#ledshop-consent .lsc-actions button, #ledshop-consent .lsc-close {
	min-height: 44px;
	padding: 7px 10px;
	border: 1px solid var(--lsc-line);
	border-radius: 7px;
	background: #f7f5f2;
	color: var(--lsc-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

#ledshop-consent button[data-lsc-choice], #ledshop-consent button[data-lsc-save] {
	background: var(--lsc-accent);
	border-color: var(--lsc-accent);
	color: #20160d;
}

#ledshop-consent .lsc-close { width: 44px; flex: 0 0 auto; font-size: 21px; }
#ledshop-consent .lsc-footer { display: flex; justify-content: center; padding: 4px 12px; }
#ledshop-consent .lsc-footer button { background: transparent; border: 0; font: inherit; padding: 10px 5px; cursor: pointer; }
#ledshop-consent .lsc-error { color: #9b2525; }

@media (max-width: 560px) {
	.lsc-banner, .lsc-settings { padding: 14px; }
	.lsc-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lsc-actions button:last-child { grid-column: 1 / -1; }
}
