.hsz-cookie-panel,
.hsz-cookie-settings {
	--hsz-cookie-accent: #f91942;
	--hsz-cookie-accent-dark: #d80f34;
	--hsz-cookie-ink: #20232a;
	--hsz-cookie-muted: #696d76;
	font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

.hsz-cookie-panel[hidden],
.hsz-cookie-settings[hidden],
.hsz-cookie-panel [hidden] {
	display: none !important;
}

.hsz-cookie-panel {
	background: #fff;
	border: 1px solid rgba(20, 24, 32, .08);
	border-radius: 20px;
	bottom: 22px;
	box-shadow: 0 24px 70px rgba(20, 24, 32, .2), 0 4px 18px rgba(20, 24, 32, .08);
	box-sizing: border-box;
	color: var(--hsz-cookie-ink);
	left: 22px;
	max-height: calc(100vh - 44px);
	overflow: auto;
	padding: 24px;
	position: fixed;
	width: min(430px, calc(100vw - 44px));
	z-index: 999999;
}

.hsz-cookie-heading {
	align-items: center;
	display: flex;
	gap: 13px;
	padding-right: 28px;
}

.hsz-cookie-heading-icon {
	align-items: center;
	background: rgba(249, 25, 66, .1);
	border-radius: 50%;
	color: var(--hsz-cookie-accent);
	display: inline-flex;
	flex: 0 0 46px;
	height: 46px;
	justify-content: center;
}

.hsz-cookie-heading-icon svg,
.hsz-cookie-settings svg {
	fill: none;
	height: 25px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 25px;
}

.hsz-cookie-heading-icon circle,
.hsz-cookie-settings circle {
	fill: currentColor;
	stroke: none;
}

.hsz-cookie-eyebrow {
	color: var(--hsz-cookie-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.hsz-cookie-panel h2 {
	color: var(--hsz-cookie-ink);
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 0;
}

.hsz-cookie-description {
	color: var(--hsz-cookie-muted);
	font-size: 14px;
	line-height: 1.62;
	margin: 18px 0 20px;
}

.hsz-cookie-description a {
	color: var(--hsz-cookie-accent-dark);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.hsz-cookie-close {
	align-items: center;
	background: #f5f6f8;
	border: 0;
	border-radius: 50%;
	color: #646873;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 32px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 2px;
	position: absolute;
	right: 16px;
	top: 16px;
	transition: background-color .2s ease, color .2s ease;
	width: 32px;
}

.hsz-cookie-close:hover,
.hsz-cookie-close:focus-visible {
	background: #eceef1;
	color: var(--hsz-cookie-accent);
}

.hsz-cookie-options {
	border-bottom: 1px solid #eceef1;
	border-top: 1px solid #eceef1;
	margin: 0 0 20px;
}

.hsz-cookie-option {
	align-items: center;
	display: flex;
	gap: 15px;
	justify-content: space-between;
	margin: 0;
	padding: 15px 0;
}

.hsz-cookie-option + .hsz-cookie-option {
	border-top: 1px solid #eceef1;
}

.hsz-cookie-option strong,
.hsz-cookie-option span {
	display: block;
}

.hsz-cookie-option strong {
	color: var(--hsz-cookie-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 3px;
}

.hsz-cookie-option > div > span,
.hsz-cookie-option > span > span {
	color: var(--hsz-cookie-muted);
	font-size: 12px;
	line-height: 1.45;
}

.hsz-cookie-required {
	background: rgba(249, 25, 66, .08);
	border-radius: 999px;
	color: var(--hsz-cookie-accent-dark) !important;
	flex: 0 0 auto;
	font-size: 10px !important;
	font-weight: 800;
	padding: 6px 9px;
	text-transform: uppercase;
}

.hsz-cookie-switch {
	flex: 0 0 48px;
	position: relative;
}

.hsz-cookie-switch input {
	height: 1px;
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 50%;
	width: 1px;
}

.hsz-cookie-switch > span {
	background: #d7d9de;
	border-radius: 999px;
	cursor: pointer;
	display: block;
	height: 27px;
	position: relative;
	transition: background-color .2s ease;
	width: 48px;
}

.hsz-cookie-switch > span::after {
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .22);
	content: "";
	height: 21px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform .2s ease;
	width: 21px;
}

.hsz-cookie-switch input:checked + span {
	background: var(--hsz-cookie-accent);
}

.hsz-cookie-switch input:checked + span::after {
	transform: translateX(21px);
}

.hsz-cookie-switch input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(249, 25, 66, .2);
}

.hsz-cookie-actions {
	display: grid;
	gap: 9px;
	grid-template-columns: 1fr 1fr;
}

.hsz-cookie-button,
.hsz-cookie-link-button {
	border-radius: 11px;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	min-height: 44px;
	padding: 10px 14px;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.hsz-cookie-button:hover,
.hsz-cookie-link-button:hover {
	transform: translateY(-1px);
}

.hsz-cookie-button-primary {
	background: var(--hsz-cookie-accent);
	border: 1px solid var(--hsz-cookie-accent);
	color: #fff;
}

.hsz-cookie-button-primary:hover,
.hsz-cookie-button-primary:focus-visible {
	background: var(--hsz-cookie-accent-dark);
	border-color: var(--hsz-cookie-accent-dark);
	color: #fff;
}

.hsz-cookie-button-secondary {
	background: #fff;
	border: 1px solid #dfe1e5;
	color: var(--hsz-cookie-ink);
}

.hsz-cookie-button-secondary:hover,
.hsz-cookie-button-secondary:focus-visible {
	border-color: var(--hsz-cookie-accent);
	color: var(--hsz-cookie-accent-dark);
}

.hsz-cookie-link-button {
	background: transparent;
	border: 0;
	color: #686c75;
	grid-column: 1 / -1;
	min-height: 34px;
	padding: 6px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hsz-cookie-link-button:hover,
.hsz-cookie-link-button:focus-visible {
	color: var(--hsz-cookie-accent-dark);
}

.hsz-cookie-settings {
	align-items: center;
	background: var(--hsz-cookie-accent);
	border: 2px solid #fff;
	border-radius: 50%;
	bottom: 18px;
	box-shadow: 0 8px 24px rgba(54, 18, 27, .24);
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 50px;
	justify-content: center;
	left: 18px;
	padding: 0;
	position: fixed;
	transition: background-color .2s ease, transform .2s ease;
	width: 50px;
	z-index: 999998;
}

.hsz-cookie-settings:hover,
.hsz-cookie-settings:focus-visible {
	background: var(--hsz-cookie-accent-dark);
	transform: translateY(-2px);
}

@media (max-width: 520px) {
	.hsz-cookie-panel {
		border-radius: 17px;
		bottom: 10px;
		left: 10px;
		max-height: calc(100vh - 20px);
		padding: 20px;
		width: calc(100vw - 20px);
	}

	.hsz-cookie-panel h2 {
		font-size: 21px;
	}

	.hsz-cookie-description {
		font-size: 13px;
		margin: 16px 0 18px;
	}

	.hsz-cookie-actions {
		grid-template-columns: 1fr;
	}

	.hsz-cookie-link-button {
		grid-column: auto;
	}

	.hsz-cookie-settings {
		bottom: 12px;
		left: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hsz-cookie-panel *,
	.hsz-cookie-settings {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
