/**
 * A compact phone-only invitation to join RetailBoss. It stays within the
 * mobile header stack so the account route remains immediately discoverable.
 */
.mobile-join-bar {
    display: none;
}

@media (max-width: 780px) {
    body {
        --rb-mobile-header-offset: 160px;
    }

    .mobile-join-bar {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        padding: 8px 12px;
        color: #111;
        background: var(--rb-gold);
        border-bottom: 1px solid rgba(17, 17, 17, 0.42);
    }

    .mobile-join-bar p {
        min-width: 0;
        margin: 0;
        overflow: hidden;
        font-family: var(--rb-serif);
        font-size: clamp(11.7px, 3.64vw, 14.3px);
        font-weight: var(--rb-serif-weight);
        letter-spacing: -0.025em;
        line-height: 1.1;
        text-overflow: clip;
        white-space: nowrap;
    }

    .mobile-join-bar a {
        display: inline-flex;
        min-height: 27px;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        gap: 3px;
        padding: 0 5px;
        color: #fff;
        background: #111;
        border: 1px solid #111;
        font-family: var(--rb-nav);
        font-size: 7.5px;
        font-weight: 800;
        letter-spacing: 0.1em;
        line-height: 1;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-join-bar a span {
        font-size: 11px;
        line-height: 1;
    }

    .mobile-join-bar a:hover,
    .mobile-join-bar a:focus-visible {
        color: #111;
        background: #fff;
        border-color: #fff;
    }
}

@media (max-width: 360px) {
    body {
        --rb-mobile-header-offset: 156px;
    }

    .mobile-join-bar {
        gap: 4px;
        padding-inline: 12px;
    }

    .mobile-join-bar p {
        font-size: 11.7px;
    }

    .mobile-join-bar a {
        min-height: 27px;
        gap: 3px;
        padding-inline: 5px;
        font-size: 7.5px;
    }
}
