:root {
	--vx-consent-width: 360px;
	--vx-consent-radius: 6px;
	--vx-consent-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
	--vx-consent-bg: var(--wp--preset--color--base, #fff);
	--vx-consent-fg: var(--wp--preset--color--contrast, #111);
	--vx-consent-btn-bg: var(--wp--preset--color--primary, #007cba);
	--vx-consent-btn-fg: var(--wp--preset--color--base, #fff);
	--vx-consent-reject-bg: var(--vx-consent-btn-bg);
	--vx-consent-reject-fg: var(--vx-consent-btn-fg);
	--vx-consent-settings-bg: transparent;
	--vx-consent-settings-fg: var(--wp--preset--color--secondary, currentColor);
	--vx-consent-toggle-on: var(--wp--preset--color--primary, #007cba);
	--vx-consent-link: var(--wp--preset--color--contrast, #111);
}

#vx-cookienotice {
	box-sizing: border-box;
	flex-direction: column;
	align-items: stretch;
	width: min(var(--vx-consent-width), calc(100% - 1.5rem));
	max-height: calc(100vh - 1.5rem);
	position: fixed;
	z-index: 10001;
	left: 50%;
	bottom: 0.75rem;
	transform: translateX(-50%);
	padding: 1.35rem 1.4rem 1.2rem;
	gap: 1rem;
	border-radius: var(--vx-consent-radius);
	box-shadow: var(--vx-consent-shadow);
	overflow: auto;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: var(--wp--preset--font-size--medium, inherit);
	color: var(--vx-consent-fg);
	background-color: var(--vx-consent-bg);
}

#vx-cookienotice .vx-consent-header[hidden] {
	display: none;
}

#vx-cookienotice a {
	color: var(--vx-consent-link);
}

#vx-cookienotice .vx-consent-header {
	margin: 0;
}

#vx-cookienotice .vx-consent-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: var(--wp--preset--font-size--large, 1.05rem);
	line-height: 1.3;
	font-weight: 600;
}

#vx-cookienotice .vx-consent-banner-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1rem;
}

#vx-cookienotice .vx-consent-message {
	flex: 1 1 100%;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

#vx-cookienotice .vx-consent-message p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
}

#vx-cookienotice .vx-consent-documents {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.82rem;
}

#vx-cookienotice .vx-consent-documents[hidden],
#vx-cookienotice .vx-consent-documents li[hidden] {
	display: none;
}

#vx-cookienotice .vx-consent-buttons {
	flex: 1 1 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.55rem;
	justify-content: stretch;
	align-items: stretch;
	width: 100%;
}

#vx-cookienotice .vx-consent-action-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
}

#vx-cookienotice .vx-consent-action-row #vx-cookie-accept,
#vx-cookienotice .vx-consent-action-row #vx-cookie-reject {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.15rem;
	font-size: 0.98rem;
	box-sizing: border-box;
}

#vx-cookienotice .vx-consent-action-row #vx-cookie-accept,
#vx-cookienotice .vx-consent-action-row #vx-cookie-reject {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

#vx-cookienotice button {
	cursor: pointer;
	border: none;
	padding: 0.8rem 1.15rem;
	font: inherit;
	font-family: inherit;
	font-size: 0.98rem;
	border-radius: 4px;
	box-sizing: border-box;
}

#vx-cookienotice .vx-cookie-prefs-link {
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0.2rem 0;
	min-height: 0;
	width: auto;
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	color: var(--vx-consent-link);
}

#vx-cookienotice .vx-cookie-prefs-link.vx-consent-btn-filled {
	color: var(--vx-consent-settings-fg);
}

#vx-cookienotice.has-reject .vx-cookie-prefs-link,
#vx-cookienotice .vx-consent-buttons.has-reject .vx-cookie-prefs-link {
	flex: 1 1 100%;
	width: 100%;
	text-align: center;
}

#vx-cookienotice .vx-cookie-reject {
	background-color: var(--vx-consent-reject-bg);
	border: 0;
	color: var(--vx-consent-reject-fg);
}

#vx-cookienotice .vx-cookie-reject.vx-consent-btn-filled {
	border-color: var(--vx-consent-reject-bg);
}

#vx-cookienotice #vx-cookie-accept,
#vx-cookienotice #vx-cookie-save,
#vx-cookienotice #vx-cookie-reject {
	min-height: 3rem;
	border: 0 !important;
	outline: 0;
	box-shadow: none !important;
}

#vx-cookienotice #vx-cookie-accept,
#vx-cookienotice #vx-cookie-save {
	background-color: var(--vx-consent-btn-bg);
	color: var(--vx-consent-btn-fg);
}

#vx-cookienotice .vx-consent-save-hidden {
	display: none;
}

#vx-cookienotice.is-open .vx-consent-save-hidden {
	display: flex;
	width: 100%;
}

#vx-cookienotice.is-open #vx-cookie-customize,
#vx-cookienotice.is-open #vx-cookie-accept,
#vx-cookienotice.is-open #vx-cookie-reject {
	display: none;
}

#vx-cookienotice .vx-consent-categories[hidden] {
	display: none;
}

#vx-cookienotice.is-open .vx-consent-categories {
	display: block;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	padding-top: 0.5rem;
}

.vx-consent-cat {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vx-consent-cat-header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0;
}

.vx-consent-cat-title {
	flex: 1 1 auto;
	font-weight: 600;
}

.vx-consent-always {
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	opacity: 0.7;
}

.vx-consent-cat-header > .vx-consent-cat-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vx-consent-switch {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.vx-consent-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.vx-consent-switch-ui {
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.25);
	position: relative;
	flex: 0 0 auto;
}

.vx-consent-switch-ui::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.vx-consent-switch input:checked + .vx-consent-switch-ui {
	background: var(--vx-consent-toggle-on);
}

.vx-consent-switch input:checked + .vx-consent-switch-ui::after {
	transform: translateX(18px);
}

.vx-consent-switch input:focus-visible + .vx-consent-switch-ui {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.vx-consent-cat-toggle {
	background: transparent !important;
	border: 0 !important;
	padding: 0.2rem !important;
	width: 1.75rem;
	height: 1.75rem;
	position: relative;
}

.vx-consent-cat-toggle::before {
	content: "";
	position: absolute;
	inset: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.7;
}

.vx-consent-cat-toggle[aria-expanded="true"]::before {
	transform: rotate(225deg);
	top: 0.55rem;
}

.vx-consent-cat-body {
	padding: 0 0 0.75rem;
}

.vx-consent-cat-body p {
	margin: 0 0 0.5rem;
	font-size: 0.88rem;
	line-height: 1.45;
	opacity: 0.9;
}

.vx-consent-cookies {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vx-consent-cookies li {
	padding: 0.4rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.82rem;
}

.vx-consent-cookies strong {
	display: block;
}

.vx-consent-meta {
	display: block;
	opacity: 0.65;
	font-size: 0.75rem;
}

.vx-consent-cdb-link {
	font-size: 0.75rem;
}

#vx-cookie-settings.vx-consent-reopen {
	position: fixed;
	bottom: -0.7rem;
	right: 1.5rem;
	z-index: 9999;
	font: inherit;
	font-size: 0.8rem;
	background: #111;
	color: #fff;
	border: 0;
	padding: 0.55rem 0.9rem 1.1rem;
	cursor: pointer;
	border-radius: 6px 6px 0 0;
	transition: bottom 0.35s ease;
}

#vx-cookie-settings.vx-consent-reopen:hover,
#vx-cookie-settings.vx-consent-reopen:focus,
#vx-cookie-settings.vx-consent-reopen:focus-visible {
	bottom: 0;
	padding-bottom: 0.55rem;
}

#vx-cookienotice.vx-consent-pos-bottom-left {
	left: 0.75rem;
	right: auto;
	transform: none;
}

#vx-cookienotice.vx-consent-pos-bottom-right {
	left: auto;
	right: 0.75rem;
	transform: none;
}

#vx-cookienotice.vx-consent-pos-center {
	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%);
}

#vx-cookienotice.vx-consent-layout-compact .vx-consent-banner-main {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
}

#vx-cookienotice.vx-consent-layout-compact .vx-consent-message,
#vx-cookienotice.vx-consent-layout-compact .vx-consent-buttons {
	flex: 0 0 auto;
	width: 100%;
}

#vx-cookienotice.vx-consent-layout-compact .vx-consent-buttons {
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: stretch;
	align-items: stretch;
}

#vx-cookienotice.vx-consent-layout-compact .vx-consent-action-row #vx-cookie-accept {
	flex: 1 1 auto;
	width: auto;
}

#vx-cookienotice.vx-consent-layout-compact .vx-consent-action-row #vx-cookie-reject {
	flex: 0 1 auto;
	width: auto;
}

#vx-cookienotice:not([style*="display: none"]) ~ #vx-cookie-settings,
#vx-cookienotice[style*="display:flex"] ~ #vx-cookie-settings,
#vx-cookienotice[style*="display: flex"] ~ #vx-cookie-settings {
	display: none;
}

#vx-cookienotice.vx-consent-anim-fade {
	animation: vx-consent-fade 0.28s ease;
}

#vx-cookienotice.vx-consent-anim-slide.vx-consent-pos-center {
	animation: vx-consent-fade 0.28s ease;
}

#vx-cookienotice.vx-consent-anim-slide:not(.vx-consent-pos-center) {
	animation: vx-consent-slide-up 0.32s ease;
}

@keyframes vx-consent-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes vx-consent-slide-up {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

#vx-cookienotice.vx-consent-anim-slide.vx-consent-pos-bottom-left,
#vx-cookienotice.vx-consent-anim-slide.vx-consent-pos-bottom-right {
	animation-name: vx-consent-slide-up-flush;
}

@keyframes vx-consent-slide-up-flush {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 640px) {
	#vx-cookienotice {
		width: calc(100% - 0.75rem);
		bottom: 0.4rem;
	}

	#vx-cookienotice.vx-consent-pos-bottom-left,
	#vx-cookienotice.vx-consent-pos-bottom-right {
		left: 0.4rem;
		right: 0.4rem;
		width: calc(100% - 0.8rem);
		transform: none;
	}

	#vx-cookienotice .vx-consent-buttons {
		justify-content: stretch;
	}

	#vx-cookienotice .vx-consent-buttons button {
		flex: 1 1 auto;
	}
}
