/* Zgody na cookies – wygląd w stylu Gicleo (Poppins, #333, różowy akcent #e3335a, zaokrąglenia jak na stronie). */
.kc-banner, .kc-modal, .kc-table {
	--kc-bg: #ffffff;
	--kc-bg2: #f4f4f4;
	--kc-ink: #333333;
	--kc-mut: #555555;
	--kc-faint: #8a8a8a;
	--kc-line: #e0e0e0;
	--kc-acc: #e3335a;
	--kc-on-acc: #ffffff;
	--kc-font: "Poppins", system-ui, sans-serif;
}
.kc-banner, .kc-modal { font: 14px/1.55 var(--kc-font); color: var(--kc-ink); }
.kc-banner *, .kc-modal * { box-sizing: border-box; }

/* pasek – karta przy dolnej krawędzi, strona zostaje widoczna */
.kc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100010; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }
.kc-in { display: flex; align-items: center; gap: 28px; max-width: 1120px; margin: 0 auto; padding: 18px 22px; border: 1px solid var(--kc-line); border-radius: 14px; background: var(--kc-bg); box-shadow: 0 10px 40px rgba(0, 0, 0, .16), 0 2px 8px rgba(0, 0, 0, .06); pointer-events: auto; animation: kc-up .3s ease; }
@keyframes kc-up { from { transform: translateY(16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kc-in { animation: none; } }
.kc-txt { flex: 1; min-width: 0; }
.kc-txt p { margin: 0; color: var(--kc-mut); font-size: 13px; line-height: 1.55; }
.kc-t { margin: 0 0 4px !important; font-size: 15px !important; font-weight: 600; color: var(--kc-ink) !important; }
.kc-banner a, .kc-modal a { color: var(--kc-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.kc-banner a:hover, .kc-modal a:hover { color: var(--kc-acc); }

/* „Odrzuć” i „Akceptuję wszystkie” tej samej wielkości; akceptacja wyróżniona kolorem; „Ustawienia” jako link */
.kc-btns { display: flex; align-items: center; gap: 8px; flex: none; }
.kc-b { min-height: 42px; min-width: 132px; padding: 0 20px; border: 1px solid var(--kc-ink); border-radius: 9999px; background: #fff; color: var(--kc-ink); font: 600 13px/1.2 var(--kc-font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; touch-action: manipulation; }
.kc-b:hover { background: var(--kc-ink); color: #fff; }
.kc-b--yes { border-color: var(--kc-acc); background: var(--kc-acc); color: var(--kc-on-acc); }
.kc-b--yes:hover { border-color: #c9254a; background: #c9254a; color: #fff; }
.kc-link { min-height: 42px; padding: 0 10px; border: 0; background: none; color: var(--kc-mut); font: 500 13px/1.2 var(--kc-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; touch-action: manipulation; }
.kc-link:hover { color: var(--kc-ink); }
.kc-b:focus-visible, .kc-x:focus-visible, .kc-link:focus-visible, .kc-sw input:focus-visible + .kc-sl { outline: 2px solid var(--kc-acc); outline-offset: 2px; }

/* okno ustawień */
.kc-modal { position: fixed; inset: 0; z-index: 100011; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .45); }
html.kc-lock { overflow: hidden; }
.kc-box { width: min(600px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px 24px 24px; border-radius: 16px; background: var(--kc-bg); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.kc-head { display: flex; align-items: center; justify-content: space-between; }
.kc-head .kc-t { font-size: 20px !important; }
.kc-x { width: 36px; height: 36px; margin-right: -8px; border: 0; border-radius: 50%; background: none; color: var(--kc-ink); font-size: 26px; line-height: 1; cursor: pointer; }
.kc-x:hover { background: #f4f4f4; }
.kc-lead { margin: 4px 0 14px; color: var(--kc-mut); font-size: 13px; }
.kc-cat { padding: 14px 0; border-top: 1px solid #f0f0f0; }
.kc-sw { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.kc-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kc-sl { position: relative; flex: none; width: 40px; height: 22px; margin-top: 1px; border-radius: 11px; background: #d9d9d9; transition: background .15s; }
.kc-sl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.kc-sw input:checked + .kc-sl { background: var(--kc-acc); }
.kc-sw input:checked + .kc-sl::after { transform: translateX(18px); }
.kc-sw input:disabled + .kc-sl { opacity: .55; }
.kc-sw input:disabled ~ .kc-ct { cursor: default; }
.kc-ct { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.kc-ct b { font-weight: 600; font-size: 14px; color: var(--kc-ink); }
.kc-ct b em { margin-left: 6px; font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--kc-faint); }
.kc-ct > span { color: var(--kc-mut); }
.kc-ct .kc-tools { font-size: 12px; color: var(--kc-faint); }
.kc-box .kc-btns { margin-top: 6px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.kc-box .kc-b { flex: 1; min-width: 0; }

/* telefon: „Odrzuć” i „Akceptuję” obok siebie, „Ustawienia” pod nimi */
@media (max-width: 860px) {
	.kc-banner { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
	.kc-in { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border-radius: 14px; }
	.kc-banner .kc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.kc-banner .kc-btns .kc-b--yes { grid-column: 2; grid-row: 1; }
	.kc-banner .kc-btns [data-kc="no"] { grid-column: 1; grid-row: 1; }
	.kc-banner .kc-link { grid-column: 1 / -1; grid-row: 2; min-height: 30px; }
	.kc-b { min-width: 0; padding: 0 10px; }
}
@media (max-width: 520px) {
	.kc-txt p { font-size: 12.5px; }
	.kc-box .kc-btns { display: grid; grid-template-columns: 1fr; }
	.kc-box { padding: 18px; }
}

/* tabela w polityce prywatności */
.kc-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13.5px; line-height: 1.45; }
.kc-table th, .kc-table td { padding: 8px 10px; border-bottom: 1px solid var(--kc-line); text-align: left; vertical-align: top; }
.kc-table th { font-weight: 600; font-size: 12px; color: var(--kc-faint); }
@media (max-width: 700px) {
	.kc-table thead { display: none; }
	.kc-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--kc-line); }
	.kc-table td { display: block; padding: 2px 0; border: 0; }
	.kc-table td:first-child { font-weight: 600; }
}
