.bfc-cookie-panel {
	position: fixed;
	z-index: 10000;
	inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
	box-sizing: border-box;
	width: min(26rem, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	padding: 1.25rem;
	background: #f8f7f2;
	color: #203c35;
	border: 1px solid #879486;
	border-radius: 4px;
	box-shadow: 0 12px 36px #13231f38;
	font: 0.875rem/1.55 Manrope, system-ui, sans-serif;
}

.bfc-cookie-panel[hidden] {
	display: none;
}

.bfc-cookie-panel h2 {
	margin: 0 0 .45rem;
	color: inherit;
	font: 500 1.3rem/1.25 BFC-Lora, Lora, Georgia, serif;
}

.bfc-cookie-panel p {
	margin: 0 0 .35rem;
}

.bfc-cookie-panel a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .18em;
}

.bfc-cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .9rem;
}

.bfc-cookie-actions button {
	flex: 1 1 9rem;
	min-height: 44px;
	padding: .5rem .65rem;
	border: 1px solid #203c35;
	border-radius: 2px;
	background: #e6ebdf;
	color: #203c35;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.bfc-cookie-actions button:hover {
	background: #203c35;
	color: #f8f7f2;
}

.bfc-cookie-settings {
	appearance: none;
	padding: .15em 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: .18em;
}

:is(.bfc-cookie-panel :focus-visible, .bfc-cookie-settings:focus-visible) {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.bfc-cookie-actions button:focus-visible:hover {
	outline-color: #203c35;
}
