.site-header {
    position: relative;
    z-index: 110;
}
.topbar {
    background: var(--color-dark);
    color: #f5f4f2;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 44px;
    font-size: 12px;
}
.topbar__company {
    min-width: 0;
}
.topbar__tools,
.topbar__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.topbar__tools {
    gap: 28px;
}
.topbar__phone svg {
    width: 14px;
    height: 14px;
    color: #eeb4aa;
}
.topbar__phone:hover {
    color: #eeb4aa;
}
.language-menu {
    position: relative;
}
.language-menu > button {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}
.language-menu > button svg {
    width: 13px;
    height: 13px;
}
.language-menu > button:hover {
    color: #eeb4aa;
}
.language-menu ul {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 100%;
    min-width: 160px;
    padding: 8px 0;
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: 0 6px 25px #0002;
}
.language-menu li a {
    display: block;
    padding: 7px 20px;
}
.language-menu li a:hover,
.language-menu li a[aria-current] {
    background: var(--color-muted);
    color: var(--color-primary);
}
.mainnav {
    background: var(--color-white);
    box-shadow: 0 2px 8px #00000008;
}
.mainnav__inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100px;
    gap: 38px;
}
.brand {
    flex-shrink: 0;
    margin-right: auto;
}
.brand img {
    width: 156px;
    height: auto;
    transition: opacity .2s;
}
.brand:hover img {
    opacity: .8;
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.desktop-nav a {
    padding: 37px 0;
    color: var(--color-ink);
    font-weight: 700;
    position: relative;
    white-space: nowrap;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width .2s;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
    color: var(--color-primary);
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current]::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-left: 1px solid var(--color-border);
    padding-left: 20px;
}
.nav-actions .icon-button svg {
    width: 22px;
    height: 22px;
}
.cart-link {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: 0;
    right: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--color-white);
    background: var(--color-primary);
}
#menu-toggle {
    display: none;
}
.global-search {
    position: absolute;
    z-index: 20;
    right: 0;
    top: 100%;
    display: flex;
    gap: 12px;
    width: 620px;
    max-width: calc(100vw - 36px);
    padding: 24px;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 12px 30px #0003;
}
.global-search input[type='search'] {
    width: 100%;
    flex: 1;
    min-width: 0;
}
.global-search .button {
    flex-shrink: 0;
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #0009;
}
.mobile-drawer {
    position: fixed;
    z-index: 210;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 90vw);
    background: var(--color-white);
    padding: 24px;
    overflow-y: auto;
    box-shadow: -12px 0 40px #0002;
}
.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    color: var(--color-ink);
    font-size: 22px;
}
.mobile-drawer nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
    font-weight: 700;
}
.mobile-drawer nav a:hover,
.mobile-drawer nav a[aria-current] {
    color: var(--color-primary);
}
.mobile-drawer nav svg {
    width: 18px;
    height: 18px;
}
@media (max-width: 1100px) {
    .mainnav__inner {
        gap: 20px;
    }
    .desktop-nav {
        gap: 20px;
    }
}
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    #menu-toggle {
        display: inline-flex;
    }
    .mainnav__inner {
        min-height: 88px;
    }
}
@media (max-width: 640px) {
    .topbar__inner {
        min-height: 40px;
        gap: 14px;
    }
    .topbar__company {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .topbar__company > span,
    .topbar__phone {
        display: none;
    }
    .language-menu > button {
        min-height: 40px;
    }
    .mainnav__inner {
        min-height: 78px;
        gap: 12px;
    }
    .brand img {
        width: 115px;
    }
    .nav-actions {
        gap: 0;
        padding-left: 8px;
        border-left: 0;
    }
    .nav-actions .icon-button {
        width: 40px;
        height: 40px;
    }
    .global-search {
        flex-direction: column;
        padding: 18px;
        width: calc(100vw - 36px);
    }
    .global-search .button {
        width: 100%;
    }
}
