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

.zkp-consent[hidden],
.zkp-consent__modal-shell[hidden] {
	display: none !important;
}

.zkp-consent {
	--zkp-consent-primary: rgb(34, 41, 54);
	--zkp-consent-secondary: rgb(232, 60, 117);
	--zkp-consent-border: rgba(34, 41, 54, 0.14);
	--zkp-consent-muted: rgba(34, 41, 54, 0.72);
	--zkp-consent-radius: 5px;
	position: relative;
	z-index: 999999;
	font-family: "Exo 2", sans-serif;
	color: var(--zkp-consent-primary);
}

.zkp-consent__banner {
	position: fixed;
	right: 24px;
	bottom: 24px;
	left: 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid var(--zkp-consent-border);
	border-radius: var(--zkp-consent-radius);
	background: #fff;
	box-shadow: 0 18px 60px rgba(34, 41, 54, 0.18);
}

.zkp-consent__copy {
	min-width: 0;
}

.zkp-consent__eyebrow {
	margin: 0 0 6px;
	color: var(--zkp-consent-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

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

.zkp-consent h2 {
	margin: 0;
	color: var(--zkp-consent-primary);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.zkp-consent__copy p:last-child {
	max-width: 760px;
	margin: 8px 0 0;
	color: var(--zkp-consent-muted);
	font-size: 15px;
	line-height: 1.45;
}

.zkp-consent__actions,
.zkp-consent__modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.zkp-consent__button,
.zkp-consent__icon-button {
	appearance: none;
	min-height: 42px;
	border-radius: var(--zkp-consent-radius);
	font-family: "Exo 2", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.zkp-consent__button {
	padding: 11px 16px;
	border: 1px solid transparent;
	white-space: nowrap;
}

.zkp-consent .zkp-consent__button--primary {
	border-color: var(--zkp-consent-secondary) !important;
	background: var(--zkp-consent-secondary) !important;
	background-color: var(--zkp-consent-secondary) !important;
	color: #fff !important;
}

.zkp-consent .zkp-consent__button--secondary {
	border-color: var(--zkp-consent-primary) !important;
	background: var(--zkp-consent-primary) !important;
	background-color: var(--zkp-consent-primary) !important;
	color: #fff !important;
}

.zkp-consent .zkp-consent__button--ghost {
	border-color: var(--zkp-consent-border) !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--zkp-consent-primary) !important;
}

.zkp-consent__button:hover,
.zkp-consent__icon-button:hover {
	box-shadow: 0 8px 22px rgba(34, 41, 54, 0.16);
}

.zkp-consent__button:focus-visible,
.zkp-consent__icon-button:focus-visible,
.zkp-consent-switch input:focus-visible + .zkp-consent-switch__track {
	outline: 3px solid rgba(232, 60, 117, 0.34);
	outline-offset: 2px;
}

.zkp-consent__modal-shell {
	position: fixed;
	inset: 0;
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 20px;
	background: rgba(20, 24, 32, 0.48);
}

.zkp-consent__backdrop {
	position: absolute;
	inset: 0;
}

.zkp-consent__modal {
	position: relative;
	width: min(640px, 100%);
	max-height: min(760px, calc(100vh - 40px));
	overflow: auto;
	padding: 22px;
	border-radius: var(--zkp-consent-radius);
	background: #fff;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.zkp-consent__modal-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
}

.zkp-consent__icon-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	padding: 0;
	border: 1px solid var(--zkp-consent-border);
	background: #fff;
	color: var(--zkp-consent-primary);
	font-size: 28px;
}

.zkp-consent__categories {
	display: grid;
	gap: 10px;
}

.zkp-consent-category {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--zkp-consent-border);
	border-radius: var(--zkp-consent-radius);
	background: #fff;
	cursor: pointer;
}

.zkp-consent-category__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.zkp-consent-category strong {
	color: var(--zkp-consent-primary);
	font-size: 15px;
	line-height: 1.25;
}

.zkp-consent-category span span {
	color: var(--zkp-consent-muted);
	font-size: 14px;
	line-height: 1.4;
}

.zkp-consent-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 48px;
	height: 28px;
}

.zkp-consent-switch input {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.zkp-consent-switch input:disabled {
	cursor: not-allowed;
}

.zkp-consent-switch__track {
	position: relative;
	display: block;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: rgba(34, 41, 54, 0.22);
	pointer-events: none;
	transition: background-color 0.16s ease;
}

.zkp-consent-switch__track::after {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(34, 41, 54, 0.28);
	content: "";
	transition: transform 0.16s ease;
}

.zkp-consent-switch input:checked + .zkp-consent-switch__track {
	background: var(--zkp-consent-secondary);
}

.zkp-consent-switch input:checked + .zkp-consent-switch__track::after {
	transform: translateX(20px);
}

.zkp-consent-switch input:disabled + .zkp-consent-switch__track {
	background: rgba(34, 41, 54, 0.42);
}

.zkp-consent__modal-actions {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--zkp-consent-border);
}

html.zkp-consent-modal-open,
html.zkp-consent-modal-open body {
	overflow: hidden;
}

@media (max-width: 860px) {
	.zkp-consent__banner {
		grid-template-columns: 1fr;
		right: 14px;
		bottom: 14px;
		left: 14px;
		gap: 16px;
		padding: 16px;
	}

	.zkp-consent__actions,
	.zkp-consent__modal-actions {
		justify-content: stretch;
	}

	.zkp-consent__button {
		flex: 1 1 160px;
		white-space: normal;
	}
}

@media (max-width: 520px) {
	.zkp-consent__banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
		max-height: calc(100vh - 20px);
		overflow: auto;
	}

	.zkp-consent h2 {
		font-size: 18px;
	}

	.zkp-consent__copy p:last-child {
		font-size: 14px;
	}

	.zkp-consent__modal-shell {
		align-items: end;
		padding: 10px;
	}

	.zkp-consent__modal {
		max-height: calc(100vh - 20px);
		padding: 16px;
	}

	.zkp-consent-category {
		grid-template-columns: 1fr;
	}
}
