:root {
    --header-top-height:40px;
    --header-navigation-height:100px;
}
.site-header {
    position:sticky;
    top:calc(0px - var(--header-top-height));
    z-index:100;
}
.header-top {
    height:var(--header-top-height);
    background:var(--ink);
    color:#edf0e9;
    font-size:12px;
}
.header-top__inner {
    width:90%;
    max-width:1280px;
    margin:auto;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.header-top__inner>p {
    min-width:0;
}
.header-top__right {
    display:flex;
    align-items:center;
    gap:28px;
    flex-shrink:0;
    height:100%;
}
.header-phone {
    display:inline-flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
    transition:color .2s;
}
.header-phone svg {
    width:16px;
    height:16px;
    flex-shrink:0;
}
.header-phone:hover {
    color:#e7c76b;
}
.language-menu {
    position:relative;
    height:100%;
    display:flex;
    align-items:center;
}
.language-menu>button {
    display:flex;
    align-items:center;
    gap:5px;
    border:0;
    background:none;
    color:inherit;
    padding:5px 0;
}
.language-menu>button:hover {
    color:#e7c76b;
}
.language-menu>button svg {
    width:14px;
    height:14px;
}
.language-menu ul {
    position:absolute;
    right:0;
    top:100%;
    min-width:148px;
    padding:8px;
    background:white;
    color:var(--ink);
    box-shadow:0 7px 25px #0002;
    z-index:150;
}
.language-menu li a {
    display:block;
    padding:9px 14px;
    transition:background .2s;
}
.language-menu li a:hover,.language-menu li a[aria-current] {
    background:#f2ead5;
    color:var(--gold-dark);
}
.header-navigation {
    background:#fff;
    box-shadow:0 2px 8px #2030350b;
}
.header-navigation__inner {
    width:90%;
    max-width:1280px;
    margin:auto;
    display:flex;
    align-items:center;
    height:var(--header-navigation-height);
    gap:35px;
    position:relative;
}
.header-logo {
    margin-right:auto;
    display:block;
    flex-shrink:0;
    transition:opacity .2s;
}
.header-logo:hover {
    opacity:.8;
}
.header-logo img {
    display:block;
    width:146px;
    height:84px;
    object-fit:contain;
}
.desktop-navigation {
    display:flex;
    align-items:center;
    height:100%;
    gap:32px;
}
.desktop-navigation a {
    display:flex;
    align-items:center;
    height:100%;
    position:relative;
    font-weight:600;
    font-size:14px;
    transition:color .2s;
}
.desktop-navigation a::after {
    content:"";
    height:3px;
    position:absolute;
    bottom:23px;
    left:0;
    right:0;
    background:var(--gold);
    transform:scaleX(0);
    transition:transform .2s;
}
.desktop-navigation a:hover,.desktop-navigation a[aria-current] {
    color:var(--gold-dark);
}
.desktop-navigation a:hover::after,.desktop-navigation a[aria-current]::after {
    transform:scaleX(1);
}
.header-actions {
    display:flex;
    gap:12px;
    align-items:center;
}
.header-actions>a,.header-actions>button {
    display:flex;
    justify-content:center;
    align-items:center;
    width:40px;
    height:40px;
    border:0;
    background:transparent;
    color:var(--ink);
    transition:background .2s,color .2s;
}
.header-actions>a:hover,.header-actions>button:hover {
    background:#f2ead5;
    color:var(--gold-dark);
}
.header-cart {
    position:relative;
}
.cart-count {
    position:absolute;
    right:-3px;
    top:-3px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:50%;
    font-size:11px;
    line-height:18px;
    text-align:center;
    background:var(--teal);
    color:white;
}
.header-actions>.header-menu-toggle {
    display:none;
}
.global-search {
    position:absolute;
    top:100%;
    right:0;
    width:610px;
    max-width:calc(100vw - 32px);
    padding:22px;
    display:flex;
    gap:10px;
    background:white;
    box-shadow:0 12px 26px #20303526;
    border-top:3px solid var(--gold);
}
.global-search input[type=search] {
    height:48px;
    padding:12px 14px;
    min-width:0;
    flex:1;
    border:1px solid var(--line);
    background:white;
}
.global-search button {
    display:flex;
    gap:8px;
    align-items:center;
    justify-content:center;
    padding:10px 22px;
    border:0;
    background:var(--gold);
    color:#172a2d;
    font-weight:600;
    transition:background .2s,color .2s;
}
.global-search button:hover {
    background:var(--gold-dark);
    color:white;
}
.navigation-shade {
    position:fixed;
    inset:0;
    background:#162d32a6;
    z-index:200;
}
.mobile-navigation {
    position:fixed;
    top:0;
    bottom:0;
    right:0;
    width:min(360px,88vw);
    background:var(--paper);
    z-index:210;
    padding:80px 28px 30px;
    overflow-y:auto;
}
.mobile-navigation__close {
    position:absolute;
    right:22px;
    top:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    background:white;
    border:1px solid var(--line);
}
.mobile-navigation__close:hover {
    background:#ece1c2;
}
.mobile-navigation nav a {
    display:block;
    padding:17px 8px;
    border-bottom:1px solid var(--line);
    font-size:17px;
}
.mobile-navigation nav a:hover,.mobile-navigation nav a[aria-current] {
    color:var(--gold-dark);
    background:#eee6d0;
}
@media(max-width:1100px) {
    .header-navigation__inner {
        gap:20px;
    }
    .desktop-navigation {
        gap:22px;
    }
}
@media(max-width:900px) {
    :root {
        --header-navigation-height:88px;
    }
    .desktop-navigation {
        display:none;
    }
    .header-actions>.header-menu-toggle {
        display:flex;
    }
    .header-logo img {
        width:128px;
        height:74px;
    }
    .header-welcome,.header-phone {
        display:none;
    }
}
@media(max-width:640px) {
    :root {
        --header-top-height:56px;
        --header-navigation-height:82px;
    }
    .header-top__inner {
        width:calc(100% - 32px);
        gap:12px;
    }
    .header-company {
        font-size:10px;
        line-height:1.5;
        display:block;
        max-width:220px;
    }
    .header-top__right {
        gap:0;
    }
    .header-navigation__inner {
        width:calc(100% - 32px);
        gap:10px;
    }
    .header-logo img {
        width:114px;
        height:68px;
    }
    .header-actions {
        gap:4px;
    }
    .header-actions>a,.header-actions>button {
        width:37px;
        height:40px;
    }
    .global-search {
        flex-direction:column;
        padding:18px;
    }
    .global-search button {
        min-height:46px;
    }
}
