/* ==============================
   ALLHIR HEADER DESKTOP
   ============================== */

@media (min-width: 981px) {
  .allhir-header-desktop {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 18px 24px;
    background: #1c1b1b;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
  }

  .allhir-header-mobile,
  .allhir-menu-overlay,
  .sidebar-menu {
    display: none !important;
  }

  .header-left {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    min-width: 0;
  }
.header-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-end;   /* главное */
  margin-bottom: 12px;     /* опускаем весь блок */
   position: relative;
  transform: translateY(14px);
}

  .logo-link {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .allhir-logo {
    height: 62px;
    width: auto;
    display: block;
    object-fit: contain;
  }

  .site-title-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -2px;
  }

  .site-title {
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }
.site-tagline {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff4eb;
  border: 2px solid #d46f1d;
  color: #1c1b1b;
  font-size: 13px;
  white-space: nowrap;
}

  .desktop-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 8px;
    padding-top: 0;
    min-width: 0;
  }

  .desktop-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .desktop-menu a:hover {
    color: #d46f1d;
  }

  .lang-dropdown {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
  }

  .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    padding: 0 10px;
    border-radius: 10px;
    cursor: pointer;
    height: 26px;
    min-width: 54px;
    font-size: 11px;
    line-height: 1;
  }

  .lang-list {
    display: none !important;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    padding: 6px 0;
    min-width: 56px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 50;
  }

  .lang-dropdown:hover .lang-list,
  .lang-dropdown:focus-within .lang-list {
    display: block !important;
  }

  .lang-list a {
    display: block;
    padding: 6px 10px;
    color: #1c1b1b;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
  }

  .lang-list a:hover {
    background: #fff4eb;
    color: #d46f1d;
  }

  .allhir-search {
    width: 180px;
    flex-shrink: 0;
  }

  .allhir-search form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 26px;
  background: #fff;
  border-radius: 999px;
  padding: 0 14px;
   box-sizing: border-box;
}

  .allhir-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    line-height: 1;
    color: #333;
  }

  .allhir-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .allhir-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-bottom: 4px;
  }

  .allhir-icon-link:hover {
    color: #d46f1d;
  }
}