
/* WBB Header Mobile Account Fix V6.1 */
@media (max-width: 767px) {
    .wbb-mobile-account-v61 {
        width: 58px;
        height: 58px;
        min-width: 58px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid #e4e7ec;
        border-radius: 16px;
        background: #fff;
        color: #171a21;
        text-decoration: none !important;
        box-shadow: 0 4px 14px rgba(18, 24, 40, 0.04);
        line-height: 1;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 25;
        transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .wbb-mobile-account-v61:hover,
    .wbb-mobile-account-v61:focus,
    .wbb-mobile-account-v61:active {
        background: #fff7f1;
        border-color: #ff6a1a;
        color: #ff6a1a;
        transform: translateY(-1px);
        outline: none;
    }

    .wbb-mobile-account-v61 svg {
        width: 25px;
        height: 25px;
        display: block;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
    }

    /* Restore an existing account icon when the old header only hid it on mobile. */
    .wbb-header-account,
    .wbb-account-link,
    .wbb-account-icon,
    .header-account,
    .site-header .account-link,
    .site-header a[href*="/my-account"] {
        visibility: visible;
    }

    /* Keep the icon row compact on narrow iPhones. */
    @media (max-width: 430px) {
        .wbb-mobile-account-v61 {
            width: 54px;
            height: 54px;
            min-width: 54px;
            border-radius: 15px;
        }

        .wbb-mobile-account-v61 svg {
            width: 23px;
            height: 23px;
        }
    }

    @media (max-width: 380px) {
        .wbb-mobile-account-v61 {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 14px;
        }

        .wbb-mobile-account-v61 svg {
            width: 21px;
            height: 21px;
        }
    }
}
