/* Shared guest/customer identity in the header and both mobile menu templates. */
ul.shop_menu li a.vb-account-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 60px;
    min-height: 44px;
    text-decoration: none;
}
ul.shop_menu .vb-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 24px;
    flex: 0 0 24px;
    color: #fff;
}
ul.shop_menu .vb-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6c9355;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
ul.shop_menu .vb-account-label { line-height: 16px; white-space: nowrap; }
.down_panel ul.shop_menu .vb-account-icon { color: #6c9355; }
.down_panel ul.shop_menu a.vb-account-link.is-signed-in .vb-account-label { color: #567640; font-weight: 600; }
ul.shop_menu a.vb-account-link:focus-visible { outline: 2px solid #6c9355; outline-offset: 4px; border-radius: 3px; }
@media (max-width: 360px) {
    .down_panel ul.shop_menu li a.vb-account-link { min-width: 48px; }
}

/* Use one icon row and one label row for every adjacent action, in both states. */
#contacts ul.shop_menu > li { margin-top: 11px; }
#contacts ul.shop_menu > li > a,
.down_panel ul.shop_menu > li > a {
    display: grid;
    grid-template-rows: 24px 16px;
    align-content: center;
    justify-items: center;
    align-items: center;
    gap: 0;
    min-height: 44px;
    position: relative;
}
#contacts ul.shop_menu > li > a > img,
.down_panel ul.shop_menu > li > a > img {
    grid-row: 1;
    float: none;
    height: 18px;
    width: 100%;
    margin: 0;
    object-fit: contain;
}
#contacts ul.shop_menu > li > a > .vb-account-icon,
.down_panel ul.shop_menu > li > a > .vb-account-icon { grid-row: 1; }
#contacts ul.shop_menu > li > a > span:not(.vb-account-icon):not(.cart_counter):not(.favorites_counter),
.down_panel ul.shop_menu > li > a > span:not(.vb-account-icon):not(.cart_counter):not(.favorites_counter) {
    grid-row: 2;
    display: block;
    line-height: 16px;
    white-space: nowrap;
}
#contacts ul.shop_menu > li > a > .cart_counter,
#contacts ul.shop_menu > li > a > .favorites_counter { top: 0; }
.down_panel ul.shop_menu > li > a { margin-top: 14px; }
