#estepps-cookie-notice[hidden] { display: none !important; }
#estepps-cookie-notice {
	position: fixed;
	inset: auto 0 0;
	z-index: 99995;
	padding: 14px max(24px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
	border-top: 2px solid #f5c518;
	background: #0c2848;
	color: #fff;
	box-shadow: 0 -2px 16px #071c3326;
	font: 400 .875rem/1.5 var(--estepps-font-body, system-ui, sans-serif);
}
.estepps-cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1280px; margin: 0 auto; }
#estepps-cookie-notice p { margin: 0; font: inherit; color: #fff; }
.estepps-cookie-actions { display: flex; flex: none; flex-wrap: wrap; align-items: center; gap: 12px; }
#estepps-cookie-notice button {
	min-width: 90px;
	min-height: 44px;
	padding: 9px 18px;
	border: 1px solid #d4e0ea;
	border-radius: 6px;
	background: transparent;
	color: #fff;
	font: 700 .875rem/1.4 var(--estepps-font-body, system-ui, sans-serif);
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
#estepps-cookie-notice button:hover { background: #ffffff1a; }
#estepps-cookie-notice [data-cookie-choice="accepted"] { border-color: #f5c518; background: #f5c518; color: #071c33; }
#estepps-cookie-notice [data-cookie-choice="accepted"]:hover { background: #ffe16a; border-color: #ffe16a; }
#estepps-cookie-notice a { padding: 10px 0; color: #fff; font-size: .8125rem; text-decoration: underline; text-underline-offset: 3px; }
#estepps-cookie-notice :is(button, a):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.estepps-cookie-settings { display: inline; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-transform: none; letter-spacing: normal; line-height: inherit; cursor: pointer; }
.estepps-cookie-settings:hover { text-decoration: underline; }
.estepps-cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
body.estepps-cookie-open { padding-bottom: calc(var(--estepps-cookie-base-padding, 0px) + var(--estepps-cookie-height, 0px)); }

/* Keep the accessibility controls above the notice while both are visible. */
#estepps-accessibility .estepps-a11y-toggle { bottom: calc(max(20px, env(safe-area-inset-bottom)) + var(--estepps-cookie-height, 0px)); }
#estepps-accessibility .estepps-a11y-panel { bottom: calc(max(94px, calc(env(safe-area-inset-bottom) + 74px)) + var(--estepps-cookie-height, 0px)); max-height: calc(100dvh - 116px - var(--estepps-cookie-height, 0px)); }
@media (max-width: 800px) {
	.estepps-cookie-inner { flex-direction: column; align-items: stretch; gap: 10px; }
	.estepps-cookie-actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
	#estepps-cookie-notice { padding-inline: 16px; padding-block: 12px max(12px, env(safe-area-inset-bottom)); font-size: .8125rem; }
	.estepps-cookie-actions { gap: 10px; }
	#estepps-cookie-notice button { min-width: 80px; padding-inline: 14px; }
	#estepps-accessibility .estepps-a11y-toggle { bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--estepps-cookie-height, 0px)); }
	#estepps-accessibility .estepps-a11y-panel { bottom: calc(max(84px, calc(env(safe-area-inset-bottom) + 70px)) + var(--estepps-cookie-height, 0px)); max-height: calc(100dvh - 104px - var(--estepps-cookie-height, 0px)); }
}
