.whd-consent[hidden],
.whd-consent [hidden],
.whd-consent-preferences-link[hidden],
.whd-consent-preferences-button[hidden] {
	display: none !important;
}

.whd-consent {
	--whd-consent-bg: #fff;
	--whd-consent-text: #1b1f23;
	--whd-consent-muted: #5f6b76;
	--whd-consent-border: #d8dee4;
	--whd-consent-primary: #111;
	--whd-consent-primary-hover: #343434;
	--whd-consent-focus: #111;
	color: var(--whd-consent-text);
	font-family: inherit;
	position: relative;
	z-index: 2147483000;
}

.whd-consent-preferences-inline,
button.whd-consent-preferences-link,
button.whd-consent-preferences-button {
	--whd-consent-bg: #fff;
	--whd-consent-text: #1b1f23;
	--whd-consent-muted: #5f6b76;
	--whd-consent-border: #d8dee4;
	--whd-consent-primary: #111;
	--whd-consent-primary-hover: #343434;
	--whd-consent-focus: #111;
}

.whd-consent__banner {
	align-items: center;
	background: var(--whd-consent-bg);
	border: 1px solid var(--whd-consent-border);
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
	display: flex;
	gap: 24px;
	inset: auto 16px 16px 16px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1040px;
	padding: 18px;
	position: fixed;
}

.whd-consent__copy {
	max-width: 660px;
}

.whd-consent h2 {
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 6px;
}

.whd-consent p,
.whd-consent small {
	color: var(--whd-consent-muted);
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

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

button.whd-consent__button,
button.whd-consent__icon-button,
button.whd-consent-preferences-link,
button.whd-consent-preferences-button {
	appearance: none;
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid var(--whd-consent-border) !important;
	border-radius: 6px;
	box-shadow: none !important;
	color: var(--whd-consent-text) !important;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 40px;
	padding: 10px 14px;
	text-decoration: none !important;
	text-transform: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

button.whd-consent__button:focus-visible,
button.whd-consent__icon-button:focus-visible,
button.whd-consent-preferences-link:focus-visible,
button.whd-consent-preferences-button:focus-visible {
	outline: 3px solid var(--whd-consent-focus);
	outline-offset: 2px;
}

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

button.whd-consent__button--primary:hover {
	background: var(--whd-consent-primary-hover) !important;
	background-color: var(--whd-consent-primary-hover) !important;
	border-color: var(--whd-consent-primary-hover) !important;
	color: #fff !important;
}

button.whd-consent__button--secondary {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--whd-consent-text) !important;
	color: var(--whd-consent-text) !important;
}

button.whd-consent__button--ghost {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--whd-consent-text) !important;
}

button.whd-consent__button--ghost:hover,
button.whd-consent__button--secondary:hover,
button.whd-consent__icon-button:hover,
button.whd-consent-preferences-link:hover,
button.whd-consent-preferences-button:hover {
	background: #f6f8fa !important;
	background-color: #f6f8fa !important;
	border-color: var(--whd-consent-text) !important;
	color: var(--whd-consent-text) !important;
}

.whd-consent__backdrop {
	background: rgba(15, 23, 42, 0.5);
	inset: 0;
	position: fixed;
}

.whd-consent__modal {
	background: var(--whd-consent-bg);
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
	left: 50%;
	max-height: min(720px, calc(100vh - 32px));
	max-width: 620px;
	overflow: auto;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100vw - 32px);
}

.whd-consent__modal-header,
.whd-consent__modal-actions {
	align-items: center;
	border-bottom: 1px solid var(--whd-consent-border);
	display: flex;
	justify-content: space-between;
	padding: 18px;
}

.whd-consent__modal-actions {
	border-bottom: 0;
	border-top: 1px solid var(--whd-consent-border);
}

.whd-consent__icon-button {
	align-items: center;
	background: transparent;
	background-color: transparent;
	display: inline-flex;
	font-size: 24px;
	height: 40px;
	justify-content: center;
	padding: 0;
	width: 40px;
}

.whd-consent__modal-body {
	display: grid;
	gap: 12px;
	padding: 18px;
}

.whd-consent__choice {
	align-items: center;
	border: 1px solid var(--whd-consent-border);
	border-radius: 8px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 14px;
}

.whd-consent__choice strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
}

.whd-consent__choice input {
	accent-color: var(--whd-consent-primary);
	height: 22px;
	width: 22px;
}

.whd-consent__choice--locked {
	background: #f6f8fa;
}

.whd-consent-preferences-inline {
	margin: 24px 0;
}

button.whd-consent-preferences-link,
button.whd-consent-preferences-button {
	align-items: center;
	background: #fff;
	background-color: #fff;
	color: var(--whd-consent-text);
	display: inline-flex;
	justify-content: center;
}

@media (max-width: 720px) {
	.whd-consent__banner {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
	}

	.whd-consent__actions,
	.whd-consent__modal-actions {
		flex-direction: column-reverse;
	}

	.whd-consent__button {
		width: 100%;
	}
}
