.site-header {
    position: relative;
    z-index: 100;
    background: white;
}
.topbar {
    background: var(--surface);
    border-bottom: 1px solid #e8ecee;
    font-size: 13px;
}
.topbar-inner {
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.company-welcome {
    min-width: 0;
    color: var(--muted);
}
.company-welcome strong {
    font-weight: 500;
    color: var(--ink);
}
.topbar-right,
.topbar-phone {
    display: flex;
    align-items: center;
    gap: 26px;
}
.topbar-right {
    flex-shrink: 0;
}
.topbar-phone {
    gap: 7px;
}
.topbar-phone svg {
    color: var(--brand);
    width: 18px;
    height: 18px;
}
.language-menu {
    position: relative;
}
.language-menu>button {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}
.language-menu svg {
    width: 14px;
    height: 14px;
}
.language-menu ul {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: white;
    padding: 8px;
    box-shadow: 0 8px 32px #1726301f;
    border-top: 3px solid var(--brand);
    z-index: 120;
}
.language-menu li a {
    display: block;
    padding: 7px 14px;
}
.language-menu li a:hover {
    background: var(--brand-pale);
}
.nav-wrap {
    box-shadow: 0 5px 22px #17263009;
    border-bottom: 1px solid #e7eaec;
}
.main-nav {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
}
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 30px;
    border-right: 1px solid var(--line);
}
.brand-logo img {
    width: auto;
    height: auto;
    max-width: 192px;
    max-height: 62px;
}
.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
}
.desktop-nav a {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    padding-block: 34px;
}
.desktop-nav a[aria-current],
.desktop-nav a:hover {
    color: var(--brand);
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width .2s ease;
}
.desktop-nav a[aria-current]::after,
.desktop-nav a:hover::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-actions .cart-link {
    color: white;
    background: var(--brand);
}
.nav-actions .cart-link:hover {
    background: var(--brand-dark);
}
.cart-link {
    position: relative;
}
.cart-count {
    position: absolute;
    right: -7px;
    top: -7px;
    background: var(--ink);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    min-width: 23px;
    height: 23px;
    padding-inline: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}
.mobile-toggle {
    display: none;
}
.search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 610px;
    max-width: calc(100vw - 2 * var(--gutter));
    padding: 24px;
    display: flex;
    gap: 12px;
    background: white;
    box-shadow: 0 15px 35px #17263024;
    border-top: 3px solid var(--brand);
}
.search-panel input {
    min-width: 0;
    flex: 1;
    width: 100%;
}
.search-panel .button {
    flex-shrink: 0;
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: #0d1923b3;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(360px,88vw);
    background: white;
    z-index: 200;
    padding: max(30px,env(safe-area-inset-top)) 26px 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -10px 0 40px #00000030;
    animation: drawer-enter .2s ease;
}
.mobile-drawer>img {
    max-width: 180px;
    margin: 38px 0 35px;
}
.drawer-close {
    position: absolute;
    top: max(12px,env(safe-area-inset-top));
    right: 16px;
    color: var(--brand);
}
.mobile-drawer nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}
@keyframes drawer-enter {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}
@media(max-width:1180px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: inline-flex;
    }
    .main-nav {
        min-height: 84px;
    }
    .brand-logo {
        border: 0;
        padding: 0;
    }
}
@media(max-width:640px) {
    .topbar-inner {
        gap: 18px;
        min-height: 51px;
    }
    .company-welcome {
        font-size: 11px;
        line-height: 1.45;
        max-width: 65%;
    }
    .company-welcome>span,
    .topbar-phone {
        display: none;
    }
    .language-menu>button {
        font-size: 12px;
    }
    .main-nav {
        min-height: 76px;
        gap: 10px;
    }
    .brand-logo img {
        max-width: 145px;
        max-height: 48px;
    }
    .nav-actions {
        gap: 4px;
    }
    .nav-actions .icon-button {
        width: 38px;
        height: 40px;
        padding: 8px;
    }
    .search-panel {
        flex-direction: column;
        padding: 20px;
    }
}
