/**
 * Nadpisanie kolorystyki Tarteaucitron pod branding klienta, bez modyfikacji vendor/.
 * Wartość --cmp-brand-color ustawiana dynamicznie przez wp_add_inline_style()
 * (wordpress/mu-loader/custom-cmp-loader.php), na podstawie ustawień wtyczki
 * (WP Admin -> Ustawienia -> Custom CMP).
 *
 * Selektory dopasowane 1:1 do tych, których vendor/tarteaucitron/tarteaucitron.css
 * używa dla przycisków "Akceptuj"/"Odrzuć" (weryfikowane w źródle biblioteki, nie
 * zgadywane). !important - CSS Tarteaucitron ładuje się dynamicznie przez JS w
 * trakcie init(), więc kolejność wstrzyknięcia względem tego pliku w <head> nie jest
 * gwarantowana; kolor marki musi wygrać niezależnie od tej kolejności.
 */
:root {
    --cmp-brand-color: #fbd600; /* domyślna wartość = oryginalny kolor Tarteaucitron */
}

html body #tarteaucitronRoot .tarteaucitronCTAButton,
html body #tarteaucitronRoot .tarteaucitronAllow,
html body #tarteaucitronRoot .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected,
html body #tarteaucitronRoot #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,
html body #tarteaucitronRoot #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected,
html body #tarteaucitronRoot #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny {
    background: var(--cmp-brand-color) !important;
}
