/* ==========================================================================
   brand-40-lockedloaded-a11y.css  (store-only; never shipped or overwritten by releases)
   WCAG 1.4.3 / 1.4.11 contrast fixes from the painted-pixel audit, 2026-10-11.
   Every ratio below was measured from rendered pixels (text hidden, background sampled),
   "before" = live site, "after" = computed for the replacement colour on the same background.

   Load order: header.php loads brand-*.css after theme.css but BEFORE professional-fixes.min.css,
   product-page.css, search-suggest.css and the inline <style> blocks of each page, so every rule
   here wins on specificity (html body ... prefix) and carries !important where the rule it beats does.
   Colours only: no sizes, spacing or layout are changed. Disabled controls are left as they are.
   ========================================================================== */


/* --------------------------------------------------------------------------
   CONTRAST-001  /how-to-buy "256-bit SSL Encryption" badge
   .trust-badge{color:#fff !important} (professional-fixes.css:238) was written for the dark footer;
   in the white article the text and lock icon were white on white.
   before #ffffff on #ffffff = 1.00:1   after #0f7a44 on #ffffff = 5.40:1 (icon uses currentColor)
   -------------------------------------------------------------------------- */
html body .trust-indicators .trust-badge,
html body .trust-indicators .trust-badge span {
    color: #0f7a44 !important;
}


/* --------------------------------------------------------------------------
   CONTRAST-002 / 004 / 008 / 011 / 012 / 013  form field boundaries (1.4.11, needs 3:1)
   #ddd / #e0e0e0 / #ccc / #d1d5db borders were 1.23-1.61:1 against the page.
   before #dddddd on #ffffff 1.36, on #f8f9fa 1.29, on #e8e8e8 1.23
   after  #767676 on #ffffff 4.54, on #f8f9fa 4.31, on #e8e8e8 3.71 (3.28 against the input's own drop shadow)
   Colour only (border width/style untouched). The homepage header search (.ll-search input) is excluded:
   its boundary is the white field on the black header.
   -------------------------------------------------------------------------- */
html body :is(input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
              input[type="password"], input[type="number"], input[type="url"], input[type="date"],
              input[type="datetime-local"], input[type="month"], input[type="week"], input[type="time"],
              input:not([type]), textarea, select, .form-control):not(.ll-search input) {
    border-color: #767676 !important;
}

/* CONTRAST-014  /blog hero search sits on a dark photo: light boundary instead.
   before rgba(255,255,255,.2) = #564849 on #2c1a1b 1.90:1   after rgba(255,255,255,.6) = #aba3a4 6.69:1 */
html body .blog-hero .blog-hero-search input:not(.ll-search input) {
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* CONTRAST-022  field focus border (was #ff6b35, professional-fixes.css:621-627)
   before #ff6b35 against the white field / white page 2.84:1   after #c2410c 5.18:1 (3.94:1 on #050505).
   theme.css:739 removes the outline and leaves an invisible rgba(0,102,204,.1) glow, and a grey-to-orange border
   change alone is hard to notice, so a solid 2px #c2410c outline (1px gap) is added: outlines take no layout space. */
html body :is(input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
              input[type="password"], input[type="number"], input[type="url"], input[type="date"],
              input[type="datetime-local"], input[type="month"], input[type="week"], input[type="time"],
              input[type="file"], input:not([type]), textarea, select, .form-control):not(.ll-search input):focus {
    border-color: #c2410c !important;
    outline: 2px solid #c2410c !important;
    outline-offset: 1px !important;
}
/* homepage header search: boundary left alone, focus border #c2410c (5.18:1 vs the white field, 3.68:1 vs #10100f) */
html body.ll-site .ll-search input:focus {
    border-color: #c2410c !important;
}
/* on the dark blog hero a dark-orange border would sink: light focus border (#ffffff on #2c1a1b ~ 16:1) */
html body .blog-hero .blog-hero-search input:not(.ll-search input):focus {
    border-color: #ffffff !important;
    outline-color: #ffffff !important;
}

/* CONTRAST-010  checkboxes / radios had NO visible focus (theme.css:739 input:focus{outline:none}; native
   boxes cannot show the replacement border colour). before: no indicator   after: 2px #c2410c ring, 5.18:1 on white */
html body input[type="checkbox"]:focus-visible,
html body input[type="radio"]:focus-visible {
    outline: 2px solid #c2410c !important;
    outline-offset: 2px !important;
}


/* --------------------------------------------------------------------------
   CONTRAST-003 / 033  orange #ff6b35 links, category/type chips, pagination numbers
   (professional-fixes.css:1575 ".content-page a:not(.btn)..." {color:#ff6b35 !important})
   before #ff6b35 on #ffffff 2.84:1, on #f8f9fa 2.69:1   after #c2410c on #ffffff 5.18:1, on #f8f9fa 4.91:1
   CONTRAST-031  hover (was #e64a19 on #f3f4f6 / #f3f6fa = 3.56 / 3.62:1)  after #9a3412 6.64 / 6.74:1
   -------------------------------------------------------------------------- */
html body .content-page a:not(.btn):not([class*="btn-"]),
html body .content-article a:not(.btn):not([class*="btn-"]),
html body .product-description a:not(.btn):not([class*="btn-"]) {
    color: #c2410c !important;
}
html body .content-page a:not(.btn):not([class*="btn-"]):hover,
html body .content-article a:not(.btn):not([class*="btn-"]):hover,
html body .product-description a:not(.btn):not([class*="btn-"]):hover {
    color: #9a3412 !important;
}
/* the active type chip is white on navy (search.php .cat-chip.active); keep it white, the orange rule must not reach it */
html body .content-page a.cat-chip.active:not(.btn):not([class*="btn-"]),
html body .content-page a.cat-chip.active:not(.btn):not([class*="btn-"]):hover {
    color: #ffffff !important;
}
/* CONTRAST-033  /about value numbers "01".."04" (about.php .value-num, 24px)
   before #ff6b35 on #ffffff 2.84:1   after #c2410c 5.18:1 */
html body .value-item .value-num {
    color: #c2410c !important;
}

/* CONTRAST-009  remove-filter "x" on the red preset chip: the orange link rule repainted it.
   before #ff6b35 on #dc2626 1.70:1   after #ffffff on #dc2626 4.83:1 (on hover #b91c1c 6.47:1); search.php intends white */
html body .content-page .preset-chip a:not(.btn):not([class*="btn-"]),
html body .content-page .preset-chip a:not(.btn):not([class*="btn-"]):hover,
html body .preset-chip a {
    color: #ffffff !important;
}

/* CONTRAST-043  chip counts on chip hover background
   before #6b7280 on #f3f6fa 4.46:1   after #4b5563 6.97:1 (7.56:1 on white at rest) */
html body .cat-chip .chip-count {
    color: #4b5563 !important;
}
html body .cat-chip.active .chip-count {
    color: #dbe4f0 !important; /* unchanged active-state colour (on #1a365d) */
}


/* --------------------------------------------------------------------------
   Focus rings (1.4.11, need 3:1 against the colours next to the ring)
   CONTRAST-021  #0066cc ring on the dark footer (#2c3e50) and the green CTA panel (#065f46-#047857)
   before #0066cc 1.17-1.97:1 against those panels   after #ffffff 10.98:1 on #2c3e50, 7.68 / 5.48:1 on the green
   (#0066cc stays everywhere else: 5.57:1 on white; the /how-to-buy .cta-section is white, so only /reviews is scoped)
   -------------------------------------------------------------------------- */
html body .site-footer a:focus-visible,
html body .site-footer button:focus-visible,
html body .site-footer .btn:focus-visible,
html body .reviews-container .cta-section a:focus-visible,
html body .reviews-container .cta-section .btn:focus-visible,
html body .reviews-container .cta-section .cta-btn:focus-visible {
    outline-color: #ffffff !important;
}

/* CONTRAST-045  homepage ring (.ll-home :focus-visible{outline:2px solid #f5821f}, brand-30 line 42)
   before #f5821f on the white content 2.59:1, 1.54:1 around the hero CTA on the light photo
   after  light areas #c2410c: 5.18:1 on white (and 3.94:1 on #050505)
          hero (light concrete photo) #050505: 11.37:1 on #c4c1be, 10.58:1 on the gold CTA
          dark bands keep the brand orange #f5821f: 7.34:1 on #10100f, 7.86:1 on #050505, 6.84:1 on #111827 */
html body.ll-site :focus-visible {
    outline-color: #c2410c !important;
}
html body.ll-site .ll-hero :focus-visible {
    outline-color: #050505 !important;
}
html body.ll-site .ll-utility :focus-visible,
html body.ll-site .ll-head :focus-visible,
html body.ll-site .ll-catnav :focus-visible,
html body.ll-site .ll-drawer :focus-visible,
html body.ll-site .ll-footer :focus-visible,
html body.ll-site #cookieConsent :focus-visible {
    outline-color: #f5821f !important;
}
/* the header search form is a white box inside the black header: the SEARCH button ring falls on white
   before #f5821f on #ffffff 2.59:1   after #c2410c 5.18:1 (3.68:1 where it crosses onto #10100f) */
html body.ll-site .ll-head .ll-search :focus-visible {
    outline-color: #c2410c !important;
}


/* --------------------------------------------------------------------------
   CONTRAST-023  inner-page footer link hover
   before #ff6b35 on #2c3e50 3.87:1   after #ff9466 on #2c3e50 5.06:1 (same orange, lighter for the dark footer)
   -------------------------------------------------------------------------- */
html body .site-footer a:hover,
html body .site-footer .footer-links a:hover {
    color: #ff9466 !important;
}


/* --------------------------------------------------------------------------
   Product page (product-page.css)
   -------------------------------------------------------------------------- */
/* CONTRAST-005 / 015  star glyphs (graphical object, 3:1)
   before #ffa500 on #ffffff 1.97:1   after #b7791f 3.64:1 */
html body .product-rating .stars,
html body .stars,
html body .summary-stars {
    color: #b7791f !important;
}

/* CONTRAST-006  "Share:" label   before #9ca3af on #ffffff 2.54:1   after #6b7280 4.83:1 */
html body .product-share .share-label {
    color: #6b7280 !important;
}
/* CONTRAST-024  share icon buttons (icons use currentColor)   before #9ca3af 2.48:1   after #6b7280 4.83:1 */
html body .product-share .share-btn {
    color: #6b7280 !important;
}
/* hover colours: email #3b82f6 (3.68) and Facebook #1877f2 (4.23) and X #000 already pass 3:1 for icons;
   CONTRAST-030 copy-link hover   before #10b981 on #ffffff 2.50:1   after #047857 5.48:1 */
html body .product-share .share-btn.share-email:hover { color: #3b82f6 !important; }
html body .product-share .share-btn.share-facebook:hover { color: #1877f2 !important; }
html body .product-share .share-btn.share-twitter:hover { color: #000000 !important; }
html body .product-share .share-btn.share-copy:hover { color: #047857 !important; }

/* CONTRAST-028 / 037  "FFL Required" badge (product-card.php inline style, category.php .ffl-badge)
   before #ffffff on #e74c3c 3.82:1   after #ffffff on #c0392b 5.44:1 */
html body .badge-ffl-inline,
html body .category-info .ffl-badge {
    background: #c0392b !important;
    color: #ffffff !important;
}

/* CONTRAST-029  "Notify Me" button   before #ffffff on #e74c3c 3.82:1   after on #c0392b 5.44:1, hover #a93226 6.62:1
   (:disabled keeps product-page.css #999) */
html body .notify-input-group .notify-btn:not(:disabled) {
    background: #c0392b !important;
}
html body .notify-input-group .notify-btn:not(:disabled):hover {
    background: #a93226 !important;
}

/* CONTRAST-027  notify disclaimer   before #888888 on #f8f9fa 3.36:1   after #666666 5.45:1 */
html body .notify-stock-section .notify-disclaimer {
    color: #666666 !important;
}


/* --------------------------------------------------------------------------
   (scoped to /reviews: the .cta-section on /how-to-buy is white, so it keeps the dark heading)
   CONTRAST-025  headings on coloured panels repainted dark by the global
   h1-h6{color:#222 !important} (professional-fixes.css:752)
   /reviews CTA   before #222222 on #065f46-#047857 2.34:1   after #ffffff 7.68-5.48:1
   /blog "Stay Updated" (red gradient widget, inline style already asks for #fff)
                  before #222222 on #dc2626-#991b1b 3.00:1   after #ffffff 4.83-8.31:1
   -------------------------------------------------------------------------- */
html body .reviews-container .cta-section h1,
html body .reviews-container .cta-section h2,
html body .reviews-container .cta-section h3,
html body .blog-sidebar .sidebar-widget[style*="gradient"] h3 {
    color: #ffffff !important;
}


/* --------------------------------------------------------------------------
   CONTRAST-007  alert-box labels (.alert strong{color:var(--color-danger)}, theme.css:1998)
   before #e74c3c on #f8d7da 2.86, on #d1ecf1 3.09, on #fff3cd 3.45:1
   after  label takes the alert's own text colour #333333: 9.46 / 10.22 / 11.40:1 (still bold)
   -------------------------------------------------------------------------- */
html body .alert strong {
    color: inherit !important;
}


/* --------------------------------------------------------------------------
   CONTRAST-026 / 038  required-field asterisk
   before #e74c3c on #ffffff 3.82, on #f8f9fa 3.62, on #ecedee 3.26:1
   after  #b91c1c 6.47 / 6.14 / 5.52:1
   -------------------------------------------------------------------------- */
html body .required,
html body span.required {
    color: #b91c1c !important;
}


/* --------------------------------------------------------------------------
   Muted grey helper text on white / near-white
   -------------------------------------------------------------------------- */
/* CONTRAST-016  /category A-Z product counts (category.php:860)   before #9ca3af on #fafafa 2.42:1   after #5f6672 5.54:1 */
html body .all-categories-az span {
    color: #5f6672 !important;
}
/* CONTRAST-017  /brands pagination gap "..." (manufacturer.php:671)   before #9ca3af on #ffffff 2.54:1   after #6b7280 4.83:1 */
html body .brands-pagination .brands-page-gap {
    color: #6b7280 !important;
}
/* CONTRAST-034  /category card "NNN products" (category.php:1403)   before #7f8c8d on #fefefe 3.43:1   after #5f6b6d 5.46:1 */
html body .category-info .product-count {
    color: #5f6b6d !important;
}
/* CONTRAST-039 / 044  search suggestion section labels and category counts (search-suggest.css:23, :94)
   before #718096 on #ffffff 4.02:1   after #5b677a 5.73:1 */
html body .tgd-suggest .tgd-suggest-label,
html body .tgd-suggest .tgd-cat-count,
html body .tgd-suggest .tgd-mfg-count {
    color: #5b677a !important;
}
/* CONTRAST-032  FAQ "+" toggle (faq.php:168, glyph used as an icon, 3:1)   before #94a3b8 on #ffffff 2.56:1   after #64748b 4.76:1 */
html body .faq-question .faq-toggle {
    color: #64748b !important;
}


/* --------------------------------------------------------------------------
   Coloured text on light backgrounds
   -------------------------------------------------------------------------- */
/* CONTRAST-036  /reviews contact links (inline style="color:#3b82f6")   before 3.68:1   after #1d4ed8 6.70:1 */
html body .reviews-container a[style*="3b82f6"],
html body .review-product a {
    color: #1d4ed8 !important;
}
/* CONTRAST-040 / 042  /blog active category and its count (blog.php:373)
   before #dc2626 on #f5f5f5 4.43, on #f0f0f0 4.24:1   after #b91c1c 5.93 / 5.68:1 */
html body .category-list a:hover,
html body .category-list a.active {
    color: #b91c1c !important;
}
/* CONTRAST-041  /blog hero search placeholder (blog.php:175 rgba(255,255,255,.5))
   before 50% white on #423234 4.32:1   after 75% white (#d0cccc) 7.59:1 */
html body .blog-hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
}


/* --------------------------------------------------------------------------
   CONTRAST-020  header search clear "x" on hover (theme.css:370 sets #333; a later rule paints the button #0052a3)
   before #333333 on #0052a3 1.65:1   after #ffffff 7.68:1
   -------------------------------------------------------------------------- */
html body .search-bar .search-clear:hover {
    color: #ffffff !important;
}


/* --------------------------------------------------------------------------
   Every page since 2026-10-12 (body.ll-site; the Locked & Loaded chrome is on every page): Locked & Loaded header / drawer
   -------------------------------------------------------------------------- */
/* CONTRAST-018  cart count badge   before #ffffff on #f5821f 2.59:1   after #050505 on #f5821f 7.86:1 */
html body.ll-site .ll-cart .ll-cart-count {
    color: #050505 !important;
}
/* CONTRAST-019  drawer "x Close" bar   before #ffffff on #f5821f 2.59:1   after #050505 7.86:1 */
html body.ll-site .ll-drawer .ll-drawer-close {
    color: #050505 !important;
}
/* CONTRAST-035  header search placeholder   before #8a8a86 on #ffffff 3.47:1   after #767672 4.56:1 */
html body.ll-site .ll-search input::placeholder {
    color: #767672 !important;
}
