/*
 * Accessibility: colour-contrast fixes (WCAG 1.4.3, min 4.5:1).
 * Loaded only when "Disable accessibility colour changes" is NOT ticked
 * in General settings (see functions.php).
 */

/* White text on #abbdc4 was 1.94:1 -> #6c777b gives 4.60:1 */
header .header-cart .items-counter .count,
.categories-section .show-category-list span,
#cookie-banner .cookie-consent__accept {
    background-color: #6c777b;
    color: #fff;
}

/* Cart table header (white on #abbdc4, 1.94:1) */
.order-table tr.thead,
.order-table tr.thead > th {
    background-color: #6c777b !important;
    color: #fff !important;
}

/* Red checkout notice: #ff0000 on #fcfaf3 was 3.82:1 -> #cc0000 gives 5.3:1 */
.titleredcheckout {
    color: #cc0000;
}

/* "LM web solution" credit in the accessibility plugin menu (#808080, 3.94:1) */
.acb-menu a.copyright {
    color: #767676 !important;
}

@media (max-width: 991px) {
    .categories-section .show-category-list {
        background: #6c777b;
        color: #fff;
    }

    .categories-section .show-category-list i {
        color: #fff;
    }
}

/* Footer credit: #808080 on #fff was 3.94:1 -> #767676 gives 4.54:1 */
footer .copyright,
footer .copyright a,
a.copyright {
    color: #767676;
}

/* .button.dark: text #656462 on #676560 was 1.01:1 -> white gives 5.82:1 */
.button.dark,
html .woocommerce .button.alt.dark,
html .woocommerce .button.dark,
html .woocommerce button.button.alt.dark,
html .woocommerce button.button.dark {
    color: #fff;
}

.button.dark:hover,
html .woocommerce .button.alt.dark:hover,
html .woocommerce .button.dark:hover,
html .woocommerce button.button.alt.dark:hover,
html .woocommerce button.button.dark:hover {
    background: #fff;
    color: #676560;
}
