/* Keep the wordmark within the header's available width at mobile sizes. */
:is(.shop-brand, .site-header .brand):has(> .pm-header-logo) {
    min-width: 0;
    max-width: 100%;
}

.pm-header-logo {
    display: block;
    width: min(100%, 189px);
    height: auto;
}

html[data-pm-theme="dark"] .pm-header-logo {
    content: normal;
}

@media (max-width: 740px) {
    .pm-header-logo {
        width: min(100%, 154px);
    }
}

.pm-b2b-wordmark { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; }
.pm-b2b-wordmark strong { color: inherit; font-size: 1.15rem; }
.pm-b2b-wordmark img { display: block; width: auto; height: 29px; max-width: 105px; object-fit: contain; }
html[data-pm-theme="dark"] .pm-b2b-wordmark img { background: #fffdf8; border-radius: 3px; }
