#masthead .ez-header-quote-item,
#masthead a[hidden],
#colophon a[hidden] {
    display: none !important;
}

/* Preserve the original Kadence header layout and branded purchasing link. */
@media (min-width: 1100px) {
    #masthead #main-header .site-main-header-wrap .site-container,
    #masthead #main-header .site-top-header-wrap .site-container {
        max-width: 1500px !important;
        width: calc(100% - 72px) !important;
    }

    #masthead #main-header .site-main-header-inner-wrap {
        grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr) !important;
    }
}

#masthead #main-header #primary-menu > li > a {
    padding-inline: .65em;
    font-family: var(--global-body-font-family);
    font-size: 17px;
    font-weight: 500;
}

#masthead #main-header #primary-menu > li:not(.ezy-buy-menu-item) > a {
    position: relative;
}

#masthead #main-header #primary-menu > li:not(.ezy-buy-menu-item) > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    inset: auto .65em 4px;
    width: auto;
    height: 3px;
    transform: none;
    border-radius: 999px;
    background: var(--global-palette1, #2b6cb0);
}

#masthead #site-navigation .ezy-buy-menu-item > a,
#mobile-drawer .ezy-buy-menu-item > a {
    border-radius: 5px;
    background: #d6eef8;
    color: #153f66 !important;
    font-weight: 750 !important;
    line-height: 1.4;
}

#masthead #site-navigation .ezy-buy-menu-item > a {
    margin-inline: 8px;
    padding: 10px 14px !important;
}

#mobile-drawer .ezy-buy-menu-item > a {
    margin-block: 8px;
    padding: 14px 16px !important;
}

#masthead #site-navigation .ezy-buy-menu-item > a:is(:hover, [aria-current="page"]),
#mobile-drawer .ezy-buy-menu-item > a:is(:hover, [aria-current="page"]) {
    background: #bfe2f4;
    color: #103957 !important;
}

#masthead #site-navigation .ezy-buy-menu-item > a:focus-visible,
#mobile-drawer .ezy-buy-menu-item > a:focus-visible {
    outline: 3px solid #d78a28;
    outline-offset: 3px;
}

.ezy-portal-actions,
.ezy-portal-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.ezy-portal-tabs {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.ezy-portal-tabs a {
    display: block;
    padding: .45rem .75rem;
    border: 1px solid #dce5ec;
    border-radius: .35rem;
    text-decoration: none;
}

.ezy-portal-tabs a[aria-current="page"] {
    background: #eef5fb;
    border-color: #2b6cb0;
    font-weight: 700;
}

.widget_product_categories .ezy-sidebar-buy {
    display: block;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #b8d9ea;
    border-radius: 6px;
    background: #d6eef8;
    color: #153f65;
    font-weight: 750;
    text-decoration: none;
}
.widget_product_categories .ezy-sidebar-buy:is(:hover, :focus-visible) {
    background: #c0e4f2;
    color: #123653;
}
