/**
 * Mobile drawer — Request a Catalog blue CTA under Custom Order (not footer).
 * MBA sticky — Catalog CTA must not look bold vs cream nav links.
 * Phone footer — keep L/R pad (HOME1 chrome had zeroed .acme-footer__inner).
 */
@media (max-width: 743px) {
    html body .acme-footer__inner {
        padding-inline: var(--acme-footer-pad-x, 1rem) !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 1023px) {
    .acme-header__sticky-bar.is-pinned .acme-header__nav {
        display: none !important;
    }

    /* Same full-width blue CTA as the old footer sticky; under Custom Order */
    .acme-header__brand [x-data="initMobileMenu"] dialog .acme-mobile-menu__catalog-nav-item,
    .acme-header__brand [x-data="initMobileMenu"] dialog li.acme-mobile-menu__catalog-nav-item,
    .acme-header__brand [x-data="initMobileMenu"] dialog li:has(> a.acme-mobile-menu__catalog-nav-link) {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0.75rem 1.5rem 1rem !important;
        border: 0 !important;
        background: transparent !important;
    }

    .acme-header__brand [x-data="initMobileMenu"] dialog a.acme-mobile-menu__catalog-nav-link,
    .acme-header__brand [x-data="initMobileMenu"] dialog a.acme-mobile-menu__catalog-nav-link[href*="request-a-catalog"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 2.75rem !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0.65rem 1.25rem !important;
        border: 0 !important;
        border-radius: 0.5rem !important;
        background: #1f99ce !important;
        color: #fff !important;
        font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.016rem !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .acme-header__brand [x-data="initMobileMenu"] dialog a.acme-mobile-menu__catalog-nav-link:hover,
    .acme-header__brand [x-data="initMobileMenu"] dialog a.acme-mobile-menu__catalog-nav-link:focus-visible {
        background: #0b4f7a !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    /* Footer duplicate / legacy pill classes — catalog lives under Custom Order now */
    a.acme-mobile-menu__catalog-cta,
    a.acme-mobile-menu__catalog-sticky {
        display: none !important;
    }
}

/* MBA / laptop sticky: Catalog pill matches nav weight (not 600/700 bold) */
@media (min-width: 1024px) and (max-width: 1799px) {
    .acme-header__sticky-bar.is-pinned a.acme-mega-nav__link[href*="request-a-catalog"],
    .acme-header__sticky-bar.is-pinned a.acme-cat-nav__trigger[href*="request-a-catalog"],
    .acme-header__sticky-bar.is-pinned a.acme-cat-nav__trigger--link[href*="request-a-catalog"],
    .acme-header__sticky-bar.is-pinned .acme-mega-nav__item:has(> a[href*="request-a-catalog"]) a {
        font-weight: 500 !important;
    }

    .acme-header__sticky-bar.is-pinned a.acme-mega-nav__link[href*="request-a-catalog"] .acme-cat-nav__label,
    .acme-header__sticky-bar.is-pinned a.acme-cat-nav__trigger[href*="request-a-catalog"] .acme-cat-nav__label {
        font-weight: 500 !important;
    }
}
