/**
 * Accessibility remediation — Aug 2026 AccessibilityChecker report.
 *
 * SC 1.4.3 Contrast (WCAG AA) — 17 elements across the four product pages.
 *
 * Every Bazaarvoice failure is the same colour: the old brand teal #329FB9,
 * which measures 3.09:1 on white and 2.88:1 on #F7F7F7 against a 4.5:1
 * requirement. The theme already replaced this teal with #081A71 during the
 * April 2026 pass ($darkteal in _src/scss/_variables.scss) — the Bazaarvoice
 * widget was never updated to match.
 *
 * SPECIFICITY NOTE — the reason these selectors look overbuilt:
 *
 * Bazaarvoice injects its CSS into the document at runtime, which puts it
 * AFTER this stylesheet in source order. Every BV colour rule is !important,
 * so a tie on specificity is lost by us. The overrides therefore have to win
 * on specificity alone, not order.
 *
 * BV's rules are shaped:
 *   [data-bv-show="rating_summary"] .bv_main_container .bv_x   -> (0,3,0)
 *   ...same with :hover / :visited                             -> (0,4,0)
 *
 * Prefixing with `html body` adds two element selectors, which breaks the tie
 * at equal class count — (0,3,2) beats (0,3,0) — and the pseudo-class variants
 * are matched one-for-one so the hover/visited states are covered too.
 *
 * Note that BV also sets `color: inherit !important` on descendants of the
 * summary container, but it sets the teal DIRECTLY on these three leaves, so
 * recolouring the container alone does not reach them. Both are needed.
 *
 * The reviews block is a separate problem: it wraps everything in
 * .bv-cleanslate, a high-specificity reset, so that link needs its own chain.
 *
 * The star graphics paint via `fill: url(#gradient)` rather than currentColor,
 * so they are unaffected by any of this — verified in-browser.
 *
 * Measured after: 15.04:1 on white, 14.04:1 on #F7F7F7.
 *
 * Not compiled — see _assets/inc/a11y-fixes.php for why.
 */

/* Summary container — BV sets this to black; keep it on brand navy and let
   BV's own `color: inherit !important` carry it to uncoloured descendants. */
html body [data-bv-show="rating_summary"],
html body [data-bv-show="inline_rating"],
html body .bvstar {
	color: #081a71 !important;
}

/* The three leaves BV colours teal directly, with their interactive states. */
html body [data-bv-show="rating_summary"] .bv_main_container .bv_avgRating_component_container,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_avgRating_component_container:hover,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_avgRating_component_container:visited,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_avgRating_component_container:focus,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_numReviews_text,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_numReviews_text:hover,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_numReviews_text:visited,
html body [data-bv-show="rating_summary"] .bv_main_container .bv_numReviews_text:focus,
html body [data-bv-show="rating_summary"] .bv_main_container #WAR,
html body [data-bv-show="rating_summary"] .bv_main_container #WAR:hover,
html body [data-bv-show="rating_summary"] .bv_main_container #WAR:visited,
html body [data-bv-show="rating_summary"] .bv_main_container #WAR:focus,
html body #WAR.bv_button_buttonMinimalist {
	color: #081a71 !important;
}

/* "N Reviews" link inside the reviews block, over BV's cleanslate reset. */
html body .bv-cleanslate .bv-shared .bv-content-search .bv-masthead a.bv-rating-label.bv-text-link,
html body .bv-cleanslate .bv-shared a.bv-rating-label.bv-text-link,
html body .bv-cleanslate .bv-shared a.bv-rating-label.bv-text-link:hover,
html body .bv-cleanslate .bv-shared a.bv-rating-label.bv-text-link:visited {
	color: #081a71 !important;
}
