/* Gard House — poprawki dostępności (audyt axe-core, V6). Kontrast liczony względem WCAG 2.x AA (4,5:1 tekst, 3:1 duży tekst). */

/* Pasek kontaktu na telefonie: biały napis na zieleni marki (było #ecf2ea = 4,42:1). */
.gh-contact-bar__label { color: #fff; }

/* Data wpisu w widżecie wpisów Elementora (było #9ea2ac na bieli = 2,55:1). */
.elementor-post-date { color: #5a615b; }

/* Kwoty w blokach WooCommerce (cena w „Nowe w sklepie” w koszyku: #4e883b = 4,27:1). */
body.wcz-woocommerce.wcz-wooblocks ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-price,
body.wcz-woocommerce.wcz-wooblocks ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-price .woocommerce-Price-amount,
body.wcz-woocommerce.wcz-wooblocks ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-price .woocommerce-Price-currencySymbol,
body .wc-block-grid__product-price.price .woocommerce-Price-amount.amount,
body .wc-block-grid__product-price.price .woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol { color: #2f5e22 !important; }

/* Przyciski „Zobacz opcje / Dodaj do koszyka” w produktach powiązanych i blokach produktów (biały na #81d742 z woocustomizera = 1,78:1). */
body.wcz-btns.wcz-woocommerce.wcz-wooblocks.woocommerce-page ul.wc-block-grid__products li.wc-block-grid__product a.add_to_cart_button,
body.wcz-btns.wcz-woocommerce.wcz-wooblocks.woocommerce-page ul.wc-block-grid__products li.wc-block-grid__product .wp-block-button__link { background-color: #437c31 !important; color: #fff !important; }
body.woocommerce-page.woocommerce-page.woocommerce-page.woocommerce-page.woocommerce-page ul.products li.product a.button,
body.woocommerce-page.woocommerce-page.woocommerce-page.woocommerce-page.woocommerce-page ul.products li.product button.button {
	background-color: #437c31 !important;
	color: #fff !important;
}
body.woocommerce-page.woocommerce-page.woocommerce-page ul.products li.product a.button:hover,
body.woocommerce-page.woocommerce-page.woocommerce-page ul.products li.product a.button:focus-visible {
	background-color: #2f5e22 !important;
}

/* Przycisk „Dodaj do koszyka” przed wyborem wariantu — wyraźny stan nieaktywny (nie jasnozielony z białym napisem). */
body.woocommerce-page.woocommerce-page .single_add_to_cart_button.disabled,
body.woocommerce-page.woocommerce-page .single_add_to_cart_button.wc-variation-selection-needed {
	background-color: #e4e8e2 !important;
	color: #4a524a !important;
	cursor: not-allowed;
	opacity: 1;
}

/* Animowany nagłówek w opisach produktów (#aebcb9 na bieli = 1,96:1). */
.single-product .elementor-headline-dynamic-text { color: #2f5e22; }

/* Cele dotykowe ≥ 24 px (WCAG 2.2, 2.5.8): paginacja, pokazywanie hasła, kropki karuzeli. */
body .woocommerce-pagination ul.page-numbers li .page-numbers,
body .woocommerce-pagination .page-numbers { min-width: 40px !important; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

/* Stare strony DE/CS: nagłówek h5 #797979 (4,35:1). */
html:lang(de) .elementor-element-7cff00ed .elementor-heading-title,
html:lang(cs) .elementor-element-7cff00ed .elementor-heading-title { color: #595959 !important; }
/* …oraz przyciski tekstowe „Herunterladbare Kataloge / Katalogi do pobrania” (#498536 = 4,47:1) — tylko wersje DE/CS. */
html:lang(de) .elementor-button.elementor-size-xs .elementor-button-text,
html:lang(cs) .elementor-button.elementor-size-xs .elementor-button-text { color: #2f5e22 !important; }
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input { min-width: 32px; min-height: 32px; }
.owl-carousel .owl-dots .owl-dot { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }

/* Fokus klawiatury widoczny także na elementach starych szablonów. */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid #1a5c8f;
	outline-offset: 2px;
}

/* Ruch ograniczony na życzenie użytkownika (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
