#theme-cookie-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 100000;
	color: #2f2925;
	background: #ffffff;
	border-top: 1px solid rgba(71, 47, 33, 0.16);
	box-shadow: 0 -12px 36px rgba(42, 29, 21, 0.14);
	font-size: 14px;
	line-height: 1.5;
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#theme-cookie-bar.theme-cookie-bar-visible {
	transform: translateY(0);
}

.theme-cookie-bar-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px clamp(18px, 4vw, 40px);
	box-sizing: border-box;
}

.theme-cookie-bar-copy {
	flex: 1 1 640px;
	min-width: 0;
}

.theme-cookie-bar-title {
	display: block;
	margin: 0 0 4px;
	color: #432b1d;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.theme-cookie-bar-text {
	margin: 0;
	max-width: 760px;
	color: #65564c;
	font-size: 14px;
	line-height: 1.55;
}

.theme-cookie-bar-link {
	color: #7b3f20;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.theme-cookie-bar-actions,
.theme-cookie-bar-detail-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.theme-cookie-bar-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #8e796c;
	border-radius: 4px;
	color: #432b1d;
	background: #ffffff;
	font: inherit;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.theme-cookie-bar-btn:hover {
	border-color: #6a3a21;
	background: #f5f0ec;
}

.theme-cookie-bar-btn:focus-visible {
	outline: 3px solid rgba(197, 98, 38, 0.34);
	outline-offset: 2px;
}

.theme-cookie-bar-btn--accept {
	order: -1;
	border-color: #6b3519;
	color: #ffffff;
	background: #6b3519;
}

.theme-cookie-bar-btn--accept:hover {
	border-color: #4f2814;
	color: #ffffff;
	background: #4f2814;
}

.theme-cookie-bar-btn--settings {
	border-color: transparent;
	background: transparent;
}

.theme-cookie-bar-detail {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px clamp(18px, 4vw, 40px);
	border-top: 1px solid rgba(71, 47, 33, 0.12);
	background: #f8f6f4;
	box-sizing: border-box;
}

.theme-cookie-bar-detail[hidden] {
	display: none;
}

.theme-cookie-bar-toggles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.theme-cookie-toggle-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	min-height: 82px;
	padding: 14px;
	border: 1px solid rgba(71, 47, 33, 0.14);
	border-radius: 4px;
	background: #ffffff;
	box-sizing: border-box;
}

.theme-cookie-toggle-copy {
	display: grid;
	gap: 4px;
	color: #65564c;
	font-size: 13px;
	line-height: 1.45;
}

.theme-cookie-toggle-title {
	color: #432b1d;
	font-size: 14px;
}

.theme-cookie-toggle-row input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #6b3519;
}

.theme-cookie-settings-trigger {
	cursor: pointer;
}

.theme-cookie-snippet {
	display: none !important;
}

.theme-consent-embed {
	display: grid;
	gap: 12px;
}

.theme-consent-embed__placeholder {
	display: grid;
	gap: 12px;
}

.theme-consent-embed__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.theme-consent-embed__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.theme-consent-embed__content {
	width: 100%;
}

.theme-consent-embed iframe[hidden] {
	display: none;
}

.theme-floating-action {
	z-index: 9900;
}

.theme-cookie-settings-page__hero-actions,
.theme-cookie-settings-page__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.theme-cookie-settings-page__choices {
	margin-top: 1.5rem;
}

.theme-legal-choice-item {
	cursor: pointer;
}

@media (max-width: 640px) {
	#theme-cookie-bar {
		max-height: 92vh;
		overflow-y: auto;
	}

	.theme-cookie-bar-main {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.theme-cookie-bar-copy {
		flex: 0 1 auto;
		width: 100%;
	}

	.theme-cookie-bar-actions,
	.theme-cookie-bar-detail-actions {
		width: 100%;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.theme-cookie-bar-btn {
		width: 100%;
		padding-right: 10px;
		padding-left: 10px;
		white-space: normal;
	}

	.theme-cookie-bar-btn--accept {
		grid-column: 1 / -1;
	}

	.theme-cookie-bar-toggles {
		grid-template-columns: 1fr;
	}
}
