.gmv-consent-banner {
	background: #fff;
	border: 1px solid var(--gmv-border, #d7dee4);
	border-radius: 1rem 1rem 0 0;
	bottom: 0;
	box-shadow: 0 -1rem 3rem rgb(6 47 85 / .18);
	color: var(--gmv-ink, #14212d);
	left: 0;
	padding: 1rem;
	position: fixed;
	right: 0;
	z-index: 10000;
}

.gmv-consent-banner[hidden],
.gmv-consent-reopen[hidden] {
	display: none !important;
}

.gmv-consent-banner__inner {
	display: grid;
	gap: 1.25rem;
	margin-inline: auto;
	max-width: 76rem;
}

.gmv-consent-banner__copy h2,
.gmv-consent-dialog h2,
.gmv-consent-dialog h3 {
	color: var(--gmv-blue-900, #062f55);
}

.gmv-consent-banner__copy h2,
.gmv-consent-dialog h2 {
	font-size: clamp(1.45rem, 4vw, 2rem);
	line-height: 1.1;
	margin: .2rem 0 .65rem;
}

.gmv-consent-banner__copy p,
.gmv-consent-dialog p,
.gmv-consent-option h3 {
	margin-block: 0 .65rem;
}

.gmv-consent-banner__kicker {
	color: var(--gmv-red-700, #9d2631);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.gmv-consent-banner__actions,
.gmv-consent-dialog__actions {
	display: grid;
	gap: .65rem;
}

.gmv-consent-button,
.gmv-consent-reopen,
.gmv-consent-dialog__close {
	background: #fff;
	border: 2px solid var(--gmv-blue-700, #0a4a82);
	border-radius: 999px;
	color: var(--gmv-blue-900, #062f55);
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	min-height: 2.75rem;
	padding: .65rem 1rem;
}

.gmv-consent-button:hover,
.gmv-consent-reopen:hover {
	background: var(--gmv-blue-050, #edf5fb);
}

.gmv-consent-banner__actions .gmv-consent-button {
	width: 100%;
}

.gmv-consent-dialog {
	background: transparent;
	border: 0;
	color: var(--gmv-ink, #14212d);
	margin: auto;
	max-height: min(90dvh, 48rem);
	max-width: min(calc(100% - 1.5rem), 42rem);
	overflow: visible;
	padding: 0;
	width: 100%;
}

.gmv-consent-dialog::backdrop {
	background: rgb(6 47 85 / .62);
	backdrop-filter: blur(.2rem);
}

.gmv-consent-dialog__inner {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 1.5rem 4rem rgb(6 47 85 / .24);
	max-height: min(90dvh, 48rem);
	overflow: auto;
	padding: clamp(1rem, 4vw, 2rem);
}

.gmv-consent-dialog__header {
	align-items: start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.gmv-consent-dialog__close {
	border-radius: 50%;
	flex: 0 0 2.75rem;
	font-size: 1.6rem;
	line-height: 1;
	padding: 0;
	width: 2.75rem;
}

.gmv-consent-option {
	align-items: start;
	background: var(--gmv-blue-050, #edf5fb);
	border: 1px solid var(--gmv-border, #d7dee4);
	border-radius: .875rem;
	display: grid;
	gap: 1rem;
	margin-block: 1rem;
	padding: 1rem;
}

.gmv-consent-option h3 {
	font-size: 1.15rem;
}

.gmv-consent-option p {
	color: var(--gmv-muted, #4a5864);
	font-size: .94rem;
}

.gmv-consent-switch {
	align-items: center;
	display: flex;
	font-weight: 800;
	gap: .65rem;
	min-height: 2.75rem;
}

.gmv-consent-switch input {
	accent-color: var(--gmv-blue-700, #0a4a82);
	height: 1.4rem;
	width: 1.4rem;
}

.gmv-consent-dialog__privacy {
	margin-block: 1rem !important;
}

.gmv-consent-reopen {
	font-size: .86rem;
	margin: 0;
}

@media (min-width: 48rem) {
	.gmv-consent-banner {
		border-radius: 1rem;
		bottom: 1rem;
		left: 1rem;
		right: 1rem;
	}

	.gmv-consent-banner__inner {
		align-items: center;
		grid-template-columns: minmax(0, 1fr) minmax(18rem, .78fr);
	}

	.gmv-consent-banner__actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gmv-consent-option {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.gmv-consent-dialog__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media print {
	.gmv-consent-banner,
	.gmv-consent-dialog,
	.gmv-consent-reopen {
		display: none !important;
	}
}
