/**
 * flex_seo_fixes / a11y CSS overrides
 * Generated: 2026-05-08
 * Purpose: Fix WCAG color-contrast failures detected by PSI Lighthouse (29 items)
 *
 * Strategy: increase contrast ratio without changing the overall look.
 *           grey link text → darker grey (still grey, but readable).
 */

/* Brand name links on product cards (pos theme + default thumbnail-container) */
article.thumbnail-container .product_desc .manufacturer a,
article.thumbnail-container .manufacturer a,
.product_desc .inner_desc .manufacturer a,
.product_desc .manufacturer a {
    color: #4a4a4a !important; /* was light grey #999/aaa - now WCAG AA compliant on white */
}
article.thumbnail-container .product_desc .manufacturer a:hover,
article.thumbnail-container .manufacturer a:hover,
.product_desc .manufacturer a:hover {
    color: #1a1a1a !important;
}

/* Tab navigation (pos-producttabs-widget) */
.pos-producttabs-widget .tab-titles .nav-link,
.pos-producttabs-widget ul.tab-titles li.nav-item a.nav-link {
    color: #333 !important; /* was lighter, now AA compliant */
}
.pos-producttabs-widget .tab-titles .nav-link.active {
    color: #000 !important;
    font-weight: 600;
}
.pos-producttabs-widget .tab-titles .nav-link:hover {
    color: #000 !important;
}

/* Subtle link contrast improvements globally for grey text variants */
a[tabindex="0"][href*="/brand/"] {
    color: #4a4a4a !important;
}
