.lgc-banner,
.lgc-banner *,
.lgc-reopen,
.lgc-inline-open {
	box-sizing: border-box;
	letter-spacing: 0;
}

.lgc-banner,
.lgc-banner button,
.lgc-reopen,
.lgc-inline-open {
	font-family: inherit;
}

.lgc-banner[hidden],
.lgc-preferences[hidden],
.lgc-reopen[hidden] {
	display: none !important;
}

.lgc-banner {
	--lgc-brand-gold: #c9ac77;
	--lgc-brand-gold-active: #b18f53;
	--lgc-brand-gold-border: #ba9b65;
	--lgc-brand-gold-soft: #f7f1e6;
	--lgc-border: #e6e6e6;
	--lgc-text: #171a1c;
	--lgc-muted: rgba(0, 0, 0, 0.65);
	position: fixed;
	right: 16px;
	bottom: var(--lgc-bottom, 16px);
	z-index: 1000000;
	display: grid;
	gap: 12px;
	width: min(560px, calc(100vw - 32px));
	padding: 18px;
	color: var(--lgc-text);
	background: #fff;
	border: 1px solid var(--lgc-border);
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.lgc-banner__copy {
	min-width: 0;
	padding-right: 40px;
}

.lgc-banner__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	color: var(--lgc-text);
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	font-size: 26px;
	font-weight: 300;
	line-height: 1;
}

.lgc-banner__close:hover {
	background: var(--lgc-brand-gold-soft);
	border-color: var(--lgc-brand-gold-border);
}

.lgc-banner__title {
	margin: 0 0 5px;
	color: var(--lgc-text);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
}

.lgc-banner__badge {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 9px;
	padding: 4px 8px;
	color: #5f451e;
	background: var(--lgc-brand-gold-soft);
	border: 1px solid var(--lgc-brand-gold-border);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.lgc-banner__text {
	margin: 0;
	color: var(--lgc-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
}

.lgc-banner__text a {
	color: var(--lgc-text);
	font-weight: 500;
	text-decoration-line: underline;
	text-decoration-color: var(--lgc-brand-gold-border);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

.lgc-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.lgc-button,
.lgc-reopen,
.lgc-inline-open {
	min-height: 44px;
	margin: 0;
	padding: 9px 14px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.lgc-button {
	border: 1px solid var(--lgc-brand-gold-border);
}

.lgc-button--primary {
	color: var(--lgc-text);
	background: var(--lgc-brand-gold);
}

.lgc-button--primary:hover {
	background: var(--lgc-brand-gold-active);
}

.lgc-button--ghost,
.lgc-inline-open {
	color: var(--lgc-text);
	background: #fff;
}

.lgc-button--ghost:hover,
.lgc-inline-open:hover {
	background: var(--lgc-brand-gold-soft);
}

.lgc-button:focus-visible,
.lgc-banner__close:focus-visible,
.lgc-reopen:focus-visible,
.lgc-inline-open:focus-visible,
.lgc-banner .lgc-choice input[type="checkbox"]:focus-visible {
	outline: 3px solid rgba(177, 143, 83, 0.42);
	outline-offset: 2px;
}

.lgc-preferences {
	display: grid;
	gap: 14px;
	padding: 14px;
	background: #f7f7f7;
	border: 1px solid var(--lgc-border);
	border-radius: 4px;
}

.lgc-choice {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin: 0;
	color: var(--lgc-text);
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.lgc-choice:has(input:disabled) {
	cursor: default;
}

.lgc-choice span {
	display: block;
	min-width: 0;
}

.lgc-banner .lgc-choice input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	position: static;
	display: grid;
	place-items: center;
	float: none;
	width: 20px;
	min-width: 20px;
	max-width: 20px;
	height: 20px;
	min-height: 20px;
	max-height: 20px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--lgc-brand-gold-border);
	border-radius: 2px;
	box-shadow: none;
	cursor: pointer;
	opacity: 1;
	vertical-align: top;
}

.lgc-banner .lgc-choice input[type="checkbox"]::after {
	content: "";
	width: 6px;
	height: 11px;
	margin-top: -2px;
	border: solid var(--lgc-text);
	border-width: 0 2px 2px 0;
	opacity: 0;
	transform: rotate(45deg);
}

.lgc-banner .lgc-choice input[type="checkbox"]:checked::after {
	opacity: 1;
}

.lgc-banner .lgc-choice input[type="checkbox"]:disabled {
	cursor: default;
}

.lgc-choice strong,
.lgc-choice small {
	display: block;
	letter-spacing: 0;
}

.lgc-choice strong {
	color: var(--lgc-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.lgc-choice small {
	margin-top: 3px;
	color: var(--lgc-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.lgc-reopen {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 999997;
	color: #171a1c;
	background: #fff;
	border: 1px solid #e6e6e6;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

@media (max-width: 600px) {
	.lgc-banner {
		left: 10px;
		right: 10px;
		bottom: var(--lgc-bottom, 10px);
		width: auto;
		max-height: calc(100vh - var(--lgc-bottom, 10px) - 10px);
		max-height: calc(100dvh - var(--lgc-bottom, 10px) - 10px);
		padding: 14px;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.lgc-banner__copy {
		padding-right: 38px;
	}

	.lgc-banner__close {
		top: 10px;
		right: 10px;
	}

	.lgc-banner__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.lgc-button {
		width: 100%;
		min-width: 0;
	}
}

@media (forced-colors: active) {
	.lgc-banner .lgc-choice input[type="checkbox"] {
		-webkit-appearance: auto;
		appearance: auto;
	}
}
