/* Shared beige account/cart surfaces. Interaction state remains owned by existing JS. */
#azb-account-page-nav.azb-account-nav,
#azb-account-page-nav.azb-account-nav > .block-title,
#azb-account-page-nav.azb-account-nav > .block-content,
html body > #azb-account-drawer.azb-account-drawer,
#azb-account-drawer .azb-account-drawer__header,
#azb-account-drawer > .block-content-inner,
html body > #azb-mini-cart-panel.azb-cart-drawer,
#azb-mini-cart-panel .azb-cart-drawer__header,
#azb-mini-cart-panel > .azb-cart-drawer__body {
    background: #faf7f4 !important;
}

#azb-account-page-nav.azb-account-nav > .block-title {
    border-bottom-color: #f2edea !important;
}

#azb-account-drawer .azb-account-drawer__header,
#azb-mini-cart-panel .azb-cart-drawer__header {
    border-bottom-color: #ded9dc !important;
}

/* One close component across page navigation and both header drawers. */
#azb-account-page-nav .azb-account-nav__close,
#azb-account-drawer .azb-account-drawer__close,
html body > #azb-mini-cart-panel .azb-cart-drawer__close {
    align-items: center !important;
    appearance: none !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    color: #30343a !important;
    cursor: pointer !important;
    display: inline-flex !important;
    flex: 0 0 44px !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    height: 44px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    transform: none !important;
    width: 44px !important;
}

#azb-account-page-nav .azb-account-nav__close > span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

#azb-account-drawer .azb-account-drawer__close svg,
html body > #azb-mini-cart-panel .azb-cart-drawer__close svg {
    fill: none !important;
    height: 20px !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-width: 2 !important;
    width: 20px !important;
}

#azb-account-page-nav.azb-account-nav .azb-account-nav__close:hover,
html body > #azb-account-drawer.azb-account-drawer .azb-account-drawer__close:hover,
html body > #azb-mini-cart-panel .azb-cart-drawer__close:hover {
    background: #f2f3f4 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}

#azb-account-page-nav.azb-account-nav .azb-account-nav__close:focus,
#azb-account-page-nav.azb-account-nav .azb-account-nav__close:focus-visible,
html body > #azb-account-drawer.azb-account-drawer .azb-account-drawer__close:focus,
html body > #azb-account-drawer.azb-account-drawer .azb-account-drawer__close:focus-visible,
html body > #azb-mini-cart-panel .azb-cart-drawer__close:focus,
html body > #azb-mini-cart-panel .azb-cart-drawer__close:focus-visible {
    background: #f5f5f5 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: 2px solid #697078 !important;
    outline-offset: 1px !important;
}

/* The account page navigation is a drawer only below the mobile breakpoint. */
@media only screen and (min-width: 768px) {
    #azb-account-page-nav.azb-account-nav,
    #azb-account-page-nav.azb-account-nav > .block-content,
    #azb-account-page-nav.azb-account-nav .block-content ul,
    #azb-account-page-nav.azb-account-nav .block-content li {
        background: #fff !important;
    }

    #azb-account-page-nav.azb-account-nav > .block-title {
        background: #faf7f4 !important;
    }

    #azb-account-page-nav .azb-account-nav__close {
        display: none !important;
    }
}
