.cookie-consent {
	position: fixed;
	z-index: 100000;
	right: 0;
	bottom: 0;
	left: 0;
	padding: var(--wp--preset--spacing--md);
	border-top: 4px solid var(--wp--preset--color--zloty);
	background: var(--wp--preset--color--kremowy);
	color: var(--wp--preset--color--tekst);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

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

.cookie-consent__inner {
	display: flex;
	max-width: 1160px;
	margin: 0 auto;
	gap: var(--wp--preset--spacing--lg);
	align-items: center;
	justify-content: space-between;
}

.cookie-consent__text { max-width: 760px; }
.cookie-consent__text h2 { margin: 0 0 0.4rem; color: var(--wp--preset--color--bordo-ciemny); }
.cookie-consent__text p { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.cookie-consent__text a { color: var(--wp--preset--color--bordo-ciemny); font-weight: 700; }
.cookie-consent__actions { display: flex; flex: 0 0 auto; gap: var(--wp--preset--spacing--sm); }

.cookie-consent__button,
.liturgy-consent-placeholder__button {
	min-height: 3.25rem;
	padding: 0.7rem 1.25rem;
	border: 2px solid var(--wp--preset--color--bordo);
	border-radius: 4px;
	background: var(--wp--preset--color--bordo);
	color: var(--wp--preset--color--bialy);
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 800;
	cursor: pointer;
}

.cookie-consent__button--necessary { background: var(--wp--preset--color--kremowy); color: var(--wp--preset--color--bordo-ciemny); }
.cookie-consent__button:hover,
.cookie-consent__button:focus-visible,
.liturgy-consent-placeholder__button:hover,
.liturgy-consent-placeholder__button:focus-visible { outline: 3px solid var(--wp--preset--color--bordo-ciemny); outline-offset: 2px; }

.footer-cookie-settings {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--bialy);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.liturgy-consent-placeholder { text-align: center; }
.liturgy-consent-placeholder__brand { display: inline-block; margin-bottom: 0.75rem; color: var(--wp--preset--color--bordo-ciemny); font-size: 1.25rem; font-weight: 900; letter-spacing: 0.04em; }
.liturgy-consent-placeholder__brand:hover,
.liturgy-consent-placeholder__brand:focus-visible { color: var(--wp--preset--color--bordo); }

@media (max-width: 760px) {
	.cookie-consent__inner,
	.cookie-consent__actions { align-items: stretch; flex-direction: column; }
	.cookie-consent { max-height: 85vh; overflow-y: auto; }
}
