.ll-consent,
.ll-consent * {
	box-sizing: border-box;
}

.cookie-notification {
	display: none !important;
}

.ll-consent[hidden],
.ll-consent__preferences[hidden],
.ll-consent__manage[hidden] {
	display: none !important;
}

.ll-consent {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: clamp(18px, 3vw, 32px);
	background: rgba(41, 38, 35, 0.22);
	color: #292623;
	font-family: var(--theme-font-family);
}

.ll-consent__banner {
	display: grid;
	gap: 22px;
	width: min(100%, 520px);
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid #e6e2de;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 18px 54px rgba(41, 38, 35, 0.16);
}

.ll-consent__eyebrow {
	margin: 0 0 6px;
	color: #8b8179;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
}

.ll-consent h2,
.ll-consent h3,
.ll-consent p {
	letter-spacing: 0;
}

.ll-consent h2 {
	margin: 0 0 8px;
	color: #292623;
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.2;
}

.ll-consent h3 {
	margin: 0 0 5px;
	color: #292623;
	font-size: 15px;
	line-height: 1.3;
}

.ll-consent__content p:not(.ll-consent__eyebrow),
.ll-consent__option p {
	margin: 0;
	color: #625d58;
	font-size: 14px;
	line-height: 1.55;
}

.ll-consent__link {
	display: inline-block;
	margin-top: 10px;
	color: #704936;
	font-size: 13px;
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ll-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.ll-consent__button,
.ll-consent__manage,
.ll-consent__close {
	border: 0;
	border-radius: 3px;
	font-family: var(--theme-font-family);
	font-weight: 600;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ll-consent__button {
	min-height: 42px;
	padding: 10px 18px;
	font-size: 14px;
	line-height: 1.2;
}

.ll-consent__button:focus-visible,
.ll-consent__manage:focus-visible,
.ll-consent__close:focus-visible,
.ll-consent__toggle:focus-visible {
	outline: 2px solid rgba(112, 73, 54, 0.35);
	outline-offset: 2px;
}

.ll-consent__button--primary {
	background: #704936;
	color: #fff;
	box-shadow: 0 4px 14px rgba(112, 73, 54, 0.2);
}

.ll-consent__button--primary:hover {
	background: #5f3d2d;
}

.ll-consent__button--secondary {
	border: 1px solid #d9d2cc;
	background: #fbfaf8;
	color: #292623;
}

.ll-consent__button--secondary:hover {
	border-color: #b9ada5;
	background: #f5f1ed;
}

.ll-consent__button--ghost {
	background: transparent;
	color: #704936;
}

.ll-consent__button--ghost:hover {
	background: rgba(112, 73, 54, 0.07);
}

.ll-consent__preferences {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(41, 38, 35, 0.38);
}

.ll-consent__preferences-panel {
	width: min(100%, 620px);
	max-height: calc(100vh - 40px);
	padding: clamp(22px, 4vw, 34px);
	overflow: auto;
	border: 1px solid #e6e2de;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 20px 70px rgba(41, 38, 35, 0.24);
}

.ll-consent__preferences-header {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e6e2de;
}

.ll-consent__close {
	width: 38px;
	height: 38px;
	padding: 0;
	background: #fbfaf8;
	color: #292623;
	font-size: 24px;
	line-height: 1;
}

.ll-consent__close:hover {
	background: #f5f1ed;
}

.ll-consent__option {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid #e6e2de;
}

.ll-consent__required {
	color: #704936;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.ll-consent__toggle {
	width: 46px;
	height: 26px;
	margin: 0;
	appearance: none;
	border: 1px solid #cfc6bf;
	border-radius: 999px;
	background: #e6e2de;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.ll-consent__toggle::before {
	display: block;
	width: 20px;
	height: 20px;
	margin: 2px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(41, 38, 35, 0.18);
	content: "";
	transition: transform 160ms ease;
}

.ll-consent__toggle:checked {
	border-color: #704936;
	background: #704936;
}

.ll-consent__toggle:checked::before {
	transform: translateX(20px);
}

.ll-consent__actions--preferences {
	min-width: 0;
	margin-top: 22px;
}

.ll-consent__manage {
	position: fixed;
	z-index: 99998;
	right: 18px;
	bottom: 18px;
	min-height: 36px;
	padding: 8px 12px;
	border: 1px solid #e6e2de;
	background: rgba(255, 255, 255, 0.94);
	color: #704936;
	font-size: 12px;
	box-shadow: 0 8px 26px rgba(41, 38, 35, 0.1);
}

.ll-consent__manage:hover {
	background: #fbfaf8;
}

.ll-cookie-policy-box {
	margin: 24px 0;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid #e6e2de;
	border-radius: 4px;
	background: #fbfaf8;
}

.ll-cookie-policy-box > :first-child {
	margin-top: 0;
}

.ll-cookie-policy-box > :last-child {
	margin-bottom: 0;
}

.ll-cookie-settings-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 8px;
	padding: 10px 18px;
	border: 0;
	border-radius: 3px;
	background: #704936;
	color: #fff;
	font-family: var(--theme-font-family);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(112, 73, 54, 0.16);
	transition: background-color 160ms ease, box-shadow 160ms ease;
}

.ll-cookie-settings-button:hover {
	background: #5f3d2d;
	color: #fff;
}

.ll-cookie-settings-button:focus-visible {
	outline: 2px solid rgba(112, 73, 54, 0.35);
	outline-offset: 2px;
}

.ll-consent-preferences-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.ll-consent {
		align-items: end;
		justify-items: center;
		padding: 12px;
	}

	.ll-consent__banner {
		gap: 18px;
	}

	.ll-consent__actions {
		display: grid;
		grid-template-columns: 1fr;
		min-width: 0;
	}

	.ll-consent__button {
		width: 100%;
	}

	.ll-consent__option {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ll-consent__required {
		white-space: normal;
	}
}
