/* CG accessibility remediation: February/March 2026 */

/* ==========================================================================
    = Add ADS audit certificate 
    ========================================================================== */

.footer-accessibility-badge { margin-bottom: 1rem; }

@media screen and (min-width: 768px) {
    .footer-accessibility-badge { text-align: right; }
}

@media screen and (max-width: 767px) {
    .footer-accessibility-badge { text-align: center; }
}

/* ==========================================================================
   Header & Other Global Accessibility Fixes 
   ========================================================================== */

/* = Fixes 5, 8 & 54
-------------------------------------------------------------- */

#SiteHeader button.navlink:focus-visible { border-radius: 0; }

#SiteHeader button.navlink { letter-spacing: var(--LETTER-SPACING-NAV);}

#SiteHeader button.navlink .menu-toggle-icon {
    display: flex;
    margin-left: 8px;
}

#SiteHeader button.navlink .menu-toggle-icon svg {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   Footer Accessibility Styles
   ========================================================================== */

/* = Fixes 10 & 11: Footer list structure and spacing
-------------------------------------------------------------- */

@media screen and (min-width: 768px) {
    #SiteFooter .footer-bottom {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #SiteFooter .footer-bottom ul.social-sharing-wrapper { margin-bottom: 0; }
}

#SiteFooter .footer-bottom ul.social-sharing-wrapper,
#SiteFooter .footer-bottom ul.footer-copyright__list {
    list-style-type: none;
    margin-left: 0;
}

#SiteFooter .footer-bottom ul.social-sharing-wrapper li,
#SiteFooter .footer-bottom ul.footer-copyright__list,
#SiteFooter .footer-bottom ul.footer-copyright__list li { margin-bottom: 0; }

#SiteFooter .footer-bottom ul.footer-copyright__list li { display: inline-block; }

#SiteFooter .footer-bottom ul.footer-copyright__list li:first-of-type a { margin-right: 13px; }

#SiteFooter .footer-bottom ul.footer-copyright__list li .footer-copyright__link { margin-right: 10px;}

#SiteFooter .footer-bottom ul.footer-copyright__list li:last-child .footer-copyright__link { margin-right: 0; }

/* = Fix 13: Social icons heading and grid layout
-------------------------------------------------------------- */

@media screen and (min-width: 768px) {
    .social-sharing-heading { text-align: left; }
}

.social-sharing-heading {
    color: var(--text);
    font-size: calc(1rem * var(--adjust-body));
    font-weight: bold;
    margin-bottom: 1rem;
}

/* = Fix 14: Newsletter form label and input alignment
-------------------------------------------------------------- */

#SiteFooter .footer-block--newsletter.text-left .input-group { align-items: flex-end !important; }

#SiteFooter .newsletter-label { 
    display: block;
    font-size: 0.875rem; 
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Add to Cart Accessibility Styles
   ========================================================================== */

/* = Fix 15: Ensure quantity selector buttons have sufficient color contrast
-------------------------------------------------------------- */

.cart__item__quantity button { color: var(--text); }

.cart__item__quantity .icon { fill: var(--text); }

.cart__item__quantity .icon line { stroke: var(--text);}

/* = Fix 16: Ensure remove item button has sufficient color contrast
-------------------------------------------------------------- */

.cart__item__remove {
  opacity: 1;
  color: var(--text-alpha-85);
}

/* ==========================================================================
   Homepage Accessibility Styles
   ========================================================================== */

/* = Fix 23: Ensure accordion headings include the correct styling and spacing
-------------------------------------------------------------- */

.accordion__text h3 { 
    margin: 0 0 15px;
    font-size: inherit; 
}

/* = Fix 24: Ensure pagination list structure and spacing is correct
-------------------------------------------------------------- */

ul.boost-sd__pagination {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 0;
}

/* = Fix 26: Ensure product review titles have the correct font family
-------------------------------------------------------------- */

#stamped-reviews-widget[data-widget-type=carousel] .stamped-carousel-scroll .stamped-reviews-title { font-family: 'Open sans', sans-serif; }

.gfa-content__text > h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    color: #000000;
    text-transform: unset;
    padding: 0 0 0 0;
    box-sizing: border-box;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .gfa-content__text > h2 {
        font-size: 24px;
        line-height: 1.3;
        padding: 0 0 0 0;
    }
}

/* = Fix 28: Ensure slider dots have sufficient color contrast
-------------------------------------------------------------- */

.boost-sd__slider .slick-dots li button:before { 
    color: #7a7a7a;
    background-color: #7a7a7a;
    line-height: 15px;
}

/* = Fix 29: Ensure product review stars have sufficient color contrast
-------------------------------------------------------------- */

#stamped-reviews-widget[data-widget-type="carousel"] .stamped-ratings-wrapper .stamped-style-color-star i { color: var(--custom-bg) !important; }

/* = Fix 32: Ensure product review dates have sufficient color contrast
-------------------------------------------------------------- */

#stamped-reviews-widget[data-widget-type=carousel] .stamped-reviews-date { color: var(--text-alpha-85) !important; }

/* = Fix 34: Ensure carousel navigation buttons have the correct size and font family
-------------------------------------------------------------- */

#stamped-reviews-widget[data-widget-type=carousel] .stamped-carousel-buttons button {
    height: 30px;
    width: 30px;
    display: inline-block;
    cursor: pointer;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
}

/* ==========================================================================
   Search Page Accessibility Styles
   ========================================================================== */

/* = Fix 60: Ensure "View as" icons have sufficient color contrast when not selected
-------------------------------------------------------------- */

.boost-sd__view-as-icon[aria-checked="false"] { opacity: 0.5; }

.boost-sd__view-as-icon[aria-checked="false"]:hover { opacity: 1; }

/* = Fix 61: Ensure filter option item amounts have sufficient color contrast
-------------------------------------------------------------- */

.boost-sd__filter-option-item-amount {
    opacity: 0.8;
    color: var(--text-alpha-85);
}

/* ==========================================================================
   Single Product Page Accessibility Styles
   ========================================================================== */

/* = Fix 99: Ensure "You Save" text has sufficient color contrast
-------------------------------------------------------------- */

.template-product span.product__price--savings { color: var(--text-alpha-60) !important; }


/* ==========================================================================
   Javasok Page Accessibility Styles
   ========================================================================== */

/* = Fix 120: Ensure banner text and headings have sufficient contrast and styling
-------------------------------------------------------------- */

@media only screen and (min-width: 768px) {
    .section-banner-with-text-columns .banners .banner { opacity: 1 !important; }

    .section-banner-with-text-columns .banners .banner:first-child.is-selected .banner__heading--bottom-border,
    .section-banner-with-text-columns .banners .banner.is-selected .banner__entry--bottom-border {
        background: var(--text);
        width: 100px;
        height: 3px;
        margin: 20px auto 0 auto;
    }
}

.section-banner-with-text-columns .banners .overlay { opacity: 0.3; }

.section-banner-with-text-columns .banners .banner:first-child.is-selected .banner__heading--bottom-border,
.section-banner-with-text-columns .banners .banner.is-selected .banner__entry--bottom-border { box-shadow: 2px 3px 5px #000, 1px 1px 2px rgba(0, 0, 0, 0.5);}

.section-banner-with-text-columns .banners .banner h2 { text-shadow: 2px 3px 5px #000, 1px 1px 2px rgba(0, 0, 0, 0.5); }

.section-banner-with-text-columns .banners .banner p { text-shadow: 3px 2px 8px #000, 2px 2px 4px rgba(0, 0, 0, 0.6);}

/* ==========================================================================
    = Sok-It Originals Page Accessibility Fixes 
    ========================================================================== */

/* = Fix 132 (TEMPORARY FIX): Replace fake headings with real headings in the Text sections on the Sok-It Originals page for better screen reader context
  -------------------------------------------------------------- */

#ImageWithText--text_tydNCB h3:last-of-type,
#Text--text_N8j4cW h3:last-of-type { margin-top: 1.5em; }

#ImageWithText--text_tydNCB p { margin-bottom: 1.5em; }

#Text--text_N8j4cW h3 {
    font-weight: 500; 
    margin-bottom: 0.15em; 
}

/* = Fix 134: Ensure banner image links have a visible focus state for keyboard users
  -------------------------------------------------------------- */

.banner-image__link:focus {
  outline: 3px solid #005fcc !important;
  outline-offset: -2px;
}

/* ==========================================================================
    = Blog Page Accessibility Fixes 
    ========================================================================== */

/* = Fix 166: Ensure blog post titles have the correct spacing and margin for better readability and screen reader context
  -------------------------------------------------------------- */

.blog h2 { margin: 0 0 0.5em !important; }