/* Projekt: BAGA Premium - Motyw WordPress
   Autor: KamikStudio - Patryk Dariusz Kowalski (ps. Kamik)
   Web: https://kamikstudio.pl, Email: biuro@kamikstudio.pl
   Data: 2026-11-12, Wersja: 1.0
   Opis: Baner zgód - niemodalny, lewy dolny róg, „Akceptuj” i „Odrzuć” w identycznym stylu,
   cele dotykowe min. 44 px. Kolory marki: #1A1A1A, #F8F7F4, #8B8985. */

.baga-zgody {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9990;
	box-sizing: border-box;
	width: min(460px, calc(100% - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid rgb(26 26 26 / 12%);
	box-shadow: 0 12px 32px rgb(0 0 0 / 14%); /* baner pływa nad treścią i musi się od niej odróżniać */
	font-family: Rubik, ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.baga-zgody[hidden] { display: none; }
.baga-zgody__tytul { margin: 0 0 8px; font-size: 1.125rem; font-weight: 500; line-height: 1.3; }
.baga-zgody__opis { margin: 0; font-size: 0.875rem; line-height: 1.6; color: #4a4845; }
.baga-zgody__opis a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 2px; }
.baga-zgody__opcje { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; border: 0; }
.baga-zgody__opcje[hidden] { display: none; }
.baga-zgody__opcja { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.875rem; line-height: 1.5; color: #4a4845; cursor: pointer; }
.baga-zgody__opcja strong { color: #1a1a1a; font-weight: 500; }
.baga-zgody__opcja input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #1a1a1a; }
.baga-zgody__przyciski { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.baga-zgody__przycisk {
	flex: 1 1 140px;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid #1a1a1a;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.baga-zgody__przycisk:hover { background: #2a2a2a; }
.baga-zgody__ustawienia {
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: #1a1a1a;
	font: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.baga-zgody button:focus-visible,
.baga-zgody a:focus-visible,
.baga-zgody input:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }
.baga-zgody-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

@media (max-width: 480px) {
	.baga-zgody { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 20px; }
}
