.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    font-family: var(--font-family);
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-header__logo-image {
    display: block;
    width: auto;
    height: 62px;
    max-width: 180px;
}

.site-header__panel {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
}

.site-header__nav {
    align-self: stretch;
    margin-left: 86px;
}

.site-header__nav-list {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__nav-item {
    display: flex;
}

.site-header__nav-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    color: #777;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.35px;
    white-space: nowrap;
}

.site-header__nav-link--caps {
    text-transform: uppercase;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible,
.site-header__nav-link.is-active {
    color: #151515;
}

.site-header__nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    background: #fecb13;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
    order: 2;
}

.site-header__lang {
    position: relative;
    flex-shrink: 0;
    order: 3;
    margin-left: 40px;
}

.site-header__search {
    position: relative;
    display: flex;
    align-items: center;
    width: 208px;
    height: 40px;
}

.site-header__search-input {
    width: 100%;
    height: 100%;
    padding: 0 40px 0 20px;
    border: 0.4px solid #a5a5a5;
    border-radius: 20px;
    background: #fff;
    color: #151515;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.35px;
    outline: none;
    appearance: none;
}

.site-header__search-input::placeholder {
    color: #777;
    text-transform: uppercase;
}

.site-header__search-input::-webkit-search-decoration,
.site-header__search-input::-webkit-search-cancel-button {
    appearance: none;
}

.site-header__search-input:hover {
    border-color: #777;
}

.site-header__search-input:focus {
    border-color: #151515;
}

.site-header__search-submit {
    position: absolute;
    top: 50%;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.site-header__search-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.site-header__lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.site-header__lang-toggle::-webkit-details-marker {
    display: none;
}

.site-header__lang-current,
.site-header__lang-option {
    color: #151515;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.site-header__lang-icon {
    display: block;
    width: 8px;
    height: 4px;
}

.site-header__lang-list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 2;
    min-width: 72px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e1e1e1;
}

.site-header__lang-option {
    display: block;
    padding: 6px 12px;
    color: #777;
}

.site-header__lang-option:hover,
.site-header__lang-option:focus-visible,
.site-header__lang-option.is-active {
    color: #151515;
}

.site-header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-header__menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: #151515;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.is-header-menu-open .site-header__menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.is-header-menu-open .site-header__menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

body.is-header-menu-open .site-header__menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
