/* Dodatki WARTORG; oryginalny pakiet ConsentFlow pozostaje identyczny ze źródłem. */
body.wartorg-consent-open { padding-top: var(--wartorg-consent-space, 0px); }
html { scroll-padding-top: calc(var(--wartorg-consent-space, 0px) + 80px); }
body.wartorg-consent-open .topbar { top: var(--wartorg-consent-space, 0px); }
body .cf-banner { max-height: 48dvh; overflow-y: auto; box-sizing: border-box; }
body .cf-banner h3 { font-family: 'Figtree', sans-serif; }
body .cf-btn-accept { background: #E8A838; color: #2D2D3D; border-color: #E8A838; }
body .cf-btn-reject, body .cf-btn-settings { color: #2D2D3D; background: #fff; border-color: #847b6a; }
body .cf-btn:focus-visible, body .cf-tab:focus-visible, body .cf-vendor-header:focus-visible {
  outline: 3px solid #2D2D3D; outline-offset: 3px;
}
.wartorg-cookie-settings button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
body .cf-banner a, body .cf-prefs a { color: #584012; text-underline-offset: 3px; }
body .cf-prefs { max-height: 90dvh; }
body .cf-prefs-panel { scrollbar-color: #847b6a #FAF9F6; }
body .cf-tabs, body .cf-category, body .cf-vendor-item, body .cf-vendor-cat-header { border-color: #847b6a; }
body .cf-tab, body .cf-tab:hover, body .cf-vendor-cat-header, body .cf-vendor-count,
body .cf-vendor-cat-desc, body .cf-vendor-arrow, body .cf-cookie-name, body .cf-cookie-desc,
body .cf-badge-retention, body .cf-badge-type, body .cf-ba-label, body .cf-ba-before .cf-ba-label,
body .cf-ba-after .cf-ba-label, body .cf-ba-text, body .cf-ba-after .cf-ba-text,
body .cf-about-text, body .cf-about-update, body .cf-vendor-impact { color: #2D2D3D; }
body .cf-tab:hover, body .cf-vendor-header:hover { background: #fff; }
body .cf-tab-active, body .cf-tab-active:hover { color: #584012; border-bottom-color: #584012; }
body .cf-vendor-expanded .cf-vendor-arrow { color: #584012; }
body .cf-vendor-count, body .cf-badge, body .cf-cookie-card,
body .cf-ba-card, body .cf-vendor-impact { background: #fff; border: 1px solid #847b6a; }
body .cf-cookie-card:hover { border-color: #584012; }
body .cf-category-desc, body .cf-prefs p { opacity: 1; }
body .cf-category-label span { opacity: 1 !important; }
body .cf-toggle-track { background: #847b6a; }
body .cf-toggle input:checked + .cf-toggle-track { background: #584012; }
body .cf-toggle input:disabled + .cf-toggle-track { opacity: 1; }
body .cf-toggle input:focus-visible + .cf-toggle-track { outline: 3px solid #2D2D3D; outline-offset: 3px; }
.wartorg-cookie-settings { color: #FAF9F6; text-align: center; margin: 16px 0; font: 14px 'Figtree', sans-serif; }
footer .wartorg-cookie-settings { color: inherit; }
.wartorg-cookie-settings button { background: none; border: 0; color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 12px; }
@media (max-width: 640px) {
  body .cf-banner { padding: 0; }
  body .cf-banner-inner { padding: 12px 16px; gap: 10px; }
  body .cf-banner-text h3 { font-size: 17px; margin-bottom: 5px; }
  body .cf-banner-text p { font-size: 13px; line-height: 1.4; }
  body .cf-banner-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; width: 100%; }
  body .cf-banner-actions .cf-btn { flex: 1 1 140px; min-height: 44px; padding: 10px 8px; font-size: 13px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  body .cf-banner, body .cf-prefs, body .cf-overlay, body .cf-btn { animation: none; transition: none; }
}
