.site-header {
    position: relative;
    z-index: 90;
}
.header-top {
    color: white;
    background: var(--blue);
}
.header-top-inner {
    max-width: var(--content);
    margin: auto;
    padding: 9px 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.header-top-right,
.header-phone {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
}
.header-phone {
    gap: 7px;
}
.header-phone svg {
    width: 16px;
    height: 16px;
}
.header-phone:hover,
.header-phone:focus-visible {
    color: #c8e5ff;
}
.language-picker {
    position: relative;
}
.language-picker > button {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: white;
    padding: 4px 0;
}
.language-picker > button svg {
    width: 13px;
    height: 13px;
}
.language-picker > button:hover,
.language-picker > button:focus-visible {
    color: #c8e5ff;
}
#language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 160px;
    padding: 7px;
    border-radius: 4px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    color: var(--ink);
    z-index: 100;
}
#language-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 3px;
}
#language-menu a:hover,
#language-menu a:focus-visible,
#language-menu a[aria-current] {
    background: var(--pale);
    color: var(--blue);
}
.header-nav {
    background: white;
    border-bottom: 1px solid var(--line);
}
.header-nav-inner {
    max-width: var(--content);
    margin: auto;
    padding: 0 24px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    position: relative;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding-right: 30px;
}
.header-brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 4px;
}
.header-brand > span {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--blue);
    line-height: 1.2;
}
.header-brand > span > span {
    display: block;
    max-width: 180px;
    font-size: 12px;
    letter-spacing: 0.2px;
    font-weight: 400;
    color: var(--muted);
    margin-top: 7px;
    line-height: 1.3;
}
.header-brand:hover img,
.header-brand:focus-visible img {
    opacity: 0.78;
}
.desktop-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    flex: 1;
}
.desktop-navigation a {
    padding: 36px 0;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}
.desktop-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.2s;
}
.desktop-navigation a:hover,
.desktop-navigation a:focus-visible,
.desktop-navigation a[aria-current] {
    color: var(--blue);
}
.desktop-navigation a:hover::after,
.desktop-navigation a:focus-visible::after,
.desktop-navigation a[aria-current]::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    border-left: 1px solid var(--line);
    padding-left: 20px;
}
.header-actions > button,
.header-actions > a {
    width: 38px;
    height: 40px;
    border: 1px solid transparent;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
}
.header-actions > button:hover,
.header-actions > button:focus-visible,
.header-actions > a:hover,
.header-actions > a:focus-visible {
    background: var(--pale);
    color: var(--blue);
    outline: none;
}
.header-cart [data-cart-count] {
    position: absolute;
    right: -3px;
    top: -3px;
    background: var(--orange);
    color: white;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}
.header-actions #drawer-toggle {
    display: none;
}
.global-search {
    position: absolute;
    z-index: 85;
    right: 24px;
    top: calc(100% + 1px);
    width: 610px;
    max-width: calc(100vw - 48px);
    padding: 24px;
    display: flex;
    gap: 12px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.global-search input[type="search"] {
    flex: 1;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: none;
}
.global-search input[type="search"]:focus {
    border-color: var(--blue);
}
.global-search > button {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 4px;
    padding: 12px 22px;
}
.global-search > button:hover:not(:disabled),
.global-search > button:focus-visible {
    background: var(--blue-hover);
}
.global-search > button:disabled {
    opacity: 0.65;
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: #102e498a;
    z-index: 110;
}
.mobile-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(360px, 88vw);
    padding: 30px;
    z-index: 111;
    background: white;
    overflow-y: auto;
}
.drawer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.drawer-heading button {
    border: 0;
    background: var(--pale);
    padding: 8px;
    border-radius: 4px;
}
.drawer-heading button:hover,
.drawer-heading button:focus-visible {
    color: var(--blue);
    background: #d3e8fa;
}
.mobile-drawer nav a {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}
.mobile-drawer nav a:hover,
.mobile-drawer nav a:focus-visible,
.mobile-drawer nav a[aria-current] {
    color: var(--blue);
}
@media (max-width: 1180px) {
    .header-brand {
        padding-right: 0;
    }
    .desktop-navigation {
        gap: 17px;
    }
    .header-nav-inner {
        gap: 20px;
    }
    .header-brand > span {
        font-size: 22px;
    }
}
@media (max-width: 1024px) {
    .desktop-navigation {
        display: none;
    }
    .header-actions #drawer-toggle {
        display: flex;
    }
    .header-nav-inner {
        min-height: 90px;
    }
}
@media (max-width: 640px) {
    .header-top-inner {
        gap: 14px;
        padding: 9px 20px;
        font-size: 11px;
    }
    .header-top-inner > p {
        line-height: 1.5;
    }
    .welcome-text,
    .header-phone {
        display: none;
    }
    .header-top-right {
        gap: 0;
    }
    .header-nav-inner {
        padding: 0 20px;
        gap: 12px;
        min-height: 80px;
    }
    .header-brand img {
        width: 56px;
        height: 56px;
    }
    .header-brand {
        gap: 8px;
    }
    .header-brand > span {
        font-size: 17px;
        letter-spacing: 1px;
    }
    .header-brand > span > span {
        display: none;
    }
    .header-actions {
        gap: 4px;
        padding-left: 0;
        border: 0;
    }
    .header-actions > button,
    .header-actions > a {
        width: 32px;
    }
    .global-search {
        left: 20px;
        right: 20px;
        max-width: none;
        width: auto;
        padding: 18px;
        flex-direction: column;
    }
}
