.tws-cc {
	--tws-bg: #000000;
	--tws-text: #ffffff;
	--tws-link: #ffffff;
	--tws-accept-bg: #1578ff;
	--tws-accept-text: #ffffff;
	--tws-reject-bg: #1578ff;
	--tws-reject-text: #ffffff;
	--tws-reject-border: #1578ff;
	--tws-customize: #ffffff;
	--tws-overlay: rgba(0, 0, 0, 0.65);
	--tws-focus: #1578ff;
	--tws-radius: 0px;
	--tws-font: 12px;
	--tws-z: 1000000;
	--tws-offset: 0px;
	position: fixed;
	z-index: var(--tws-z);
	pointer-events: none;
	color: var(--tws-text);
	font-family: var(--tws-family, inherit);
	font-size: var(--tws-font) !important;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

.tws-cc[hidden],
.tws-cc [hidden] {
	display: none !important;
}

.tws-cc__banner,
.tws-cc__prefs,
.tws-cc__overlay,
.tws-cc__revisit,
.tws-cc__btn,
.tws-cc__close,
.tws-cc__switch {
	pointer-events: auto;
}

.tws-cc--bar {
	left: 0;
	right: 0;
	bottom: var(--tws-offset);
}

.tws-cc--bottom {
	left: 12px;
	right: 12px;
	bottom: calc(12px + var(--tws-offset));
	display: flex;
	justify-content: center;
}

.tws-cc--bottom-left,
.tws-cc--bottom-right {
	bottom: calc(12px + var(--tws-offset));
	width: min(420px, calc(100vw - 24px));
}

.tws-cc--bottom-left {
	left: 12px;
}

.tws-cc--bottom-right {
	right: 12px;
}

.tws-cc--center {
	inset: 0;
	display: grid;
	place-items: end center;
	padding: 16px;
}

.tws-cc--center.is-visible {
	place-items: center;
}

.tws-cc.tws-cc--modal {
	inset: 0;
	width: auto;
	max-width: none;
	display: grid;
	place-items: center;
	padding: 16px;
}

.tws-cc__overlay {
	position: fixed;
	inset: 0;
	background: var(--tws-overlay);
}

.tws-cc__banner,
.tws-cc__prefs-card {
	position: relative;
	background: var(--tws-bg);
	color: var(--tws-text);
	box-shadow: 0 16px 50px rgba(15, 23, 42, 0.16);
}

.tws-cc--bar .tws-cc__banner {
	border-radius: var(--tws-radius) var(--tws-radius) 0 0;
	box-shadow: none;
}

.tws-cc--bottom .tws-cc__banner,
.tws-cc--bottom-left .tws-cc__banner,
.tws-cc--bottom-right .tws-cc__banner,
.tws-cc--center .tws-cc__banner,
.tws-cc__prefs-card {
	border-radius: var(--tws-radius);
}

.tws-cc--bottom .tws-cc__banner {
	width: min(720px, 100%);
}

.tws-cc--center .tws-cc__banner,
.tws-cc__prefs-card {
	width: min(640px, calc(100vw - 32px));
}

.tws-cc__layout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	padding: 16px 28px;
}

.tws-cc--bar .tws-cc__layout {
	padding: 14px 24px;
	gap: 10px 20px;
}

.tws-cc--bar .tws-cc__actions {
	flex-wrap: nowrap;
}

.tws-cc--bottom-left .tws-cc__layout,
.tws-cc--bottom-right .tws-cc__layout,
.tws-cc--center .tws-cc__layout,
.tws-cc--bottom .tws-cc__layout {
	align-items: flex-start;
}

.tws-cc__content {
	flex: 1 1 280px;
	min-width: 0;
}

.tws-cc__banner:has(.tws-cc__close) .tws-cc__layout {
	padding-right: 46px;
}

.tws-cc__title {
	margin: 0 0 4px;
	color: var(--tws-text);
	font-size: calc(var(--tws-font) + 3px) !important;
	font-weight: 700;
	line-height: 1.25;
}

.tws-cc__message,
.tws-cc__message p {
	margin: 0;
	color: color-mix(in srgb, var(--tws-text) 78%, var(--tws-bg));
	font-size: var(--tws-font) !important;
	line-height: 1.4;
}

.tws-cc__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 8px 0 0;
}

.tws-cc__links a,
.tws-cc__message a {
	color: var(--tws-link);
	text-underline-offset: 2px;
}

.tws-cc__links a:hover,
.tws-cc__message a:hover {
	text-decoration: none;
}

.tws-cc__logo {
	display: block;
	width: auto;
	max-width: 148px;
	max-height: 44px;
	object-fit: contain;
}

.tws-cc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 0 1 auto;
}

.tws-cc__btn {
	appearance: none;
	box-sizing: border-box;
	min-height: 34px;
	min-width: 0;
	margin: 0;
	padding: 7px 18px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: max(12px, calc(var(--tws-font) - 1px)) !important;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.tws-cc__btn--accept {
	background: var(--tws-accept-bg);
	color: var(--tws-accept-text);
	border-color: var(--tws-accept-bg);
}

.tws-cc__btn--reject {
	background: var(--tws-reject-bg);
	color: var(--tws-reject-text);
	border-color: var(--tws-reject-border);
}

.tws-cc__btn--customize {
	background: transparent;
	color: var(--tws-customize);
	border-color: var(--tws-customize);
}

.tws-cc__btn:hover {
	filter: brightness(0.97);
}

.tws-cc__btn:focus-visible,
.tws-cc__close:focus-visible,
.tws-cc__revisit:focus-visible,
.tws-cc__switch input:focus-visible + .tws-cc__track,
.tws-cc-embed__button:focus-visible,
.tws-cc-settings-button:focus-visible {
	outline: 2px solid var(--tws-focus, #1d4ed8);
	outline-offset: 2px;
}

.tws-cc__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 24px !important;
	line-height: 1;
	cursor: pointer;
}

.tws-cc__close:hover {
	background: color-mix(in srgb, var(--tws-text) 12%, transparent);
}

.tws-cc__preview {
	margin: 0 0 8px;
	color: var(--tws-link);
	font-size: 0.85em !important;
	font-weight: 700;
}

.tws-cc__prefs {
	width: min(680px, calc(100vw - 32px));
	max-height: min(84vh, 820px);
}

.tws-cc__prefs-card {
	max-height: min(84vh, 820px);
	overflow: auto;
	padding: 22px 22px 16px;
}

.tws-cc__cats {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.tws-cc__cat {
	padding: 12px 12px 10px;
	border: 1px solid color-mix(in srgb, var(--tws-text) 18%, transparent);
	border-radius: max(8px, var(--tws-radius));
}

.tws-cc__cat-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.tws-cc__cat h3 {
	margin: 0;
	font-size: 1em !important;
}

.tws-cc__cat p {
	margin: 4px 0 0;
	font-size: 0.92em !important;
}

.tws-cc__switch {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	width: 46px;
	height: 28px;
}

.tws-cc__switch input {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.tws-cc__switch input:disabled {
	cursor: not-allowed;
}

.tws-cc__track {
	display: block;
	width: 46px;
	height: 28px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: background 0.15s ease;
}

.tws-cc__knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
	transition: transform 0.15s ease;
}

.tws-cc__switch input:checked + .tws-cc__track {
	background: var(--tws-accept-bg);
}

.tws-cc__switch input:checked + .tws-cc__track .tws-cc__knob {
	transform: translateX(18px);
}

.tws-cc__switch input:disabled + .tws-cc__track {
	opacity: 0.72;
}

.tws-cc__details {
	margin-top: 8px;
	font-size: 0.88em !important;
}

.tws-cc__details summary {
	cursor: pointer;
}

.tws-cc__details ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.tws-cc__details li {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 8px 0;
	border-top: 1px solid color-mix(in srgb, var(--tws-text) 16%, transparent);
}

.tws-cc__actions--prefs {
	position: sticky;
	bottom: 0;
	display: flex;
	justify-content: flex-end;
	margin: 14px -22px -16px;
	padding: 12px 22px;
	background: var(--tws-bg);
	border-top: 1px solid color-mix(in srgb, var(--tws-text) 16%, transparent);
}

.tws-cc__revisit {
	position: fixed;
	bottom: calc(16px + var(--tws-offset));
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	margin: 0;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--tws-accept-bg);
	color: var(--tws-accept-text);
	font: inherit;
	font-size: 0.9em !important;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
	cursor: pointer;
}

.tws-cc--revisit-left .tws-cc__revisit {
	left: 16px;
}

.tws-cc--revisit-right .tws-cc__revisit {
	right: 16px;
}

.tws-cc__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tws-cc--slide .tws-cc__banner,
.tws-cc--fade .tws-cc__banner,
.tws-cc--slide .tws-cc__prefs-card,
.tws-cc--fade .tws-cc__prefs-card {
	opacity: 0;
}

.tws-cc--slide .tws-cc__banner,
.tws-cc--slide .tws-cc__prefs-card {
	transform: translateY(12px);
}

.tws-cc.is-visible .tws-cc__banner,
.tws-cc.is-visible .tws-cc__prefs-card {
	opacity: 1;
	transform: none;
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.tws-cc-embed {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 12px;
	min-height: 180px;
	padding: 24px;
	text-align: center;
	background: #f8fafc;
	color: #1f2937;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	font-family: inherit;
}

.tws-cc-embed p {
	max-width: 42ch;
	margin: 0;
}

.tws-cc-embed__button,
.tws-cc-settings-button {
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #111827;
	border-radius: 8px;
	background: #111827;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.tws-cc-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.tws-cc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em !important;
}

.tws-cc-table th,
.tws-cc-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.tws-cc-table th {
	font-weight: 700;
}

@media (max-width: 720px) {
	.tws-cc__layout,
	.tws-cc__actions,
	.tws-cc__actions--prefs {
		flex-direction: column;
		align-items: stretch;
	}

	.tws-cc__content {
		flex: 0 1 auto;
	}

	.tws-cc__btn {
		width: 100%;
	}

	.tws-cc--bottom-left,
	.tws-cc--bottom-right {
		left: 12px;
		right: 12px;
		width: auto;
	}

	.tws-cc__revisit span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.tws-cc__revisit {
		width: 46px;
		height: 46px;
		justify-content: center;
		padding: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tws-cc__banner,
	.tws-cc__prefs-card,
	.tws-cc__track,
	.tws-cc__knob {
		transition: none !important;
		transform: none;
	}

	.tws-cc__switch input:checked + .tws-cc__track .tws-cc__knob {
		transform: translateX(18px);
	}
}

.tws-cc-noscript {
	position: fixed;
	z-index: 1000000;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 14px 18px;
	background: #111827;
	color: #fff;
	font-size: 15px !important;
	line-height: 1.5;
}

/*
 * Theme and page-builder rules often style every button, heading, and paragraph.
 * These locks keep the banner on its own type and button styles.
 */
.tws-cc,
.tws-cc__banner,
.tws-cc__prefs-card {
	color: var(--tws-text) !important;
	font-family: var(--tws-family, inherit) !important;
	font-size: var(--tws-font) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

.tws-cc__title {
	margin: 0 0 4px !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--tws-text) !important;
	font-family: inherit !important;
	font-size: calc(var(--tws-font) + 3px) !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: normal !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	text-shadow: none !important;
}

.tws-cc__message,
.tws-cc__message p,
.tws-cc__cat p,
.tws-cc__details,
.tws-cc__details li {
	background: transparent !important;
	color: color-mix(in srgb, var(--tws-text) 78%, var(--tws-bg)) !important;
	font-family: inherit !important;
	font-size: var(--tws-font) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	text-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.tws-cc__title,
.tws-cc__message,
.tws-cc__message p,
.tws-cc__cat p {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.tws-cc__details li {
	border: 0 !important;
	border-top: 1px solid color-mix(in srgb, var(--tws-text) 16%, transparent) !important;
	border-radius: 0 !important;
}

.tws-cc__message,
.tws-cc__message p {
	margin: 0 !important;
	padding: 0 !important;
}

.tws-cc__cat h3 {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--tws-text) !important;
	font-family: inherit !important;
	font-size: 1em !important;
	font-style: normal !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.tws-cc__links a,
.tws-cc__message a {
	background: transparent !important;
	color: var(--tws-link) !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: 400 !important;
	text-decoration: underline !important;
	text-transform: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.tws-cc button.tws-cc__btn {
	appearance: none !important;
	box-sizing: border-box !important;
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 34px !important;
	margin: 0 !important;
	padding: 7px 18px !important;
	border-style: solid !important;
	border-width: 1px !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	background-image: none !important;
	font-family: inherit !important;
	font-size: max(12px, calc(var(--tws-font) - 1px)) !important;
	font-style: normal !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	text-shadow: none !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	float: none !important;
	transform: none !important;
}

.tws-cc button.tws-cc__btn--accept {
	background-color: var(--tws-accept-bg) !important;
	color: var(--tws-accept-text) !important;
	border-color: var(--tws-accept-bg) !important;
}

.tws-cc button.tws-cc__btn--reject {
	background-color: var(--tws-reject-bg) !important;
	color: var(--tws-reject-text) !important;
	border-color: var(--tws-reject-border) !important;
}

.tws-cc button.tws-cc__btn--customize {
	background-color: transparent !important;
	color: var(--tws-customize) !important;
	border-color: var(--tws-customize) !important;
}

.tws-cc button.tws-cc__close,
.tws-cc button.tws-cc__revisit {
	appearance: none !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
	font-family: inherit !important;
	font-style: normal !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	text-transform: none !important;
	text-shadow: none !important;
	cursor: pointer !important;
	float: none !important;
}

.tws-cc button.tws-cc__close {
	width: 36px !important;
	height: 36px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--tws-text) !important;
	font-size: 24px !important;
	line-height: 1 !important;
}

.tws-cc button.tws-cc__revisit {
	min-height: 42px !important;
	padding: 8px 14px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background-color: var(--tws-accept-bg) !important;
	color: var(--tws-accept-text) !important;
	font-size: 0.9em !important;
}

.tws-cc-embed__button,
.tws-cc-settings-button {
	appearance: none !important;
	box-sizing: border-box !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid #111827 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	background: #111827 !important;
	background-image: none !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 1em !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer !important;
}

@media (max-width: 720px) {
	.tws-cc button.tws-cc__btn {
		width: 100% !important;
	}

	.tws-cc button.tws-cc__revisit {
		width: 46px !important;
		height: 46px !important;
		min-height: 0 !important;
		padding: 0 !important;
	}
}

html body .tws-cc,
html body .tws-cc__banner,
html body .tws-cc__prefs-card,
html body .tws-cc .tws-cc__message,
html body .tws-cc .tws-cc__message p,
html body .tws-cc .tws-cc__content p {
	font-size: var(--tws-font) !important;
}

html body .tws-cc .tws-cc__title,
html body .tws-cc h2.tws-cc__title {
	font-size: calc(var(--tws-font) + 3px) !important;
}

html body .tws-cc button.tws-cc__btn,
html body .tws-cc button.tws-cc__btn span {
	font-size: max(12px, calc(var(--tws-font) - 1px)) !important;
}

@media print {
	.tws-cc,
	.tws-cc-embed__button {
		display: none !important;
	}
}
