
/*
| All Products orange top line theme color fix.
| CSS only. No menu/query/card/cart/wishlist/checkout/auth logic touched.
*/

html body .all-products-page{
    --rr-ap-accent-line: var(--rr-ap-primary, #f97316);
}

html body:has(.site-header-electronics) .all-products-page,
html body:has(.electronics-header) .all-products-page,
html body:has(.electronics-layout) .all-products-page,
html body.theme-electronics .all-products-page,
html body.rr-theme-electronics .all-products-page,
html body.storefront-electronics .all-products-page,
html body.electronics-theme .all-products-page,
html body[data-theme="electronics"] .all-products-page,
html body[data-theme-slug="electronics"] .all-products-page,
html .theme-electronics .all-products-page,
html .electronics-theme .all-products-page{
    --rr-ap-accent-line:#2563eb;
}

html body:has(.site-header-grocery) .all-products-page,
html body:has(.grocery-header) .all-products-page,
html body:has(.grocery-layout) .all-products-page,
html body.theme-grocery .all-products-page,
html body.rr-theme-grocery .all-products-page,
html body.storefront-grocery .all-products-page,
html body.grocery-theme .all-products-page,
html body[data-theme="grocery"] .all-products-page,
html body[data-theme-slug="grocery"] .all-products-page,
html .theme-grocery .all-products-page,
html .grocery-theme .all-products-page{
    --rr-ap-accent-line:#16a34a;
}

html body .all-products-page .all-products-filter-form,
html body .all-products-page .all-products-filter-panel,
html body .all-products-page .all-products-filter-toolbar,
html body .all-products-page .all-products-filter-box,
html body .all-products-page .all-products-toolbar,
html body .all-products-page .all-products-filter-card,
html body .all-products-page .all-products-filter-wrap,
html body .all-products-page .all-products-filter-shell,
html body .all-products-page .all-products-filter-section,
html body .all-products-page .all-products-filter-area,
html body .all-products-page form#allProductsDynamicFilter,
html body .all-products-page form[method="GET"],
html body .all-products-page form[method="get"]{
    border-top-color:var(--rr-ap-accent-line) !important;
}

html body .all-products-page .all-products-filter-form::before,
html body .all-products-page .all-products-filter-panel::before,
html body .all-products-page .all-products-filter-toolbar::before,
html body .all-products-page .all-products-filter-box::before,
html body .all-products-page .all-products-toolbar::before,
html body .all-products-page .all-products-filter-card::before,
html body .all-products-page .all-products-filter-wrap::before,
html body .all-products-page .all-products-filter-shell::before,
html body .all-products-page .all-products-filter-section::before,
html body .all-products-page .all-products-filter-area::before,
html body .all-products-page form#allProductsDynamicFilter::before{
    background:var(--rr-ap-accent-line) !important;
    border-color:var(--rr-ap-accent-line) !important;
}

html body .all-products-page .all-products-filter-form::after,
html body .all-products-page .all-products-filter-panel::after,
html body .all-products-page .all-products-filter-toolbar::after,
html body .all-products-page .all-products-filter-box::after,
html body .all-products-page .all-products-toolbar::after,
html body .all-products-page .all-products-filter-card::after,
html body .all-products-page .all-products-filter-wrap::after,
html body .all-products-page .all-products-filter-shell::after,
html body .all-products-page .all-products-filter-section::after,
html body .all-products-page .all-products-filter-area::after,
html body .all-products-page form#allProductsDynamicFilter::after{
    background:var(--rr-ap-accent-line) !important;
    border-color:var(--rr-ap-accent-line) !important;
}

html body .all-products-page [style*="#f97316"],
html body .all-products-page [style*="rgb(249, 115, 22)"],
html body .all-products-page [style*="orange"]{
    border-top-color:var(--rr-ap-accent-line) !important;
}
