.operiva-cookie-consent,
.operiva-cookie-settings {
	font-family: var(--wp--preset--font-family--manrope);
}

.operiva-cookie-settings {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 29;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	min-height: 44px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text-dark);
	box-shadow: 0 0.5rem 1.5rem rgb(15 23 42 / 14%);
	font: inherit;
	cursor: pointer;
}

.operiva-cookie-settings svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.operiva-cookie-consent {
	position: fixed;
	right: var(--wp--preset--spacing--30);
	bottom: var(--wp--preset--spacing--30);
	left: var(--wp--preset--spacing--30);
	z-index: 30;
	display: grid;
	gap: 1.125rem;
	width: min(calc(100% - 2rem), 45rem);
	max-width: 100%;
	margin: 0 auto;
	padding: 1.25rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 24%, transparent);
	border-radius: 1.125rem;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text-dark);
	box-shadow: 0 1.375rem 3.375rem rgb(15 23 42 / 18%);
	font-size: var(--wp--preset--font-size--base);
}

.operiva-cookie-consent[hidden],
.operiva-cookie-settings[hidden],
.operiva-cookie-consent [hidden] {
	display: none;
}

.operiva-cookie-consent__scroll,
.operiva-cookie-consent__copy {
	display: grid;
	gap: 1.125rem;
	min-height: 0;
}

.operiva-cookie-consent__copy {
	gap: var(--wp--preset--spacing--20);
}

.operiva-cookie-consent__title,
.operiva-cookie-consent__description,
.operiva-cookie-consent__error {
	margin: 0;
}

.operiva-cookie-consent__title {
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.25;
}

.operiva-cookie-consent__description {
	color: var(--wp--preset--color--text-light);
	line-height: 1.58;
}

.operiva-cookie-consent__description a {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	text-decoration: underline;
}

.operiva-cookie-consent__options {
	display: grid;
	gap: 0.625rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.operiva-cookie-consent__option {
	display: grid;
	grid-template-columns: 1.375rem minmax(0, 1fr);
	gap: 0.625rem;
	align-items: start;
	padding: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
	border-radius: 0.75rem;
	background: var(--wp--preset--color--background);
	cursor: pointer;
}

.operiva-cookie-consent__option input {
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.1875rem 0 0;
	accent-color: var(--wp--preset--color--accent);
}

.operiva-cookie-consent__option > span {
	display: grid;
	gap: 0.1875rem;
	min-width: 0;
}

.operiva-cookie-consent__option strong {
	color: var(--wp--preset--color--text-dark);
	line-height: 1.3;
}

.operiva-cookie-consent__option span span {
	color: var(--wp--preset--color--text-light);
	font-size: var(--wp--preset--font-size--s);
	line-height: 1.45;
}

.operiva-cookie-consent__option--locked {
	cursor: default;
}

.operiva-cookie-consent__error {
	padding: 0.75rem;
	border: 1px solid #b91c1c;
	border-radius: 0.5rem;
	background: #fef2f2;
	color: #991b1b;
	font-size: var(--wp--preset--font-size--s);
	font-weight: 700;
	line-height: 1.45;
}

.operiva-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	justify-content: flex-end;
}

.operiva-cookie-consent__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.6875rem 1rem;
	border: 1px solid transparent;
	border-radius: 0.75rem;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.operiva-cookie-consent__button--primary {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
	box-shadow: 0 0.625rem 1.375rem rgb(14 165 233 / 22%);
}

.operiva-cookie-consent__button--secondary {
	border-color: var(--wp--preset--color--line-strong);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--text-dark);
}

.operiva-cookie-settings:focus-visible,
.operiva-cookie-consent__button:focus-visible,
.operiva-cookie-consent__description a:focus-visible,
.operiva-cookie-consent__title:focus-visible,
.operiva-cookie-consent__option:focus-within {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.operiva-cookie-settings:hover,
	.operiva-cookie-consent__button--secondary:hover {
		border-color: var(--wp--preset--color--accent);
		color: var(--wp--preset--color--accent);
	}

	.operiva-cookie-consent__button--primary:hover {
		background: var(--wp--preset--color--text-dark);
		box-shadow: none;
	}
}

@media (min-width: 48rem) {
	.operiva-cookie-consent {
		right: var(--wp--preset--spacing--40);
		bottom: var(--wp--preset--spacing--40);
		left: auto;
		margin: 0;
		padding: 1.375rem;
	}
}

@media (max-width: 47.99875rem) {
	body.operiva-consent-scroll-locked {
		overflow: hidden;
	}

	.operiva-cookie-settings {
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.operiva-cookie-consent {
		right: 0.75rem;
		bottom: 0.75rem;
		left: 0.75rem;
		display: flex;
		flex-direction: column;
		width: auto;
		max-height: calc(100dvh - 1.5rem);
		padding: 1rem;
		overflow: hidden;
	}

	.operiva-cookie-consent__scroll {
		flex: 1 1 auto;
		max-height: 100%;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-right: 0.125rem;
	}

	.operiva-cookie-consent__copy {
		flex: 0 0 auto;
	}

	.operiva-cookie-consent__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--20);
	}

	.operiva-cookie-consent__button {
		width: 100%;
		min-height: 40px;
		padding: 0.6875rem 0.875rem;
		font-size: var(--wp--preset--font-size--xs);
	}

	.operiva-cookie-consent__button--primary {
		order: 1;
	}

	.operiva-cookie-consent__button--secondary {
		order: 2;
	}

	.operiva-cookie-consent__button--secondary:first-child {
		order: 3;
	}
}
