/**
 * UNIMART brand enforcement — load after theme.css on every page.
 * Maps legacy tokens and Bootstrap to the official orange · slate · white palette.
 */
:root {
    /* Bootstrap 5 */
    --bs-primary: #f68b1e;
    --bs-primary-rgb: 246, 139, 30;
    --bs-secondary: #2c3e50;
    --bs-secondary-rgb: 44, 62, 80;
    --bs-link-color: #f68b1e;
    --bs-link-hover-color: #e96703;

    /* Legacy aliases used across layer CSS */
    --primary: var(--unimart-orange, #f68b1e);
    --primary-dark: var(--unimart-orange-deep, #e96703);
    --primary-light: #fff3e6;
    --secondary: var(--unimart-slate, #2c3e50);
    --secondary-light: #34495e;
    --charcoal: var(--unimart-slate, #2c3e50);
    --accent: var(--unimart-orange, #f68b1e);
    --um-orange: var(--unimart-orange, #f68b1e);
    --um-navy: var(--unimart-slate, #2c3e50);
    --um-slate: var(--unimart-slate, #2c3e50);
    --um-layer-accent: var(--unimart-orange, #f68b1e);
    --sp-orange: var(--unimart-orange, #f68b1e);
    --sp-slate: var(--unimart-slate, #2c3e50);
    --jj-orange: var(--unimart-orange, #f68b1e);
    --jj-orange-deep: var(--unimart-orange-deep, #e96703);
    --jj-slate: var(--unimart-slate, #2c3e50);
    --ul-orange: var(--unimart-orange, #f68b1e);
    --ul-orange-deep: var(--unimart-orange-deep, #e96703);
    --ul-slate: var(--unimart-slate, #2c3e50);
    --uz-accent: var(--unimart-orange, #f68b1e);
    --biz-accent: var(--unimart-orange, #f68b1e);
    --biz-slate: var(--unimart-slate, #2c3e50);
    --opp-orange: var(--unimart-orange, #f68b1e);
    --opp-orange-dark: var(--unimart-orange-deep, #e96703);
    --commerce-orange: var(--unimart-orange, #f68b1e);
}

.commerce-2040-page .text-brand,
.notif-center__agent-link,
.me-header__agent,
.um-agent-intel__link,
.agent-pwa-brief__more,
.agent-pwa-brief__chat-link,
.agent-pwa-brief__chat-cta {
    color: var(--unimart-orange, #f68b1e);
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--unimart-orange, #f68b1e) !important;
    border-color: var(--unimart-orange, #f68b1e) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--unimart-orange-deep, #e96703) !important;
    border-color: var(--unimart-orange-deep, #e96703) !important;
}

.btn-outline-primary {
    color: var(--unimart-orange, #f68b1e) !important;
    border-color: var(--unimart-orange, #f68b1e) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--unimart-orange, #f68b1e) !important;
    border-color: var(--unimart-orange, #f68b1e) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--unimart-orange, #f68b1e) !important;
}

.bg-primary {
    background-color: var(--unimart-orange, #f68b1e) !important;
}

.border-primary {
    border-color: var(--unimart-orange, #f68b1e) !important;
}

body.has-hybrid-header .top-nav,
.top-nav {
    background: var(--unimart-orange, #f68b1e) !important;
}

body.has-hybrid-header .search-filter-bar--hybrid,
.search-filter-bar--hybrid {
    background: var(--unimart-slate, #2c3e50) !important;
}

.footer::before {
    background: linear-gradient(
        90deg,
        var(--unimart-slate, #2c3e50) 0%,
        var(--unimart-orange, #f68b1e) 50%,
        var(--unimart-orange-deep, #e96703) 100%
    ) !important;
}

.footer {
    background: var(--unimart-slate, #2c3e50) !important;
}

body.commerce-2040-page .nav-eco-link.nav-eco--active {
    color: #fff !important;
}
