/* b2b-v3-layout renders value.header.header_text_* as its own strip above the
   header; this theme shows the same text inside the utility bar instead */
.header__banner {
    display: none;
}

.header__logout-button,
.header__login-button,
.open__search,
.header__logout {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-bg-light);
    border-radius: 25px;
    min-height: 48px;
    padding: 0 16px;
    justify-content: center;
}

.header__logout-button:focus-visible,
.header__login-button:focus-visible,
.open__search:focus-visible,
.header__logout:focus-visible {
    border-radius: 25px;
}

.header__logout-button {
    padding: 0;
}

.header__customer-name {
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: .825rem;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

select.header__customer-name {
    padding: 0;
    background: transparent;
    border: unset;
    cursor: pointer;
}

.icon--logout,
.icon--login,
.icon--search {
    height: 20px !important;
    width: 20px !important;
}

.button--workspace {
    min-height: 48px;
    display: flex;
    align-items: center;
}

@media(max-width: 992px) {
    .button--workspace.desktop {
        display: none;
    }

    .header__logout {
        gap: 0;
    }

    .header__controllable-customers {
        display: flex;
        justify-content: center;
        gap: 10px;
        height: 28px;
        border-bottom: 1px solid #E5E8F2;
        align-items: center;
    }

    .header__controllable-customers .header__customer-name {
        font-size: 13px;
        color: var(--color-text-secondary);
    }
}

@media(max-width: 400px) {
    .header__logout {
        padding: 0 4px;
    }
}

.header__workspace .sidebar__link {
    display: flex;
    flex-direction: column;
}

.workspace__sublink a {
    height: auto;
    font-size: 0.825rem;
    padding-left: 50px;
}

.button--workspace,
.button--workspace:hover {
    color: #fff;
    background: #000;
    border-radius: 25px;
}

.button--workspace:focus-visible {
    border-radius: 50px;
    outline-offset: -4px;
}

.button--workspace:hover svg path,
.button--workspace:active svg path,
.button--workspace:focus svg path {
    stroke: #fff;
}

.header__workspace-links {
    display: grid;
    grid-template-columns: auto auto auto auto;
    margin: auto;
    max-width: 750px;
    gap: 25px;
}

.header__workspace {
    padding: 40px 0;
    position: absolute;
    width: 100%;
    background: #fff;
    left: 0;
    z-index: 2;
    display: none;
}

.header__workspace.opened {
    display: block;
}

.header__workspace-backdrop {
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(0 0 0 / 37%);
    position: fixed;
    top: auto;
    margin-top: 40px;
}

.button--workspace:hover,
.button--workspace:active,
.button--workspace:focus {
    background: #000;
    border-color: #000;
    color: #fff;
}

.translation-dropdown-toggle {
    min-height: 24px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.js__header__login {
    min-height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner--login {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--color-bg-button-apply);
    height: 25px;
    width: 25px;
}

.spinner--cart {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 9px;
    height: 9px;
    animation: spin 1s linear infinite;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-width: 250px;
    max-width: 1300px;
    width: auto;
    margin: 20px;
    padding: 15px 20px;
    position: fixed;
    top: 30px;
    z-index: 1000;
    text-align: left;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #856404;
    background-color: #fff8dc;
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffaf00;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.notification.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.notification:hover {
    background-color: #fff5cc;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.notification p {
    margin: 0;
    line-height: 1.5;
    flex: 1;
    word-wrap: break-word;
}

.notification strong {
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
    color: #734e04;
}

.notification-close {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #856404;
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 15px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.notification-close:hover {
    transform: scale(1.2);
    color: #735a0d;
}

.notification.notif-hidden {
    opacity: 0;
}

.parent-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header {
    width: 100%;
    background: var(--color-bg-primary);
    position: relative;
}

.header__top__open-nav {
    cursor: pointer;
    display: flex;
}

.header__top__open-nav:focus-visible,
.header__top__open-nav[role=button]:focus-visible {
    outline-offset: 4px;
}

.open__cart {
    position: relative;
    min-height: 40px;
}

.open__cart .cart__items__count {
    background: #E84241;
    border-radius: 100%;
    min-width: 20px;
    position: absolute;
    top: -5px;
    right: -3px;
    font-size: 11px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 5px;
}

.header__heading {
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.header__search {
    width: 100%;
    position: relative;
}

.header__search-input {
    padding: 16px 16px 16px 49px;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    height: 100%;
    width: 100%;
    color: var(--color-text-gray);
    border-radius: 24px;
}

.header__search-wrapper {
    position: relative;
    border-radius: 24px;
    border: 2px solid var(--color-border-input);
    display: flex;
    align-items: center;
    min-height: 50px;
}

.header__search-wrapper input:focus-visible {
    border-radius: 24px;
}

@media(max-width: 992px) {
    .header__search {
        display: none;
        flex-direction: column;
        position: fixed;
        z-index: 1000;
        background: #fff;
        width: calc(100% - 32px);
        left: 16px;
        top: 118px;
        padding: 20px;
        border-radius: 20px;
    }

    .header__search.visible {
        display: flex;
    }

    .header__search-wrapper {
        border-radius: 20px;
    }

    .header__search>div:not(.quick__window) {
        display: flex;
        gap: 20px;
        width: 100%;
    }

    .header__search>div form {
        width: 100%;
    }

    .header__search-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgb(0 0 0 / 37%);
        z-index: 999;
        /* below the search (1000) */
        display: none;
    }

    .header__search.visible+.header__search-backdrop {
        display: block;
    }
}

.header__search-wrapper svg {
    position: absolute;
    left: 12px;
}

.header__nav-links {
    display: flex;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
}

.header__nav-link,
.header__nav-link>a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
}

.header__nav-link>a {
    padding: 20px 30px;
    gap: 7px;
}

.groups,
.categories {
    display: none;
    position: absolute;
    top: calc(100% - 15px);
    left: 0;
    background: var(--color-bg-light);
    z-index: 100;
    width: 100%;
    color: var(--color-text-primary);
    flex-wrap: wrap;
    column-gap: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 40px 100px 100px;
}

.group,
.category {
    /* break-inside: avoid; */
}

.header__nav-link:hover .groups,
.header__nav-link:hover .categories {
    display: grid;
}

.group__heading a,
.category__heading a {
    font-size: 1rem;
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
}

.group__heading a:hover,
.category__heading a:hover {
    color: var(--color-text-secondary);
}

.group__sub-inner .group__sub-heading,
.category__sub-inner .category__sub-heading {
    padding-left: 30px;
}

.group__sub-heading,
.category__sub-heading {
    display: block;
    padding: 7px 5px 7px 20px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    border-left: 2px solid transparent;
}

.group__sub-heading:hover,
.category__sub-heading:hover {
    border-left: 2px solid var(--color-text-active);
    background: var(--nav-groups-hover-bg);
}

.header__nav-link .active>a {
    border-left: 2px solid var(--color-text-active);
    font-weight: 900;
    display: block;
    padding-left: 5px;
}

.header__lang .translation-dropdown-menu {
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 3;
    top: 100%;
    right: 0;
    min-width: 200px;
    border-radius: 10px;
}

.header__lang .translation-dropdown-menu a,
.header__lang .translation-dropdown-menu button {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: var(--color-text-primary);
}

.header__lang .translation-dropdown-menu a:hover,
.header__lang .translation-dropdown-menu button:hover {
    color: var(--color-text-secondary);
}

@media(min-width:992px) {
    .open__cart span {
        top: -2px;
        right: 0px;
    }
}

@media(max-width:620px) {
    .header__heading {
        display: none;
    }
}

.icon--burger svg {
    height: 30px;
    width: 30px;
}

.header__logo img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
}

.icon--burger {
    display: none;
}

@media(max-width:400px) {
    .header__logo img {
        max-width: 100px;
        height: auto;
    }

    .header__logout-button,
    .header__login-button,
    .open__search,
    .open__cart {
        min-height: 40px;
        min-width: 40px;
        padding: 0;
    }
}

.header__arrow {
    width: 16px;
    height: 16px;
}

/* Quick search  */
.quick__window {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 1000;
}

.quick__hidden {
    display: none;
}

.quick__header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.quick__tab {
    border: none;
    border-radius: 20px;
    padding: 9px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: auto;
}

.quick__active svg path {
    stroke: #B2CB22;
}

.quick__view-switch {
    margin-left: auto;
}

.quick__tab--active {
    border: 2px solid #B2CB22;
    color: #B2CB22;
}

.quick__body {
    display: flex;
    gap: 20px;
    max-height: 500px;
    overflow: auto;
}

.quick__sorting {
    display: flex;
}

.quick__sort-btn {
    min-width: 45px;
    min-height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quick__window .spinner.active {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}

.quick__filters {
    flex: 0 0 220px;
    border-right: 1px solid #eee;
    border: 1px solid #e5e8f2;
    border-radius: 20px;
    height: fit-content;
    padding: 24px;
}

.quick__products {
    min-height: unset;
}

.quick__filters:not(:has(.block__filter)) {
    border: unset;
    flex: unset;
    padding: 0;
}

.quick__filters .quick__filter-group {
    padding: 14px;
    border-bottom: 1px solid #e5e8f2;
}

.quick__filter-group .field--checkbox {
    margin-bottom: 5px;
    margin-left: 15px;
}

.quick__filter-group h4 {
    margin: 8px 0;
    font-size: 1rem;
}

.quick__filter-group label {
    display: flex;
    font-size: 1rem;
    margin: 4px 0;
    font-weight: 600;
}

.quick__filter-input {
    width: auto;
}

.quick__filter-count {
    margin-left: auto;
    font-size: 13px;
    color: #B2BDD4;
}

.quick__products {
    flex: 1;
    display: grid;
    gap: 16px;
    padding-right: 15px;
    height: fit-content;
}

.quick__grid-view {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.quick__list-view {
    grid-template-columns: 1fr;
}

.quick__list-view .quick__product {
    display: flex;
    gap: 20px;
}

.quick__list-view .quick__product-image {
    margin: 0;
}

.quick__product {
    border: 1px solid #e5e8f2;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.quick__product div {
    text-align: left;
}

.quick__product img {
    height: 180px;
    max-width: 180px;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    margin-bottom: 16px;
}

.quick__list-view .quick__product img {
    height: 140px;
    max-width: 140px;
    max-height: 140px;
}

.quick__pagination {
    margin-top: 16px;
    text-align: center;
    text-decoration: underline;
}

.quick__pagination button {
    border: none;
    background: transparent;
    padding: 6px 10px;
    margin: 0 2px;
    border-radius: 50%;
    cursor: pointer;
}

.quick__pagination .quick__active {
    background: #007bff;
    color: #fff;
}

.quick__results {
    display: flex;
    min-height: 38px;
    background: #F6F6FE;
    padding: 5px 10px;
    border-radius: 20px;
}

.quick__product-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 15px;
}

.quick__product-name {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.56;
}

#quick__count-products {
    font-weight: 600;
    padding-left: 3px;
}

.quick__filters-back {
    display: none;
}

.quick__filters .field--checkbox label {
    align-items: flex-start;
}

.js__filter:not(:has(.filter-options)) .js__filter-title {
    display: none;
}

@media(min-width: 992px) {
    .quick__window {
        min-width: 775px;
    }
}

@media(max-width: 992px) {
    .quick__window {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
    }

    .quick__hidden {
        display: none;
    }

    .quick__body {
        flex: 1;
        display: flex;
        gap: 20px;
        overflow-y: auto;
        min-height: 0;
        max-height: unset;
    }

    .header__search:has(.quick__window:not(.quick__hidden)) {
        height: calc(100% - 134px);
    }

    .quick__header {
        display: grid;
        grid-template-areas:
            'results results results'
            'filters sorter1 sorter2';
        gap: 10px;
    }

    .quick__results {
        grid-area: results;
        width: fit-content;
    }

    .quick__sorting {
        grid-area: sorter1;
    }

    .quick__view-switch {
        grid-area: sorter2;
    }

    .quick__filter {
        grid-area: filters;
    }

    .quick__filter .open-filters {
        display: flex;
        font-size: 1rem;
        gap: 10px;
        font-weight: 600;
    }

    .quick__sorting {
        display: flex;
        justify-content: center;
    }

    .quick__filters {
        display: none;
    }

    .quick__filters.visible {
        display: block;
        width: 100%;
        flex: unset;
    }

    .quick__filters.visible+.quick__products {
        display: none;
    }

    .quick__filters-back {
        gap: 10px;
        align-content: center;
        align-items: center;
        font-weight: 700;
        text-transform: uppercase;
        padding: 6px 0 26px 0;
    }

    .quick__header.hidden+.quick__filters-back {
        display: flex;
    }
}

.filter-form {
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.filters {
    padding: 28px 40px 60px;
}

.filter-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.block__filters {
    position: relative;
}

@media(min-width: 1024px) {
    .block__filters {
        position: relative;
    }
}

.filter__options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 10px 0;
}

.block__filter {
    position: relative;
}

.block__filter-content {
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    transition: max-height 0.2s ease-out, padding 0.2s ease-out;
    position: relative;
    top: auto;
    left: auto;
    min-width: 100%;
    width: 100%;
    height: auto;
    z-index: 1;
    background: #fff;
}

@media(min-width: 1024px) {
    .block__filter.filter-section .block__filter-content {
        height: auto;
        z-index: 1;
        background: #fff;
    }
}

.block__filter-title {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 42px;
    cursor: pointer;
}

.block__filter-title:hover {
    color: var(--color-text-secondary);
}

.block__filter-title:hover svg path {
    stroke: var(--color-text-secondary);
}

.block__filter.active .block__filter-title svg {
    transform: rotate(180deg);
}

.block__filter-title svg {
    transition: transform 0.3s ease-out;
}

.block__filter-title span {
    font-size: 1rem;
    line-height: 1.56;
    font-weight: 600;
}

.filter-options {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.block__filter .filter-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.block__filter .filter-footer {
    margin: 5px 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: flex-start;
}

.selected-count {
    margin-right: 5px;
}

.button__reset {
    font-size: 1rem;
    color: var(--color-bg-button);
    background: transparent;
    border: none;
}

.filter-footer {
    height: 0;
    opacity: 0;
    transition: opacity 0.1s, height 0.3s;
}

.filter-footer:has(.button__secondary.active) {
    height: auto;
    opacity: 1;
}

.block__filter-content:has(.slider-container) .filter-footer {
    height: auto;
    opacity: 1;
}

.block__filter.filter-section .block__filter-content {
    position: relative;
    top: auto;
    left: auto;
    min-width: 100%;
    width: 100%;
    height: auto;
    z-index: 1;
    background: #fff;
}

.is-scrollable {
    overflow: auto;
}

.block__filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.block__filter-actions .button {
    padding: 10px 20px;
}

.group__sub {
    display: none;
    position: absolute;
    top: 59px;
    /* left: 0; */
    background: #fff;
    z-index: 100;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.header__nav-link:hover>.group__sub {
    display: block;
    width: 250px;
    padding: 10px;
}

.quick__product {
    position: relative;
}

.quick__product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 6;
    pointer-events: none;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quick__product-new-badge {
    margin-right: auto;
}

.quick__product-discount-badge {
    margin-left: auto;
}

/* New badge */
.quick__product-new-badge {
    position: static;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;

    background: var(--color-button);
    color: var(--color-text-white);
    border: 1px solid rgba(29, 78, 216, 0.20);
}

/* Discount badge */
.quick__product-discount-badge {
    position: static;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;

    background: var(--color-text-error);
    color: var(--color-text-white);
    border: 1px solid rgba(232, 66, 65, 0.25);
}

/* ==========================================================================
   Veltron header — top-utility-bar + main-header. Both rows are full-bleed,
   their content is capped at --header-inner-max. Tokens live in
   VG-b2b-v3-main-css.

   The Figma file carries two header variants: the homepage frame uses a 25px
   utility bar, the product page frame a 36px one. The 36px version is the
   agreed target, so the utility bar below follows Figma node 281:2522.
   ========================================================================== */

.header-inner {
    max-width: var(--header-inner-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--header-gutter);
    box-sizing: border-box;
}

/* --- Row 1: utility bar --------------------------------------------------- */

.header__utility {
    width: 100%;
    background: var(--header-utility-bg);
    color: var(--header-utility-text);
}

/* 36px bar = 10px padding + 16px content + 10px padding */
.header__utility-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 36px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header__utility-tagline {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--header-utility-text);
}

/* stays right-aligned even when the header text is switched off in admin */
.header__utility-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

@media (max-width: 540px) {
    .header__utility-actions {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }
}

.header__utility-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--header-utility-text);
    white-space: nowrap;
}

.header__utility-phone:hover {
    color: var(--color-text-secondary);
}

/* block + inherited 16px font gave the wrapper a 21px line box and pushed the
   bar past 36px, so it hugs the toggle instead */
.header__utility-actions .header__lang {
    position: relative;
    display: flex;
    align-items: center;
}

.header__utility-actions .translation-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 0;
    padding: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--header-utility-text);
}

.header__utility-actions .header__lang-flag {
    display: inline-flex;
    flex: 0 0 auto;
    width: 16px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
}

.header__utility-actions .header__lang-flag svg {
    display: block;
    width: 16px;
    height: 12px;
}

.header__utility-actions .header__lang-code {
    text-transform: uppercase;
}

.header__utility-actions .translation-dropdown-toggle .header__arrow {
    width: 12px;
    height: 12px;
}

.header__utility-actions .translation-dropdown-toggle .header__arrow path {
    stroke: var(--header-utility-text);
}

/* dark dropdown panel — Figma node 466:4166. The base theme ships a white
   200px panel, so every visual property is restated here. */
.header__utility-actions .translation-dropdown-menu {
    min-width: 0;
    padding: 4px;
    background-color: var(--header-lang-panel-bg);
    border: 1px solid var(--header-lang-panel-border);
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

/* the toggle drives visibility through the hidden attribute, so the flex
   layout must not resurrect a closed panel */
.header__utility-actions .translation-dropdown-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header__utility-actions .translation-dropdown-menu .js__language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 6px 8px;
    border-radius: 4px;
    background: transparent;
    color: var(--header-utility-text);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.header__utility-actions .translation-dropdown-menu .js__language-button:hover,
.header__utility-actions .translation-dropdown-menu .js__language-button:focus-visible {
    background: var(--header-lang-row-hover);
    color: var(--header-utility-text);
}

/* login / logout render flat on the dark bar instead of the round pill */
.header__utility-actions .header__login,
.header__utility-actions .header__logout,
.header__utility-actions .header__login-button,
.header__utility-actions .header__logout-button {
    background: transparent;
    border-radius: 0;
    min-height: 0;
    padding: 0;
    gap: 6px;
}

.header__utility-actions .header__login-button {
    color: var(--color-text-secondary);
}

.header__utility-actions .header__login-button .header__customer-name {
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
    max-width: none;
}

.header__utility-actions .icon--lock {
    width: 12px !important;
    height: 12px !important;
    color: var(--color-text-secondary);
}

.header__utility-actions .header__customer-name,
.header__utility-actions select.header__customer-name {
    color: var(--header-utility-text);
    font-size: 12px;
}

.header__utility-actions .icon--logout {
    width: 14px !important;
    height: 14px !important;
}

/* --- Row 2: main header --------------------------------------------------- */

.header__main {
    width: 100%;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--header-border);
}

.header__main-inner {
    display: flex;
    align-items: stretch;
    gap: 32px;
    min-height: 88px;
}

.header__main-inner>.header__logo,
.header__main-inner>.checkout__summary,
.header__main-inner>.header__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.header__main-inner>.header__logo img {
    max-height: 46px;
}

.header__main-inner .header__navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.header__main-inner .header__navigation>nav,
.header__main-inner .header__nav-links {
    height: 100%;
}

/* the system menu can hold far more entries than the Figma mock, so the row
   wraps and grows past its 88px minimum instead of overflowing */
.header__nav-links {
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 4px;
}

.header__nav-link>a {
    height: 100%;
    padding: 0;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.header__nav-link>a:hover {
    color: var(--color-text-secondary);
}

.header__nav-link>a>svg path {
    stroke: currentColor;
}

/* links now fill the row, so dropdowns open flush with its bottom edge */
.header__nav-link:hover>.group__sub,
.groups,
.categories {
    top: 100%;
}

.header__actions {
    gap: 16px;
    margin-left: auto;
}

.header__actions .open__search {
    background: transparent;
    border-radius: 0;
    min-height: 40px;
    min-width: 40px;
    padding: 0;
}

.header__partner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 14px 24px;
    border: 1px solid var(--color-text-primary);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .header__partner-cta {
        padding: 7px 14px;
        min-height: 26px;
    }
}

.header__partner-cta:hover {
    background: var(--color-text-primary);
    color: var(--color-text-white);
}

/* --- Row 3: search band, toggled open under the header -------------------- */

.header__search-band {
    width: 100%;
}

@media (min-width: 993px) {
    .header__search-band:has(> .header__search.visible) {
        background: var(--color-bg-white);
        border-bottom: 1px solid var(--header-border);
    }

    .header__search {
        display: none;
        max-width: var(--header-inner-max);
        margin: 0 auto;
        padding: 16px var(--header-gutter);
        box-sizing: border-box;
    }

    .header__search.visible {
        display: block;
    }

    .header__search>div:not(.quick__window) {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .header__search>div:not(.quick__window) form {
        flex: 1 1 auto;
    }

    .header__search .js__close-search {
        min-width: 40px;
        min-height: 40px;
    }

    .header__search-backdrop {
        display: none;
    }

    /* b2b-v3-header-js locks body scroll when the search toggle fires. On
       desktop the search is an inline band, and re-clicking the toggle closes
       it without clearing the class, so scrolling must stay enabled here. The
       fullscreen image viewer in b2b-v3-order-js still relies on the lock. */
    body.locked:not(:has(.thumbImage--fullscreen)) {
        overflow: visible;
    }
}

@media (max-width: 992px) {

    /* keep the existing fixed-overlay search rules addressing header directly */
    .header__search-band {
        display: contents;
    }

    .header__search {
        top: var(--header-mobile-search-offset);
    }

    .header__main-inner>.icon--burger {
        display: none;
    }

    .header__main-inner {
        flex-wrap: wrap;
        align-items: center;
        min-height: 0;
        row-gap: 8px;
        column-gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* row 1: logo (+ actions); row 2: full-width menu */
    .header__main-inner .header__navigation {
        display: block;
        flex: 1 0 100%;
        width: 100%;
        min-width: 100%;
        order: 10;
    }

    .header__main-inner .header__navigation>nav,
    .header__main-inner .header__nav-links {
        height: auto;
    }

    .header__nav-links {
        column-gap: 16px;
        row-gap: 4px;
        flex-wrap: wrap;
        align-items: center;
    }

    .header__nav-link>a {
        height: auto;
        font-size: 13px;
        padding: 4px 0;
    }

    /* utility: tagline row + actions row (not side-by-side) */
    .header__utility-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .header__utility-actions {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .header__actions {
        gap: 8px;
        margin-left: auto;
    }
}