.pepselect-cookie-consent {
	box-sizing: border-box;
	position: fixed;
	z-index: 9998;
	right: clamp(16px, 3vw, 40px);
	bottom: max(16px, env(safe-area-inset-bottom));
	left: clamp(16px, 3vw, 40px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	max-width: 1240px;
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	margin-inline: auto;
	padding: 20px 22px;
	border: 1px solid #d9e3eb;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 16px 48px rgba(10, 30, 64, .18);
	color: var(--pep-color-navy, #002a53);
	font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.pepselect-cookie-consent[hidden] {
	display: none;
}

.pepselect-cookie-consent__copy h2 {
	margin: 0 0 6px;
	color: var(--pep-color-navy, #002a53);
	font: 700 17px/1.3 "Plus Jakarta Sans", Arial, sans-serif;
}

.pepselect-cookie-consent__copy p {
	max-width: 780px;
	margin: 0;
	color: #53677b;
	font: 500 13px/1.55 "Plus Jakarta Sans", Arial, sans-serif;
}

.pepselect-cookie-consent__copy a {
	color: var(--pep-color-navy, #002a53);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.pepselect-cookie-consent__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pepselect-cookie-consent__button {
	box-sizing: border-box;
	min-height: 44px;
	padding: 11px 17px;
	border: 1px solid transparent;
	border-radius: 6px;
	font: 700 13px/1.2 "Plus Jakarta Sans", Arial, sans-serif;
	cursor: pointer;
	white-space: nowrap;
}

.pepselect-cookie-consent .pepselect-cookie-consent__button--secondary,
.pepselect-cookie-consent .pepselect-cookie-consent__button--secondary:focus {
	border-color: #b7c6d3;
	background: #fff;
	color: var(--pep-color-navy, #002a53);
}

.pepselect-cookie-consent .pepselect-cookie-consent__button--primary,
.pepselect-cookie-consent .pepselect-cookie-consent__button--primary:focus {
	border-color: var(--pep-color-navy, #002a53);
	background: var(--pep-color-navy, #002a53);
	color: #fff;
}

.pepselect-cookie-consent .pepselect-cookie-consent__button--secondary:hover {
	border-color: #1a548f;
	background: #f4f8fb;
}

.pepselect-cookie-consent .pepselect-cookie-consent__button--primary:hover {
	border-color: var(--pep-color-dark-navy, #001d3a);
	background: var(--pep-color-dark-navy, #001d3a);
}

.pepselect-cookie-consent a:focus-visible,
.pepselect-cookie-consent__button:focus-visible,
.pepselect-cookie-settings button:focus-visible {
	outline: 3px solid #38b8cf;
	outline-offset: 3px;
}

.pepselect-cookie-consent__status { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.pepselect-cookie-consent__status:empty { display: none; }
.pepselect-cookie-settings { padding: 10px 20px; text-align: center; }
.pepselect-cookie-settings[hidden] { display: none; }
.pepselect-cookie-settings button {
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.pepselect-cookie-settings button:hover,
.pepselect-cookie-settings button:focus {
	background: transparent;
	color: inherit;
}
#pepselect-site-footer .pepselect-cookie-settings { padding: 0; text-align: left; }
.pepselect-cookie-consent * { box-sizing: border-box; }

@media (max-width: 767px) {
	.pepselect-cookie-consent {
		right: 10px;
		bottom: max(10px, env(safe-area-inset-bottom));
		left: 10px;
		grid-template-columns: 1fr;
		gap: 17px;
		padding: 20px;
	}

	.pepselect-cookie-consent__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pepselect-cookie-consent__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pepselect-cookie-consent,
	.pepselect-cookie-consent * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
