/* TMTA logo palette. Deeper red and lighter blue variants keep text readable. */
html body.customer-theme {
    --tmta-blue: #0053a6;
    --tmta-blue-hover: #003f80;
    --tmta-red: #ef343b;
    --tmta-action: #c4272f;
    --tmta-action-hover: #a61e26;
    --tmta-yellow: #ffe35c;
    --tmta-link: #0053a6;
    --tmta-blue-soft: #e6effa;
    --tmta-red-soft: #ffedef;
    --shop-bg: #f5f8fd;
    --shop-soft: #eaf0f8;
    --shop-accent: var(--tmta-yellow);
    --customer-accent: var(--tmta-action);
}
html[data-theme="dark"] body.customer-theme {
    --tmta-link: #9fcbff;
    --tmta-blue-soft: #1e385d;
    --tmta-red-soft: #4a2835;
    --shop-bg: #101a29;
    --shop-soft: #22364e;
}
html body.customer-theme .storefront-announcement::before { background: var(--tmta-blue); }
html body.customer-theme .storefront-header .brand h2 { color: var(--tmta-link); }
html body.customer-theme .storefront-header .storefront-search button { background: var(--tmta-yellow); color: #10213d; }
html body.customer-theme .storefront-header .navigation .nav-item { border-bottom: 0; border-radius: 6px; margin-block: 6px; min-height: 44px; }
html body.customer-theme .storefront-header .navigation .nav-item.active { background: var(--tmta-blue); color: #fff; box-shadow: inset 4px 0 0 var(--tmta-yellow); }
html body.customer-theme .storefront-header .navigation .nav-item .customer-nav-icon { color: currentColor; }
html body.customer-theme .storefront-header .navigation .nav-item.active .customer-nav-icon { color: var(--tmta-yellow); }
html body.customer-theme .storefront-header .navigation .nav-item:hover:not(.active) { background: var(--tmta-blue-soft); color: var(--tmta-link); }
html body.customer-theme :is(.add-product, .cart-button, .checkout-button, .cart-checkout-button, .place-order-button, .empty-cart button) { background: var(--tmta-action); border-color: var(--tmta-action); color: #fff; }
html body.customer-theme :is(.add-product, .cart-button, .checkout-button, .cart-checkout-button, .place-order-button, .empty-cart button):hover:not(:disabled) { background: var(--tmta-action-hover); border-color: var(--tmta-action-hover); color: #fff; }
html body.customer-theme .order-category.selected { background: var(--tmta-blue); border-color: var(--tmta-blue); color: #fff; }
html body.customer-theme .fulfillment-option.selected { background: var(--tmta-blue-soft); border-color: var(--tmta-link); color: var(--shop-ink); }
html body.customer-theme :is(.section-heading a, .shop-promo a, .storefront-help a, .service-dialog-content a) { color: var(--tmta-link); }
html body.customer-theme :is(.section-heading a, .shop-promo a, .storefront-help a, .service-dialog-content a):hover { color: var(--shop-ink); }
html body.customer-theme .home-project-cta { border-bottom: 0; }
html body.customer-theme .remove-cart-item { text-decoration: none; }

/* Home hero and department accents. */
html body.customer-theme.customer-home .home-welcome { background: linear-gradient(130deg, #0053a6, #10366b); }
html body.customer-theme.customer-home .home-welcome::before { border-color: var(--tmta-red); opacity: 1; }
html body.customer-theme.customer-home .home-eyebrow { color: #fff1a4; }
html body.customer-theme.customer-home .home-eyebrow > span,
html body.customer-theme.customer-home .home-primary-link { background: var(--tmta-yellow); }
html body.customer-theme.customer-home .home-primary-link { color: #10213d; }
html body.customer-theme.customer-home .home-primary-link:hover { background: #ffed91; color: #10213d; }
html body.customer-theme.customer-home .home-welcome h1 em,
html body.customer-theme.customer-home .home-brand-stamp span { color: var(--tmta-yellow); }
html body.customer-theme.customer-home .home-welcome-description,
html body.customer-theme.customer-home .home-welcome-footer > span:first-child { color: #d6e5fb; }
html body.customer-theme.customer-home .home-secondary-link { color: #fff; }
html body.customer-theme.customer-home .home-brand-stamp { border-color: #81a5d5; color: #fff; }
html body.customer-theme.customer-home .product-slide-copy .slide-cta { background: var(--tmta-action); border-color: var(--tmta-action); color: #fff; }
html body.customer-theme.customer-home .product-slide-copy .slide-cta:hover { background: var(--tmta-action-hover); color: #fff; }
html body.customer-theme.customer-home .carousel-indicator.active { background: var(--tmta-red); }
html body.customer-theme.customer-home .category-icon.electrical { background: #fff0a4; color: #715400; }
html body.customer-theme.customer-home .category-icon.tools { background: #d8e9ff; color: var(--tmta-blue); }
html body.customer-theme.customer-home .category-icon.hardware { background: #ffdde0; color: #a61e26; }
html body.customer-theme.customer-home .category-icon.others { background: #d8e9ff; color: var(--tmta-blue); }
html body.customer-theme.customer-home .home-project-tools { background: var(--tmta-yellow); color: #10213d; }
html body.customer-theme.customer-home .home-project-build { background: var(--tmta-blue); color: #fff; }

/* Branded promotional panels and the existing vector artwork. */
html body.customer-theme .shop-promo-visual { background: var(--tmta-yellow); }
html body.customer-theme .shop-promo-delivery .shop-promo-visual { background: var(--tmta-blue-soft); }
html body.customer-theme .shop-promo-online .shop-promo-visual { background: var(--tmta-red-soft); }
html body.customer-theme .shop-promo-help .shop-promo-visual { background: var(--tmta-yellow); }
html body.customer-theme .shop-promo-delivery .shop-promo-visual::before,
html body.customer-theme .shop-promo-online .shop-promo-visual::before { background: var(--tmta-red); }
html body.customer-theme .shop-promo-art [fill="#f4cf55"] { fill: var(--tmta-yellow); }
html body.customer-theme .shop-promo-art [fill="#172d45"] { fill: var(--tmta-blue); }
html body.customer-theme .shop-promo-art [fill="#294b70"] { fill: var(--tmta-blue-hover); }
html body.customer-theme .shop-promo-banner { background: var(--tmta-blue); border-color: var(--tmta-blue); border-left: 6px solid var(--tmta-red); }
html body.customer-theme .shop-promo-banner > strong,
html body.customer-theme .shop-promo-banner-brand,
html body.customer-theme .shop-promo-banner a { color: var(--tmta-yellow); }
html body.customer-theme .shop-promo-banner-brand > span { color: #d6e5fb; }
html body.customer-theme .shop-promo-banner > div { border-color: #81a5d5; }
html body.customer-theme .more-main :is(.contact-icon, .services-heading-icon, .service-arrow, .about-icon, .hero-label) { color: var(--tmta-link); }
html body.customer-theme .more-main .map-link { color: var(--tmta-link) !important; }
html body.customer-theme :focus-visible { outline-color: var(--tmta-link); }
