.sw-consent[hidden],
.sw-consent [hidden] {
	display: none !important;
}

html.sw-consent-panel-visible {
	scroll-padding-bottom: calc(var(--sw-consent-panel-height, 0px) + 1rem);
}

.sw-consent {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99999;
	max-height: calc(100vh - 1rem);
	overflow: auto;
	border-top: 1px solid #8c8f94;
	background: #fff;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.16);
	color: #1d2327;
	font: inherit;
	line-height: 1.5;
}

.sw-consent__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	width: min(100% - 2rem, 72rem);
	margin: 0 auto;
	padding: 1rem 0;
}

.sw-consent__content {
	max-width: 52rem;
}

.sw-consent__title {
	margin: 0 0 0.25rem;
	color: inherit;
	font: inherit;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.sw-consent__description,
.sw-consent__gpc {
	margin: 0;
	color: inherit;
	font: inherit;
}

.sw-consent__gpc {
	margin-top: 0.5rem;
	font-weight: 600;
}

.sw-consent__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sw-consent__categories {
	display: grid;
	flex: 1 0 100%;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.75rem 1rem;
	width: 100%;
	margin: 0;
	padding: 0.75rem 0 0;
	border: 0;
}

.sw-consent__categories legend {
	padding: 0;
	font-weight: 700;
}

.sw-consent__category {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.sw-consent__category input {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.1rem 0 0;
	accent-color: #1d2327;
}

.sw-consent__category span span {
	display: block;
	margin-top: 0.125rem;
}

.sw-consent__button {
	min-width: 7rem;
	min-height: 2.75rem;
	box-sizing: border-box;
	margin: 0;
	padding: 0.625rem 1rem;
	border: 2px solid #1d2327;
	border-radius: 0.25rem;
	background: #fff;
	box-shadow: none;
	color: #1d2327;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.sw-consent__button:hover {
	background: #f0f0f1;
	color: #1d2327;
}

.sw-consent__button:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.sw-consent-settings-link {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 99998;
	min-height: 2.75rem;
	padding: 0.625rem 1rem;
	border: 2px solid #1d2327;
	border-radius: 0.25rem;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	color: #1d2327;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
}

.sw-consent-settings-link:hover {
	background: #f0f0f1;
	color: #1d2327;
}

.sw-consent-settings-link:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.sw-consent__status {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.sw-consent__noscript {
	margin: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid currentColor;
}

@media (max-width: 48rem) {
	.sw-consent__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.sw-consent__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sw-consent__button {
		width: 100%;
		min-width: 0;
	}

	.sw-consent__button[data-sw-consent-action="close"]:not([hidden]) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 24rem) {
	.sw-consent__actions {
		grid-template-columns: 1fr;
	}

	.sw-consent__button[data-sw-consent-action="close"]:not([hidden]) {
		grid-column: auto;
	}
}
