.site-header {
    position: sticky;
    background: #f7f7f5;
    top: 0;
    z-index: 40;
}

.site-header .site-header__icon-button {
    background: black !important;    
    color: white !important;
    border: 1px solid transparent !important;
}

.site-header .site-header__icon-badge {
    color: black !important;
    background-color: #f7f7f5 !important;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.site-header__inner {
    max-width: var(--site-shell-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__brand {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: #0f172a;
    text-decoration: none;
}

.site-header__toggle {
    display: none;
    margin-left: auto;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
}

.site-header__nav-wrap {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-header__nav {
    display: flex;
    align-items: center;
}

.site-header__nav > .web-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__nav .web-menu-item {
    position: relative;
}

.site-header__nav .web-menu-link {
    color: #0f172a;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.site-header__nav .web-menu-children[data-menu-depth="1"] {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 12rem;
    padding: 0.75rem;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    display: none;
}

.site-header__nav .web-menu-children[data-menu-depth="1"]::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.75rem;
    height: 0.75rem;
}

.site-header__nav .web-menu-item:hover > .web-menu-children[data-menu-depth="1"] {
    display: grid;
    gap: 0.5rem;
}

.site-header__nav .web-menu-children:not([data-menu-depth="1"]) {
    position: absolute;
    top: 0;
    left: calc(100% - 0.25rem);
    min-width: 12rem;
    padding: 0.75rem;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    display: none;
}

.site-header__nav .web-menu-children:not([data-menu-depth="1"])::before {
    content: '';
    position: absolute;
    top: 0;
    left: -0.75rem;
    width: 0.75rem;
    height: 100%;
}

.site-header__nav .web-menu-item:hover > .web-menu-children:not([data-menu-depth="1"]) {
    display: grid;
    gap: 0.5rem;
}

.site-language-switcher {
    position: relative;
    z-index: 50;
    flex: 0 0 auto;
}

.site-language-switcher[open] .site-language-switcher__caret {
    transform: rotate(180deg);
}

.site-language-switcher__toggle {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.site-language-switcher__toggle::marker {
    content: '';
}

.site-language-switcher__toggle::-webkit-details-marker {
    display: none;
}

.site-language-switcher__current {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.site-language-switcher__caret {
    color: #64748b;
    transition: transform 0.18s ease;
}

.site-language-switcher__menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 60;
    min-width: 12rem;
    padding: 0.45rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    display: none;
    gap: 0.25rem;
}

.site-language-switcher[open] .site-language-switcher__menu {
    display: grid;
    gap: 0.25rem;
}

.site-footer .site-language-switcher__menu {
    top: auto;
    bottom: calc(100% + 0.55rem);
}

.site-language-switcher__option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    color: #0f172a;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: 1.2;
}

.site-language-switcher__option-label {
    flex: 1 1 auto;
    letter-spacing: 0.02em;
}

.site-language-switcher__option-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.site-language-switcher__option:hover {
    background: #f8fafc;
}

.site-language-switcher__option.is-current {
    background: #0f172a;
    color: #fff;
}

.site-language-switcher__option.is-current .site-language-switcher__option-status {
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 767px) {
    .site-header .site-header__nav {
        justify-content: flex-start !important;
    }

    .site-header__inner {
        min-height: 4.5rem;
        gap: 0.1rem !important;
    }

    .site-header__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: 2;
        width: 2rem;
        height: 2rem;
        margin-left: .375rem;
        padding: 0;
        border-radius: .625rem;
    }

    .site-header__toggle svg {
        width: 1rem;
        height: 1rem;
    }

    .site-header__actions {
        order: 1;
        margin-left: auto;
        justify-content: flex-end;
        gap: .375rem;
    }

    .site-header__nav-wrap {
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 39;
        background: rgba(255, 255, 255, 0.98);
        padding: 1.25rem;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.2s ease;
        display: grid;
        align-content: start;
        gap: 1.25rem;
        height: calc(100vh - 4.5rem);
        height: calc(100dvh - 4.5rem);
    }

    .site-header[data-menu-open="true"] .site-header__nav-wrap {
        transform: translateY(0);
        justify-content: flex-start;
    }

    .site-header__nav > .web-menu,
    .site-header__nav .web-menu-children {
        display: grid;
        gap: 1rem;
        position: static;
        box-shadow: none;
        border: 0;
        min-width: 0;
        padding: 0;
    }

    .site-header__nav .web-menu-children {
        padding-left: 1rem;
    }

    .site-header__nav {
        display: block;
        width: 100%;
    }

    .site-language-switcher {
        width: 100%;
    }

    .site-language-switcher__toggle {
        width: 100%;
        justify-content: space-between;
    }

    .site-language-switcher__menu {
        position: static;
        min-width: 0;
        margin-top: 0.5rem;
        box-shadow: none;
    }
}