.storefront-header {
    --header-surface: var(--color-background);
    --header-primary: var(--color-primary);
    --header-theme: var(--color-primary-dark);
    --header-secondary: var(--color-secondary);
    background: var(--header-surface);
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 78%, var(--header-primary));
    color: var(--color-text);
    inset-block-start: 0;
    /* Its own stacking context, so the z-index below is a promise rather than a preference. */
    isolation: isolate;
    position: sticky;
    top: 0;
    transition: box-shadow 180ms ease;
    /* Its own compositing layer. The section directly beneath it animates transforms, and those
       do get their own layers; a promoted layer scrolling past a header that has not been
       promoted is what let the value strip's separators show through the header band. */
    will-change: transform;
    z-index: 1040;
}

.storefront-header.is-stuck {
    box-shadow: 0 10px 26px rgba(59, 39, 43, 0.1);
}

.announcement-bar {
    align-items: center;
    background: var(--announcement-background, var(--header-theme, var(--color-primary-dark)));
    color: var(--announcement-color, #fff);
    display: flex;
    font-size: 0.8rem;
    font-weight: 650;
    justify-content: center;
    line-height: 1.2;
    min-height: 2rem;
    overflow: hidden;
    padding: 0 1rem;
    text-align: center;
}

.announcement-bar__current {
    max-width: min(100%, 62rem);
    min-width: 0;
    opacity: 1;
    transition: opacity 220ms ease;
}

.announcement-bar__current.is-fading {
    opacity: 0;
}

.announcement-bar__message {
    color: inherit;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: pre-line;
}

.announcement-bar a.announcement-bar__message:hover,
.announcement-bar a.announcement-bar__message:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.storefront-header__main {
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--header-surface) 97%, #ffffff),
            color-mix(in srgb, var(--header-surface) 88%, var(--header-secondary)));
}

.storefront-header__inner {
    align-items: center;
    display: flex;
    gap: clamp(0.75rem, 1.4vw, 1.25rem);
    min-height: 6.25rem;
    padding-block: 0.38rem;
    transition: min-height 180ms ease, padding 180ms ease;
}

.storefront-header.is-stuck .storefront-header__inner {
    min-height: 5.75rem;
    padding-block: 0.3rem;
}

/*
 * Header sizing contract (desktop, >= 1100px):
 * the brand is the only flexible item on the row, so it absorbs every bit of missing width and
 * truncates its name; the nav and the account/language/cart actions keep their natural size.
 * Sizing it the other way round is what caused the brand to overlap the first nav item: a nav
 * box shrunk below its links still paints them at full width, and because it is aligned to
 * flex-end that overflow spills leftwards, straight across the brand.
 */
.storefront-brand {
    align-items: center;
    color: var(--color-text);
    display: inline-flex;
    flex: 0 1 auto;
    gap: 0.72rem;
    max-width: 20rem;
    min-width: 0;
    text-decoration: none;
}

.storefront-brand:hover,
.storefront-brand:focus-visible {
    color: var(--header-theme);
}

.storefront-brand__seal {
    aspect-ratio: 1;
    background: #fffdfa;
    border: 1px solid color-mix(in srgb, var(--color-border) 65%, var(--header-secondary));
    border-radius: 50%;
    display: inline-grid;
    flex: 0 0 auto;
    height: 6rem;
    overflow: hidden;
    place-items: center;
    transition: height 180ms ease, width 180ms ease;
    width: 6rem;
}

.storefront-header.is-stuck .storefront-brand__seal {
    height: 5.75rem;
    width: 5.75rem;
}

.storefront-brand__seal img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.storefront-brand__text {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.storefront-brand__text strong {
    color: var(--header-theme);
    font-family: var(--font-heading);
    font-size: clamp(1.24rem, 1.65vw, 1.55rem);
    font-weight: 700;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-brand__text small {
    color: var(--color-text-muted);
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-header__right {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: clamp(0.45rem, 0.9vw, 0.8rem);
    justify-content: flex-end;
    margin-inline-start: auto;
    min-width: 0;
}

.storefront-header__nav {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    min-width: 0;
}

.storefront-nav {
    align-items: center;
    display: flex;
    gap: clamp(0.08rem, 0.45vw, 0.4rem);
    justify-content: flex-end;
    max-width: 100%;
}

.storefront-nav__item {
    position: relative;
}

.storefront-nav__link {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--color-text);
    display: inline-flex;
    font-size: 0.91rem;
    font-weight: 720;
    gap: 0.16rem;
    line-height: 1;
    min-height: 2.68rem;
    padding: 0.35rem clamp(0.38rem, 0.72vw, 0.74rem);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.storefront-nav__button {
    cursor: pointer;
}

.storefront-nav__button::after {
    border-top-color: currentColor;
    margin-left: 0.18rem;
}

.storefront-nav__link::before {
    background: var(--header-primary);
    bottom: 0.24rem;
    content: "";
    height: 2px;
    left: 0.62rem;
    position: absolute;
    right: 0.62rem;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.storefront-nav__link:hover,
.storefront-nav__link:focus-visible,
.storefront-nav__link.is-active,
.storefront-nav__item.is-active > .storefront-nav__link,
.storefront-nav__item.show > .storefront-nav__link {
    color: var(--header-theme);
}

.storefront-nav__link:hover::before,
.storefront-nav__link:focus-visible::before,
.storefront-nav__link.is-active::before,
.storefront-nav__item.is-active > .storefront-nav__link::before,
.storefront-nav__item.show > .storefront-nav__link::before {
    transform: scaleX(1);
}

.storefront-dropdown {
    background: #fffdfa;
    border: 1px solid color-mix(in srgb, var(--color-border) 72%, var(--header-secondary));
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(59, 39, 43, 0.14);
    display: none;
    left: 50%;
    min-width: min(17rem, calc(100vw - 2rem));
    padding: 0.42rem;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    z-index: 1060;
}

.storefront-dropdown.show {
    display: block;
}

.storefront-dropdown__item,
.storefront-dropdown__all {
    align-items: center;
    border-radius: 7px;
    color: var(--color-text);
    display: flex;
    min-height: 2.65rem;
    padding: 0.58rem 0.7rem;
    text-decoration: none;
}

.storefront-dropdown__item strong,
.storefront-dropdown__all {
    font-size: 0.92rem;
    font-weight: 760;
}

.storefront-dropdown__all {
    border-top: 1px solid var(--color-border);
    color: var(--header-theme);
    justify-content: space-between;
    margin-top: 0.28rem;
}

.storefront-dropdown__all::after {
    content: ">";
    font-weight: 900;
}

.storefront-dropdown__item:hover,
.storefront-dropdown__item:focus-visible,
.storefront-dropdown__item.is-active,
.storefront-dropdown__all:hover,
.storefront-dropdown__all:focus-visible {
    background: var(--color-cream);
    color: var(--header-theme);
}

.storefront-dropdown__item.is-active {
    box-shadow: inset 3px 0 0 var(--header-primary);
}

.storefront-header__actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.46rem;
    justify-content: end;
}

.storefront-language-switcher {
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--color-border) 84%, var(--header-secondary));
    border-radius: 999px;
    color: var(--color-text-muted);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 820;
    gap: 0.28rem;
    line-height: 1;
    min-height: 2.75rem;
    padding: 0.36rem 0.64rem;
    white-space: nowrap;
}

.storefront-language-switcher__option {
    color: inherit;
    text-decoration: none;
}

.storefront-language-switcher__option:hover,
.storefront-language-switcher__option:focus-visible,
.storefront-language-switcher__option.is-active {
    color: var(--header-theme);
}

.storefront-language-switcher__option.is-active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22rem;
}

.storefront-language-switcher__separator {
    color: color-mix(in srgb, var(--color-text-muted) 62%, transparent);
}

.storefront-account {
    display: contents;
}

.storefront-action,
.storefront-cart,
.storefront-menu-button {
    align-items: center;
    border: 1px solid transparent;
    display: inline-flex;
    min-height: 2.75rem;
    text-decoration: none;
}

.storefront-action,
.storefront-cart {
    background: transparent;
    border-color: color-mix(in srgb, var(--color-border) 84%, var(--header-secondary));
    border-radius: 999px;
    color: var(--color-text);
    font-weight: 760;
    gap: 0.42rem;
    justify-content: center;
    padding: 0.42rem 0.68rem;
}

.storefront-action:hover,
.storefront-action:focus-visible,
.storefront-cart:hover,
.storefront-cart:focus-visible {
    background: var(--color-cream);
    color: var(--header-theme);
}

.storefront-action svg,
.storefront-cart svg,
.storefront-menu-button svg {
    fill: none;
    flex: 0 0 auto;
    height: 1.1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 1.1rem;
}

.storefront-action__text {
    line-height: 1;
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-action.storefront-account__admin-panel .storefront-action__text {
    line-height: 1.35;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
}

.storefront-action.storefront-account__admin-panel {
    display: inline-flex;
    height: auto;
    line-height: 1.35;
    min-height: 2.75rem;
    overflow: visible;
    padding-block: 0.5rem;
}

.storefront-cart {
    gap: 0.52rem;
    padding-inline: 0.68rem 0.78rem;
}

.storefront-cart__icon {
    display: inline-flex;
    position: relative;
}

.storefront-cart__count {
    align-items: center;
    background: var(--header-primary);
    border: 2px solid var(--header-surface);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.66rem;
    font-weight: 850;
    height: 1.08rem;
    justify-content: center;
    min-width: 1.08rem;
    padding-inline: 0.2rem;
    position: absolute;
    right: -0.58rem;
    top: -0.62rem;
}

.storefront-cart__total {
    align-items: baseline;
    display: inline-flex;
    gap: 0.18rem;
    line-height: 1;
    white-space: nowrap;
}

.storefront-menu-button {
    background: transparent;
    border-color: color-mix(in srgb, var(--color-border) 84%, var(--header-secondary));
    border-radius: 50%;
    color: var(--header-theme);
    display: none;
    height: 2.75rem;
    justify-content: center;
    padding: 0;
    width: 2.75rem;
}

.storefront-menu-button:hover,
.storefront-menu-button:focus-visible {
    background: var(--color-cream);
}

.storefront-action:focus-visible,
.storefront-cart:focus-visible,
.storefront-menu-button:focus-visible,
.storefront-language-switcher__option:focus-visible,
.storefront-nav__link:focus-visible,
.storefront-dropdown a:focus-visible,
.storefront-mobile-nav a:focus-visible,
.storefront-mobile-nav button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    outline-offset: 3px;
}

body.storefront-nav-open {
    overflow: hidden;
}

.storefront-mobile-nav {
    inset: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
    visibility: hidden;
    z-index: 1080;
}

.storefront-mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 180ms ease;
    visibility: visible;
}

.storefront-mobile-nav__backdrop {
    background: rgba(59, 39, 43, 0.42);
    border: 0;
    inset: 0;
    position: absolute;
}

.storefront-mobile-nav__panel {
    background: #fffdfa;
    box-shadow: -18px 0 44px rgba(59, 39, 43, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    margin-left: auto;
    max-width: 24rem;
    overflow-y: auto;
    padding: 1rem;
    position: relative;
    transform: translateX(100%);
    transition: transform 220ms ease;
    width: min(88vw, 24rem);
}

.storefront-mobile-nav.is-open .storefront-mobile-nav__panel {
    transform: translateX(0);
}

.storefront-mobile-nav__top {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.storefront-mobile-nav__brand {
    align-items: center;
    color: var(--header-theme);
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    gap: 0.64rem;
    min-width: 0;
    text-decoration: none;
}

.storefront-mobile-nav__brand img {
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: block;
    flex: 0 0 auto;
    height: 3.25rem;
    object-fit: cover;
    width: 3.25rem;
}

.storefront-mobile-nav__brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-mobile-nav .storefront-menu-button {
    background: var(--header-primary);
    border-color: var(--header-primary);
    color: #fff;
    display: inline-flex;
}

.storefront-mobile-nav__links {
    display: grid;
    gap: 0.12rem;
    padding-block: 0.25rem;
}

.storefront-mobile-nav__language {
    display: flex;
}

.storefront-mobile-nav__language .storefront-language-switcher {
    justify-content: center;
    width: 100%;
}

.storefront-mobile-nav__language .storefront-language-switcher__option {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 500;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding-inline: 0.9rem;
}

.storefront-mobile-nav__language .storefront-language-switcher__option.is-active {
    background: var(--header-theme);
    border-color: var(--header-primary);
    color: #fff;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.storefront-mobile-nav__language .storefront-language-switcher__option.is-active:hover,
.storefront-mobile-nav__language .storefront-language-switcher__option.is-active:focus-visible {
    color: #fff;
}

.storefront-mobile-nav__links a,
.storefront-mobile-nav__submenu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    display: flex;
    font-weight: 760;
    justify-content: space-between;
    min-height: 2.9rem;
    padding: 0.72rem 0.2rem;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.storefront-mobile-nav__submenu-toggle::after {
    color: var(--header-primary);
    content: "+";
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.storefront-mobile-nav__submenu-toggle[aria-expanded="true"]::after {
    content: "-";
}

.storefront-mobile-nav__links a:hover,
.storefront-mobile-nav__links a:focus-visible,
.storefront-mobile-nav__links a.is-active,
.storefront-mobile-nav__submenu-toggle:hover,
.storefront-mobile-nav__submenu-toggle:focus-visible,
.storefront-mobile-nav__submenu-toggle.is-active {
    color: var(--header-theme);
}

.storefront-mobile-nav__links a.is-active,
.storefront-mobile-nav__submenu-toggle.is-active {
    box-shadow: inset 3px 0 0 var(--header-primary);
    padding-left: 0.68rem;
}

.storefront-mobile-nav__submenu-toggle[data-nav-key="menu"].is-active {
    box-shadow: none;
    padding-left: 0.2rem;
}

.storefront-mobile-nav__submenu {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: grid;
    margin-block: 0.52rem 0.74rem;
    padding: 0.32rem 0.7rem;
}

.storefront-mobile-nav__submenu[hidden] {
    display: none;
}

.storefront-mobile-nav__submenu a {
    border-bottom-color: color-mix(in srgb, var(--color-secondary) 28%, transparent);
    font-size: 0.92rem;
    min-height: 2.58rem;
}

.storefront-mobile-nav__submenu a:last-child {
    border-bottom: 0;
    color: var(--header-theme);
}

.storefront-mobile-nav__actions {
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1rem;
}

.storefront-mobile-nav__actions .storefront-account {
    display: grid;
    gap: 0.65rem;
}

.storefront-mobile-nav__actions .storefront-action,
.storefront-mobile-nav__actions .storefront-cart {
    justify-content: center;
    width: 100%;
}

.storefront-mobile-nav__actions .storefront-action,
.storefront-mobile-nav__actions .storefront-cart {
    background: transparent;
    color: var(--color-text);
}

@media (min-width: 1100px) {
    .storefront-nav__item.dropdown:hover > .storefront-dropdown {
        display: block;
    }
}

@media (max-width: 1220px) {
    .storefront-header__inner {
        gap: 0.65rem;
    }

    .storefront-brand {
        max-width: 15rem;
    }

    .storefront-brand__seal,
    .storefront-header.is-stuck .storefront-brand__seal {
        height: 5.625rem;
        width: 5.625rem;
    }

    .storefront-brand__text strong {
        font-size: 1.15rem;
        max-width: 8rem;
    }

    .storefront-brand__text small {
        display: none;
    }

    .storefront-nav__link {
        font-size: 0.86rem;
        padding-inline: 0.38rem;
    }

    .storefront-action__text {
        display: none;
    }

    .storefront-action.storefront-account__admin-panel .storefront-action__text {
        display: inline;
    }
}

@media (max-width: 1099px) {
    .storefront-header__inner {
        gap: 0.62rem;
        justify-content: space-between;
        min-height: 4.75rem;
        padding-block: 0.32rem;
    }

    .storefront-header.is-stuck .storefront-header__inner {
        min-height: 4.5rem;
    }

    .storefront-header__right {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .storefront-header__nav {
        display: none;
    }

    .storefront-brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    .storefront-brand__seal,
    .storefront-header.is-stuck .storefront-brand__seal {
        height: 4rem;
        width: 4rem;
    }

    .storefront-brand__text strong {
        font-size: 1.1rem;
        max-width: 12rem;
    }

    .storefront-header__actions {
        gap: 0.34rem;
        margin-left: auto;
    }

    .storefront-header__actions > .storefront-account {
        display: none;
    }

    .storefront-action,
    .storefront-cart,
    .storefront-menu-button,
    .storefront-language-switcher {
        height: 2.75rem;
        min-height: 2.75rem;
        padding: 0;
        width: 2.75rem;
    }

    .storefront-header__actions > .storefront-language-switcher {
        display: none;
    }

    .storefront-mobile-nav__language .storefront-language-switcher {
        height: auto;
        min-height: 2.8rem;
        padding: 0.52rem 0.76rem;
        width: 100%;
    }

    .storefront-cart__total {
        display: none;
    }

    .storefront-mobile-nav__actions .storefront-action,
    .storefront-mobile-nav__actions .storefront-cart {
        height: auto;
        min-height: 2.9rem;
        padding: 0.58rem 0.76rem;
        width: 100%;
    }

    .storefront-mobile-nav__actions .storefront-action__text {
        display: inline;
    }

    .storefront-mobile-nav__actions .storefront-cart__total {
        display: inline-flex;
    }

    .storefront-menu-button {
        display: inline-flex;
    }
}

@media (max-width: 575px) {
    .announcement-bar {
        font-size: 0.76rem;
        min-height: 1.86rem;
        padding-inline: 0.7rem;
    }

    .storefront-header__inner {
        gap: 0.42rem;
        min-height: 4rem;
        padding-block: 0.25rem;
    }

    .storefront-brand {
        gap: 0.52rem;
    }

    .storefront-brand__seal,
    .storefront-header.is-stuck .storefront-brand__seal {
        height: 3.75rem;
        width: 3.75rem;
    }

    .storefront-brand__text strong {
        font-size: 1.08rem;
        max-width: 8.5rem;
    }

    .storefront-brand__text small {
        display: none;
    }

    .storefront-action,
    .storefront-cart,
    .storefront-menu-button {
        height: 2.75rem;
        min-height: 2.75rem;
        width: 2.75rem;
    }

    .storefront-mobile-nav__panel {
        max-width: none;
        width: min(92vw, 22rem);
    }
}

@media (max-width: 480px) {
    .storefront-header__inner,
    .storefront-header.is-stuck .storefront-header__inner {
        min-height: 5.5rem;
    }

    .storefront-brand {
        align-items: center;
        flex-direction: column;
        gap: 0.18rem;
        max-width: none;
    }

    .storefront-brand__text {
        display: block;
        text-align: center;
    }

    .storefront-brand__text strong {
        display: block;
        font-size: 1rem;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }
}

@media (max-width: 340px) {
    .storefront-brand__text strong {
        font-size: 0.96rem;
    }
}

@media (min-width: 1100px) {
    .storefront-header {
        --storefront-desktop-seal-size: 7rem;
        --storefront-desktop-seal-gap: 0.75rem;
        --storefront-desktop-row-height: 4.75rem;
        --storefront-desktop-seal-shift: -35%;
    }

    .storefront-header__main {
        overflow: visible;
        position: relative;
    }

    .storefront-header__inner,
    .storefront-header.is-stuck .storefront-header__inner {
        min-height: var(--storefront-desktop-row-height);
        overflow: visible;
        padding-block: 0.25rem;
    }

    .storefront-brand {
        /*
         * Bounded but flexible: the brand may shrink so the nav always keeps its own room. With
         * flex: 0 0 auto the brand refused to yield, and because the name below is allowed to
         * outgrow this box, a long tenant name painted straight across the first nav item.
         */
        flex: 0 1 auto;
        gap: 0;
        min-height: var(--storefront-desktop-row-height);
        min-width: 0;
        padding-inline-start: calc(var(--storefront-desktop-seal-size) + var(--storefront-desktop-seal-gap));
        position: relative;
    }

    .storefront-brand__seal,
    .storefront-header.is-stuck .storefront-brand__seal {
        border-width: 2px;
        box-shadow:
            0 14px 28px color-mix(in srgb, var(--color-primary-dark) 20%, transparent),
            0 3px 8px color-mix(in srgb, var(--color-primary-dark) 14%, transparent);
        height: var(--storefront-desktop-seal-size);
        inset-inline-start: 0;
        position: absolute;
        top: 50%;
        transform: translateY(var(--storefront-desktop-seal-shift));
        width: var(--storefront-desktop-seal-size);
        z-index: 2;
    }

    .storefront-brand__text {
        /*
         * The cap belongs to the name column, not to the whole brand: the seal is reserved through
         * padding and grows on large screens, so capping the brand as a whole ate into the name and
         * clipped it more the wider the viewport got.
         */
        display: block;
        max-width: 19rem;
    }

    .storefront-brand__text strong {
        /*
         * Must stay a block: max-width, overflow and text-overflow are ignored on inline boxes,
         * which is why the name used to render at full width straight over the navigation.
         */
        display: block;
        font-size: clamp(1.28rem, 1.6vw, 1.52rem);
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .storefront-brand__text small {
        display: none;
    }

    /*
     * Icon-only account actions on desktop, the same treatment the narrow breakpoints already use.
     * The row cannot hold the tenant name, the full navigation and labelled account actions at the
     * container width, and the name is the part that has to stay readable - otherwise the brand
     * ellipsises on every logged-in page. Only actions that actually carry an icon drop their
     * label (they keep their aria-label); text-only ones such as "Admin panel" would disappear.
     */
    .storefront-action:has(svg) .storefront-action__text {
        display: none;
    }
}

@media (min-width: 1440px) {
    .storefront-header {
        /*
         * The seal still grows on large screens, but not without limit: the header row keeps the
         * page container's width at every viewport, so every extra pixel here is taken straight
         * from the tenant name beside it.
         */
        --storefront-desktop-seal-size: clamp(7.5rem, 8vw, 8rem);
        --storefront-desktop-row-height: 5rem;
        --storefront-desktop-seal-shift: -50%;
    }

    .storefront-header__inner,
    .storefront-header.is-stuck .storefront-header__inner {
        padding-block: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-header,
    .storefront-header__inner,
    .storefront-brand__seal,
    .storefront-nav__link::before,
    .storefront-mobile-nav,
    .storefront-mobile-nav__panel,
    .announcement-bar__current {
        transition: none;
    }
}
