:root {
	--prp-consent-navy: #102f66;
	--prp-consent-blue: #1673c9;
	--prp-consent-border: #c9d9ea;
	--prp-consent-surface: #f7fbff;
	--prp-consent-text: #17243d;
}

.prp-cookie-consent {
	position: relative;
	z-index: 999999;
	font-family: inherit;
	color: var(--prp-consent-text);
}

.prp-cookie-consent__panel {
	position: fixed;
	right: 24px;
	bottom: 24px;
	left: 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	max-width: 1120px;
	margin: 0 auto;
	padding: 22px 24px;
	background: rgba(247, 251, 255, .98);
	border: 1px solid var(--prp-consent-border);
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(16, 47, 102, .18);
}

.prp-cookie-consent__panel[hidden],
.prp-cookie-consent__manage[hidden] {
	display: none;
}

.prp-cookie-consent__eyebrow {
	margin: 0 0 4px;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--prp-consent-blue);
}

.prp-cookie-consent h2 {
	margin: 0 0 7px;
	font: inherit;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--prp-consent-navy);
}

.prp-cookie-consent__copy > p:not(.prp-cookie-consent__eyebrow) {
	max-width: 760px;
	margin: 0 0 8px;
	font-size: .95rem;
	line-height: 1.55;
}

.prp-cookie-consent a {
	font-weight: 700;
	color: var(--prp-consent-blue);
	text-underline-offset: 3px;
}

.prp-cookie-consent__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.prp-cookie-consent__button,
.prp-cookie-consent__manage {
	min-height: 44px;
	padding: 10px 17px;
	font: inherit;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1.2;
	border: 1px solid var(--prp-consent-navy);
	border-radius: 999px;
	cursor: pointer;
}

.prp-cookie-consent__button--primary {
	color: #fff;
	background: var(--prp-consent-navy);
}

.prp-cookie-consent__button--secondary,
.prp-cookie-consent__manage {
	color: var(--prp-consent-navy);
	background: #fff;
}

.prp-cookie-consent__button:focus-visible,
.prp-cookie-consent__manage:focus-visible,
.prp-cookie-consent a:focus-visible {
	outline: 3px solid #f6c344;
	outline-offset: 3px;
}

.prp-cookie-consent__manage--fallback {
	position: fixed;
	left: 16px;
	bottom: 16px;
	min-height: 40px;
	padding: 8px 14px;
	font-size: .78rem;
	box-shadow: 0 8px 24px rgba(16, 47, 102, .14);
}

.prp-footer-cookie-preferences {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: -12px 0;
	padding: 0;
	font: inherit;
	font-size: .7rem;
	line-height: 1.3;
	color: #c8d7e5;
	text-decoration: underline;
	text-underline-offset: 3px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.prp-footer-cookie-preferences:hover,
.prp-footer-cookie-preferences:focus-visible {
	color: #fff;
}

@media (max-width: 760px) {
	.prp-cookie-consent__panel {
		right: 12px;
		bottom: 12px;
		left: 12px;
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 18px;
		border-radius: 14px;
	}

	.prp-cookie-consent__actions {
		display: grid;
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.prp-cookie-consent__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prp-cookie-consent *,
	.prp-cookie-consent *::before,
	.prp-cookie-consent *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
