:root {
	--sm-b2b-consent-racing: #12372a;
	--sm-b2b-consent-deep: #0b241c;
	--sm-b2b-consent-ivory: #f5efe3;
	--sm-b2b-consent-paper: #fbf8f2;
	--sm-b2b-consent-mist: #f1f3ef;
	--sm-b2b-consent-ink: #202522;
	--sm-b2b-consent-muted: #5e6862;
	--sm-b2b-consent-border: #cbd1cc;
	--sm-b2b-consent-oxblood: #6e2634;
	--sm-b2b-consent-focus: #005fcc;
}

.sm-b2b-consent[hidden],
.sm-b2b-consent-dialog[hidden] {
	display: none !important;
}

.sm-b2b-consent {
	position: fixed;
	right: 24px;
	bottom: 24px;
	left: 24px;
	z-index: 100001;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: end;
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 28px;
	box-sizing: border-box;
	background: var(--sm-b2b-consent-paper);
	border: 1px solid var(--sm-b2b-consent-border);
	border-left: 4px solid var(--sm-b2b-consent-racing);
	border-radius: 4px;
	box-shadow: 0 16px 50px rgba(11, 36, 28, .22);
	color: var(--sm-b2b-consent-ink);
}

.sm-b2b-consent__copy {
	max-width: 720px;
}

.sm-b2b-consent__eyebrow {
	margin: 0 0 8px;
	color: var(--sm-b2b-consent-oxblood);
	font-family: Manrope, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.35;
	text-transform: uppercase;
}

.sm-b2b-consent h2,
.sm-b2b-consent-dialog h2 {
	margin: 0 0 10px;
	color: var(--sm-b2b-consent-racing);
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.1;
}

.sm-b2b-consent p,
.sm-b2b-consent-dialog p {
	margin: 0 0 12px;
	line-height: 1.55;
}

.sm-b2b-consent a,
.sm-b2b-consent-dialog a {
	color: var(--sm-b2b-consent-racing);
	font-weight: 700;
}

.sm-b2b-consent__actions,
.sm-b2b-consent-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.sm-b2b-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	box-sizing: border-box;
	border: 1px solid var(--sm-b2b-consent-racing);
	border-radius: 4px;
	font: 700 15px/1.35 Manrope, Arial, sans-serif;
	cursor: pointer;
}

.sm-b2b-button--primary {
	background: var(--sm-b2b-consent-racing);
	color: var(--sm-b2b-consent-ivory);
}

.sm-b2b-button--secondary {
	background: #fff;
	color: var(--sm-b2b-consent-racing);
}

.sm-b2b-button:hover {
	background: var(--sm-b2b-consent-deep);
	border-color: var(--sm-b2b-consent-deep);
	color: #fff;
}

.sm-b2b-button:focus-visible,
.sm-b2b-consent-dialog__close:focus-visible,
.sm-b2b-cookie-settings:focus-visible {
	outline: 3px solid var(--sm-b2b-consent-focus);
	outline-offset: 3px;
}

.sm-b2b-consent-dialog {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: grid;
	place-items: center;
	padding: 24px;
	box-sizing: border-box;
	background: rgba(11, 36, 28, .72);
}

.sm-b2b-consent-dialog__panel {
	position: relative;
	width: min(680px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 32px;
	box-sizing: border-box;
	background: var(--sm-b2b-consent-paper);
	border: 1px solid var(--sm-b2b-consent-border);
	border-radius: 4px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
}

.sm-b2b-consent-dialog__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--sm-b2b-consent-border);
	border-radius: 4px;
	color: var(--sm-b2b-consent-racing);
	font-size: 28px;
	cursor: pointer;
}

.sm-b2b-consent-option {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	margin: 18px 0;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--sm-b2b-consent-border);
	border-radius: 4px;
}

.sm-b2b-consent-option p {
	margin: 6px 0 0;
	color: var(--sm-b2b-consent-muted);
}

.sm-b2b-consent-option label {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	white-space: nowrap;
}

.sm-b2b-consent-option input {
	width: 22px;
	height: 22px;
	margin: 0;
}

.sm-b2b-consent-dialog__note {
	padding: 12px 14px;
	background: var(--sm-b2b-consent-mist);
	border-left: 4px solid var(--sm-b2b-consent-racing);
}

.sm-b2b-cookie-settings {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9998;
	min-height: 44px;
	padding: 9px 13px;
	background: var(--sm-b2b-consent-paper);
	border: 1px solid var(--sm-b2b-consent-racing);
	border-radius: 4px;
	color: var(--sm-b2b-consent-racing);
	font: 700 13px/1.35 Manrope, Arial, sans-serif;
	cursor: pointer;
}

.sm-b2b-cookie-settings.is-in-footer {
	position: static;
	min-height: 0;
	margin: 14px 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	font: inherit;
	text-decoration: underline;
}

.sm-b2b-privacy-addendum {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--sm-b2b-consent-border);
}

.sm-b2b-consent-open {
	overflow: hidden;
}

@media (max-width: 800px) {
	.sm-b2b-consent {
		grid-template-columns: 1fr;
		gap: 18px;
		right: 12px;
		bottom: 12px;
		left: 12px;
		padding: 20px;
	}

	.sm-b2b-consent__actions,
	.sm-b2b-consent-dialog__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.sm-b2b-consent__actions .sm-b2b-button,
	.sm-b2b-consent-dialog__actions .sm-b2b-button {
		width: 100%;
	}

	.sm-b2b-consent-dialog {
		padding: 12px;
	}

	.sm-b2b-consent-dialog__panel {
		max-height: calc(100vh - 24px);
		padding: 24px 20px;
	}

	.sm-b2b-consent-dialog__panel h2 {
		padding-right: 48px;
	}

	.sm-b2b-consent-option {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sm-b2b-consent *,
	.sm-b2b-consent-dialog * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

