#eaawcag-toggle-panel {
    position: fixed;
    left: 8px;
    bottom: 50px;
    z-index: 10001;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
#eaawcag-toggle-panel img, #eaawcag-toggle-panel svg { display: block; }

#eaawcagaccessibility-toolbar {
    position: fixed;
    left: 10px;
    bottom: 60px;
    z-index: 10002;
    background: #fff;
    padding: 14px 18px 14px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    font-size: 15px;
    min-width: 220px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    flex-direction: column;
    gap: 8px;
    max-width: 95vw;
}
#eaawcagaccessibility-toolbar.eaawcag-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
}
.eaawcag-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5em;
    color: #888;
    align-self: flex-end;
    margin-bottom: 7px;
    cursor: pointer;
    line-height: 1;
}
.eaawcag-btn {
    margin: 0 0 6px 0;
    padding: 6px 10px;
    background: #eaeaea;
    border: 1px solid #bbb;
    border-radius: 7px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
.eaawcag-btn:focus, .eaawcag-panel-btn:focus, .eaawcag-close-btn:focus {
    outline: 2px solid #224488;
}

body.eaawcag-high-contrast, 
body.eaawcag-high-contrast main, 
body.eaawcag-high-contrast #main {
    background: #000 !important;
    color: #fff !important;
}
body.eaawcag-high-contrast * {
    color: #fff !important;
    background: transparent !important;
    border-color: #ffe600 !important;
}
body.eaawcag-high-contrast a, 
body.eaawcag-high-contrast a * {
    color: #ffe600 !important;
    background: transparent !important;
}
body.eaawcag-high-contrast input, 
body.eaawcag-high-contrast textarea, 
body.eaawcag-high-contrast select {
    background: #111 !important;
    color: #fff !important;
    border-color: #ffe600 !important;
}

/* Powiększanie tekstu: tylko jeśli wybrano powiększenie! */
body.eaawcag-font-112,
body.eaawcag-font-112 html,
body.eaawcag-font-112 body,
body.eaawcag-font-112 p,
body.eaawcag-font-112 span,
body.eaawcag-font-112 a,
body.eaawcag-font-112 li,
body.eaawcag-font-112 td,
body.eaawcag-font-112 th,
body.eaawcag-font-112 h1,
body.eaawcag-font-112 h2,
body.eaawcag-font-112 h3,
body.eaawcag-font-112 h4,
body.eaawcag-font-112 h5,
body.eaawcag-font-112 h6,
body.eaawcag-font-112 .product-title,
body.eaawcag-font-112 .product-description,
body.eaawcag-font-112 .footer-container,
body.eaawcag-font-112 .header-container,
body.eaawcag-font-112 .main-menu {
    font-size: 105% !important;
}
body.eaawcag-font-125,
body.eaawcag-font-125 html,
body.eaawcag-font-125 body,
body.eaawcag-font-125 p,
body.eaawcag-font-125 span,
body.eaawcag-font-125 a,
body.eaawcag-font-125 li,
body.eaawcag-font-125 td,
body.eaawcag-font-125 th,
body.eaawcag-font-125 h1,
body.eaawcag-font-125 h2,
body.eaawcag-font-125 h3,
body.eaawcag-font-125 h4,
body.eaawcag-font-125 h5,
body.eaawcag-font-125 h6,
body.eaawcag-font-125 .product-title,
body.eaawcag-font-125 .product-description,
body.eaawcag-font-125 .footer-container,
body.eaawcag-font-125 .header-container,
body.eaawcag-font-125 .main-menu {
    font-size: 110% !important;
}
body.eaawcag-font-140,
body.eaawcag-font-140 html,
body.eaawcag-font-140 body,
body.eaawcag-font-140 p,
body.eaawcag-font-140 span,
body.eaawcag-font-140 a,
body.eaawcag-font-140 li,
body.eaawcag-font-140 td,
body.eaawcag-font-140 th,
body.eaawcag-font-140 h1,
body.eaawcag-font-140 h2,
body.eaawcag-font-140 h3,
body.eaawcag-font-140 h4,
body.eaawcag-font-140 h5,
body.eaawcag-font-140 h6,
body.eaawcag-font-140 .product-title,
body.eaawcag-font-140 .product-description,
body.eaawcag-font-140 .footer-container,
body.eaawcag-font-140 .header-container,
body.eaawcag-font-140 .main-menu {
    font-size: 115% !important;
}

/* Panel i jego przycisk nigdy się nie powiększają */
#eaawcagaccessibility-toolbar, #eaawcagaccessibility-toolbar *, #eaawcag-toggle-panel, #eaawcag-toggle-panel * {
    font-size: 15px !important;
}

/* Podświetl linki */
body.eaawcag-highlight-links a,
body.eaawcag-highlight-links a:link,
body.eaawcag-highlight-links a:visited,
body.eaawcag-highlight-links a:active,
body.eaawcag-highlight-links a:hover {
    background: #000 !important;
    color: #ffe600 !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

/* Większy kursor */
body.eaawcag-big-cursor, body.eaawcag-big-cursor * {
    cursor: url('../img/cursor-big.png'), pointer !important;
}

/* Podświetlenie do trybu "Czytaj stronę" */
body.eaawcag-tts-active .eaawcag-tts-hover {
    outline: 2px solid #224488;
    background: #e0edff;
    transition: outline 0.1s, background 0.1s;
}

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
