/* Styl dla paska narzędzi */
#wcag-toolbar {
    position: fixed;
    bottom: 70px;
    right: 10px;
    z-index: 9999;
    display: flex;
    gap: 10px;
    background: rgba(0, 97, 175, 0.8);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#wcag-toolbar span {
	margin-top: 10px;
}

#wcag-toolbar span a {
	color: white;
}

.wcag-btn {
    background: #0061af;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.wcag-btn:hover {
    background: #004f8a;
    transform: translateY(-2px);
}

/* === SPLASH SCREEN DOSTĘPNOŚĆ === */

#wcag-splash {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--wcag-btn-bg, #0057b8);   /* kolor przycisków – zmień, jeśli masz inny */
    color: #fff;
    z-index: 99999;
    opacity: 1;
    transition: opacity .4s ease;
}

#wcag-splash.fade-out { 
	opacity: 0; 
	pointer-events: none; 
}

#wcag-splash .fa-wheelchair {
	font-size: 6rem;
	margin-bottom: 1rem; 
}

#wcag-splash h1 {
	font-size: 2rem;
	letter-spacing: .04em;
	text-align: center;
	margin: 0; 
	color: white!important;
}


/* Styl ikonki wózka */

body.contrast-on #wcag-icon {
	background: black!important;
}

#wcag-icon {
    position: fixed;
	z-index: 999;
    bottom: 0px;
    right: 1%;
    background: #0061af;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

#wcag-icon:hover {
    background: #004f8a;
}

/* Styl panelu WCAG w trybie kontrastu */
body.contrast-on #wcag-toolbar {
    background: #000 !important; /* Czarne tło */
    border: 2px solid #ff0; /* Żółta ramka */
    box-shadow: 0 0 10px #ff0; /* Żółty cień */
}

/* Styl przycisków WCAG w trybie kontrastu */
body.contrast-on .wcag-btn {
    background: #ff0 !important; /* Żółte tło */
    color: #000 !important; /* Czarny tekst */
    border: 2px solid #000; /* Czarna ramka */
    font-weight: bold; /* Wyróżnienie tekstu */
    transition: background 0.3s ease, transform 0.2s ease; /* Subtelny efekt */
}

/* Styl ikon w przyciskach WCAG w trybie kontrastu */
body.contrast-on .wcag-btn i {
    color: #000 !important; /* Czarny kolor ikon */
}

/* Powiększanie tekstu dla A+ */
body.font-large h1 {
    font-size: 3.5em; /* Powiększenie z 3.5em */
    line-height: 2; /* Zwiększenie line-height */
}

body.font-large h2 {
    font-size: 3.1em; /* Powiększenie z 2.5em */
    line-height: 1.4;
}

body.font-large h3 {
    font-size: 2.1em; /* Powiększenie z 2em */
    line-height: 1.35;
}

body.font-large h4 {
    font-size: 1.6em; /* Powiększenie z 1.6em */
    line-height: 1.3;
}

body.font-large h5 {
    font-size: 1.25em; /* Powiększenie z 1.3em */
    line-height: 1.25;
}

body.font-large h6 {
    font-size: 1.1em; /* Powiększenie z 1em */
    line-height: 1.2;
}

body.font-large p,
body.font-large li,
body.font-large span,
body.font-large td,
body.font-large th,
body.font-large label,
body.font-large blockquote,
body.font-large dl,
body.font-large dt,
body.font-large dd,
body.font-large bdi,
body.font-large .widget,
body.font-large .wp-block-woocommerce-cart-order-summary-heading-block
{
    font-size: 1.15em!important; /* Subtelne powiększenie paragrafów i innych tekstów */
    line-height: 1.6!important; /* Większe odstępy */
}


/* Automatyczna wysokość dla różnych stanów font-large i font-xlarge */
body.font-large .ikona,
body.font-xlarge .ikona,
body.font-large .ikona-podstrona,
body.font-xlarge .ikona-podstrona,
body.font-large .dlaczego-box,
body.font-xlarge .dlaczego-box,
body.font-large .dlaczego-box p,
body.font-xlarge .dlaczego-box p,
body.font-large .dlaczego-box h4,
body.font-xlarge .dlaczego-box h4,
body.font-large #custom_html-1,
body.font-xlarge #custom_html-1,
body.font-large #custom_html-2,
body.font-xlarge #custom_html-2,
body.font-large #custom_html-3,
body.font-xlarge #custom_html-3,
body.font-large #custom_html-4,
body.font-xlarge #custom_html-4,
body.font-large #custom_html-5,
body.font-xlarge #custom_html-5,
body.font-large #custom_html-6,
body.font-xlarge #custom_html-6,
body.font-large #custom_html-7,
body.font-xlarge #custom_html-7,
body.font-large #custom_html-8,
body.font-xlarge #custom_html-8,
body.font-large #custom_html-9,
body.font-xlarge #custom_html-9,
body.font-large .woocommerce-loop-product__title,
body.font-xlarge .woocommerce-loop-product__title,
body.font-large .opinia-box,
body.font-xlarge .opinia-box,
body.font-large .opinia-box p,
body.font-xlarge .opinia-box p,
body.font-large .opinia-box h3,
body.font-xlarge .opinia-box h3
body.font-large .polecane-tytul,
body.font-xlarge .polecane-tytul,
body.font-large #stomatologia h3,
body.font-xlarge #stomatologia h3,
body.font-large #estetyczna h3,
body.font-xlarge #estetyczna h3,
body.font-large #stomatologia h3 a,
body.font-xlarge #stomatologia h3 a,
body.font-large #estetyczna h3 a,
body.font-xlarge #estetyczna h3 a
{
    height: auto !important;
}

body.font-large .woocommerce form .form-row .input-text,
body.font-xlarge .woocommerce form .form-row .input-text
{
	height: 60px;
}

/* Powiększanie tekstu dla A++ */
body.font-xlarge h1 {
    font-size: 3.75em; /* Powiększenie z 3.5em */
    line-height: 1.7; /* Większe odstępy */
}

body.font-xlarge h2 {
    font-size: 3.25em; /* Powiększenie z 2.5em */
    line-height: 1.6;
}

body.font-xlarge h3 {
    font-size: 2.5em; /* Powiększenie z 2em */
    line-height: 1.5;
}

body.font-xlarge h4 {
    font-size: 1.8em; /* Powiększenie z 1.6em */
    line-height: 1.4;
}

body.font-xlarge h5 {
    font-size: 1.5em; /* Powiększenie z 1.3em */
    line-height: 1.35;
}

body.font-xlarge h6 {
    font-size: 1.3em; /* Powiększenie z 1em */
    line-height: 1.3;
}
body.font-xlarge p,
body.font-xlarge li,
body.font-xlarge span,
body.font-xlarge td,
body.font-xlarge th,
body.font-xlarge label,
body.font-xlarge blockquote,
body.font-xlarge dl,
body.font-xlarge dt,
body.font-xlarge dd,
body.font-xlarge bdi,
body.font-xlarge .widget,
body.font-xlarge .wp-block-woocommerce-cart-order-summary-heading-block
{
    font-size: 1.5em!important; /* Dodatkowe powiększenie dla tekstu */
    line-height: 1.8!important; /* Większe odstępy */
}

body.font-large .vc_btn3.vc_btn3-size-md, body.font-large .vc_btn3.vc_btn3-size-lg, body.font-large .button {
	font-size: 1.25em!important;
}

body.font-xlarge .vc_btn3.vc_btn3-size-md, body.font-xlarge .vc_btn3.vc_btn3-size-lg, body.font-xlarge .button {
	font-size: 1.5em!important;
}

/* Ogólna reguła dla wszystkich kontenerów */
body.font-large .container,
body.font-xlarge .container
{
    min-width: 100%; /* Rozciągnięcie kolumn */
}

body.font-large .entry-content, 
body.font-xlarge .entry-content 
{
   width: 100%!important; /* Rozciągnięcie kolumn */
}

body.font-large .woocommerce ul.products li.product,
body.font-xlarge .woocommerce ul.products li.product,
body.font-large .related .product,
body.font-xlarge .related .product 
{
	width: 45%!important;
}

body.font-large .btn-primary, 
body.font-xlarge .btn-primary {
  display: block;
  width: 50%;
  font-size: 1.5em;
  height: auto;
}

/* Ogólna reguła dla ukrywania slidera i pokazywania planszy */
body.font-large #slider,
body.font-xlarge #slider,
body.font-large .xoo-wsc-product,
body.font-xlarge .xoo-wsc-product,
body.font-large .xoo-wsc-ft-totals,
body.font-xlarge .xoo-wsc-ft-totals,
body.font-large .xoo-wsc-footer-txt,
body.font-xlarge .xoo-wsc-footer-txt
{
    display: none!important; /* Ukrycie elementów niekompatybilnych */
}

body.font-large .woocommerce-Price-amount.amount,
body.font-xlarge .woocommerce-Price-amount.amount {
	display: none;
}

body.font-large.glowna #szukajka,
body.font-xlarge.glowna #szukajka {
	margin: 0 auto;
	width: 50%;
}

body.font-large .wpcf7-list-item-label,
body.font-xlarge .wpcf7-list-item-label {
    font-size: 18px !important; /* Przywraca domyślną wielkość tekstu */
}

/* Dodanie height: 200px dla wpcf7-form-control wpcf7-checkbox */
body.font-large .wpcf7-form-control.wpcf7-checkbox,
body.font-xlarge .wpcf7-form-control.wpcf7-checkbox {
    height: 300px !important; /* Wysokość 200px */
    box-sizing: border-box; /* Uwzględnienie paddingu w wysokości */
}

body.font-large .nav-link,
body.font-large .dropdown-item {
    font-size: 1.2em!important; /* Umiarkowane powiększenie dla A+ */
}

/* Powiększanie menu w A++ */
body.font-xlarge .nav-link,
body.font-xlarge .dropdown-item {
    font-size: 1.3em!important; /* Większe powiększenie dla A++ */
}

/* Powiększanie listy (ul) w A+ */
body.font-large .entry-content ul {
    font-size: 30em!important; /* Powiększenie całej listy */
    line-height: 45px; /* Większe odstępy */
}

/* Elementy li w A+ */
body.font-large .entry-content ul li {
    font-size: 28px!important; /* Przywrócenie normalnego rozmiaru */
    line-height: 45px; /* Umiarkowane odstępy */
}

/* Powiększanie listy (ul) w A++ */
body.font-xlarge .entry-content ul {
    font-size: 40px!important; /* Większe powiększenie całej listy */
    line-height: 60px; /* Większe odstępy */
}

/* Elementy li w A++ */
body.font-xlarge .entry-content ul li {
    font-size: 35px!important; /* Przywrócenie normalnego rozmiaru */
    line-height: 60px; /* Umiarkowane odstępy */
}

body.font-xlarge .nav-link {
	display: block;
}

body.font-xlarge .przycisk {
	height: 80px!important;
}

body.font-large .onas-kafelek, body.font-xlarge .onas-kafelek {
	width: 48%!important;
}

body.font-large #aktualnosci h3, body.font-xlarge #aktualnosci h3 {
	height: auto!important;
}

body.font-xlarge #menu-menu-1 {
	margin-top: 75px!important;
}

body.font-large .x-tytul, body.font-xlarge .x-tytul {
  height: auto;
}

body.font-large #footer-widget .col-md-4, body.font-xlarge #footer-widget .col-md-4 {
  -ms-flex: 100%!important;
  flex: 100%!important;
  max-width: 100%!important;
}


body.font-large .dropdown-menu, body.font-xlarge .dropdown-menu {
	width: 800px;
}

/* Kontrast */
html.contrast-on,
body.contrast-on,
body.contrast-on #topbar,
body.contrast-on .dropdown-menu,
body.contrast-on #masthead,
body.contrast-on .vc_tta-panel-body,
body.contrast-on .vc_tta-panel-heading,
body.contrast-on .vc_tta-tab .vc_active a,
body.contrast-on .vc_tta-tab a,
body.contrast-on .post,
body.contrast-on #primary,
body.contrast-on #secondary,
body.contrast-on #footer-widget,
body.contrast-on .socialmedia,
body.contrast-on #custom_html-1,
body.contrast-on #custom_html-2,
body.contrast-on #custom_html-3,
body.contrast-on #custom_html-4,
body.contrast-on #custom_html-5,
body.contrast-on #custom_html-6,
body.contrast-on #custom_html-7,
body.contrast-on #custom_html-8,
body.contrast-on #custom_html-9,
body.contrast-on .xoo-wsc-basket,
body.contrast-on .xoo-wsch-top,
body.contrast-on .xoo-wsc-product,
body.contrast-on .xoo-wsc-header,
body.contrast-on .xoo-wsc-ft-buttons-cont,
body.contrast-on .xoo-wsc-body,
body.contrast-on .xoo-wsc-footer,
body.contrast-on .vc_gitem-zone-img,
body.contrast-on .vc_gitem-zone .vc-zone-link,
body.contrast-on .payment_box.payment_method_bacs,
body.contrast-on .vc_btn3,
body.contrast-on #onas,
body.contrast-on #personel,
body.contrast-on #kontakt,
body.contrast-on #podstrona,
body.contrast-on .ikona
{
    background: #000 !important; /* Czarne tło */
    color: #ffeb3b !important; /* Żółty tekst */
	border: none!important;
}

/* Kontrast */
body.contrast-on #polecane,
body.contrast-on #centrum-klienta,
body.contrast-on .opinia-box,
body.contrast-on .socialmedia,
body.contrast-on .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp,
body.contrast-on .woocommerce-ordering,
body.contrast-on #custom_html-4 .button,
body.contrast-on #custom_html-5 .button,
body.contrast-on input[type=text],
body.contrast-on input[type=tel],
body.contrast-on input[type=email],
body.contrast-on input[type=password],
body.contrast-on input::placeholder,
body.contrast-on #order_comments::placeholder,
body.contrast-on .woocommerce-Button,
body.contrast-on .btn,
body.contrast-on .btn-primary,
body.contrast-on .mt-2,
body.contrast-on #order_comments,
body.contrast-on .woocommerce-info,
body.contrast-on .button,
body.contrast-on .orderby,
body.contrast-on .wc-block-components-button__text
{
    background: #000 !important; /* Czarne tło */
    color: #ffeb3b !important; /* Żółty tekst */
	border: solid 2px #ffeb3b!important;
}


body.contrast-on #bestsellery {
	display: none;
}

body.contrast-on .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,
body.contrast-on .dgwt-wcas-suggestions-wrapp
{
	background-color: black!important;
    color: #ffeb3b !important;
}

body.contrast-on .dgwt-wcas-st {
	color: #ffeb3b !important;
}

body.contrast-on img {
    display: none !important; /* Ukrycie grafik */
}

body.contrast-on h2::after {
	display: none;
}

body.contrast-on a {
    color: #1e90ff !important; /* Podkreślenie linków */
}

body.contrast-on p,
body.contrast-on a,
body.contrast-on dd,
body.contrast-on span,
body.contrast-on h1,
body.contrast-on h2,
body.contrast-on h3,
body.contrast-on h4,
body.contrast-on h5,
body.contrast-on h6,
body.contrast-on li,
body.contrast-on ul,
body.contrast-on ol,
body.contrast-on td
body.contrast-on th,
body.contrast-on tr,
body.contrast-on label,
body.contrast-on i,
body.contrast-on h3 a,
body.contrast-on .nadnaglowek p,
body.contrast-on .nav-link,
body.contrast-on #masthead .nav-link,
body.contrast-on #podstrona li::before,
body.contrast-on .wpcf7-list-item-label,
body.contrast-on .vc_tta-panel-body li::before,
body.contrast-on .posted-on,
body.contrast-on bdi,
body.contrast-on .dgwt-wcas-search-input input[type=search],
body.contrast-on #kontakt h2,
body.contrast-on #kontakt h3,
body.contrast-on .ikona h4,
body.contrast-on #slider,
body.contrast-on rs-layer
{
    color: #ffeb3b !important; /* Żółty kolor dla nagłówków */
}

body.contrast-on a {
	text-decoration: underline!important;
}

body.contrast-on .vc_btn3-container.vc_btn3-center a {
	border: #ffeb3b solid 3px!important;
}

body.contrast-on h2::before {
	display: none;
}

body.contrast-on a
{
    color: #ffeb3b !important; /* Żółty kolor dla nagłówków */
	text-decoration: underline;
}

body.contrast-on .vc_do_btn a {
	background-color: black!important;
}

body.contrast-on .btn-primary,
body.contrast-on .btn-primary:focus {
    color: #ffeb3b;
    background-color: black!important;
    border-color: black!important;
    box-shadow: none!important;
}

/* Kontrast dla pól tekstowych Contact Form 7 */
body.contrast-on .wpcf7-form-control {
    background-color: #000 !important; /* Czarne tło */
    color: #ff0 !important; /* Żółty tekst */
    border: 2px solid #ff0 !important; /* Żółta ramka */
    padding: 10px; /* Odstępy wewnętrzne */
    border-radius: 5px; /* Zaokrąglone rogi */
    font-size: 1.2em; /* Powiększenie tekstu */
}

/* Placeholder w trybie kontrastu */
body.contrast-on .wpcf7-form-control::placeholder {
    color: #bbb !important; /* Jasny szary kolor dla placeholdera */
    opacity: 1; /* Upewnij się, że placeholder jest widoczny */
}

/* Styl dla przycisków Contact Form 7 w trybie kontrastu */
body.contrast-on .wpcf7-submit {
    background-color: #000 !important; /* Czarne tło */
    color: #ff0 !important; /* Żółty tekst */
    border: 2px solid #ff0 !important; /* Żółta ramka */
    padding: 10px 20px; /* Odstępy wewnętrzne */
    font-size: 1.2em; /* Powiększenie tekstu */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Animacja hover */
}

/* Styl hover dla przycisków */
body.contrast-on .wpcf7-submit:hover {
    background-color: #ff0 !important; /* Żółte tło na hover */
    color: #000 !important; /* Czarne litery */
    border: 2px solid #000 !important; /* Czarna ramka */
}

/* Kontrast dla checkboxów i radio buttonów */
body.contrast-on .wpcf7-form-control.wpcf7-checkbox input,
body.contrast-on .wpcf7-form-control.wpcf7-radio input {
    background-color: #000 !important; /* Czarne tło */
    color: #ff0 !important; /* Żółty tekst */
    border: 2px solid #ff0 !important; /* Żółta ramka */
    width: 20px; /* Rozmiar checkboxów i radio buttonów */
    height: 20px;
    cursor: pointer;
}

/* Kontrast dla etykiet */
body.contrast-on label {
    color: #ff0 !important; /* Żółty tekst */
    font-size: 1.2em; /* Powiększenie tekstu */
}

/* Styl dla przycisku przeglądaj */
body.contrast-on input[type="file"]::file-selector-button {
    background-color: #000; /* Czarne tło */
    color: #ff0; /* Żółty tekst */
    border: 2px solid #ff0; /* Żółta ramka */
    padding: 5px 10px; /* Odstępy wewnętrzne */
    border-radius: 5px; /* Zaokrąglone rogi */
    cursor: pointer; /* Wskaźnik kursora */
    font-size: 1em; /* Wielkość tekstu */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Animacja na hover */
}

/* Efekt hover */
body.contrast-on input[type="file"]::file-selector-button:hover {
    background-color: #ff0; /* Żółte tło */
    color: #000; /* Czarny tekst */
    border-color: #000; /* Czarna ramka */
}

/* Styl dla niestandardowego pola w trybie kontrastu */
body.contrast-on input[readonly] {
    background-color: #000; /* Czarne tło */
    color: #ff0; /* Żółty tekst */
    border: 2px solid #ff0; /* Żółta ramka */
    padding: 5px; /* Odstępy wewnętrzne */
    border-radius: 5px; /* Zaokrąglenie rogów */
    font-size: 1em; /* Rozmiar tekstu */
    box-sizing: border-box; /* Uwzględnij padding w wymiarach */
}

/* Opcjonalny efekt focus, jeśli pole może otrzymać focus */
body.contrast-on input[readonly]:focus {
    outline: 2px dashed #ff0; /* Żółty obrys przy fokusie */
}

/* Styl dla checkboxów w trybie kontrastu */
body.contrast-on input[type="checkbox"] {
    background-color: #000; /* Czarne tło */
    border: 2px solid #ff0; /* Żółta ramka */
    width: 20px; /* Szerokość checkboxa */
    height: 20px; /* Wysokość checkboxa */
    border-radius: 3px; /* Subtelne zaokrąglenie */
    appearance: none; /* Ukrycie domyślnego stylu */
    cursor: pointer;
}

/* Kolor zaznaczenia */
body.contrast-on input[type="checkbox"]:checked {
    background-color: #ff0; /* Żółte tło zaznaczenia */
    border-color: #ff0; /* Żółta ramka */
}

/* Opcjonalny efekt hover */
body.contrast-on input[type="checkbox"]:hover {
    box-shadow: 0 0 5px #ff0; /* Subtelny żółty cień */
}

/* Opcjonalny efekt focus */
body.contrast-on input[type="checkbox"]:focus {
    outline: 2px dashed #ff0; /* Żółty obrys przy fokusie */
}

body.contrast-on #kontakt iframe {
	filter: invert(1);
}

body.contrast-on #footer-widget a {
	color: #ff0!important;
}

body.contrast-on .vc_icon_element-icon {
	display: none;
}

body.contrast-on #aktualnosci {
	background: #000!important;
}

body.contrast-on .wideo {
	display: none;
}

body.contrast-on .onas-kafelek {
	background: #000!important;
	border: #000!important;
}

body.contrast-on .vc_toggle_title {
	background: #000!important;
}

body.contrast-on .vc_toggle_content h3 {
	background: #000!important;
}

body.contrast-on .ikona-podstrona {
	background: #000!important;
}

body.contrast-on .podstrona-txt2 {
	background: #000!important;
}

body.contrast-on #podstrona > div {
	background: #000!important;
}

body.contrast-on .alergolog-belka {
	background: #000!important;
}

body.contrast-on td, body.contrast-on tr, body.contrast-on th {
	background: #000!important;
	color: #ff0!important;
}

body.contrast-on .onas-txt, body.contrast-on .onas-txt2, body.contrast-on #onas h3, body.contrast-on .x-tytul, body.contrast-on .klatka {
	background: #000!important;
	color: #ff0!important;
	border: none!important;
}

body.contrast-on .nav-link {
	background: #000!important;
}

body.contrast-on .tlo-serca {
	background-image: none!important;
	background: #000!important;
}

@media only screen and (max-width: 1199px) {
	
body.font-large .dropdown-menu, body.font-xlarge .dropdown-menu {
	width: 400px;
}
	
	body.font-large p,
	body.font-xlarge p,
	body.font-large li,
	body.font-xlarge li,
	body.font-large #podstrona li::before,
	body.font-xlarge #podstrona li::before
	{
		line-height: 1.5;
	}
	
	body.font-large .onas-kafelek, body.font-xlarge .onas-kafelek {
	width: 100%!important;
}
	
	body.contrast-on .navbar-toggler {
    background: #ff0;
    }
	
	body.contrast-on .navbar-toggler span {
		filter: invert(0);
	}
	
	body.contrast-on .dropdown-menu {
		background: black!important;
		border: none!important;
	}
	
	body.contrast-on .nav-link {
		background: black!important;
		border: none!important;
	}
	
	body.contrast-on .dropdown-item {
		background: black!important;
		border: none!important;
	}
	
	body.contrast-on .glowna .dropdown-menu {
		background: black!important;
		border: none!important;
	}
	
	body.contrast-on .glowna .nav-link {
		background: black!important;
		border: none!important;
	}
	
	body.contrast-on .glowna .dropdown-item {
		background: black!important;
		border: none!important;
	}
	
	body.contrast-on .dropdown {
		background: black!important;
		border: none!important;
	}
	
	 body.contrast-on #main-nav {
		background: black!important;
		border: none!important;
	}
		
	/* Dla trybu A+ (font-large) */
body.font-large .wpcf7-form table,
body.font-large .wpcf7-form tr,
body.font-large .wpcf7-form td {
    display: block; /* Ustaw bloki, aby układały się w kolumnie */
    width: 100%; /* Rozciągnij na pełną szerokość */
    box-sizing: border-box; /* Uwzględnij padding i border */
}

body.font-large .wpcf7-form table {
    border-collapse: separate; /* Rozdziel komórki tabeli */
    margin-bottom: 20px; /* Dodaj odstęp pod tabelą */
}

body.font-large .wpcf7-form td {
    margin-bottom: 15px; /* Odstęp między polami */
}

/* Dla trybu A++ (font-xlarge) */
body.font-xlarge .wpcf7-form table,
body.font-xlarge .wpcf7-form tr,
body.font-xlarge .wpcf7-form td {
    display: block; /* Ustaw bloki, aby układały się w kolumnie */
    width: 100%; /* Rozciągnij na pełną szerokość */
    box-sizing: border-box; /* Uwzględnij padding i border */
}

body.font-xlarge .wpcf7-form table {
    border-collapse: separate; /* Rozdziel komórki tabeli */
    margin-bottom: 20px; /* Dodaj odstęp pod tabelą */
}

body.font-xlarge .wpcf7-form td {
    margin-bottom: 20px; /* Odstęp między polami */
}

/* Wspólne reguły dla obu trybów */
body.font-large .wpcf7-form input[type="text"],
body.font-xlarge .wpcf7-form input[type="text"],
body.font-large .wpcf7-form input[type="email"],
body.font-xlarge .wpcf7-form input[type="email"],
body.font-large .wpcf7-form textarea,
body.font-xlarge .wpcf7-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 15px;
}

body.font-large .wpcf7-form label,
body.font-xlarge .wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Dla przycisków w formularzu */
body.font-large .wpcf7-form input[type="submit"],
body.font-xlarge .wpcf7-form input[type="submit"] {
    display: block;
    width: auto;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1.2em;
}

#wcag-icon {
    bottom: 75px!important;
}
	
	body.font-large .woocommerce ul.products li.product,
body.font-xlarge .woocommerce ul.products li.product,
body.font-large .related .product,
body.font-xlarge .related .product 
{
	width: 100%!important;
}

body.font-large .btn-primary, 
body.font-xlarge .btn-primary {
  display: block;
  width: 100%;
  font-size: 1.5em;
  height: auto;
}

}