/* Keep expanded desktop navigation readable after localization. */
@media (min-width: 992px) {
  .header .navbar > .container {
    flex-wrap: nowrap;
  }

  .header .navbar-collapse {
    display: flex;
    align-items: center;
    flex-basis: auto;
    flex-grow: 1;
    min-width: 0;
  }

  .header .header-navbar {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-width: 0;
    white-space: nowrap;
  }

  .header .header-navbar li,
  .header .header-navbar .nav-link {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .header .header-navbar li {
    padding-left: 6px;
    padding-right: 6px;
  }

  .header .header-navbar .nav-link {
    padding-left: 4px;
    padding-right: 4px;
  }

  .header .header-tel {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .header .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }

  .header .header-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 76px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .header .header-language i {
    font-size: 16px;
  }

  .header .header-language:hover {
    background-color: #05aa73;
    border-color: #05aa73;
    color: #fff;
    transform: translateY(-1px);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .header .header-navbar .nav-link {
    font-size: 13px;
  }

  .header .header-navbar li {
    padding-left: 2px;
    padding-right: 2px;
  }

  .header .header-tel {
    padding-left: 6px;
    padding-right: 8px;
    font-size: 13px;
  }

  .header .header-actions {
    gap: 6px;
  }

  .header .header-language {
    min-width: 62px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
}

@media (max-width: 991.98px) {
  .header .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
  }

  .header .header-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 76px;
    height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }
}
